Sha256: 19bb7f1febde8af1f5b024660ebb467ff2df36eb9711bea93d231dd84294c560

Contents?: true

Size: 1.92 KB

Versions: 4

Compression:

Stored size: 1.92 KB

Contents

require_relative 'services/list_command'
require_relative 'services/show_command'
require_relative 'services/update_command'
require_relative 'services/deploy_command'
require_relative 'services/stop_command'
require_relative 'services/start_command'
require_relative 'services/restart_command'
require_relative 'services/create_command'
require_relative 'services/scale_command'
require_relative 'services/delete_command'
require_relative 'services/containers_command'
require_relative 'services/logs_command'
require_relative 'services/stats_command'
require_relative 'services/add_env_command'
require_relative 'services/remove_env_command'

class Kontena::Cli::ServiceCommand < Clamp::Command

  subcommand "list", "List services", Kontena::Cli::Services::ListCommand
  subcommand "create", "Create a new service", Kontena::Cli::Services::CreateCommand
  subcommand "show", "Show service details", Kontena::Cli::Services::ShowCommand
  subcommand "update", "Update service configuration", Kontena::Cli::Services::UpdateCommand
  subcommand "deploy", "Deploy service", Kontena::Cli::Services::DeployCommand
  subcommand "stop", "Stop service", Kontena::Cli::Services::StopCommand
  subcommand "start", "Start service", Kontena::Cli::Services::StartCommand
  subcommand "restart", "Restart service", Kontena::Cli::Services::RestartCommand
  subcommand "scale", "Scale service", Kontena::Cli::Services::ScaleCommand
  subcommand "delete", "Delete service", Kontena::Cli::Services::DeleteCommand
  subcommand "containers", "List service containers", Kontena::Cli::Services::ContainersCommand
  subcommand "logs", "Show service logs", Kontena::Cli::Services::LogsCommand
  subcommand "stats", "Show service statistics", Kontena::Cli::Services::StatsCommand
  subcommand "add-env", "Add environment variable", Kontena::Cli::Services::AddEnvCommand
  subcommand "remove-env", "Remove environment variable", Kontena::Cli::Services::RemoveEnvCommand

  def execute
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
kontena-cli-0.9.3 lib/kontena/cli/service_command.rb
kontena-cli-0.9.2 lib/kontena/cli/service_command.rb
kontena-cli-0.9.1 lib/kontena/cli/service_command.rb
kontena-cli-0.9.0 lib/kontena/cli/service_command.rb