pub struct Args {
pub manifest_path: Option<PathBuf>,
pub target: CliTarget,
pub bind: SocketAddr,
pub no_hot_patch: bool,
pub workspace_root: Option<PathBuf>,
pub show_native_logs: bool,
pub no_tui: bool,
}Fields§
§manifest_path: Option<PathBuf>Path to the user crate’s Cargo.toml. Defaults to walking up
from cwd until a Cargo.toml with a [package] section is
found (cargo-style).
target: CliTargetWhere to deploy the rebuilt artifact. Positional so the
common case (whisker run android / whisker run ios) reads
naturally without a --target= prefix.
bind: SocketAddrWebSocket bind address. The Whisker app on the device dials this
(via WHISKER_DEV_ADDR) to receive patches.
no_hot_patch: boolOpt out of Tier 1 subsecond hot-patching and fall back to Tier 2
cold rebuilds. whisker run defaults to Tier 1; this flag is
for situations where the hot-patch path is misbehaving and you
just want the slower-but-bulletproof path.
workspace_root: Option<PathBuf>Override the workspace root (= directory containing the
Cargo.toml with [workspace]). Defaults to walking up from
the resolved manifest’s parent dir.
show_native_logs: boolShow every line of the device’s stdout/stderr stream, including
Lynx C++ engine chatter (s_glBindAttribLocation: … and
friends) that the curated default suppresses. Useful when
triaging engine-level issues; noisy for typical app
development. Pair with WHISKER_VERBOSE=1 for the full picture.
no_tui: boolDisable the inline ratatui status bar at the bottom of the terminal. On by default when stderr is a TTY; auto-off when piping to a file or running under CI. Use this when running against a tmux pane that doesn’t like inline viewports, or when you specifically want grep’able scrollback-only output.
Trait Implementations§
Source§impl Args for Args
impl Args for Args
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 FromArgMatches for Args
impl FromArgMatches for Args
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 Args
impl RefUnwindSafe for Args
impl Send for Args
impl Sync for Args
impl Unpin for Args
impl UnsafeUnpin for Args
impl UnwindSafe for Args
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
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