Sha256: 80776e95863ce01c873ea46d25b8aacd9e249027f3d2b951243ce50d1c26ecdd
Contents?: true
Size: 417 Bytes
Versions: 16
Compression:
Stored size: 417 Bytes
Contents
require_relative 'services_helper' module Kontena::Cli::Services class RemoveEnvCommand < Clamp::Command include Kontena::Cli::Common include ServicesHelper parameter "NAME", "Service name" parameter "ENV", "Environment variable name" def execute require_api_url token = require_token client(token).delete("services/#{parse_service_id(name)}/envs/#{env}") end end end
Version data entries
16 entries across 16 versions & 1 rubygems