Skip to content

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

FlagDescription
--jsonOutput as JSON instead of pretty-printed tables
--server <url>Override the server URL for this command
--versionShow version
--helpShow help

Configuration

The CLI stores its config at ~/.config/doto/config.toml:

toml
[server]
url = "http://localhost:3000"

[auth]
apiKey = "doto_xxxxxxxx..."

Environment variables

VariableDescription
DOTO_SERVER_URLServer URL
DOTO_API_KEYAPI key

Exit codes

CodeMeaning
0Success
1Error
2Authentication failure

Released under the MIT License.