pub struct GuideArgs {
pub name: Option<String>,
pub list: bool,
pub tech: Option<String>,
pub forge: Option<String>,
pub repo: Option<String>,
pub workflow: Option<String>,
}Expand description
Print a runbook with what detection knows filled in, or list them.
Fields§
§name: Option<String>The runbook to print; omit it and pass –list to see the names.
list: boolList the runbooks instead of printing one.
tech: Option<String>Select the technology’s lines where the runbook branches; defaults to detection from the version file.
forge: Option<String>Select the forge’s lines where the runbook branches; defaults to detection from the git remote.
repo: Option<String>The project path substituted for
workflow: Option<String>Select the workflow mode’s lines where the runbook branches: worktree or branches. Defaults to the mode the landing record states; without a record, every variant prints with its label.
Trait Implementations§
Source§impl Args for GuideArgs
impl Args for GuideArgs
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 GuideArgs
impl FromArgMatches for GuideArgs
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 GuideArgs
impl RefUnwindSafe for GuideArgs
impl Send for GuideArgs
impl Sync for GuideArgs
impl Unpin for GuideArgs
impl UnsafeUnpin for GuideArgs
impl UnwindSafe for GuideArgs
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