pub enum Commands {
Interactive,
Run {
mission: String,
dry_run: bool,
skip_safety: bool,
},
Mission {
action: MissionAction,
},
Policy {
action: PolicyAction,
},
Safety {
action: SafetyAction,
},
Audit {
action: AuditAction,
},
Build {
action: BuildAction,
},
Config {
action: ConfigAction,
},
Enterprise {
action: EnterpriseAction,
},
Features {
action: FeatureAction,
},
Transpile {
action: TranspileAction,
},
Benchmark {
action: BenchmarkAction,
},
}
Variants§
Interactive
Start interactive conversational mode (like Claude Code)
Interactive mode provides a natural conversation interface for creating missions, executing tasks, and exploring RustChain capabilities. Suitable for experimentation and learning.
Run
Execute a mission directly from a YAML file
Missions define AI workflows with steps like LLM calls, tool execution, file operations, and more. Use –dry-run to validate before executing.
Fields
Mission
Mission management operations
Create, validate, and manage mission files. Missions are YAML files that define AI workflows with multiple steps.
Fields
action: MissionAction
Policy
Policy operations and security governance
Configure and manage security policies that control what missions and tools can do in your environment.
Fields
action: PolicyAction
Safety
Safety validation and security checks
Comprehensive security analysis for missions and system configuration. Always validate missions before execution in production.
Fields
action: SafetyAction
Audit
Audit operations
Fields
action: AuditAction
Build
Build dashboard and system health tracking
Fields
action: BuildAction
Config
Configuration management
Fields
action: ConfigAction
Enterprise
Enterprise features (requires RustChain Enterprise)
Fields
action: EnterpriseAction
Features
Feature detection and status
Fields
action: FeatureAction
Transpile
Universal workflow transpilation - Technical Demonstration Ready
Convert workflows between different platforms and formats. Supports bidirectional conversion with enterprise-grade fidelity.
Fields
action: TranspileAction
Benchmark
Competitive benchmarking suite for technical demonstration
Real-time performance comparisons demonstrating RustChain’s advantages: • vs LangChain Python (97% faster execution) • vs Apache Airflow (90% less memory usage) • vs GitHub Actions (instant vs container startup) • vs Jenkins (no JVM overhead)
TECHNICAL DEMO: Demonstrates technical advantages for evaluation purposes
Fields
action: BenchmarkAction
Trait Implementations§
Source§impl FromArgMatches for Commands
impl FromArgMatches for Commands
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 Commands
impl Subcommand for Commands
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 subcommandAuto Trait Implementations§
impl Freeze for Commands
impl RefUnwindSafe for Commands
impl Send for Commands
impl Sync for Commands
impl Unpin for Commands
impl UnwindSafe for Commands
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more