You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm in a scenario where I'd like to asynchronously provide default values only when a value isn't provided. As this isn't an option in clipanion, I am working with a fork of the project. Is this something you'd consider as part of the library?
An example:
classMyCommandextendsCommand{foo=Option.String('-f,--foo',async()=>{// The value wasn't provided.// Fetch something asynchronously?// Maybe prompt the user for extra information?})}
I understand this can be achieved by adding logic in Command.prototype.execute...
I'm in a scenario where I'd like to asynchronously provide default values only when a value isn't provided. As this isn't an option in clipanion, I am working with a fork of the project. Is this something you'd consider as part of the library?
An example:
I understand this can be achieved by adding logic in
Command.prototype.execute
...However, the above isn't very scaleable as the project grows.
The text was updated successfully, but these errors were encountered: