Command-line Reference

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

Commands#

  • struo artifact: Export and publish immutable build artifacts.
  • struo auth: Authenticate with a configured provider.
  • struo bazel: Accept a Bazel build or test invocation and use the Struo 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 ordinary bazel commands use this compatibility surface.
  • struo build: Build a declared target.
  • struo cache: Cache management.
  • struo cargo: Accept a Cargo build or test invocation and use the Struo 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 ordinary cargo commands use this compatibility surface.
  • struo connect: Provision a remote project and bind this workspace to it.
  • struo edit: Mutate workspace manifests.
  • struo exec: Execute a literal action through the cache.
  • struo lint: Run static analysis for a declared target.
  • struo mcp: Expose Struo's graph and memory queries to a coding agent.
  • struo query: Query the typed build graph
  • struo run: Run a declared target or an activated trigger on an existing CI worker.
  • struo runtime: Runtime session inspection and control.
  • struo swift: Accept a Swift Package Manager build or test invocation and use the Struo 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 ordinary swift commands use this compatibility surface.
  • struo test: Test a declared target.
  • struo toolchain: Inspect the project toolchain contract.
  • struo xcodebuild: Accept an Xcode build invocation and use the Struo 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 ordinary xcodebuild commands use this compatibility surface.