pub fn reconcile_args(args: &mut ModeArgs)Expand description
Reconciles euv-specific arguments that may have been collected into
wasm_pack_args (e.g. when placed after --) back into the
corresponding ModeArgs fields.
Because clap’s trailing_var_arg collects all unrecognized arguments
into wasm_pack_args, any euv flag placed after -- is not parsed
by clap into its dedicated field. This function scans wasm_pack_args
for known euv flags and overwrites the ModeArgs fields so that the
rest of the codebase can rely on the typed accessors regardless of
argument order.
§Arguments
&mut ModeArgs- The CLI arguments to reconcile in-place.