CLI reference / product / swift

stado product swift

Invocation

stado product swift [OPTIONS] <operation> [ARGUMENTS]...

Purpose

Build and index canonical Swift sources or restore release dependencies

Required inputs and options

Input or optionContract
<operation>[possible values: build, test, run, index, restore] [ARGUMENTS]... Arguments passed to the real compiler after the operation
--catalog <catalog>Independent authoritative catalog path
--package-path <package-path>Package directory; defaults to the current directory
--editor-workspace <editor-workspace>Separate editor workspace for index declarations
--workspace <workspace>The workspace of canonical checkouts this operation reads and builds from; default WISENT_WORKSPACE, else ~/Documents/CodingProjects/Wisent
--archive <archive>Portable SwiftPM input archive to restore without compiling
--jsonPrint source, execution or restoration evidence

Output and state effect

It performs the operation described above and emits its operator result on standard output or standard error. Any state change is limited to the resources and records named by the purpose and options on this page.

Refusals

  • Before dispatch, Stado refuses a missing required token shown in the invocation, an unknown option, or a value outside a listed value set; argument-usage failures exit with code 2.