Sha256: 1879c95f55260588038582b6e3b98ce7eeb541e98509da8a7b737f694566280c

Contents?: true

Size: 1.31 KB

Versions: 5

Compression:

Stored size: 1.31 KB

Contents

require_relative 'apps/init_command'
require_relative 'apps/build_command'
require_relative 'apps/deploy_command'
require_relative 'apps/start_command'
require_relative 'apps/stop_command'
require_relative 'apps/remove_command'
require_relative 'apps/list_command'
require_relative 'apps/logs_command'
require_relative 'apps/monitor_command'
require_relative 'apps/show_command'
require_relative 'apps/scale_command'

class Kontena::Cli::AppCommand < Clamp::Command

  subcommand "init", "Init Kontena application", Kontena::Cli::Apps::InitCommand
  subcommand "build", "Build Kontena services", Kontena::Cli::Apps::BuildCommand
  subcommand "deploy", "Deploy Kontena services", Kontena::Cli::Apps::DeployCommand
  subcommand "scale", "Scale services", Kontena::Cli::Apps::ScaleCommand
  subcommand "start", "Start services", Kontena::Cli::Apps::StartCommand
  subcommand "stop", "Stop services", Kontena::Cli::Apps::StopCommand
  subcommand "show", "Show service details", Kontena::Cli::Apps::ShowCommand
  subcommand ["ps", "list"], "List services", Kontena::Cli::Apps::ListCommand
  subcommand ["logs"], "Show service logs", Kontena::Cli::Apps::LogsCommand
  subcommand "monitor", "Monitor services", Kontena::Cli::Apps::MonitorCommand
  subcommand ["remove","rm"], "Remove services", Kontena::Cli::Apps::RemoveCommand
  def execute
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
kontena-cli-0.11.3 lib/kontena/cli/app_command.rb
kontena-cli-0.11.2 lib/kontena/cli/app_command.rb
kontena-cli-0.11.1 lib/kontena/cli/app_command.rb
kontena-cli-0.11.0 lib/kontena/cli/app_command.rb
kontena-cli-0.10.3 lib/kontena/cli/app_command.rb