feature(cloudcmd) add CLOUDCMD_USERNAME

This commit is contained in:
coderaiser 2017-06-06 09:35:06 +03:00
parent 4a7b11de86
commit fc0c528037
2 changed files with 2 additions and 1 deletions

View file

@ -336,6 +336,7 @@ Some config options can be overridden with `environment variables` such:
- `CLOUDCMD_TERMINAL_PATH` - set terminal path
- `CLOUDCMD_CONFIG_DIALOG` - enable config dialog
- `CLOUDCMD_AUTH` - enable authentication
- `CLOUDCMD_USERNAME` - set username
- `CLOUDCMD_PASSWORD` - set password
Menu

View file

@ -54,7 +54,7 @@ const args = require('minimist')(argv.slice(2), {
editor : choose(env('editor'), config('editor')),
packer : config('packer') || 'tar',
zip : config('zip'),
username : config('username'),
username : env('username') || config('username'),
root : config('root'),
prefix : config('prefix'),
progress : config('progress'),