summaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs
index 7ad2d81..f4c5373 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -59,6 +59,8 @@ enum Command {
Daemon,
#[command(hide = true)]
Guard,
+ #[command(hide = true)]
+ XrayPreflight,
}
#[derive(Subcommand)]
@@ -114,6 +116,7 @@ async fn run(cli: Cli) -> Result<()> {
Command::Recover { .. } => return roentgen::installation::recover().await,
Command::Daemon => return roentgen::daemon::run().await,
Command::Guard => return roentgen::daemon::guard().await,
+ Command::XrayPreflight => return roentgen::xray::preflight().await,
_ => {}
}
let client = Client::system().await?;