feature(cloudcmd) add ability to disable console with "--no-console" (#65)

This commit is contained in:
coderaiser 2016-11-09 15:57:44 +02:00
parent 6b26b26115
commit c3c008ff72
12 changed files with 79 additions and 14 deletions

View file

@ -77,6 +77,7 @@ Cloud Commander supports command line parameters:
| `--open` | open web browser when server started
| `--one-panel-mode` | set one panel mode
`--config-dialog` | enable config dialog
`--console` | enable console
| `--no-server` | do not start server
| `--no-auth` | disable authorization
| `--no-online` | load scripts from local server
@ -85,6 +86,7 @@ Cloud Commander supports command line parameters:
| `--no-progress` | do not show progress of file operations
| `--no-one-panel-mode` | unset one panel mode
| `--no-config-dialog` | disable config dialog
| `--no-console` | disable console
If no parameters given Cloud Commander reads information from `~/.cloudcmd.json` and use
port from it (`8000` default). if port variables `PORT` or `VCAP_APP_PORT` isn't exist.
@ -233,7 +235,8 @@ Here is description of options:
"prefix" : "", /* url prefix */
"progress" : true, /* show progress of file operations */
"onePanelMode" : false, /* set one panel mode */
"configDialog" : true /* enable config dialog */
"configDialog" : true, /* enable config dialog */
"console" : true /* enable console */
}
```