mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-20 18:18:56 +00:00
feature(contact) add ability to hide contact button with --no-contact (#125)
This commit is contained in:
parent
7147e0a85c
commit
a5656d15b4
8 changed files with 39 additions and 2 deletions
|
|
@ -40,6 +40,7 @@ const args = require('minimist')(argv.slice(2), {
|
|||
'progress',
|
||||
'config-dialog',
|
||||
'console',
|
||||
'contact',
|
||||
'terminal',
|
||||
'one-panel-mode',
|
||||
'html-dialogs',
|
||||
|
|
@ -60,6 +61,7 @@ const args = require('minimist')(argv.slice(2), {
|
|||
prefix : config('prefix'),
|
||||
progress : config('progress'),
|
||||
console : config('console'),
|
||||
contact : choose(env.bool('contact'), config('contact')),
|
||||
terminal : choose(env.bool('terminal'), config('terminal')),
|
||||
|
||||
'terminal-path': env('terminal_path') || config('terminalPath'),
|
||||
|
|
@ -104,6 +106,7 @@ function main() {
|
|||
config('username', args.username);
|
||||
config('progress', args.progress);
|
||||
config('console', args.console);
|
||||
config('contact', args.contact);
|
||||
config('terminal', args.terminal);
|
||||
config('terminalPath', args['terminal-path']);
|
||||
config('editor', args.editor);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue