Enable prefix matching for subcommands

This commit is contained in:
Marcin Kulik
2025-06-04 08:45:25 +02:00
parent 6b782585d2
commit b84ee319c1

View File

@@ -9,6 +9,7 @@ pub const DEFAULT_LISTEN_ADDR: &str = "127.0.0.1:8080";
#[derive(Debug, Parser)]
#[clap(author, version, about)]
#[command(name = "asciinema")]
#[command(infer_subcommands = true)]
pub struct Cli {
#[command(subcommand)]
pub command: Commands,