mirror of
https://github.com/microsoft/vscode.git
synced 2026-09-28 16:39:00 +01:00
cli: add tunnel kill/restart subcommands (#177286)
This commit is contained in:
@@ -91,6 +91,8 @@ async fn main() -> Result<(), std::convert::Infallible> {
|
||||
Some(args::Commands::Tunnel(tunnel_args)) => match tunnel_args.subcommand {
|
||||
Some(args::TunnelSubcommand::Prune) => tunnels::prune(context).await,
|
||||
Some(args::TunnelSubcommand::Unregister) => tunnels::unregister(context).await,
|
||||
Some(args::TunnelSubcommand::Kill) => tunnels::kill(context).await,
|
||||
Some(args::TunnelSubcommand::Restart) => tunnels::restart(context).await,
|
||||
Some(args::TunnelSubcommand::Rename(rename_args)) => {
|
||||
tunnels::rename(context, rename_args).await
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user