Browse documentation
← CLI reference

Command

cscale tests

Check whether tests protect a committed change, on this machine

CLI 0.2.11

cscale tests [OPTIONS] <COMMAND>

Examples

Check the committed change in this repository.

cscale tests check

Options

--help

Print help (see a summary with '-h')

--json

Print JSON, for agents and scripts

Default: false

--no-browser

Never open a browser: print the page to open instead. Pages that confirm with your passkey, auth login, and web open one

Default: false

Environment: CSCALE_NO_BROWSER

--server <SERVER>

The Commitscale server, such as https://commitscale.com

Environment: CSCALE_SERVER

Subcommands

  • cscale tests accept — Accept a finding from a saved check without rerunning it. Finds the comparison by ID, or takes --base-commit. Uses the agent by default, or your passkey if passkey confirmation is enabled. Use --json for the record as JSON
  • cscale tests cache — Show or clear the local check's private copies
  • cscale tests check — Check a committed change using installed tools. Comment-only and docstring-only hunks are left out. The target policy determines what blocks. Manual files wait for approval. A passing check can still have findings to review. Without an account, the check exits 1 and the pre-push hook warns and lets the push through
  • cscale tests consent — Read training consent, withdraw it, or opt in with your personal sign-in
  • cscale tests status — Show the latest background local check, including whether it is incomplete
  • cscale tests usage — Show this month's model checks, the cap and its UTC reset time