Sha256: de64595fc3059103bf48094c9a074f066a318ea375a3aacb35933a1a74a92808
Contents?: true
Size: 486 Bytes
Versions: 3
Compression:
Stored size: 486 Bytes
Contents
#!/usr/bin/env ruby require 'Standupguy' require 'optparse' options = {} OptionParser.new do |opts| opts.banner = 'Usage: standupguy [options]' opts.on('-r', '--report=FORMAT', 'Show an HTML report') do |r| options[:report] = r.nil? ? "TEXT" : r.upcase end opts.on('-d', '--date=YYYY-MM-DD', 'Date of standup. ALL for all') do |date| options[:date] = date end end.parse! options.merge!(item: ARGV.join(' ')) unless ARGV.empty? Standupguy::Core.new(options).show
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
Standupguy-0.0.10 | bin/standupguy |
Standupguy-0.0.9 | bin/standupguy |
Standupguy-0.0.8 | bin/standupguy |