CLI Command Line Reference
Command Usage
toron [flags]
Available Flags
| Flag | Short | Default | Description |
|---|---|---|---|
-config <path> |
-c <path> |
"" (checks config.yaml) |
Path to YAML server configuration file |
-routes <path> |
-r <path> |
"" (checks routes.yaml) |
Path to YAML proxy routing configuration file |
-test-config |
-t |
false |
Dry-run test configuration file syntax and exit |
-help |
-h |
N/A | Prints CLI flag usage summary |
Examples
Test configuration file syntax before starting server
go run ./cmd/toron -t
Specify custom server and routing config files
go run ./cmd/toron -config ./configs/server.yaml -routes ./configs/routes.yaml