Permalink
Browse files

[ux] Removed documentation for `apps create` command. Using the creat…

…e command directly is not a majority use-case and can cause confusion for new users.
  • Loading branch information...
1 parent 953c3bb commit 37eba04d89038fd37f740a3a2cb935cc93baa868 @Marak Marak committed May 24, 2012
Showing with 2 additions and 21 deletions.
  1. +1 −5 README.md
  2. +0 −1 lib/jitsu/alias.js
  3. +1 −15 lib/jitsu/commands/apps.js
View
6 README.md
@@ -82,14 +82,10 @@ If it's your first time using `jitsu`, you will be prompted to login with an exi
jitsu install
- *Deploys current path to [Nodejitsu](http://nodejitsu.com)*
+ *Deploys application in the current path to [Nodejitsu](http://nodejitsu.com)*
jitsu deploy
- *Creates a new application on [Nodejitsu](http://nodejitsu.com)*
-
- jitsu create
-
*Lists all applications for the current user*
jitsu list
View
1 lib/jitsu/alias.js
@@ -10,7 +10,6 @@ var jitsu = require('../jitsu');
//
// Alias the appropriate commands for simplier CLI usage
//
-jitsu.alias('create', { resource: 'apps', command: 'create' });
jitsu.alias('destroy', { resource: 'apps', command: 'destroy' });
jitsu.alias('deploy', { resource: 'apps', command: 'deploy' });
jitsu.alias('d', { resource: 'apps', command: 'deploy' });
View
16 lib/jitsu/commands/apps.js
@@ -14,9 +14,8 @@ apps.usage = [
'`jitsu apps *` commands allow you to work with your',
'Applications on Nodejitsu. Valid commands are:',
'',
- 'jitsu apps create',
- 'jitsu apps list',
'jitsu apps deploy',
+ 'jitsu apps list',
'jitsu apps view [<name>]',
'jitsu apps update [<name>]',
'jitsu apps destroy [<name>]',
@@ -256,19 +255,6 @@ apps.create = function (target, callback) {
};
//
-// Usage for `jitsu apps create [<name>]`
-//
-apps.create.usage = [
- 'Creates an application using the package.json file in the',
- 'current directory, if <name> is supplied then this is used',
- 'instead of the `name` property in the package.json file.',
- '',
- 'jitsu create',
- 'jitsu apps create',
- 'jitsu apps create <name>'
-];
-
-//
// ### function list (callback)
// #### @callback {function} Continuation to pass control to when complete.
// Lists the applications for the authenticated user.

0 comments on commit 37eba04

Please sign in to comment.