Sha256: 78345436240ced4c8c8a5524a4b7c69a4c20a98a502e323b93e49920ce5bd7fb
Contents?: true
Size: 445 Bytes
Versions: 119
Compression:
Stored size: 445 Bytes
Contents
require_relative 'services_helper' module Kontena::Cli::Services class StopCommand < Kontena::Command include Kontena::Cli::Common include Kontena::Cli::GridOptions include ServicesHelper parameter "NAME", "Service name" def execute require_api_url token = require_token spinner "Sending stop signal to #{name.colorize(:cyan)} service " do stop_service(token, name) end end end end
Version data entries
119 entries across 119 versions & 1 rubygems