`

master
Hunter Long 2020-04-26 17:45:49 -07:00
parent 0b06d86337
commit 709da0711c
1 changed files with 15 additions and 0 deletions

15
Commands.md Normal file

@ -0,0 +1,15 @@
Statping includes a couple of useful commands.
# `statping`
Running `statping` would any environment variables, parameters or flags added will start the server on `localhost:8080`.
### Flags
- `--port` Port address to run the HTTP server (default `8080`)
- `--ip` Run HTTP server as a different host (default: `0.0.0.0`)
- `--verbose` Set Verbose logging mode. (default: 2 [info])
# `statping assets`
The assets command will extract all of the JS, CSS, SCSS, and static images into the `assets` folder. It will create this folder if it has permission to in the current working directory.
# `statping env`
This command will echo all of the known variables from the `config.yml` file, or from set environment variables.