Skip to content

support required/optional flags #58

@LoveFunDev

Description

@LoveFunDev

Currently, grumble does not have "required/optional" concept for flags. Hope to have this functionality, so can define required flags and optional flags.

For example, if defined flagA as required flag, the command without flagA is invalid.
if defined flagB as optional flag, the command without flagB is valid, and the value of flagB is the default value.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions