Commit Graph

4 Commits (906138181e1388abce1180fb439276def49dd041)

Author SHA1 Message Date
tyzbit 906138181e
fix(misc plugins): split up multiline commands, use less -K everywhere (#2348)
`less -K` makes ctrl+c work with `less`.

When running commands in k9s that use less, sometimes the command doesn't ever return or the user doesn't wait for it to finish. Issuing ctrl+c to a command with a simple `| less` puts k9s into an unfixable state, requiring restarting because `less` never quits. With `less -K`, ctrl+c quits `less` and the user should always be returned to a working `k9s` session.

I also used multiline strings in a few places which improve readability and remove the need for double quotes in many places as many commands had gotten long.
2023-12-18 08:31:38 -07:00
Olivier Orand 46d4681933
Add context to get-all (#1701) 2023-11-12 11:45:05 -07:00
Jan Dittrich e8955ea9fc
Add get-all plugin specific for namespace view (#2091) 2023-05-28 07:24:47 -06:00
Jeroen Lanckmans 79c43dc478 Add plugin example to list all resources in a namespace 2020-06-16 20:25:17 +02:00