Skip to content

[CLI] Investigate/cleanup help option #24

@JonasCir

Description

@JonasCir

Not certain how this is supposed to work: We always define the Help variant in commands in src/cli/mod.rs but do not match it in main.rs. I would assume that we can get rid of this variant and just let do clap its magic when an unknown command is encountered.

Probably something along these lines.


Edit: I just found #[clap(arg_required_else_help = true)].
Edit 2: we should bump clap to the most recent version

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions