Closed
Description
Is there a way to add options to commands after they have been created?
In this app, I'm separating commands into their own files and dynamically requiring them. I'd like to go back through and add global options to each of the commands that exists. Is this possible?
I've tried simply appending the options
array of each command with a new Option
but the option doesn't show when I run help on the command.
Metadata
Metadata
Assignees
Labels
No labels