edit: Make environment variables composable
It also adds support for KUBE_EDITOR and GIT_EDITOR which were already advertised in the edit usage message.
This commit is contained in:

committed by
Michail Kargakis

parent
a7425bf070
commit
523b6ec7e3
@@ -41,8 +41,8 @@ Edit a resource on the server
|
||||
Edit a resource from the default editor.
|
||||
|
||||
The edit command allows you to directly edit any API resource you can retrieve via the
|
||||
command line tools. It will open the editor defined by your KUBE_EDITOR, GIT_EDITOR,
|
||||
or EDITOR environment variables, or fall back to 'vi' for Linux or 'notepad' for Windows.
|
||||
command line tools. It will open the editor defined by your KUBE_EDITOR, or EDITOR
|
||||
environment variables, or fall back to 'vi' for Linux or 'notepad' for Windows.
|
||||
You can edit multiple objects, although changes are applied one at a time. The command
|
||||
accepts filenames as well as command line arguments, although the files you point to must
|
||||
be previously saved versions of resources.
|
||||
|
Reference in New Issue
Block a user