Sha256: ccf7da6bd6af46d01ac74d451518e572ccfb2f78ea461ac06c45d67734a87518
Contents?: true
Size: 532 Bytes
Versions: 5
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.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
5 entries across 5 versions & 1 rubygems