pub struct InitArgs {Show 13 fields
pub name: Option<String>,
pub type: Vec<String>,
pub tools: Vec<String>,
pub reviewers: Vec<String>,
pub language: Vec<String>,
pub install_command: Option<String>,
pub check_command: Option<String>,
pub no_interactive: bool,
pub no_init_bones: bool,
pub no_seed_work: bool,
pub force: bool,
pub no_commit: bool,
pub project_root: Option<PathBuf>,
}Fields§
§name: Option<String>Project name
type: Vec<String>Project types (comma-separated: api, cli, frontend, library, monorepo, tui)
tools: Vec<String>Tools to enable (comma-separated: bones, maw, crit, botbus, vessel)
reviewers: Vec<String>Reviewer roles (comma-separated: security)
language: Vec<String>Languages for .gitignore generation (comma-separated: rust, python, node, go, typescript, java)
install_command: Option<String>Install command (e.g., “just install”)
check_command: Option<String>Check command run before merging (e.g., “just check”, “cargo check”)
no_interactive: boolNon-interactive mode
no_init_bones: boolSkip bones initialization
no_seed_work: boolSkip seeding initial work bones
force: boolForce overwrite existing config
no_commit: boolSkip auto-commit
project_root: Option<PathBuf>Project root directory
Implementations§
Trait Implementations§
Source§impl Args for InitArgs
impl Args for InitArgs
Source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Append to
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§impl FromArgMatches for InitArgs
impl FromArgMatches for InitArgs
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(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Auto Trait Implementations§
impl Freeze for InitArgs
impl RefUnwindSafe for InitArgs
impl Send for InitArgs
impl Sync for InitArgs
impl Unpin for InitArgs
impl UnsafeUnpin for InitArgs
impl UnwindSafe for InitArgs
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