Add core CLI command structure and subcommands.
This commit is contained in:
1 parent
5c262fe425
commit
70dec5834e
19 files changed
+447
-1
No files matched your search
@@ -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") }
|
||||
}
|
||||
Reference in new issue
Block a user