1 #[derive(clap::Parser)] 2 enum Opt { 3 Sub(SubCmd), 4 } 5 6 #[derive(clap::Parser)] 7 enum SubCmd {} 8 main()9 fn main() {} 10