18 lines
442 B
Rust
18 lines
442 B
Rust
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") }
|
|
}
|