Add install to the list of supported commands

This commit is contained in:
Michael-F-Bryan
2022-11-17 19:04:49 +08:00
parent e630c50a69
commit 02e61302f4

View File

@@ -228,8 +228,8 @@ fn wasmer_main_inner() -> Result<(), anyhow::Error> {
WasmerCLIOptions::Run(Run::from_binfmt_args())
} else {
match command.unwrap_or(&"".to_string()).as_ref() {
"cache" | "compile" | "config" | "create-exe" | "help" | "inspect" | "run"
| "self-update" | "validate" | "wast" | "binfmt" | "list" | "login" => {
"cache" | "compile" | "config" | "create-exe" | "help" | "inspect" | "install"
| "run" | "self-update" | "validate" | "wast" | "binfmt" | "list" | "login" => {
WasmerCLIOptions::parse()
}
_ => {