1 | #!/usr/bin/env node
|
2 |
|
3 | /**
|
4 | * The main elements command line tool.
|
5 | */
|
6 | const program = require('commander');
|
7 |
|
8 | program
|
9 | .version(require('../package.json').version)
|
10 | .command('build [command] [options]', 'build your application')
|
11 | .command('console [options]', 'start an elements console')
|
12 | .command('db [command] [options]', 'run database commands')
|
13 | .command('deploy [options]', 'deploy your application')
|
14 | .command('generate <type> [options]', 'generate application files from templates')
|
15 | .command('maint', 'run the maintenance server')
|
16 | .command('start [options]', 'start the development environment')
|
17 | .command('server [options]', 'start the http server')
|
18 | .command('test [options]', 'start the test runner')
|
19 | .parse(process.argv);
|