Fix app commands order of definition. Closes #62.

This caused `resin help app rm` erroneusly show the help page for `resin app`.
This commit is contained in:
Juan Cruz Viotti 2015-06-04 11:54:15 -04:00
parent 56a78b57af
commit 5e400ed335
2 changed files with 3 additions and 3 deletions

View File

@ -78,8 +78,6 @@
capitano.command(actions.app.list); capitano.command(actions.app.list);
capitano.command(actions.app.info);
capitano.command(actions.app.remove); capitano.command(actions.app.remove);
capitano.command(actions.app.restart); capitano.command(actions.app.restart);
@ -88,6 +86,8 @@
capitano.command(actions.app.init); capitano.command(actions.app.init);
capitano.command(actions.app.info);
capitano.command(actions.device.list); capitano.command(actions.device.list);
capitano.command(actions.device.supported); capitano.command(actions.device.supported);

View File

@ -60,11 +60,11 @@ capitano.command(actions.auth.whoami)
# ---------- App Module ---------- # ---------- App Module ----------
capitano.command(actions.app.create) capitano.command(actions.app.create)
capitano.command(actions.app.list) capitano.command(actions.app.list)
capitano.command(actions.app.info)
capitano.command(actions.app.remove) capitano.command(actions.app.remove)
capitano.command(actions.app.restart) capitano.command(actions.app.restart)
capitano.command(actions.app.associate) capitano.command(actions.app.associate)
capitano.command(actions.app.init) capitano.command(actions.app.init)
capitano.command(actions.app.info)
# ---------- Device Module ---------- # ---------- Device Module ----------
capitano.command(actions.device.list) capitano.command(actions.device.list)