Sha256: d8d962c48abbfd4f8978bedec1ceffc99c0a11e328e128927d3c1d9f90fcf012
Contents?: true
Size: 554 Bytes
Versions: 4
Compression:
Stored size: 554 Bytes
Contents
module Hanzo module Installers module Labs def install_labs Hanzo.title('Activating Heroku Labs') Hanzo::Heroku.available_labs.each_key do |name| next unless Hanzo.agree("Add #{name}?") Hanzo::Installers::Remotes.environments.each_pair do |env, _| Hanzo::Installers::Labs.enable(env, name) end end end def self.enable(env, lab) Hanzo.run "heroku labs:enable #{lab} --remote #{env}" Hanzo.print "- Enabled for #{env}" end end end end
Version data entries
4 entries across 4 versions & 1 rubygems