mirror of
https://github.com/asciinema/asciinema.git
synced 2025-12-15 19:28:00 +01:00
Enable prefix matching for subcommands
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user