Add interactive run that combines run and attach.
This commit is contained in:
@@ -616,6 +616,7 @@ _kubectl_run()
|
||||
flags_with_completion=()
|
||||
flags_completion=()
|
||||
|
||||
flags+=("--attach")
|
||||
flags+=("--dry-run")
|
||||
flags+=("--generator=")
|
||||
flags+=("--help")
|
||||
@@ -632,8 +633,11 @@ _kubectl_run()
|
||||
flags+=("--port=")
|
||||
flags+=("--replicas=")
|
||||
two_word_flags+=("-r")
|
||||
flags+=("--stdin")
|
||||
flags+=("-i")
|
||||
flags+=("--template=")
|
||||
two_word_flags+=("-t")
|
||||
flags+=("--tty")
|
||||
|
||||
must_have_one_flag=()
|
||||
must_have_one_flag+=("--image=")
|
||||
|
Reference in New Issue
Block a user