kubectl/pkg/cmd/cp
Brian Pursley a2ae001d8e cmd/get: Remove cmd argument from Run()
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
2022-12-23 14:56:59 -05:00
..
cp.go cmd/get: Remove cmd argument from Run() 2022-12-23 14:56:59 -05:00
cp_test.go Remove ioutil from kubectl 2022-07-30 22:31:16 +09:00
filespec.go Use separate pathSpec for local and remote to properly handle cleaning paths 2020-08-21 19:24:19 +02:00