pub enum IssueCmd {
List(ListArgs),
View(ViewArgs),
Create(CreateArgs),
Comment(CommentArgs),
Close(NumberArgs),
Reopen(NumberArgs),
SetState(SetStateArgs),
}Variants§
List(ListArgs)
List issues in a repository.
View(ViewArgs)
Show a single issue (with comments).
Create(CreateArgs)
Open a new issue.
Comment(CommentArgs)
Add a comment to an issue.
Close(NumberArgs)
Close an issue.
Reopen(NumberArgs)
Reopen an issue.
SetState(SetStateArgs)
Set an issue’s workflow state by name (e.g. “In progress”).
The state name is matched case-insensitively against the repo’s
declared workflow states. The legacy status field auto-flips
based on the new state’s category — moving to a “Closed”-category
state closes the issue, “Open”/“InProgress” reopens it.
Trait Implementations§
Source§impl FromArgMatches for IssueCmd
impl FromArgMatches for IssueCmd
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 IssueCmd
impl Subcommand for IssueCmd
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 IssueCmd
impl RefUnwindSafe for IssueCmd
impl Send for IssueCmd
impl Sync for IssueCmd
impl Unpin for IssueCmd
impl UnsafeUnpin for IssueCmd
impl UnwindSafe for IssueCmd
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