Sha256: d5732defadd33443b690b0a247f5c685b49e1182aff828c2b718bb88c469d581
Contents?: true
Size: 502 Bytes
Versions: 17
Compression:
Stored size: 502 Bytes
Contents
require 'chamber/commands/base' require 'chamber/commands/heroku' module Chamber module Commands module Heroku class Clear < Chamber::Commands::Base include Chamber::Commands::Heroku def call chamber.to_environment.keys.each do |key| next unless configuration.match(key) if dry_run shell.say_status 'remove', key, :blue else shell.say_status 'remove', key, :green shell.say heroku("config:unset #{key}") end end end end end end end
Version data entries
17 entries across 17 versions & 1 rubygems