kubectl/pkg/cmd/get
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
..
customcolumn.go Escape terminal special characters in kubectl (#112553) 2022-10-30 16:29:24 +00:00
customcolumn_flags.go sort custom column print flags 2022-03-03 22:31:58 +08:00
customcolumn_flags_test.go Remove ioutil from kubectl 2022-07-30 22:31:16 +09:00
customcolumn_test.go Escape terminal special characters in kubectl (#112553) 2022-10-30 16:29:24 +00:00
get.go cmd/get: Remove cmd argument from Run() 2022-12-23 14:56:59 -05:00
get_flags.go Removes deprecated kubectl openapi column printing 2023-01-10 15:30:04 -08:00
get_test.go Removes deprecated kubectl openapi column printing 2023-01-10 15:30:04 -08:00
humanreadable_flags.go Moves kubectl get subcommand to staging 2019-10-29 15:51:00 -07:00
humanreadable_flags_test.go Moves kubectl get subcommand to staging 2019-10-29 15:51:00 -07:00
skip_printer.go Switch TableGenerator/TableConvertor interfaces to metav1 2019-11-26 13:13:25 -05:00
sorter.go grammar: replace all occurrences of "the the" with "the" 2022-09-17 22:58:01 +02:00
sorter_test.go Fixed sort-by not sorting Resources as expected 2021-03-21 17:44:52 -04:00
table_printer.go switch over k/k to use klog v2 2020-04-17 15:25:06 -04:00