Removes the need to pass cmd as an argument to Run(). This change required reading the --sort-by flag in Complete() in a way similar to other flags. This change allows the cobra.Command not to need to be passed throughout the completion code, which I updated as part of this commit. It also is a step in the direction of the TODO comment requesting the removal of arguments passed to Run() and watch(). Kubernetes-commit: aa7a828f20b479a8a943d897224e8e76c3bb6cff |
||
|---|---|---|
| .. | ||
| customcolumn.go | ||
| customcolumn_flags.go | ||
| customcolumn_flags_test.go | ||
| customcolumn_test.go | ||
| get.go | ||
| get_flags.go | ||
| get_test.go | ||
| humanreadable_flags.go | ||
| humanreadable_flags_test.go | ||
| skip_printer.go | ||
| sorter.go | ||
| sorter_test.go | ||
| table_printer.go | ||