Sha256: 018a9d80b3f5c488bc88fa4ed98b6e05cbad4ceb5850be1c5e68c1cf06f7e51b
Contents?: true
Size: 425 Bytes
Versions: 15
Compression:
Stored size: 425 Bytes
Contents
require_relative './heroku_apps.rb' class HerokuUsers def initialize; end def run(args) action, email_address = args abort('>> action is either add or remove') unless %w[add remove].include? action abort('>> specify an email address') unless email_address heroku_apps = HerokuApps.new.run heroku_apps.each do |app| say "heroku access:#{action} #{email_address} --app #{app}" end end end
Version data entries
15 entries across 15 versions & 1 rubygems