You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Passing Arguments to the underlying Bevy app does not work for bevy run web #711
Its currently not possible to pass additional arguments to the bevy app when using the web subcommand. This is because:
#[derive(Debug,Args,Clone)]pubstructRunArgs{/// The subcommands available for the run command.#[command(subcommand)]pubsubcommand:Option<RunSubcommands>,/// Confirm all prompts automatically.#[arg(long = "yes", default_value_t = false)]pubconfirm_prompts:bool,/// Commands to forward to `cargo run`.#[clap(flatten)]pubcargo_args:CargoRunArgs,/// Arguments to pass to the underlying Bevy app.////// Specified after `--`.#[clap(last = true, name = "ARGS")]pubforward_args:Vec<String>,}
Results in the following: Usage: bevy run [OPTIONS] [-- <ARGS>...] [COMMAND]
But: bevy run -- --foo web will result in cargo run --profile dev -- --mute web.
changed the title [-]Passing Arguments to the underlying Bevy app does not work for the Web[/-][+]Passing Arguments to the underlying Bevy app does not work for `bevy run web`[/+]on Jan 2, 2026
Activity
[-]Passing Arguments to the underlying Bevy app does not work for the Web[/-][+]Passing Arguments to the underlying Bevy app does not work for `bevy run web`[/+]