Revert back to the CLI using Clap more directly

This commit is contained in:
Markus Unterwaditzer
2025-11-18 20:38:58 +01:00
committed by Markus Unterwaditzer
parent f6e118a5cc
commit 485d1a99f6
2 changed files with 12 additions and 4 deletions

View File

@@ -327,3 +327,12 @@ pub fn run_with_callback<'a>(
pub fn version() -> &'static str {
env!("CARGO_PKG_VERSION")
}
/// Run the CLI installer
///
/// This function is public so the binary can call it, library users should use `run_with_callback`
/// instead.
pub async fn main_cli() -> Result<(), Error> {
let args = Args::parse();
run(args).await
}