Sha256: 0f4530147dfde37d2f921dfd6a9acd2c78960eea91f0cbc17f893413126f477d

Contents?: true

Size: 885 Bytes

Versions: 60

Compression:

Stored size: 885 Bytes

Contents

require_relative 'master/add_command'
require_relative 'master/list_command'
require_relative 'master/remove_command'
require_relative 'master/update_command'
require_relative 'master/show_command'

module Kontena::Cli::Cloud
  class MasterCommand < Kontena::Command
    include Kontena::Cli::Common

    subcommand ['list', 'ls'], "List masters in Kontena Cloud", Kontena::Cli::Cloud::Master::ListCommand
    subcommand ['remove', 'rm'], "Remove a master registration from Kontena Cloud", Kontena::Cli::Cloud::Master::RemoveCommand
    subcommand "add", "Register a master in Kontena Cloud", Kontena::Cli::Cloud::Master::AddCommand
    subcommand "show", "Show master settings in Kontena Cloud", Kontena::Cli::Cloud::Master::ShowCommand
    subcommand "update", "Update master settings in Kontena Cloud", Kontena::Cli::Cloud::Master::UpdateCommand

    def execute
    end
  end
end

Version data entries

60 entries across 60 versions & 1 rubygems

Version Path
kontena-cli-1.0.5.pre1 lib/kontena/cli/cloud/master_command.rb
kontena-cli-1.0.4 lib/kontena/cli/cloud/master_command.rb
kontena-cli-1.0.4.rc2 lib/kontena/cli/cloud/master_command.rb
kontena-cli-1.0.4.rc1 lib/kontena/cli/cloud/master_command.rb
kontena-cli-1.0.3 lib/kontena/cli/cloud/master_command.rb
kontena-cli-1.0.3.rc1 lib/kontena/cli/cloud/master_command.rb
kontena-cli-1.0.2 lib/kontena/cli/cloud/master_command.rb
kontena-cli-1.0.2.rc2 lib/kontena/cli/cloud/master_command.rb
kontena-cli-1.0.2.rc1 lib/kontena/cli/cloud/master_command.rb
kontena-cli-1.0.2.pre1 lib/kontena/cli/cloud/master_command.rb
kontena-cli-1.0.1 lib/kontena/cli/cloud/master_command.rb
kontena-cli-1.0.1.rc3 lib/kontena/cli/cloud/master_command.rb
kontena-cli-1.0.1.rc2 lib/kontena/cli/cloud/master_command.rb
kontena-cli-1.0.1.rc1 lib/kontena/cli/cloud/master_command.rb
kontena-cli-1.0.0 lib/kontena/cli/cloud/master_command.rb
kontena-cli-1.0.0.rc2 lib/kontena/cli/cloud/master_command.rb
kontena-cli-1.0.0.rc1 lib/kontena/cli/cloud/master_command.rb
kontena-cli-1.0.0.pre4 lib/kontena/cli/cloud/master_command.rb
kontena-cli-1.0.0.pre3 lib/kontena/cli/cloud/master_command.rb
kontena-cli-1.0.0.pre2 lib/kontena/cli/cloud/master_command.rb