CLI
Overview
Install and run CLI commands from your terminal
Installation
After installing the package, the mycli command is available:
mycli --helpIf you installed from source, prefix with uv run:
uv run mycli --helpGlobal Flags
Flags go before the subcommand:
mycli [flags] <command> [args]| Flag | Short | Description |
|---|---|---|
--verbose | -v | Increase output verbosity |
--quiet | -q | Suppress non-essential output |
--debug | Show full tracebacks on error | |
--format | -f | Output format: table (default), json, plain |
--dry-run | Preview actions without executing | |
--version | -V | Print version and exit |
Examples:
mycli --format json config show # JSON output
mycli --dry-run greet Alice # preview without executing
mycli --debug config get bad.key # full tracebacks on error