Sha256: 15749f10db446f2aafcdf0a74beb988619823b26196ab3d6cbeb80555ca70fd4
Contents?: true
Size: 454 Bytes
Versions: 119
Compression:
Stored size: 454 Bytes
Contents
require_relative 'services_helper' module Kontena::Cli::Services class RestartCommand < 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 restart signal to service #{name.colorize(:cyan)} " do restart_service(token, name) end end end end
Version data entries
119 entries across 119 versions & 1 rubygems