Sha256: c482e468bbab28b3f178230ca09290941e16d5538825cca12e97c110e64175e7
Contents?: true
Size: 428 Bytes
Versions: 4
Compression:
Stored size: 428 Bytes
Contents
# frozen_string_literal: true require_relative 'heroku_apps' class HerokuUsers 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
4 entries across 4 versions & 1 rubygems