Sha256: a71af1089ebc6669e699b306aedf1be1587a9554d7937fdbdccc4e6ebfff1131
Contents?: true
Size: 314 Bytes
Versions: 13
Compression:
Stored size: 314 Bytes
Contents
#!/usr/bin/env ruby require_relative "../lib/licensee" license = Licensee::Project.new(Dir.pwd).license_file if license puts "License: #{license.match ? license.match.meta['title'] : 'no license'}" puts "Confidence: #{license.confidence}%" puts "Method: #{license.matcher.class}" else puts "Unknown" end
Version data entries
13 entries across 13 versions & 1 rubygems