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
Taste
Fields
§
verdict: Option<TasteVerdict>Spawn
Grow
Fields
Absorb
Fields
Bond
Replicate
Hatch
Fields
§
command: Option<HatchCommands>Release
Fields
Lineage
Fields
§
direction: Option<DirectionArg>Search
Fields
Mycelium
Fields
§
action: MyceliumActionSynapse
Fields
§
action: SynapseActionCache
Fields
§
action: CacheActionConfig
Fields
§
action: ConfigActionSkill
Fields
§
action: SkillCommandTrait Implementations§
Auto Trait Implementations§
impl Forget for Commands
impl Freeze for Commands
impl RefUnwindSafe for Commands
impl Send for Commands
impl Sync for Commands
impl Unpin for Commands
impl UnsafeUnpin 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
Mutably borrows from an owned value. Read more