CLI Overview
doto is the Doto command-line tool. It's designed for both humans and scripts — every command supports a --json flag for machine-readable output.
Global flags
| Flag | Description |
|---|---|
--json | Output as JSON instead of pretty-printed tables |
--server <url> | Override the server URL for this command |
--version | Show version |
--help | Show help |
Configuration
The CLI stores its config at ~/.config/doto/config.toml:
toml
[server]
url = "http://localhost:3000"
[auth]
apiKey = "doto_xxxxxxxx..."Environment variables
| Variable | Description |
|---|---|
DOTO_SERVER_URL | Server URL |
DOTO_API_KEY | API key |
Exit codes
| Code | Meaning |
|---|---|
0 | Success |
1 | Error |
2 | Authentication failure |