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
The cargo run command can accept positional arguments and even CLI args using the clap crate. However, cargo-web rejects any extra parameters outside of its strict dictionary.
I have a need to generate wasm binaries based on options passed on the command line, but it does not seem to be possible.
Is this a feature that this project is willing to accept? What format do you think would be the best for passing positional or key-value pairs to cargo web variable?
Something like --custom-args value1 value2 value3? Or more specific?
I'm willing to help in building this feature.
The text was updated successfully, but these errors were encountered:
The
cargo run
command can accept positional arguments and even CLI args using the clap crate. However, cargo-web rejects any extra parameters outside of its strict dictionary.I have a need to generate wasm binaries based on options passed on the command line, but it does not seem to be possible.
Is this a feature that this project is willing to accept? What format do you think would be the best for passing positional or key-value pairs to cargo web variable?
Something like --custom-args value1 value2 value3? Or more specific?
I'm willing to help in building this feature.
The text was updated successfully, but these errors were encountered: