mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-18 23:59:43 +01:00
cli: add stdio control server
* signing: implement signing service on the web * wip * cli: implement stdio service This is used to implement the exec server for WSL. Guarded behind a signed handshake. * update distro * rm debug * address pr comments
This commit is contained in:
@@ -8,7 +8,7 @@ use std::process::Command;
|
||||
|
||||
use clap::Parser;
|
||||
use cli::{
|
||||
commands::{args, internal_wsl, tunnels, update, version, CommandContext},
|
||||
commands::{args, tunnels, update, version, CommandContext},
|
||||
constants::get_default_user_agent,
|
||||
desktop, log,
|
||||
state::LauncherPaths,
|
||||
@@ -65,9 +65,6 @@ async fn main() -> Result<(), std::convert::Infallible> {
|
||||
..
|
||||
}) => match cmd {
|
||||
args::StandaloneCommands::Update(args) => update::update(context!(), args).await,
|
||||
args::StandaloneCommands::Wsl(args) => match args.command {
|
||||
args::WslCommands::Serve => internal_wsl::serve(context!()).await,
|
||||
},
|
||||
},
|
||||
args::AnyCli::Standalone(args::StandaloneCli { core: c, .. })
|
||||
| args::AnyCli::Integrated(args::IntegratedCli { core: c, .. }) => match c.subcommand {
|
||||
@@ -98,6 +95,8 @@ 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::Tunnel(tunnel_args)) => match tunnel_args.subcommand {
|
||||
Some(args::TunnelSubcommand::Prune) => tunnels::prune(context!()).await,
|
||||
Some(args::TunnelSubcommand::Unregister) => tunnels::unregister(context!()).await,
|
||||
|
||||
Reference in New Issue
Block a user