Sha256: c3d927464209f7271d34e06f92b1e92c1dd2f0a4ba3bda3ad6e82293a6ac2e60

Contents?: true

Size: 701 Bytes

Versions: 6

Compression:

Stored size: 701 Bytes

Contents

#!/usr/bin/env ruby
require 'optparse'

check_comments = false

options = {}
choices = OptionParser.new do |opts|
  opts.banner = "Usage: dev_orbit --check-comments"
  opts.on("-h", "--help", "Prints help instructions") do
    puts opts
    exit
  end
  opts.on("--check-comments", "Check for new DEV comments") do
    check_comments = true
  end
end.parse!

$LOAD_PATH.unshift(File.expand_path('../lib/dev_orbit', __dir__))

require_relative '../lib/dev_orbit'
require_relative '../scripts/check_comments'

if check_comments
  puts "Checking for new DEV comments within the past day and posting them to your Orbit workspace..."
  ARGV[0] = 'render'
  DevOrbit::Scripts::CheckComments.start(ARGV)
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
dev_orbit-0.0.8 bin/dev_orbit
dev_orbit-0.0.7 bin/dev_orbit
dev_orbit-0.0.6 bin/dev_orbit
dev_orbit-0.0.5 bin/dev_orbit
dev_orbit-0.0.4 bin/dev_orbit
dev_orbit-0.0.3 bin/dev_orbit