mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 02:35:49 +00:00
feature(cloudcmd) add env var CLOUDCMD_CONFIG_DIALOG
This commit is contained in:
parent
85676cf023
commit
f1310f303f
3 changed files with 7 additions and 1 deletions
1
HELP.md
1
HELP.md
|
|
@ -328,6 +328,7 @@ Some config options can be overriden with `environment variables` such:
|
||||||
|
|
||||||
- `CLOUDCMD_TERMINAL` - enable terminal
|
- `CLOUDCMD_TERMINAL` - enable terminal
|
||||||
- `CLOUDCMD_TERMINAL_PATH` - set terminal path
|
- `CLOUDCMD_TERMINAL_PATH` - set terminal path
|
||||||
|
- `CLOUDCMD_CONFIG_DIALOG` - enable config dialog
|
||||||
|
|
||||||
Menu
|
Menu
|
||||||
---------------
|
---------------
|
||||||
|
|
|
||||||
5
app.json
5
app.json
|
|
@ -26,6 +26,11 @@
|
||||||
"description": "set terminal path",
|
"description": "set terminal path",
|
||||||
"value": "gritty",
|
"value": "gritty",
|
||||||
"required": false
|
"required": false
|
||||||
|
},
|
||||||
|
"CLOUDCMD_CONFIG_DIALOG": {
|
||||||
|
"description": "show config dialog",
|
||||||
|
"value": "false",
|
||||||
|
"required": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -55,7 +55,7 @@ const args = require('minimist')(argv.slice(2), {
|
||||||
terminal : env.bool('terminal') || config('terminal'),
|
terminal : env.bool('terminal') || config('terminal'),
|
||||||
|
|
||||||
'terminal-path': env('terminal_path') || config('terminalPath'),
|
'terminal-path': env('terminal_path') || config('terminalPath'),
|
||||||
'config-dialog': config('configDialog'),
|
'config-dialog': env.bool('config_dialog') || config('configDialog'),
|
||||||
'one-panel-mode': config('onePanelMode'),
|
'one-panel-mode': config('onePanelMode'),
|
||||||
'html-dialogs': config('htmlDialogs')
|
'html-dialogs': config('htmlDialogs')
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue