Skip to content

Commit

Permalink
feature(cloudcmd) add CLOUDCMD_PREFIX
Browse files Browse the repository at this point in the history
  • Loading branch information
brunoamaral authored and coderaiser committed Nov 15, 2019
1 parent 98734e3 commit d836c0a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions HELP.md
Original file line number Diff line number Diff line change
Expand Up @@ -443,6 +443,7 @@ Some config options can be overridden with environment variables, such as:
- `CLOUDCMD_AUTH` - enable authentication
- `CLOUDCMD_USERNAME` - set username
- `CLOUDCMD_PASSWORD` - set password
- `CLOUDCMD_PREFIX` - set url prefix
- `CLOUDCMD_ROOT` - set root directory
- `CLOUDCMD_VIM` - enable vim hot keys
- `CLOUDCMD_CONFIRM_COPY` - confirm copy
Expand Down
2 changes: 1 addition & 1 deletion bin/cloudcmd.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ const args = require('minimist')(argv.slice(2), {
'zip' : config('zip'),
'username' : env('username') || config('username'),
'root' : choose(env('root'), config('root')),
'prefix' : config('prefix'),
'prefix' : choose(env('cloudcmd_prefix'), config('prefix')),
'console' : choose(env.bool('console'), config('console')),
'contact' : choose(env.bool('contact'), config('contact')),
'terminal' : choose(env.bool('terminal'), config('terminal')),
Expand Down

0 comments on commit d836c0a

Please sign in to comment.