1 2 3 4 5 6 7 8 9 10 11 12 13 14
use clap::Parser; use crate::VERSION; #[derive(Parser, Debug, Clone)] #[command()] pub struct Cmd; impl Cmd { pub fn run() { let v = VERSION; println!("stellar-strkey {} ({})", v.pkg, v.rev); } }