pub enum RunCommand {
List {
workflow: Option<String>,
branch: Option<String>,
repo: Option<String>,
limit: u32,
json: Option<Vec<String>>,
hostname: Option<String>,
},
View {
id: u64,
repo: Option<String>,
web: bool,
log: Option<u64>,
log_failed: bool,
json: Option<Vec<String>>,
hostname: Option<String>,
},
Cancel {
id: u64,
repo: Option<String>,
hostname: Option<String>,
},
Download {
id: u64,
repo: Option<String>,
dir: String,
names: Vec<String>,
log: bool,
hostname: Option<String>,
},
Rerun {
id: u64,
repo: Option<String>,
failed_jobs: bool,
debug: bool,
hostname: Option<String>,
},
Watch {
id: u64,
repo: Option<String>,
interval: u64,
exit_status: bool,
hostname: Option<String>,
},
Delete {
id: u64,
repo: Option<String>,
yes: bool,
hostname: Option<String>,
},
}Expand description
Subcommands for gor run.
Variants§
List
List workflow runs.
Fields
View
View a workflow run’s details and jobs.
Fields
Cancel
Cancel a workflow run.
Fields
Download
Download artifacts from a workflow run.
Fields
Rerun
Rerun a workflow run.
Fields
Watch
Watch a workflow run until completion.
Fields
Delete
Delete a workflow run.
Trait Implementations§
Source§impl Debug for RunCommand
impl Debug for RunCommand
Source§impl FromArgMatches for RunCommand
impl FromArgMatches for RunCommand
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 RunCommand
impl Subcommand for RunCommand
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 RunCommand
impl RefUnwindSafe for RunCommand
impl Send for RunCommand
impl Sync for RunCommand
impl Unpin for RunCommand
impl UnsafeUnpin for RunCommand
impl UnwindSafe for RunCommand
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