Closed
Description
I wanted to add a —draft
option to my command but I wanted to be able to optionally specify the draft text i.e. —draft
or —draft Entwurf
. Unfortunately I couldn't think of a way to handle it.
I think that there is a case for having optional arrays although I think there that specifying a minimum and maximum number of elements would be better.
I don't think that there is a good way of handling this with standard types so maybe a custom type should be a requirement, one that could take an optional value as an argument.
Metadata
Metadata
Assignees
Labels
No labels