Global flags

These flags are registered globally by the CLI parser (packages/cli/src/context/parser.ts) and accepted on every command.

FlagDescription
--help, -hShow help for the current command and exit.
--version, -vPrint the installed CLI version and exit.
--no-telemetryDisable anonymous telemetry for this run. See Telemetry.
--telemetry-debugPrint telemetry events to stderr instead of sending them.
--logger <level>Set log level (fatal, error, warn, info, debug).
--config <path>Load configuration from an explicit file.
-y, --yesSkip confirmation prompts (use with caution).

--dry-run is not global; the codemods command accepts it as a per-command flag — see codemods.

Environment variables

VariableEffect
C15T_TELEMETRY_DISABLED=1Permanently disable telemetry for this user.
C15T_DEBUG=1Enable verbose debug logs.
C15T_URLOverride the backend URL the CLI talks to (the value read by ENV_VARS.BACKEND_URL in packages/cli/src/constants.ts).
C15T_API_KEYAPI key passed to the backend (read by ENV_VARS.API_KEY).
CONSENT_URLOverride the control-plane / dashboard base URL (used for login).
NO_COLOR=1Disable terminal colors.

Exit codes

CodeMeaning
0Success.
1General error (failed command, validation error).
2Usage error (invalid flags or arguments).
130Interrupted (Ctrl-C).