pub enum Commands {
Meta {
command: MetaCommand,
},
Init,
List,
Tree,
Validate,
Run {
profiles: Vec<String>,
family: Option<FamilyName>,
separator: Option<String>,
pre_prompt: Option<String>,
post_prompt: Option<String>,
bare: bool,
},
System {
profiles: Vec<String>,
separator: Option<String>,
pre_prompt: Option<String>,
post_prompt: Option<String>,
bare: bool,
},
}Expand description
Available subcommands for the prompter CLI.
Each variant represents a different operation mode of the tool.
Variants§
Meta
Shared metadata commands.
Fields
command: MetaCommandShared metadata command to execute.
Init
Initialize default config and library
List
List available profiles
Tree
Show dependency tree for profiles
Validate
Validate configuration and library references
Run
Render one or more profiles (concatenated file contents with deduplication)
Fields
family: Option<FamilyName>Model family used to select fragment variants
System
Render the always-on invariant base (the agent system prompt).
Emits the core.base profile, optionally followed by additional
profiles. Intended for harness/launcher startup: stamp the output into
each agent’s system-prompt site (Codex AGENTS.md, Claude
–append-system-prompt, pi SYSTEM.md). Skills inject task context with
run and do NOT re-emit this base.
Fields
Trait 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