pub struct CommandFactory;
Expand description
Command factory for creating command configurations from CLI args
Implementations§
Source§impl CommandFactory
impl CommandFactory
pub fn create_chat_command(verbose: bool, prompt: Option<String>) -> ChatCommand
pub fn create_analyze_command( depth: &str, format: &str, ) -> Result<AnalyzeCommand>
pub fn create_project_command( name: String, features: String, template: Option<String>, git: bool, ) -> CreateProjectCommand
pub fn create_validate_command( api: bool, filesystem: bool, all: bool, ) -> ValidateCommand
pub fn create_ask_command(prompt: Vec<String>) -> AskCommand
Auto Trait Implementations§
impl Freeze for CommandFactory
impl RefUnwindSafe for CommandFactory
impl Send for CommandFactory
impl Sync for CommandFactory
impl Unpin for CommandFactory
impl UnwindSafe for CommandFactory
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