pub enum IssueAction {
Start {
issue: String,
target: Utf8PathBuf,
forge: Option<String>,
repo: Option<String>,
workflow: Option<String>,
base: Option<String>,
apply: bool,
json: bool,
},
}Expand description
The issue verbs. Unlike the worktree verbs, these read the recorded workflow mode: starting from an issue seats a worktree under one mode and checks out in place under the other.
Variants§
Start
Mint the issue’s branch at the forge and seat it; preview by default.
Fields
§
target: Utf8PathBufThe repository to act on; any of its worktrees names it.
§
base: Option<String>The remote branch the new branch starts from; the forge’s default branch where absent. GitHub takes a remote branch name alone; GitLab also takes a commit SHA.
Trait Implementations§
Source§impl Debug for IssueAction
impl Debug for IssueAction
Source§impl FromArgMatches for IssueAction
impl FromArgMatches for IssueAction
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 IssueAction
impl Subcommand for IssueAction
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 IssueAction
impl RefUnwindSafe for IssueAction
impl Send for IssueAction
impl Sync for IssueAction
impl Unpin for IssueAction
impl UnsafeUnpin for IssueAction
impl UnwindSafe for IssueAction
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