pub enum OpenClawCommand {
Register {
force: bool,
},
Status {
json: bool,
},
Instruct {
role: String,
message: String,
},
Events {
project_id: Option<String>,
all_projects: bool,
json: bool,
topics: Vec<OpenClawEventTopicArg>,
roles: Vec<String>,
task_ids: Vec<String>,
event_types: Vec<String>,
session_names: Vec<String>,
since_ts: Option<u64>,
limit: Option<usize>,
include_archived: bool,
},
FollowUp {
command: OpenClawFollowUpCommand,
},
}Variants§
Register
Write an OpenClaw project registration/config skeleton for Batty
Status
Show an operator-friendly Batty summary for OpenClaw supervision
Instruct
Send a high-level instruction into an allowed Batty role
Fields
Events
Export stable OpenClaw event envelopes for one project or all registered projects
Fields
§
project_id: Option<String>Registered project identifier; defaults to the current project if it is registered
§
topics: Vec<OpenClawEventTopicArg>Filter by stable public event topic
FollowUp
Run configured OpenClaw follow-up/reminder workflows
Fields
§
command: OpenClawFollowUpCommandTrait Implementations§
Source§impl Debug for OpenClawCommand
impl Debug for OpenClawCommand
Source§impl FromArgMatches for OpenClawCommand
impl FromArgMatches for OpenClawCommand
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>
Assign values from
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>
Assign values from
ArgMatches to self.Source§impl Subcommand for OpenClawCommand
impl Subcommand for OpenClawCommand
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
Append to
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
Test whether
Self can parse a specific subcommandAuto Trait Implementations§
impl Freeze for OpenClawCommand
impl RefUnwindSafe for OpenClawCommand
impl Send for OpenClawCommand
impl Sync for OpenClawCommand
impl Unpin for OpenClawCommand
impl UnsafeUnpin for OpenClawCommand
impl UnwindSafe for OpenClawCommand
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
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.