pub struct GlobalOpts {Show 28 fields
pub json: bool,
pub json_steps: bool,
pub quiet: bool,
pub verbose: bool,
pub debug: bool,
pub timeout: u64,
pub step_timeout: u64,
pub headed: bool,
pub artifacts_dir: Option<PathBuf>,
pub lang: Option<String>,
pub capture_console: bool,
pub capture_network: bool,
pub ignore_robots: bool,
pub i_accept_robots_risk: bool,
pub category_memory: bool,
pub category_extensions: bool,
pub category_third_party: bool,
pub category_webmcp: bool,
pub experimental_screencast: bool,
pub experimental_vision: bool,
pub mitm: bool,
pub mitm_ca_dir: Option<PathBuf>,
pub mitm_har: Option<PathBuf>,
pub mitm_hosts: Option<String>,
pub mitm_ws: bool,
pub mitm_max_body_bytes: Option<usize>,
pub mitm_no_media_bodies: bool,
pub mitm_redact_secrets: bool,
}Expand description
Global options applied to every subcommand.
Flattened into the root Cli via #[command(flatten)].
Fields§
§json: boolEmit machine-readable JSON success/error envelopes on stdout
json_steps: boolGAP-020: stream one NDJSON object per run step on stdout (step,cmd,ok,result)
quiet: boolSuppress non-error human logs on stderr
verbose: boolIncrease stderr verbosity (-v / --verbose = info; or config set log_level debug)
debug: boolMaximum tracing detail on stderr (debug/trace)
timeout: u64Global wall-clock timeout in seconds (0 = no override)
step_timeout: u64Per-step timeout in seconds for run scripts (0 = inherit global timeout)
headed: boolLaunch Chrome with a visible window (debug; default headless=new)
artifacts_dir: Option<PathBuf>Directory for screenshots, PDFs, and other one-shot artifacts
lang: Option<String>Force UI language (en or pt); default resolves from OS locale + XDG
capture_console: boolCapture console messages during browser commands
capture_network: boolCapture network requests during browser commands
ignore_robots: boolSkip robots.txt policy checks (requires risk acceptance for blocked hosts)
i_accept_robots_risk: boolExplicitly accept robots.txt override risk when using –ignore-robots
category_memory: boolEnable deep heap analysis tools (PRD category-memory)
category_extensions: boolEnable extension management tools
category_third_party: boolEnable third-party developer tool surface
category_webmcp: boolEnable WebMCP-compatible tool surface
experimental_screencast: boolEnable experimental screencast (may require ffmpeg for file export)
experimental_vision: boolEnable coordinate click-at (vision) tools
mitm: boolEnable one-shot local MITM proxy and route Chrome through it (PRD §5E / GAP-019)
mitm_ca_dir: Option<PathBuf>Directory for MITM CA key+cert PEM (default: XDG data)
mitm_har: Option<PathBuf>Write HAR 1.2 to this path on FINALIZE when –mitm is active
mitm_hosts: Option<String>Comma-separated hosts to decrypt (empty = all via proxy)
mitm_ws: boolCapture WebSocket frames in MITM handler
mitm_max_body_bytes: Option<usize>Max body bytes retained per exchange
mitm_no_media_bodies: boolDrop image/video/audio bodies from MITM capture
mitm_redact_secrets: boolRedact Authorization/Cookie secrets in MITM exports (default on when set)
Trait Implementations§
Source§impl Args for GlobalOpts
impl Args for GlobalOpts
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 GlobalOpts
impl Clone for GlobalOpts
Source§fn clone(&self) -> GlobalOpts
fn clone(&self) -> GlobalOpts
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for GlobalOpts
impl Debug for GlobalOpts
Source§impl FromArgMatches for GlobalOpts
impl FromArgMatches for GlobalOpts
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.Auto Trait Implementations§
impl Freeze for GlobalOpts
impl RefUnwindSafe for GlobalOpts
impl Send for GlobalOpts
impl Sync for GlobalOpts
impl Unpin for GlobalOpts
impl UnsafeUnpin for GlobalOpts
impl UnwindSafe for GlobalOpts
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
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>
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>
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