Sha256: 0045c3b24d3d2dc7a0108efcf79a4c62c7fe27783fa24d243d4e418b4b5d2581
Contents?: true
Size: 931 Bytes
Versions: 3
Compression:
Stored size: 931 Bytes
Contents
#!/usr/bin/env ruby # frozen_string_literal: true require 'rubygems' require 'bundler/setup' require 'eac_launcher' class Runner < ::EacLauncher::Instances::RunnerHelper DOC = <<DOCOPT.freeze Mostra informações sobre instâncias. Usage: __PROGRAM__ [options] [<instance_path>...] __PROGRAM__ -h | --help Options: -h --help Show this screen. --all Get all instances. --recache Rewrite instances cache. DOCOPT private def run ::EacLauncher::Context.current.recache = options['--recache'] instances.each { |i| show_instance(i) } end def show_instance(i) puts instance_label(i) infov(' * Parent', (i.parent ? instance_label(i.parent) : '-')) infov(' * Git current revision', i.options.git_current_revision) infov(' * Git publish remote', i.options.git_publish_remote) end def instance_path options['<instance_path>'] end end Runner.new
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
eac_launcher-0.5.1 | exe/eac_launcher_instance |
eac_launcher-0.5.0 | exe/eac_launcher_instance |
eac_launcher-0.4.0 | exe/eac_launcher_instance |