Skip to content

Flags optional arguments #146

Open
Open
@steinybot

Description

@steinybot

Is it possible to have a flag with optional arguments?

I want to be able to pass --mirror and --mirror <path>. Either mirror is missing, present without a value, or present with a 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