Commands Overview
The CLI exposes all DevOps AI Toolkit server capabilities as commands. Commands are automatically generated from the server's OpenAPI specification.
Discovering Commands
To see all available commands:
dot-ai --help
To see help for a specific command:
dot-ai <command> --help
For details on what each feature does, see the server documentation.
Global Flags
These flags work with all commands:
| Flag | Environment Variable | Description |
|---|---|---|
--server-url | DOT_AI_URL | Server URL (default: http://localhost:3456) |
--token | DOT_AI_AUTH_TOKEN | Authentication token |
--output | DOT_AI_OUTPUT_FORMAT | Output format: yaml or json (default: yaml) |
--help | - | Show command help |
Usage Patterns
Basic command execution:
dot-ai <command> [arguments] [flags]
With output format:
dot-ai <command> --output json
Remote server:
dot-ai <command> --server-url https://remote:3456 --token mytoken
Piping output:
dot-ai <command> --output json | jq '.result'
Next Steps
- Skills Generation — Enable AI agents to use the CLI
- Output Formats — YAML vs JSON
- Automation — Use in scripts and CI/CD
- Server Features — What each command does