profile.rs (237B)
1 use clap::{Args, Subcommand}; 2 3 #[derive(Debug, Clone, Args)] 4 pub struct ProfileArgs { 5 #[command(subcommand)] 6 pub command: ProfileCommand, 7 } 8 9 #[derive(Debug, Clone, Subcommand)] 10 pub enum ProfileCommand { 11 Inspect, 12 Reset, 13 }