Sha256: a99599786c8b52ddc915eb6ea7575a96e55e36c1ead73e8f85d775ed19eedbd3

Contents?: true

Size: 1.56 KB

Versions: 22

Compression:

Stored size: 1.56 KB

Contents

require_relative 'apps/init_command'
require_relative 'apps/build_command'
require_relative 'apps/config_command'
require_relative 'apps/deploy_command'
require_relative 'apps/start_command'
require_relative 'apps/stop_command'
require_relative 'apps/restart_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 "config", "View service configurations", Kontena::Cli::Apps::ConfigCommand
  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 "restart", "Restart services", Kontena::Cli::Apps::RestartCommand
  subcommand "show", "Show service details", Kontena::Cli::Apps::ShowCommand
  subcommand ["ps", "list", "ls"], "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

22 entries across 22 versions & 1 rubygems

Version Path
kontena-cli-0.15.5 lib/kontena/cli/app_command.rb
kontena-cli-0.15.5.rc2 lib/kontena/cli/app_command.rb
kontena-cli-0.15.5.rc1 lib/kontena/cli/app_command.rb
kontena-cli-0.15.4 lib/kontena/cli/app_command.rb
kontena-cli-0.15.4.rc2 lib/kontena/cli/app_command.rb
kontena-cli-0.15.4.rc1 lib/kontena/cli/app_command.rb
kontena-cli-0.15.4.pre1 lib/kontena/cli/app_command.rb
kontena-cli-0.15.3 lib/kontena/cli/app_command.rb
kontena-cli-0.15.2 lib/kontena/cli/app_command.rb
kontena-cli-0.15.1 lib/kontena/cli/app_command.rb
kontena-cli-0.15.0 lib/kontena/cli/app_command.rb
kontena-cli-0.15.0.rc3 lib/kontena/cli/app_command.rb
kontena-cli-0.15.0.rc2 lib/kontena/cli/app_command.rb
kontena-cli-0.15.0.rc1 lib/kontena/cli/app_command.rb
kontena-cli-0.14.7 lib/kontena/cli/app_command.rb
kontena-cli-0.14.6 lib/kontena/cli/app_command.rb
kontena-cli-0.14.5 lib/kontena/cli/app_command.rb
kontena-cli-0.14.4 lib/kontena/cli/app_command.rb
kontena-cli-0.14.3 lib/kontena/cli/app_command.rb
kontena-cli-0.14.2 lib/kontena/cli/app_command.rb