mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 02:35:49 +00:00
feature(cloudcmd) add support of CLOUDCMD_ONE_PANEL_MODE (#64)
This commit is contained in:
parent
98609fde69
commit
cc1205f6b4
3 changed files with 7 additions and 1 deletions
1
HELP.md
1
HELP.md
|
|
@ -347,6 +347,7 @@ Some config options can be overridden with `environment variables` such:
|
|||
- `CLOUDCMD_USERNAME` - set username
|
||||
- `CLOUDCMD_PASSWORD` - set password
|
||||
- `CLOUDCMD_ROOT` - set root directory
|
||||
- `CLOUDCMD_ONE_PANEL_MODE` - set one panel mode
|
||||
|
||||
Menu
|
||||
---------------
|
||||
|
|
|
|||
5
app.json
5
app.json
|
|
@ -71,6 +71,11 @@
|
|||
"description": "set root dir",
|
||||
"value": "",
|
||||
"required": false
|
||||
},
|
||||
"CLOUDCMD_ONE_PANEL_MODE": {
|
||||
"description": "set one panel mode",
|
||||
"value": "false",
|
||||
"required": false
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -66,7 +66,7 @@ const args = require('minimist')(argv.slice(2), {
|
|||
|
||||
'terminal-path': env('terminal_path') || config('terminalPath'),
|
||||
'config-dialog': choose(env.bool('config_dialog'), config('configDialog')),
|
||||
'one-panel-mode': config('onePanelMode'),
|
||||
'one-panel-mode': choose(env.bool('one_panel_mode'), config('onePanelMode')),
|
||||
'html-dialogs': config('htmlDialogs')
|
||||
},
|
||||
alias: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue