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 |
||
|---|---|---|
| .. | ||
| cp.go | ||
| cp_test.go | ||
| filespec.go | ||