Sha256: fd1f8960ada9bf79c795ee357ad361c87ad2b3bd5e038497c740215956171dde
Contents?: true
Size: 548 Bytes
Versions: 32
Compression:
Stored size: 548 Bytes
Contents
require_relative 'services_helper' module Kontena::Cli::Services class DeployCommand < Clamp::Command include Kontena::Cli::Common include Kontena::Cli::GridOptions include ServicesHelper parameter "NAME", "Service name" option '--force-deploy', :flag, 'Force deploy even if service does not have any changes' def execute require_api_url token = require_token service_id = name data = {} data[:force] = true if force_deploy? deploy_service(token, service_id, data) end end end
Version data entries
32 entries across 32 versions & 1 rubygems