Is it possible to make an Enum optional?
outfmt:
type:
type: enum
symbols:
- clustal
- clustal_num
- fa
- msf
- nexus
- phylip
- selex
- stockholm
- vienna
inputBinding:
position: 13
prefix: --outfmt
I have tried enum?
but then it is not recognised as CommandInputEnumSchema
.
?
is just a shorthand for[ <T>, "null"]
. Try the latter.Could you provide an example? I have tried a few alternatives with
null
but I couldn't make it work.