Sha256: 18fef014e61a0602fc4e31f2155a8bce0a545e5840658ccc1e3924375055601d

Contents?: true

Size: 548 Bytes

Versions: 6

Compression:

Stored size: 548 Bytes

Contents

#!/usr/bin/env ruby

require 'optparse'
require_relative '../lib/keep_up'

options = {
  local: false,
  test_command: 'bundle exec rake',
  skip: []
}
OptionParser.new do |parser|
  parser.on('--[no-]local') do |local|
    options[:local] = local
  end

  parser.on('--test-command=COMMAND') do |command|
    options[:test_command] = command
  end

  parser.on('--skip=SKIPPED_GEM') do |gemname|
    options[:skip] << gemname
  end
end.parse!

begin
  KeepUp::Application.new(options).run
rescue KeepUp::BailOut => e
  warn e.message
  exit 1
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
keep_up-0.6.3 bin/keep_up
keep_up-0.6.2 bin/keep_up
keep_up-0.6.1 bin/keep_up
keep_up-0.6.0 bin/keep_up
keep_up-0.5.1 bin/keep_up
keep_up-0.5.0 bin/keep_up