Sha256: 5813b9ea921a8f44ce9a6b511976b9a9f7634ae1303911692887968c809a80f7
Contents?: true
Size: 599 Bytes
Versions: 3
Compression:
Stored size: 599 Bytes
Contents
#!/usr/bin/env ruby # coding: utf-8 $:.unshift File.join(File.dirname(__FILE__), *%w[.. lib]) require 'status' require 'optparse' options ={ :qa_status => :pending, :branch => nil, :sha => nil } OptionParser.new do |o| o.on("-q STATE", "--qa STATE", "Status of QA (default pending) [pending/pass/'n/a']") {|s| options[:state] = s } o.on("-b BRANCH", "--branch BRANCH", "Branch name") {|b| options[:branch] = b } o.on("-h", "--help", "Display this screen") {puts o; exit } o.on("-s SHA", "--sha SHA") {|sha| options[:sha]=sha || nil} o.parse! end Status::Base.new(options).update
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
update_status-0.3.2 | bin/status |
update_status-0.3.1 | bin/status |
update_status-0.3.0 | bin/status |