- Access to
~/.kube/configcan be achieved via an appropriatepersonal-filesplug declaration. - Could you ship
kubectlwithinkube-commander? - Users do not generally configure their pager, but nonetheless you could still ship various pagers if you desired (however 99% would still use less so I would think shipping just this would be enough).
Finally, can you elaborate more on the use-case of editing? Would it be possible to launch the editor via say xdg-open /path/to/file/to/edit - combined with say XDG desktop portals this could allow a user to choose the editor as needed.