feat: add cli support for ncm

This commit is contained in:
鲁树人
2024-09-14 16:16:20 +01:00
parent abd4549da3
commit 208461e089
9 changed files with 140 additions and 10 deletions

View File

@@ -29,6 +29,7 @@ fn run_command(cli: &Cli) -> Result<i32> {
match &cli.command {
Some(Commands::QMCv1(cmd)) => cmd.run(&cli),
Some(Commands::QMCv2(cmd)) => cmd.run(&cli),
Some(Commands::NCM(cmd)) => cmd.run(&cli),
None => {
// https://github.com/clap-rs/clap/issues/3857#issuecomment-1161796261
todo!("implement a sensible default command, similar to um/cli");