Skip to main content
Every command in the cloudthinker binary, with the flags it accepts and the codes it returns. Start with the CLI overview if you have not installed it yet.

Global options

These come before the subcommand and apply to every authenticated command.
cloudthinker --help listing every command and global option

Authentication commands

Details and CI patterns live in CLI authentication.

Agent

A bare cloudthinker runs agent. See Agent CLI.

Chat

In human mode, chat -p writes only the answer to stdout; progress and the continue_with= hint go to stderr. See Headless chat.

Review

Read a Review that CloudThinker already tracks, by pasting the merge-request or pull-request URL. These commands never start a review. All three accept --json, and watch also accepts --timeout <SECS>.
A finding line reads [severity] file:line (category) — title, with [resolved] appended once an agent has settled it.

Update

On an interactive terminal the CLI also offers an update at start-up when a newer release exists. The check has a two second budget and never delays or fails a start. CLOUDTHINKER_NO_UPDATE_CHECK=1 turns it off. update only works on an installation the CLI installer created. A binary copied into place by hand is refused with the reinstall command to run instead.

Environment variables

Exit codes

Files

To remove the CLI, run cloudthinker logout --all to clear the stored credentials, then delete the binary and the ~/.cloudthinker directory.

CLI overview

Install the CLI and run your first session

Headless chat

Run prompts from scripts and pipelines