Sha256: 9947f8b659e3c08b298abac352f508a5a73e69f8fedcbe31226b0f853b05f080
Contents?: true
Size: 328 Bytes
Versions: 2
Compression:
Stored size: 328 Bytes
Contents
require_relative 'services_helper' module Kontena::Cli::Services class RestartCommand < Clamp::Command include Kontena::Cli::Common include ServicesHelper parameter "NAME", "Service name" def execute require_api_url token = require_token restart_service(token, name, {}) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
kontena-cli-0.11.5 | lib/kontena/cli/services/restart_command.rb |
kontena-cli-0.11.4 | lib/kontena/cli/services/restart_command.rb |