mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 02:35:49 +00:00
feature: client: menu: aleman: add
This commit is contained in:
parent
83a1e527e5
commit
08b5c6b2b5
15 changed files with 80 additions and 15 deletions
|
|
@ -62,6 +62,7 @@ const yargsOptions = {
|
|||
'terminal-path',
|
||||
'terminal-command',
|
||||
'columns',
|
||||
'menu',
|
||||
'theme',
|
||||
'import-url',
|
||||
'import-token',
|
||||
|
|
@ -106,6 +107,7 @@ const yargsOptions = {
|
|||
'online': config('online'),
|
||||
'open': choose(env.bool('open'), config('open')),
|
||||
'editor': env('editor') || config('editor'),
|
||||
'menu': env('menu') || config('menu'),
|
||||
'packer': config('packer') || 'tar',
|
||||
'zip': config('zip'),
|
||||
'username': env('username') || config('username'),
|
||||
|
|
@ -199,6 +201,7 @@ async function main() {
|
|||
config('terminalCommand', args.terminalCommand);
|
||||
config('terminalAutoRestart', args.terminalAutoRestart);
|
||||
config('editor', args.editor);
|
||||
config('menu', args.menu);
|
||||
config('prefix', prefixer(args.prefix));
|
||||
config('prefixSocket', prefixer(args.prefixSocket));
|
||||
config('root', args.root || '/');
|
||||
|
|
@ -232,6 +235,7 @@ async function main() {
|
|||
prefixSocket: config('prefixSocket'),
|
||||
columns: config('columns'),
|
||||
theme: config('theme'),
|
||||
menu: config('menu'),
|
||||
};
|
||||
|
||||
const password = env('password') || args.password;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue