Class: Kontena::Plugin::Cloud::Platform::EnvCommand

Inherits:
Command
  • Object
show all
Includes:
Cli::Common
Defined in:
lib/kontena/plugin/cloud/platform/env_command.rb

Constant Summary

Constants included from CloudCommand

CloudCommand::PLATFORM_NOT_SELECTED_ERROR

Instance Method Summary collapse

Methods included from CloudCommand

#verify_current_grid, #verify_current_master, #verify_current_master_token

Instance Method Details

#executeObject



6
7
8
# File 'lib/kontena/plugin/cloud/platform/env_command.rb', line 6

def execute
  Kontena.run!(['grid','env'])
end