mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 02:35:49 +00:00
fix(cloudcmd) --vim
This commit is contained in:
parent
9ff3c0938a
commit
8d4083f038
1 changed files with 4 additions and 1 deletions
|
|
@ -45,6 +45,7 @@ const args = require('minimist')(argv.slice(2), {
|
|||
'one-panel-mode',
|
||||
'html-dialogs',
|
||||
'show-config',
|
||||
'vim',
|
||||
],
|
||||
default: {
|
||||
server : true,
|
||||
|
|
@ -67,7 +68,8 @@ 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': choose(env.bool('one_panel_mode'), config('onePanelMode')),
|
||||
'html-dialogs': config('htmlDialogs')
|
||||
'html-dialogs': config('htmlDialogs'),
|
||||
'vim': config('vim'),
|
||||
},
|
||||
alias: {
|
||||
v: 'version',
|
||||
|
|
@ -112,6 +114,7 @@ function main() {
|
|||
config('editor', args.editor);
|
||||
config('prefix', args.prefix);
|
||||
config('root', args.root);
|
||||
config('vim', args.vim);
|
||||
config('htmlDialogs', args['html-dialogs']);
|
||||
config('onePanelMode', args['one-panel-mode']);
|
||||
config('configDialog', args['config-dialog']);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue