Skip to main content
CloudEval CLI lets you run fast checks without opening the web app.

Why it matters

CLI workflows are repeatable, scriptable, and easier to embed in pull-request gates.

Quick example

cloudeval login
cloudeval ask "Summarize high-risk resources" --project <project_id> --json
Expected output: Structured JSON with findings you can pass to other tools.

Step-by-step instructions

  1. Install CLI from Installation.
  2. Authenticate with cloudeval login.
  3. Run ask for non-interactive checks.
  4. Use chat for interactive exploration.

Code examples

# Interactive
cloudeval chat --project <project_id>
# Script-friendly
cloudeval ask "List compliance gaps" --project <project_id> --json > findings.json

Expected output

  • Login succeeds through device flow.
  • ask returns one-shot answers.
  • chat opens a continuous terminal session.

Common mistakes

  • Running CI without non-interactive auth configured.
  • Expecting global answers without --project context.

Tips / best practices

  • Use --json in pipelines and PR checks.
  • Keep one smoke-test question in CI.
Last modified on March 5, 2026