-
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
Command chaining support #665
Comments
This issue is being marked as stale due to a long period of inactivity |
@willmitchell you could write a variadic
This is similar to
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi there, and thanks for Cobra!
Is it possible to chain commands? Imagine a super simple 'accumulator' type of program that supports 3 commands as shown below:
I would like to be able to chain commands like so:
Note that only the first command is executed. Is there a way to make Cobra execute all of the commands in left to right order?
Code is here.
Thanks!
The text was updated successfully, but these errors were encountered: