class KBE::CLI::AttachCommand
Public Instance Methods
execute()
click to toggle source
# File lib/kbe/cli/attach_command.rb, line 15 def execute pod = KBE.pod_by selector_or_pod args = [] args << "attach -it #{pod}" unless container == :first args << "-c #{container}" end KBE.kubectl args end