Sha256: 9352a865e0ba4f9fe54555249d09ef7729eb42a8be68d8a77831241f3e8eaec4
Contents?: true
Size: 428 Bytes
Versions: 1
Compression:
Stored size: 428 Bytes
Contents
require "optparse" module GitCurate module App def self.main parser = GitCurate::CLIParser.new continue = parser.parse(ARGV) # will throw on error return 0 unless continue runner = GitCurate::Runner.new(parser.parsed_options) runner.run(ARGV) rescue OptionParser::InvalidOption puts "Unrecognized option" puts "For help, enter `git curate -h`" 1 end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
git_curate-0.7.1 | lib/git_curate/app.rb |