Add core CLI command structure and subcommands.

This commit is contained in:
Overlord committed 2026-10-16 22:24:35 +02:00
1 parent 5c262fe425
commit 70dec5834e
19 files changed
+447 -1

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
use clap::Args;
use crate::cli::{ Exit, Command };
/// Run the pre-transaction checks as if a full system upgrade ran now.
#[derive(Debug, Args)]
pub struct Check {
/// Download the package archives of the upgrade, so the ELF check can inspect them.
#[arg(long)]
pub download: bool,
}
impl Command for Check
{
fn run(&self) -> anyhow::Result<Exit> { todo!("keel check") }
}