class Kontena::Cli::CloudCommand

Public Instance Methods

subcommand_missing(name) click to toggle source
Calls superclass method
# File lib/kontena/cli/cloud_command.rb, line 9
def subcommand_missing(name)
  return super(name) unless %w(platform node org organization image-repository ir region token).include?(name)
  exit_with_error "The #{pastel.cyan('cloud')} plugin has not been installed. Use: #{pastel.cyan('kontena plugin install cloud')}"
end