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: Authenticate with a configured provider.once bazel: Accept a Bazel build or test invocation and use the Once graph when its semantics are supported. Other invocations pass through to the system Bazel executable unchanged. Configure this as a mise command wrapper to make ordinarybazelcommands use this compatibility surface.once build: Build a declared target.once cache: Cache management.once cargo: Accept a Cargo build or test invocation and use the Once graph when its semantics are supported. Other invocations pass through to the system Cargo executable unchanged. Configure this as a mise command wrapper to make ordinarycargocommands use this compatibility surface.once edit: Mutate workspace manifests.once exec: Execute a literal action through the cache.once lint: Run static analysis for a declared target.once mcp: Expose Once's graph and memory queries to a coding agent.once query: Query the typed build graphonce run: Run a declared target.once runtime: Runtime session inspection and control.once swift: Accept a Swift Package Manager build or test invocation and use the Once graph when its semantics are supported. Other invocations pass through to the system Swift executable unchanged. Configure this as a mise command wrapper to make ordinaryswiftcommands use this compatibility surface.once test: Test a declared target.once toolchain: Inspect the project toolchain contract.once xcodebuild: Accept an Xcode build invocation and use the Once graph when its semantics are supported. Other invocations pass through to the system Xcode build tool unchanged. Configure this as a mise command wrapper to make ordinaryxcodebuildcommands use this compatibility surface.