pub enum IssueCommands {
Show 20 variants
List {
repo: String,
state: Option<IssueStateArg>,
kind: Option<IssueKindArg>,
priority: Option<IssuePriorityArg>,
assignee: Option<String>,
reporter: Option<String>,
query: Option<String>,
sort: Option<String>,
page: Option<u32>,
limit: u32,
},
View {
repo: String,
id: u64,
comments: bool,
web: bool,
},
Create {
repo: String,
title: String,
body: Option<String>,
kind: IssueKindArg,
priority: IssuePriorityArg,
assignee: Option<String>,
component: Option<String>,
milestone: Option<String>,
version: Option<String>,
},
Edit {
repo: String,
id: u64,
title: Option<String>,
body: Option<String>,
kind: Option<IssueKindArg>,
priority: Option<IssuePriorityArg>,
assignee: Option<String>,
state: Option<IssueStateArg>,
},
Delete {
repo: String,
id: u64,
yes: bool,
},
Comment {
repo: String,
id: u64,
body: String,
},
Comments {
repo: String,
id: u64,
limit: u32,
},
EditComment {
repo: String,
id: u64,
comment_id: u64,
body: String,
},
DeleteComment {
repo: String,
id: u64,
comment_id: u64,
yes: bool,
},
Changes {
repo: String,
id: u64,
limit: u32,
},
Vote {
repo: String,
id: u64,
},
Unvote {
repo: String,
id: u64,
},
Watch {
repo: String,
id: u64,
},
Unwatch {
repo: String,
id: u64,
},
Components {
repo: String,
},
Milestones {
repo: String,
},
Versions {
repo: String,
},
Attachment {
command: AttachmentCommands,
},
Close {
repo: String,
id: u64,
},
Reopen {
repo: String,
id: u64,
},
}Variants§
List
List issues
Fields
§
state: Option<IssueStateArg>Filter by state
§
kind: Option<IssueKindArg>Filter by kind
§
priority: Option<IssuePriorityArg>Filter by priority
View
View issue details
Fields
Create
Create a new issue
Edit
Edit an issue’s fields
Fields
§
kind: Option<IssueKindArg>New kind
§
priority: Option<IssuePriorityArg>New priority
§
state: Option<IssueStateArg>New state
Delete
Delete an issue
Fields
Comment
Add a comment to an issue
Fields
Comments
List comments on an issue
Fields
EditComment
Edit a comment on an issue
Fields
DeleteComment
Delete a comment from an issue
Fields
Changes
List the change log of an issue
Fields
Vote
Vote for an issue
Unvote
Remove your vote from an issue
Watch
Watch an issue
Unwatch
Stop watching an issue
Components
List the components defined in the issue tracker
Milestones
List the milestones defined in the issue tracker
Versions
List the versions defined in the issue tracker
Attachment
Manage files attached to an issue
Fields
§
command: AttachmentCommandsClose
Close an issue
Reopen
Reopen an issue
Implementations§
Trait Implementations§
Source§impl FromArgMatches for IssueCommands
impl FromArgMatches for IssueCommands
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 IssueCommands
impl Subcommand for IssueCommands
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 IssueCommands
impl RefUnwindSafe for IssueCommands
impl Send for IssueCommands
impl Sync for IssueCommands
impl Unpin for IssueCommands
impl UnsafeUnpin for IssueCommands
impl UnwindSafe for IssueCommands
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more