cli: add --install-extension command for use with tunnel server (#207741)

* cli: add --install-extension command for use with tunnel server

* fix clippy
This commit is contained in:
Connor Peet
2024-03-14 11:05:20 -07:00
committed by GitHub
parent 03b7566c5a
commit 6269ab41b4
5 changed files with 92 additions and 5 deletions

View File

@@ -42,6 +42,9 @@ pub fn try_parse_legacy(
}
}
} else if let Ok(value) = arg.to_value() {
if value == "tunnel" {
return None;
}
if let Some(last_arg) = &last_arg {
args.get_mut(last_arg)
.expect("expected to have last arg")