mirror of https://github.com/knative/client.git
Explores all sub-commands from root and adds a RunE for all commands that are groups with child commands and without a RunE. The added RunE will return the correct errors when the command is called with empty sub-command or with an unknown sub-command. It will also print the command help message first. Added a gotest.tools test for root.go. |
||
|---|---|---|
| .. | ||
| LICENSE | ||
| difflib.go | ||