Configuration
Configure the Monito CLI behavior.
Config File
The CLI stores its configuration at:
If XDG_CONFIG_HOME is set, it uses $XDG_CONFIG_HOME/monito/config.json instead.
The config file contains:
Commands
Print the config file path:
Get a config value:
Set a config value (currently only host is settable):
Environment Variables
| Variable | Description | Default |
|---|---|---|
MONITO_TOKEN | Auth token (overrides stored config) | — |
MONITO_HOST | API host URL | https://monito.dev |
XDG_CONFIG_HOME | Base config directory | ~/.config |
Environment variables always take priority over the config file.