Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[minor] Add publish as alias for jitsu deploy.
I'm to used to typing `npm publish` so this feels like a natural addition.
  • Loading branch information
3rd-Eden committed Feb 11, 2013
1 parent 968035b commit 68fd88f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/jitsu/alias.js
Expand Up @@ -4,14 +4,15 @@
* (C) 2010, Nodejitsu Inc.
*
*/

var jitsu = require('../jitsu');

//
// Alias the appropriate commands for simplier CLI usage
//
jitsu.alias('destroy', { resource: 'apps', command: 'destroy' });
jitsu.alias('deploy', { resource: 'apps', command: 'deploy' });
jitsu.alias('publish', { resource: 'apps', command: 'deploy' });
jitsu.alias('d', { resource: 'apps', command: 'deploy' });
jitsu.alias('push', { resource: 'apps', command: 'deploy' });
jitsu.alias('list', { resource: 'apps', command: 'list' });
Expand Down

0 comments on commit 68fd88f

Please sign in to comment.