17 lines
393 B
Rust
17 lines
393 B
Rust
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") }
|
|
}
|