Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 812 Bytes

serve.md

File metadata and controls

33 lines (23 loc) · 812 Bytes

shelly serve

start the Shelly web service

shelly serve

start the Shelly web service

USAGE
  $ shelly serve -c <value> [--json] [--log-level debug|info|warn|error] [-v] [-p <value>]

FLAGS
  -c, --collection=<value>  (required) vector collection to use
  -p, --port=<value>        [default: 3000] the port number to run the server on
  -v, --verbose             enable verbose mode

GLOBAL FLAGS
  --json                Format output as json.
  --log-level=<option>  Specify level for logging.
                        <options: debug|info|warn|error>

DESCRIPTION
  start the Shelly web service

EXAMPLES
  $ shelly serve

See code: dist/commands/serve/index.ts