Test behavior for subcommand with same name as root command
Before adoption: this commit came in with the history the project adopted, so no landing records it.
If, for some reason, you have an application with some name "foo", and your app has a subcommand "foo", cobra should behave properly when you call "foo foo", and it should also behave if you call "foo f". These changes verify both of these cases and ensure cobra responds properly.
authored by tummychow · committed by tummychow · parent 4c29b19 · Browse files · 2 files+51 added−1 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
2 files+51 added−1 removed
- other:+51 added−1 removed