Skip to main content

Commands

Global flags

Flags for every command

npx @c15t/cli@alpha projects list --json --no-telemetry
FlagBehavior
--help, -hShow help and the options supported by a command.
--version, -vReport the installed CLI version.
--cwd <directory>Resolve the command's project directory without changing the caller's working directory.
--logger <level>Choose the diagnostic log level.
--yes, -yAccept confirmation prompts. Does not supply missing names, modes, or URLs.
--non-interactiveFail when required input would need a prompt.
--jsonReturn one versioned JSON result on stdout and disable prompts.
--no-telemetryDisable telemetry.
--telemetry-debugEnable telemetry diagnostics.

String options accept both --name value and --name=value. Unknown commands, unknown flags, missing flag values, and flags used with the wrong command return a failure.

--json controls presentation. It does not grant permission to apply a setup plan or database migration. Use the command's explicit application option.

Telemetry

Set C15T_TELEMETRY_DISABLED=1 or C15T_TELEMETRY_DISABLED=true to disable telemetry for executable invocations. --no-telemetry also disables it. Telemetry is off by default when calling the JavaScript library.

Exit status

Successful commands return 0. Failed commands return 1. Command cancellation returns 130. JSON results include the corresponding exitCode, success, and error details.