pub struct GlobalArgs {Show 16 fields
pub verbose: u8,
pub quiet: u8,
pub json: bool,
pub format: FormatArg,
pub plain: bool,
pub dry_run: bool,
pub color: ColorMode,
pub cwd: PathBuf,
pub ci: bool,
pub non_interactive: bool,
pub yes: bool,
pub force: bool,
pub config: Option<PathBuf>,
pub registry: Option<String>,
pub registry_ref: Option<String>,
pub registry_section: Option<String>,
}Fields§
§verbose: u8Increase verbosity (-v, -vv, -vvv); combine with -q to reduce
quiet: u8Decrease verbosity (-q, -qq)
json: boolOutput Envelop as JSON instead of human-readable text
format: FormatArgOutput Payload format (json, jsonl, markdown, text)
plain: boolOutput plain text (equivalent to –format plain)
dry_run: boolSimulate actions without changes
color: ColorModeColor policy for output
cwd: PathBufRun against another directory (default: current working directory)
ci: boolStrict, non-interactive mode (assume yes, no prompts, CI-friendly)
non_interactive: boolStrict, non-interactive mode (assume no, no prompts, CI-friendly)
yes: boolAccept defaults automatically (assume yes, no prompts)
force: boolForce actions that would normally be prevented (e.g. pushing to protected branches)
config: Option<PathBuf>Use a specific cwizard config not in the default location
registry: Option<String>Use a specific registry (local file or remote URL)
registry_ref: Option<String>Use a specific registry reference (e.g. branch, tag, commit)
registry_section: Option<String>Use a specific registry section (e.g. for multiple registries in one file)
Trait Implementations§
Source§impl Args for GlobalArgs
impl Args for GlobalArgs
Source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§impl Clone for GlobalArgs
impl Clone for GlobalArgs
Source§fn clone(&self) -> GlobalArgs
fn clone(&self) -> GlobalArgs
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for GlobalArgs
impl Debug for GlobalArgs
Source§impl From<GlobalArgs> for AppContextArgs
impl From<GlobalArgs> for AppContextArgs
Source§fn from(args: GlobalArgs) -> Self
fn from(args: GlobalArgs) -> Self
Source§impl FromArgMatches for GlobalArgs
impl FromArgMatches for GlobalArgs
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>
ArgMatches to self.Source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
ArgMatches to self.