docs(help) Start: add command line parameters

This commit is contained in:
coderaiser 2014-07-23 03:10:53 -04:00
parent 8dbe3adcf6
commit e4f71d9369

15
HELP.md
View file

@ -53,9 +53,18 @@ or if you install with `-g` flag just type in any directory:
cloudcmd
Cloud Commander reads port information from config file `json/config.json` and start server
on default port (`8000`), if none of port variables (`cloud9`, `cloudfoundry` and `nodester`) isn't exist.
To start work type in address bar of your browser:
Cloud Commander supports command line parameters:
|Parameter |Operation
|:----------------------|:--------------------------------------------
| `-h, --help` | display help and exit
| `-v, --version` | output version information and exit
| `-p, --port` | set port number and start
If no parameters given Cloud Commander reads information from `json/config.json` and use
default port (`8000`), if none of port variables (`cloud9`, `cloudfoundry` and `nodester`) exist.
To begin use, type in address bar of your browser:
http://127.0.0.1:8000