pub enum Cmd {
Show 20 variants
Locate {
units: bool,
sdd: Option<String>,
json: bool,
},
Readset {
unit: String,
sdd: Option<String>,
json: bool,
budget: Option<Option<i64>>,
},
Claim(ClaimArgs),
Renew(ClaimArgs),
Release(ClaimArgs),
Trace {
mode: TraceMode,
},
Ledger {
mode: LedgerMode,
},
Journal {
mode: JournalMode,
},
Audit {
json: bool,
fix_leases: bool,
apply_stale: bool,
skip_rotten: bool,
journal: bool,
sdd: Option<String>,
all: bool,
},
Brief {
phase: Option<BriefPhase>,
unit: Option<String>,
holder: Option<String>,
sdd: Option<String>,
},
Init {
json: bool,
},
Probe {
json: bool,
assume_yes: bool,
},
Run {
dry_run: bool,
cap: Option<i64>,
gate_jobs: Option<i64>,
wait: bool,
sdd: Option<String>,
mainline: Option<String>,
sub: Option<RunSub>,
},
Lint {
sdd: Option<String>,
all: bool,
built: bool,
json: bool,
},
Check {
sdd: Option<String>,
all: bool,
skip_rotten: bool,
json: bool,
},
Change {
mode: ChangeMode,
},
Pin {
mode: PinMode,
},
Questions {
sdd: Option<String>,
all: bool,
open: bool,
json: bool,
},
New {
kind: NewKind,
bundle: bool,
single: bool,
name: Option<String>,
},
Schema {
mode: SchemaMode,
},
}Variants§
Locate
Find SDD instances; list units and claimability
Fields
Readset
Print the ordered minimal reading set for one unit
Fields
Claim(ClaimArgs)
Claim a unit lease (atomic mainline transaction)
Renew(ClaimArgs)
Renew a held lease
Release(ClaimArgs)
Release a held lease
Trace
Record or verify a unit’s input-trace hashes
Ledger
Regenerate the derived ledger or print the progress line
Fields
mode: LedgerModeJournal
Append journal events; replay and verify the journal
Fields
mode: JournalModeAudit
The mechanical drift audit (seven checks)
Fields
Brief
Print the procedure index, or the operative procedure for a task
Fields
phase: Option<BriefPhase>The procedure to print (none: the index)
Init
Set this machine up: ~/.vitrify/config.toml with every default, then a first probe
Probe
Probe git and the harness CLIs again; update ~/.vitrify/config.toml after asking
Fields
Run
The deterministic orchestrator: run a complete generation pass
Fields
gate_jobs: Option<i64>Override run.gate_jobs: Verification rows run at once (default 0 = one per CPU core; 1 = one at a time)
wait: boolWhen only blocked units remain, keep running and resume when the spec changes, instead of ending Blocked
sdd: Option<String>SDD root to build: a bundle directory, its sdd.md, or a single *.sdd.md (default: the one SDD in the repository)
Lint
Mechanical authoring checks (L1–L11)
Fields
sdd: Option<String>SDD root: a bundle directory, its sdd.md, or a single *.sdd.md (default: the one SDD in the repository)
Check
Every consistency check vitrify has, over one SDD or all of them
Fields
Change
Record a change entry’s bookkeeping: journal events, Stale marks or re-recorded traces, the ledger
Fields
mode: ChangeModePin
External contracts: one SDD’s pins on another’s contracts, and its transcriptions
Questions
List the open questions (Q-###) and the units they block
Fields
New
Materialize instance templates into the current directory
Fields
Schema
Print the embedded normative schema documents
Fields
mode: SchemaModeTrait Implementations§
Source§impl FromArgMatches for Cmd
impl FromArgMatches for Cmd
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Source§fn update_from_arg_matches_mut<'b>(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut<'b>( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Source§impl Subcommand for Cmd
impl Subcommand for Cmd
Source§fn augment_subcommands<'b>(__clap_app: Command) -> Command
fn augment_subcommands<'b>(__clap_app: Command) -> Command
Source§fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§fn has_subcommand(__clap_name: &str) -> bool
fn has_subcommand(__clap_name: &str) -> bool
Self can parse a specific subcommand