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
First I would like to thank everyone directly or indirectly involved in making this library possible and who work tirelessly to maintain this awesome library, more grease to your elbow.
I was wondering if we can have another overloaded method that will allow function yargs.command(cb) to accept a callback (which accepts an argv object) and returns a command object?
First I would like to thank everyone directly or indirectly involved in making this library possible and who work tirelessly to maintain this awesome library, more grease to your elbow.
I was wondering if we can have another overloaded method that will allow function
yargs.command(cb)to accept a callback (which accepts anargvobject) and returns a command object?Right now the option needs to be explicitly passed as an object into the
.command()method.I ran into a specific issue that could have saved me a lot of stress if only the
.commnad()method could accept a function.I don't know if this is achievable.
Thanks