Sha256: 33005eaf009eb2927411b6e215776f8c70f22d8d051e4a0fc03a5a8d6022e6ff

Contents?: true

Size: 215 Bytes

Versions: 4

Compression:

Stored size: 215 Bytes

Contents

#!/usr/bin/env ruby

require_relative "../lib/licensee"
license = Licensee.license(Dir.pwd)

if license
  puts "License: #{license.name}"
  puts "Match: #{(license.match * 100).round(2)}%"
else
  puts "Unknown"
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
licensee-0.1.0 bin/licensee
licensee-0.0.3 bin/licensee
licensee-0.0.2 bin/licensee
licensee-0.0.1 bin/licensee