From 191e2b7429ff4547b5fdd0fbfcff943ce96c2d68 Mon Sep 17 00:00:00 2001 From: Hermes Agent Date: Wed, 12 Aug 2026 00:03:21 +0000 Subject: Add explicit image builder CLI commands --- src/main.rs | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'src/main.rs') diff --git a/src/main.rs b/src/main.rs index 1ca0cab..1e06263 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,4 +1,9 @@ +use alt_controller_image::cli::{run, Cli}; +use clap::Parser; + fn main() { - eprintln!("The command-line interface is not available yet. Use the library to load an ImageSpec."); - std::process::exit(2); + if let Err(error) = run(Cli::parse()) { + eprintln!("error: {error:#}"); + std::process::exit(1); + } } -- cgit v1.2.3