mirror of
https://github.com/balena-io/balena-cli.git
synced 2024-12-18 21:27:51 +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')
|
||||
config = require('./config')
|
||||
|
||||
auth = require('./actions/auth')
|
||||
app = require('./actions/app')
|
||||
|
||||
program.version(packageJSON.version)
|
||||
|
||||
# ---------- Auth Module ----------
|
||||
|
||||
auth = require('./actions/auth')
|
||||
|
||||
program
|
||||
.command('login <username:password>')
|
||||
.description('Login with your resin.io account')
|
||||
@ -22,6 +21,8 @@ program
|
||||
|
||||
# ---------- App Module ----------
|
||||
|
||||
app = require('./actions/app')
|
||||
|
||||
program
|
||||
.command('apps')
|
||||
.description('Show a list of your apps')
|
||||
|
Loading…
Reference in New Issue
Block a user