# Command-line Reference

Every subcommand the `once` binary exposes, with its synopsis, options, and arguments. Use the sidebar to jump to a specific command.

## Commands

- [`once auth`](/reference/cli/auth): Authenticate with a configured provider
- [`once build`](/reference/cli/build): Build a declared target
- [`once cache`](/reference/cli/cache): Cache management
- [`once edit`](/reference/cli/edit): Mutate workspace manifests
- [`once exec`](/reference/cli/exec): Execute a literal action through the cache
- [`once lint`](/reference/cli/lint): Run static analysis for a declared target
- [`once mcp`](/reference/cli/mcp): Expose Once's graph and memory queries to a coding agent
- [`once query`](/reference/cli/query): Query the typed build graph
- [`once run`](/reference/cli/run): Run a declared target
- [`once runtime`](/reference/cli/runtime): Runtime session inspection and control
- [`once test`](/reference/cli/test): Test a declared target
- [`once toolchain`](/reference/cli/toolchain): Inspect the project toolchain contract
