pub enum Commands {
Show 19 variants
Capabilities,
Env {
command: EnvCommands,
},
Instructions,
Disclaimer {
command: DisclaimerCommands,
},
Auth {
command: AuthCommands,
},
Accounts {
command: AccountsCommands,
},
Orders {
command: OrdersCommands,
},
Transactions {
command: TransactionsCommands,
},
User {
command: UserCommands,
},
Portfolio {
command: PortfolioCommands,
},
Trade {
command: TradeCommands,
},
Safety {
command: SafetyCommands,
},
Plan {
command: PlanCommands,
},
Market {
command: MarketCommands,
},
Options {
command: OptionsCommands,
},
Agent {
command: AgentCommands,
},
Dashboard {
file: Option<PathBuf>,
},
Watch {
file: Option<PathBuf>,
monitor_only: bool,
},
Rules {
command: RulesCommands,
},
}Variants§
Capabilities
Machine-readable command catalog for agents
Env
Environment variable schema and precedence
Fields
command: EnvCommandsInstructions
Agent system prompt / tool-use instructions
Disclaimer
Trading risk disclaimer (required before live trades)
Fields
command: DisclaimerCommandsAuth
OAuth authentication and token management
Fields
command: AuthCommandsAccounts
Account numbers, balances, and positions
Fields
command: AccountsCommandsOrders
Order entry, preview, cancel, replace
Fields
command: OrdersCommandsTransactions
Transaction history
Fields
command: TransactionsCommandsUser
User preferences and streamer metadata
Fields
command: UserCommandsPortfolio
Portfolio summary across linked accounts
Fields
command: PortfolioCommandsTrade
Buy or sell equities with safety guardrails
Fields
command: TradeCommandsSafety
Safety limits config (safety.json) for agent trading guardrails
Fields
command: SafetyCommandsPlan
Multi-step trade plans (YAML/JSON) for LLM-generated rebalances
Fields
command: PlanCommandsMarket
Market Data API — quotes, history, instruments, hours
Fields
command: MarketCommandsOptions
Options chain, positions, and strategy orders (vertical, iron condor)
Fields
command: OptionsCommandsAgent
Long-running options agent driven by rules.yaml
Fields
command: AgentCommandsDashboard
Rich terminal dashboard (agent status, rules summary, positions)
Watch
Live TUI watch — runs the agent in-process (or attach to an existing daemon)
Fields
Rules
Human-readable rules configuration
Fields
command: RulesCommandsTrait 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 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
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