Sha256: bc6777d4a878f4bd8fda5274803f7ea3fac46882f058eebcfee665faac9e0a9a
Contents?: true
Size: 619 Bytes
Versions: 4
Compression:
Stored size: 619 Bytes
Contents
class Ufo::CLI::Central class Base include Ufo::Utils::Pretty include Ufo::Utils::Sure def initialize(options={}) @options = options end # Do not use logger.info for ufo central commands as .ufo may not be yet setup # We do not want any config calls to trigger a loading of the .ufo/config.rb etc # Otherwise helper methods like ecr_repo may be called and not work yet def log(msg) puts msg end # Central has own version of execute because it doesnt have access to logger def execute(command) log "=> #{command}" system command end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
ufo-6.1.3 | lib/ufo/cli/central/base.rb |
ufo-6.1.2 | lib/ufo/cli/central/base.rb |
ufo-6.1.1 | lib/ufo/cli/central/base.rb |
ufo-6.1.0 | lib/ufo/cli/central/base.rb |