Noinstall mode is not recognized
🐛 Bug description
Running wasm-pack new myproject --mode noinstall on wasm-pack 0.9.1 generates the following error.
error: Invalid value for '--mode <mode>': Unknown build mode: noinstall
🤔 Expected Behavior
wasm-pack should have created a new project if all underlying tools are available. Otherwise it should fail in whatever way is appropriate when the particular tool is missing.
👟 Steps to reproduce
Running: wasm-pack new myproject --mode noinstall
Give the following error:
error: Invalid value for '--mode <mode>': Unknown build mode: noinstall
🌍 Your environment
wasm-pack version: 0.9.1 rustc version: 1.49.0 (e1884a8e3 2020-12-29)
looks like documentation is not up to date. it is "no-install" now https://github.com/rustwasm/wasm-pack/blob/master/src/install/mode.rs