pub enum PromptCommand {
Worker(PromptWorkerArgs),
Scan(PromptScanArgs),
TaskBuilder(PromptTaskBuilderArgs),
List,
Show(PromptShowArgs),
Export(PromptExportArgs),
Sync(PromptSyncArgs),
Diff(PromptDiffArgs),
}Variants§
Worker(PromptWorkerArgs)
Render the worker prompt (single-phase or phase 1/2/3).
Scan(PromptScanArgs)
Render the scan prompt.
TaskBuilder(PromptTaskBuilderArgs)
Render the task-builder prompt.
List
List all available prompt templates.
Show(PromptShowArgs)
Show a specific prompt template (raw embedded or effective).
Export(PromptExportArgs)
Export embedded prompts to .ralph/prompts/ for customization.
Sync(PromptSyncArgs)
Sync exported prompts with embedded defaults.
Diff(PromptDiffArgs)
Show diff between user override and embedded default.
Trait Implementations§
Source§impl FromArgMatches for PromptCommand
impl FromArgMatches for PromptCommand
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 PromptCommand
impl Subcommand for PromptCommand
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 PromptCommand
impl RefUnwindSafe for PromptCommand
impl Send for PromptCommand
impl Sync for PromptCommand
impl Unpin for PromptCommand
impl UnsafeUnpin for PromptCommand
impl UnwindSafe for PromptCommand
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