cli: allow exec server to listen on socket (#188123)

* cli: allow exec server to listen on socket

For remote ssh

* fix lint
This commit is contained in:
Connor Peet
2023-07-18 09:19:44 -07:00
committed by GitHub
parent a40a4f728a
commit 3e0786633b
4 changed files with 63 additions and 19 deletions

View File

@@ -95,7 +95,9 @@ async fn main() -> Result<(), std::convert::Infallible> {
args::VersionSubcommand::Show => version::show(context!()).await,
},
Some(args::Commands::CommandShell) => tunnels::command_shell(context!()).await,
Some(args::Commands::CommandShell(cs_args)) => {
tunnels::command_shell(context!(), cs_args).await
}
Some(args::Commands::Tunnel(tunnel_args)) => match tunnel_args.subcommand {
Some(args::TunnelSubcommand::Prune) => tunnels::prune(context!()).await,