mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-28 10:14:13 +00:00
feature(bin) add --noserver
This commit is contained in:
parent
194796432b
commit
b716e390e1
3 changed files with 9 additions and 9 deletions
|
|
@ -25,9 +25,9 @@
|
|||
'offline',
|
||||
],
|
||||
boolean: [
|
||||
'no-server',
|
||||
'auth',
|
||||
'no-auth',
|
||||
'noauth',
|
||||
'noserver',
|
||||
'repl',
|
||||
'save'],
|
||||
alias: {
|
||||
|
|
@ -40,8 +40,8 @@
|
|||
ps: 'password',
|
||||
s: 'save',
|
||||
a: 'auth',
|
||||
na: 'no-auth',
|
||||
ns: 'no-server'
|
||||
na: 'noauth',
|
||||
ns: 'noserver'
|
||||
}
|
||||
});
|
||||
|
||||
|
|
@ -82,7 +82,7 @@
|
|||
function start(config) {
|
||||
var SERVER = '../lib/server';
|
||||
|
||||
if (!args['no-server'])
|
||||
if (!args.noserver)
|
||||
require(SERVER)(config);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue