pub enum Command {
Show 20 variants
Check {
folder: PathBuf,
destination: ReportDestination,
findings: FindingsShown,
format: Option<ReportFormat>,
package: Option<String>,
owner: Option<String>,
coverage_reports: Vec<PathBuf>,
ignore_baseline: bool,
plugin_host: PluginHostConfig,
},
Diff {
folder: PathBuf,
base_ref: String,
head_ref: Option<String>,
rename_threshold: u8,
destination: ReportDestination,
findings: FindingsShown,
format: Option<ReportFormat>,
package: Option<String>,
owner: Option<String>,
result_cache: Option<PathBuf>,
plugin_host: PluginHostConfig,
},
Trend {
folder: PathBuf,
range: TrendRange,
destination: ReportDestination,
format: Option<TrendFormat>,
result_cache: Option<PathBuf>,
plugin_host: PluginHostConfig,
},
Impact {
folder: PathBuf,
paths: Vec<String>,
changed: Option<String>,
depth: Option<usize>,
package: Option<String>,
destination: ReportDestination,
format: Option<ImpactFormat>,
plugin_host: PluginHostConfig,
},
Trace {
folder: PathBuf,
from: String,
to: String,
all: bool,
max_paths: usize,
package: Option<String>,
destination: ReportDestination,
format: Option<TraceFormat>,
plugin_host: PluginHostConfig,
},
Init {
folder: PathBuf,
adopt: bool,
format: InitFormat,
plugin_host: PluginHostConfig,
},
Update {
check_only: bool,
version: Option<String>,
release_base_url: Option<String>,
},
Mcp {
folder: PathBuf,
result_cache: Option<PathBuf>,
plugin_host: PluginHostConfig,
},
Guard {
folder: PathBuf,
target: PathBuf,
format: GuardFormat,
},
Schema {
destination: ReportDestination,
format: SchemaFormat,
},
Config {
folder: PathBuf,
format: ConfigFormat,
overrides: ConfigOverrides,
},
Report {
folder: PathBuf,
input: ReportInput,
destination: ReportDestination,
mode: ReportMode,
},
Doctor {
folder: PathBuf,
format: DoctorFormat,
plugin_host: PluginHostConfig,
},
Agent(AgentCommand),
Ratchet(RatchetCommand),
Plugin(PluginCommand),
Baseline(BaselineCommand),
State(StateCommand),
Churn {
folder: PathBuf,
window: ChurnWindow,
destination: ReportDestination,
findings: FindingsShown,
format: Option<ChurnFormat>,
plugin_host: PluginHostConfig,
},
Coupling {
folder: PathBuf,
settings: CouplingSettings,
destination: ReportDestination,
findings: FindingsShown,
format: Option<ChurnFormat>,
plugin_host: PluginHostConfig,
},
}Variants§
Check
Fields
§
destination: ReportDestination§
findings: FindingsShown§
format: Option<ReportFormat>§
plugin_host: PluginHostConfigDiff
Fields
§
destination: ReportDestination§
findings: FindingsShown§
format: Option<ReportFormat>§
plugin_host: PluginHostConfigTrend
Fields
§
range: TrendRange§
destination: ReportDestination§
format: Option<TrendFormat>§
plugin_host: PluginHostConfigImpact
Trace
Init
Update
Mcp
Guard
Schema
Config
Report
Doctor
Agent(AgentCommand)
Ratchet(RatchetCommand)
Plugin(PluginCommand)
Baseline(BaselineCommand)
State(StateCommand)
Churn
Fields
§
window: ChurnWindow§
destination: ReportDestination§
findings: FindingsShown§
format: Option<ChurnFormat>§
plugin_host: PluginHostConfigCoupling
Fields
§
settings: CouplingSettings§
destination: ReportDestination§
findings: FindingsShown§
format: Option<ChurnFormat>§
plugin_host: PluginHostConfigTrait Implementations§
impl StructuralPartialEq for Command
Auto Trait Implementations§
impl Forget for Command
impl Freeze for Commandwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<PathBuf>: Freeze,
PhantomData<String>: Freeze,
PhantomData<BudgetOverride>: Freeze,
PhantomData<SourceSetOverride>: Freeze,
impl Move for Command
impl RefUnwindSafe for Command
impl Send for Commandwhere
RawVecInner: Send,
impl Sync for Commandwhere
RawVecInner: Sync,
impl Unpin for Command
impl UnsafeUnpin for Commandwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<PathBuf>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<BudgetOverride>: UnsafeUnpin,
PhantomData<SourceSetOverride>: UnsafeUnpin,
impl UnwindSafe for Commandwhere
RawVecInner: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more