mirror of
https://github.com/balena-io/balena-cli.git
synced 2024-12-21 06:33:28 +00:00
Organise action requires close to their use in app.coffee
This commit is contained in:
parent
5c53829812
commit
c41b28d4f0
@ -3,13 +3,12 @@ packageJSON = require('../package.json')
|
|||||||
data = require('./data/data')
|
data = require('./data/data')
|
||||||
config = require('./config')
|
config = require('./config')
|
||||||
|
|
||||||
auth = require('./actions/auth')
|
|
||||||
app = require('./actions/app')
|
|
||||||
|
|
||||||
program.version(packageJSON.version)
|
program.version(packageJSON.version)
|
||||||
|
|
||||||
# ---------- Auth Module ----------
|
# ---------- Auth Module ----------
|
||||||
|
|
||||||
|
auth = require('./actions/auth')
|
||||||
|
|
||||||
program
|
program
|
||||||
.command('login <username:password>')
|
.command('login <username:password>')
|
||||||
.description('Login with your resin.io account')
|
.description('Login with your resin.io account')
|
||||||
@ -22,6 +21,8 @@ program
|
|||||||
|
|
||||||
# ---------- App Module ----------
|
# ---------- App Module ----------
|
||||||
|
|
||||||
|
app = require('./actions/app')
|
||||||
|
|
||||||
program
|
program
|
||||||
.command('apps')
|
.command('apps')
|
||||||
.description('Show a list of your apps')
|
.description('Show a list of your apps')
|
||||||
|
Loading…
Reference in New Issue
Block a user