Class: Captive::Commands::EnvKubeCommands
- Inherits:
-
Thor
- Object
- Thor
- Captive::Commands::EnvKubeCommands
- Includes:
- Captive::CLIDependencies
- Defined in:
- lib/captive/commands/env_kube_commands.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.exit_on_failure? ⇒ Boolean
10 |
# File 'lib/captive/commands/env_kube_commands.rb', line 10 def self.exit_on_failure? = true |
Instance Method Details
#list(app) ⇒ Object
19 20 21 22 |
# File 'lib/captive/commands/env_kube_commands.rb', line 19 def list(app) vars = EnvListKube.new(kubectl: kubectl).run(app) vars.sort.each { |v| puts v } end |