Skip to content

Feature Request: Support for Subcommands with Clap Traits #2

@rrrodzilla

Description

@rrrodzilla

I've noticed that the crate doesn't currently support structures like this:

enum Command {
    PrimaryCommand {
        subcommand: SubCommand,
    }
}
enum Subcommand {
    PrimaryCommand {
        some_arg: String,
    }
}

The issue arises because Subcommand doesn't implement necessary clap traits. It would be great if support could be added for this. Do you have an idea of how you'd do this? I don't mind assisting as well.

Nice work with this crate. 👍🏼

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions