@appthen/cli 1.0.17 → 1.0.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/main.js +4 -1
- package/dist/index.js +2 -2
- package/package.json +2 -1
package/bin/main.js
CHANGED
|
@@ -7,9 +7,12 @@ var pkg = require('../package.json');
|
|
|
7
7
|
|
|
8
8
|
var program = require('commander');
|
|
9
9
|
|
|
10
|
+
program
|
|
11
|
+
.version(pkg.version, '-v, --version', 'display version information');
|
|
12
|
+
|
|
10
13
|
program
|
|
11
14
|
.command('generate', { isDefault: true })
|
|
12
|
-
.description('Generate code from
|
|
15
|
+
.description('Generate code from appthen')
|
|
13
16
|
.requiredOption('-p, --id <id>', 'project id')
|
|
14
17
|
.requiredOption('-a, --auth <auth>', 'auth token')
|
|
15
18
|
.option('-cc, --clear <clear>', 'clear cache')
|