pub enum WorkflowCommand {
List {
repo: Option<String>,
limit: u32,
json: Option<Vec<String>>,
hostname: Option<String>,
},
View {
workflow: String,
repo: Option<String>,
json: Option<Vec<String>>,
hostname: Option<String>,
},
Enable {
workflow: String,
repo: Option<String>,
hostname: Option<String>,
},
Disable {
workflow: String,
repo: Option<String>,
hostname: Option<String>,
},
Run {
workflow: String,
repo: Option<String>,
branch: Option<String>,
hostname: Option<String>,
},
}Expand description
Subcommands for gor workflow.
Variants§
List
List workflows in a repository.
Fields
View
View a workflow’s details.
Fields
Enable
Enable a workflow.
Fields
Disable
Disable a workflow.
Fields
Run
Run a workflow.
Fields
Trait Implementations§
Source§impl Debug for WorkflowCommand
impl Debug for WorkflowCommand
Source§impl FromArgMatches for WorkflowCommand
impl FromArgMatches for WorkflowCommand
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 WorkflowCommand
impl Subcommand for WorkflowCommand
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 WorkflowCommand
impl RefUnwindSafe for WorkflowCommand
impl Send for WorkflowCommand
impl Sync for WorkflowCommand
impl Unpin for WorkflowCommand
impl UnsafeUnpin for WorkflowCommand
impl UnwindSafe for WorkflowCommand
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