Sha256: 078b1cd3a0d471df0604c101cfa88e9224e3b6125df63dc07725b9f61951bffb

Contents?: true

Size: 320 Bytes

Versions: 4

Compression:

Stored size: 320 Bytes

Contents

require_relative 'services_helper'

module Kontena::Cli::Services
  class StartCommand < Clamp::Command
    include Kontena::Cli::Common
    include ServicesHelper

    parameter "NAME", "Service name"

    def execute
      require_api_url
      token = require_token
      start_service(token, name)
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
kontena-cli-0.11.7 lib/kontena/cli/services/start_command.rb
kontena-cli-0.11.6 lib/kontena/cli/services/start_command.rb
kontena-cli-0.11.5 lib/kontena/cli/services/start_command.rb
kontena-cli-0.11.4 lib/kontena/cli/services/start_command.rb