-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add flags after execute #1784
Comments
Does anyone know if this is possible? |
Hi @theprobugmaker . Since you want to add flags you need to do this before
In your case, which is simpler than for completions, I would use the first option, personally. I hope this helps. |
@marckhouzam Thank you so much for taking the time to answer me, I appreciate it. |
Is it possible to add flags to the command after the execution? I want to dynamically add more flags to the application.
The problem I'm having is that those additional flags will only be added if a flag
--extra-features
is present and I only have the value filled inside theRunE
function.If this
--extra-features
is present I want to add more flags to the application. How can I do something like that?Thank you.
The text was updated successfully, but these errors were encountered: