pub enum CollectionSubcommand {
List {
dir: PathBuf,
},
Show {
name: String,
dir: PathBuf,
},
Validate {
name: String,
dir: PathBuf,
spec: Option<PathBuf>,
},
Run {Show 14 fields
name: String,
dir: PathBuf,
output: String,
save_all: Option<PathBuf>,
save_summary: Option<PathBuf>,
variables: Vec<(String, String)>,
auth_profile: Option<String>,
continue_on_error: bool,
requests: Vec<String>,
skip_requests: Vec<String>,
use_env: bool,
env_file: Option<PathBuf>,
spec: Option<PathBuf>,
env: Option<String>,
},
Test {
name: String,
dir: PathBuf,
spec: Option<PathBuf>,
auth_profile: Option<String>,
output: String,
continue_on_error: bool,
},
}Variants§
List
List available collections
Show
Show details of a collection
Validate
Validate collection syntax and operations
Fields
Run
Run a collection
Fields
Test
Run collection as tests
Trait Implementations§
Source§impl FromArgMatches for CollectionSubcommand
impl FromArgMatches for CollectionSubcommand
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 CollectionSubcommand
impl Subcommand for CollectionSubcommand
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 CollectionSubcommand
impl RefUnwindSafe for CollectionSubcommand
impl Send for CollectionSubcommand
impl Sync for CollectionSubcommand
impl Unpin for CollectionSubcommand
impl UnsafeUnpin for CollectionSubcommand
impl UnwindSafe for CollectionSubcommand
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