Sha256: ee81760f47ec3060400f52fc1a1313bd10e976b26b92b745f85ce50318925083
Contents?: true
Size: 503 Bytes
Versions: 3
Compression:
Stored size: 503 Bytes
Contents
#!/usr/bin/env ruby require 'license_finder' require 'optparse' options = {} OptionParser.new do |opts| opts.banner = "Usage: license_finder [options] [dependency]" opts.on("-a", "--approve", "Approve a gem by name.") do |gem_name| options[:approve] = true end opts.on("-l", "--license [LICENSE]", "Update a gem's license.") do |license| options[:license] = license end end.parse! unless options.empty? options[:dependency] = ARGV.last end LicenseFinder::CLI.execute! options
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
license_finder-0.7.3 | bin/license_finder |
license_finder-0.7.1 | bin/license_finder |
license_finder-0.7.0 | bin/license_finder |