Skip to content

Use keyword to set positional argument #515

Open
@nycki93

Description

@nycki93

I don't think this issue has been submitted before, but #56 seems to want the same sort of thing.

I want this syntax to be the normal usage:

app inputfile outputfile

But I want both arguments to be optional and fallback on defaults:

app

Which means that it would be nice to specify one but not the other:

app inputfile
app -t outputfile

Therefore, I'd like to be able to set outputfile via either a positional or a keyword argument. Is this supported?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions