pub enum Commands {
Show 16 variants
Sense {
uri: String,
id: Option<String>,
},
Taste {
uri: String,
verdict: Option<TasteVerdict>,
notes: Option<String>,
synapse: Option<String>,
synapse_token_secret: Option<String>,
domain: Option<String>,
},
Spawn {
uri: String,
directory: Option<String>,
vcs: Option<VcsArg>,
dist: Option<DistArg>,
bond: bool,
},
Grow {
dist: Option<DistArg>,
synapse: Option<String>,
synapse_token_secret: Option<String>,
bond: bool,
},
Absorb {
uris: Vec<String>,
discover: bool,
synapse: Option<String>,
synapse_token_secret: Option<String>,
max_depth: u32,
},
Bond {
clean: bool,
status: bool,
},
Replicate {
uris: Vec<String>,
refs: bool,
domain: String,
site_path: Option<String>,
},
Hatch {
id: Option<String>,
version: Option<String>,
name: Option<String>,
domain: Option<String>,
synopsis: Option<String>,
intent: Vec<String>,
mutations: Vec<String>,
license: Option<String>,
command: Option<HatchCommands>,
},
Release {
domain: String,
source: Option<String>,
site_path: Option<String>,
dist_git: Option<String>,
dist_ref: Option<String>,
archive: String,
dry_run: bool,
},
Lineage {
uri: String,
direction: Option<DirectionArg>,
synapse: Option<String>,
synapse_token_secret: Option<String>,
max_depth: u32,
},
Search {
query: String,
synapse: Option<String>,
synapse_token_secret: Option<String>,
domain: Option<String>,
license: Option<String>,
bonds: Option<String>,
limit: u32,
},
Mycelium {
action: MyceliumAction,
},
Synapse {
action: SynapseAction,
},
Cache {
action: CacheAction,
},
Config {
action: ConfigAction,
},
Skill {
action: SkillCommand,
},
}Variants§
Sense
Resolve a CMN URI and show metadata without downloading
Fields
Taste
Evaluate spore: download for review, or record a verdict
Fields
verdict: Option<TasteVerdict>Record verdict: sweet, fresh, safe, rotten, or toxic
Spawn
Create a working copy of a spore (auto-detects best distribution format)
Fields
Grow
Pull latest changes from spawn source via Synapse lineage
Fields
Absorb
Prepare spores for AI-assisted merge
Fields
Bond
Fetch all bonds from spore.core.json to .cmn/bonds/
Fields
Replicate
Copy a spore to your domain (same hash, re-signed capsule)
Fields
Hatch
Create or update spore.core.json in working directory
Fields
command: Option<HatchCommands>Release
Sign and publish spore to mycelium site
Fields
Lineage
Trace spore lineage: descendants (in, default) or ancestors (out)
Fields
direction: Option<DirectionArg>Direction: in (descendants, default) or out (ancestors)
Search
Search for spores by keyword (semantic search via Synapse)
Fields
Mycelium
Manage local mycelium site
Fields
action: MyceliumActionSynapse
Manage Synapse node connections
Fields
action: SynapseActionCache
Manage local cache
Fields
action: CacheActionConfig
View or modify hypha configuration
Fields
action: ConfigActionSkill
Install, uninstall, or inspect the bundled Hypha agent skill
Fields
action: SkillCommandTrait 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 subcommand