Sha256: 71884c8734186c123bd517da8f4522feb53dd491dbed14e00dd639daffa1f662
Contents?: true
Size: 494 Bytes
Versions: 8
Compression:
Stored size: 494 Bytes
Contents
# frozen_string_literal: true require 'chamber/commands/cloud/base' module Chamber module Commands module Cloud class Clear < Chamber::Commands::Cloud::Base def call chamber.to_environment.each_key do |key| next unless adapter.environment_variables.has_key?(key) if dry_run shell.say_status 'remove', key, :blue else shell.say_status 'remove', key, :green adapter.remove_environment_variable(key) end end end end end end end
Version data entries
8 entries across 8 versions & 1 rubygems