Sha256: ac2313359100487b06002e595a35e2d2a3fe392981abbe091f610e3e64f72911
Contents?: true
Size: 683 Bytes
Versions: 2
Compression:
Stored size: 683 Bytes
Contents
#!/usr/bin/env ruby require 'optparse' check_rsvps = false options = {} choices = OptionParser.new do |opts| opts.banner = "Usage: meetup_orbit --check-rsvps" opts.on("-h", "--help", "Prints help instructions") do puts opts exit end opts.on("--check-rsvps", "Check for new Meetup event RSVPs") do check_notes = true end end.parse! $LOAD_PATH.unshift(File.expand_path('../lib/meetup_orbit', __dir__)) require_relative '../lib/meetup_orbit' require_relative '../scripts/check_rsvps' if check_rsvps puts "Checking for new Meetup event RSVPs and posting them to your Orbit workspace..." ARGV[0] = 'render' MeetupOrbit::Scripts::CheckRsvps.start(ARGV) end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
meetup_orbit-0.0.2 | bin/meetup_orbit |
meetup_orbit-0.0.1 | bin/meetup_orbit |