pub enum AppMode {
Run {
profiles: Vec<String>,
family: Option<FamilyName>,
separator: Option<String>,
pre_prompt: Option<String>,
post_prompt: Option<String>,
framing: Framing,
config: Option<PathBuf>,
json: bool,
},
List {
config: Option<PathBuf>,
json: bool,
},
Tree {
config: Option<PathBuf>,
json: bool,
},
Validate {
config: Option<PathBuf>,
json: bool,
},
Init,
Version {
json: bool,
},
License,
Help,
Completions {
shell: Shell,
},
Doctor {
json: bool,
},
Agent {
command: AgentSubcommand,
},
}Expand description
Application execution modes after parsing command-line arguments.
This enum represents the resolved execution mode after processing both subcommands and direct profile arguments.
Variants§
Run
Render one or more profiles with optional separator and pre-prompt
Fields
§
family: Option<FamilyName>Optional model family used to select fragment variants
List
List all available profiles using an optional config override
Tree
Show dependency tree for profiles
Validate
Validate configuration and library references with an optional config override
Init
Initialize default configuration and library
Version
Show version information
License
Show license information
Help
Show help information
Completions
Generate shell completion scripts
Doctor
Check health and configuration status
Agent
Agent-skill artifact subcommand (routed through cli-common).
Fields
§
command: AgentSubcommandSubcommand to dispatch.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AppMode
impl RefUnwindSafe for AppMode
impl Send for AppMode
impl Sync for AppMode
impl Unpin for AppMode
impl UnsafeUnpin for AppMode
impl UnwindSafe for AppMode
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