We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
From a brief research, there doesn't seem an idiomatic way to do this:
spf13/cobra#770
Also found these: https://nayaktapan37.medium.com/testing-cobra-commands-in-golang-ca1fe4ad6657 https://gianarb.it/blog/golang-mockmania-cli-command-with-cobra https://g14a.dev/posts/Testing-Cobra-Subcommands/
The text was updated successfully, but these errors were encountered:
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 30 days.
Sorry, something went wrong.
This issue was closed because it has been stalled for 90 days with no activity.
omerosaienni
No branches or pull requests
From a brief research, there doesn't seem an idiomatic way to do this:
spf13/cobra#770
Also found these:
https://nayaktapan37.medium.com/testing-cobra-commands-in-golang-ca1fe4ad6657
https://gianarb.it/blog/golang-mockmania-cli-command-with-cobra
https://g14a.dev/posts/Testing-Cobra-Subcommands/
The text was updated successfully, but these errors were encountered: