mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
feature(cloudcmd) add ability to disable console with "--no-console" (#65)
This commit is contained in:
parent
6b26b26115
commit
c3c008ff72
12 changed files with 79 additions and 14 deletions
|
|
@ -32,6 +32,7 @@ var Info = require('../package'),
|
|||
'open',
|
||||
'minify',
|
||||
'progress',
|
||||
'console',
|
||||
'config-dialog',
|
||||
'one-panel-mode'
|
||||
],
|
||||
|
|
@ -47,6 +48,7 @@ var Info = require('../package'),
|
|||
root : config('root') || '/',
|
||||
prefix : config('prefix') || '',
|
||||
progress : config('progress'),
|
||||
console : defaultTrue(config('console')),
|
||||
|
||||
'config-dialog': defaultTrue(config('configDialog')),
|
||||
'one-panel-mode': config('onePanelMode'),
|
||||
|
|
@ -84,6 +86,7 @@ if (args.version) {
|
|||
config('minify', args.minify);
|
||||
config('username', args.username);
|
||||
config('progress', args.progress);
|
||||
config('console', args.console);
|
||||
config('prefix', args.prefix);
|
||||
config('root', args.root);
|
||||
config('onePanelMode', args['one-panel-mode']);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue