Reference
| Flag | Description |
|---|---|
--format <json|table|csv> | Output format. Defaults to table for a TTY and json when output is piped or redirected. |
--json | Shorthand for --format json. |
--profile <name> | Use a specific saved auth profile instead of the active one. |
--api-url <url> | Override the TalkValue API base URL. Useful for staging environments. |
--no-color | Disable ANSI color in table output. Equivalent to NO_COLOR=1. |
-h, --help | Show help for the command or subcommand. |
-V, --version | Show the installed CLI version. |
Order of precedence
For settings that overlap with environment variables or profiles, the CLI resolves them in this order. Flag wins over env wins over profile:| Setting | Flag | Env var | Profile / default |
|---|---|---|---|
| Output format | --format / --json | — | Auto-detect TTY |
| Auth profile | --profile <name> | TALKVALUE_PROFILE | Active profile |
| API base URL | --api-url <url> | TALKVALUE_API_URL | Built-in production URL |
| Color | --no-color | NO_COLOR / FORCE_COLOR | Auto-detect TTY |
TALKVALUE_TOKEN in the environment always overrides any saved profile, with no flag equivalent. See Authentication.
Help on any command
--help is available at every level of the command tree:
--help page lists the subcommands or options for that scope, plus the global flags above.
Related
- Output format. How
--formatand--jsonbehave. - Environment variables. The env-var counterparts.
- Authentication.
--profileand credential precedence. - Exit codes. Pair with
--jsonand stderr for scripting.
