Sha256: 59fcdc0c64700be8b4ee164becaac5c6e17a9cdeaac234705beb3e250f01c010

Contents?: true

Size: 850 Bytes

Versions: 2

Compression:

Stored size: 850 Bytes

Contents

require_relative 'config/set_command'
require_relative 'config/get_command'
require_relative 'config/unset_command'
require_relative 'config/export_command'
require_relative 'config/import_command'

module Kontena
  module Cli
    module Master
      class ConfigCommand < Kontena::Command

        subcommand "set", "Set a config value", Kontena::Cli::Master::Config::SetCommand
        subcommand "get", "Get a config value", Kontena::Cli::Master::Config::GetCommand
        subcommand "unset", "Clear a config value", Kontena::Cli::Master::Config::UnsetCommand
        subcommand ["load", "import"], "Upload config to Master", Kontena::Cli::Master::Config::ImportCommand
        subcommand ["dump", "export"], "Download config from Master", Kontena::Cli::Master::Config::ExportCommand

        def execute
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
kontena-cli-0.16.0.pre2 lib/kontena/cli/master/config_command.rb
kontena-cli-0.16.0.pre1 lib/kontena/cli/master/config_command.rb