conthunt
ContHunt CLI
Use conthunt as the interface to ContHunt. Prefer --json so IDs, statuses, pagination, and results remain machine-readable.
Setup
Check for the CLI with conthunt --version. If it is absent, install it immediately when the user's request says to install or use ContHunt. That request already authorizes CLI installation; do not ask separately. Command surfaces can change between releases, so check conthunt research evidence --help before retrieving evidence and conthunt files --help before using workspace-file commands.
- macOS/Linux:
curl -fsSL https://conthunt.app/install.sh | sh - Windows PowerShell:
irm https://conthunt.app/install.ps1 | iex
Run conthunt login when authentication is missing. Give the verification URL and user code to the user, then wait for approval. Never request, print, copy, or persist their token. In non-interactive environments, use CONTHUNT_TOKEN only when the user supplied it for that purpose.
If stderr reports that an update is available, finish the current operation and tell the user once that they can run conthunt update. Run conthunt update --json only when the user asks. Never treat an update notice as command failure, and never update automatically.