Add cli crate skeleton

This commit is contained in:
michael
2026-04-26 14:40:44 -07:00
parent e3ab53c3c6
commit ab5b158dc3
2 changed files with 39 additions and 0 deletions

23
cli/src/main.rs Normal file
View File

@@ -0,0 +1,23 @@
use anyhow::Result;
use clap::Parser;
#[derive(Parser)]
#[command(name = "ubuntu-fidoctl", version, about = "Manage ubuntu-fido configuration")]
struct Cli {
#[command(subcommand)]
cmd: Cmd,
}
#[derive(clap::Subcommand)]
enum Cmd {
Status,
}
#[tokio::main]
async fn main() -> Result<()> {
let args = Cli::parse();
match args.cmd {
Cmd::Status => println!("ubuntu-fidoctl: not yet implemented"),
}
Ok(())
}