Organise action requires close to their use in app.coffee

This commit is contained in:
Juan Cruz Viotti 2014-11-18 11:40:12 -04:00
parent 5c53829812
commit c41b28d4f0

View File

@ -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')