Open barbu110 opened 5 years ago
Hey @barbu110,
the correct property for defining a default value is defaultValue
. You've used default
.
Can you try again and tell us if this fixed your issue?
ping @barbu110
even though his example is wrong, he's correct. This though seems to be by design
// If sub command is defined, run it
if (defined) {
this.runCommand(defined, optionList)
return {}
}
// Hand back list of options
return optionList
Hello!
First of all, I'd like to say I really like
args
. It has a few things it's not doing correctly right now, but it's going on a great path.I created an executable, let's call it
myexec
:Running it goes as follows:
The
options
object should contain the default value oftarget
and it's missing. I think this is a bad problem unless a simple workaround exists. What do you think?