Sha256: eca84cb08f5e3061f604835ac5a201474e4cf668cd2bd4bc19810742836c12ef
Contents?: true
Size: 532 Bytes
Versions: 6
Compression:
Stored size: 532 Bytes
Contents
# frozen_string_literal: true 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.each_key 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
6 entries across 6 versions & 1 rubygems