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

+17
View File
@@ -0,0 +1,17 @@
use clap::Args;
use crate::cli::{ Exit, Command };
/// Show the package changes between a snapshot and the live root.
#[derive(Debug, Args)]
pub struct Diff {
/// The snapshot to compare with, as the snapshot provider names it.
/// The default is the rollback target.
#[arg(value_name = "SNAPSHOT")]
pub snapshot: Option<String>,
}
impl Command for Diff
{
fn run(&self) -> anyhow::Result<Exit> { todo!("keel diff") }
}