identify_license

command module
v2.0.0-...-5a81a75 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 21, 2022 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

The identify_license program tries to identify the license type of an unknown license. The file containing the license text is specified on the command line. Multiple license files can be analyzed with a single command. The type of the license is returned along with the confidence level of the match. The confidence level is between 0.0 and 1.0, with 1.0 indicating an exact match and 0.0 indicating a complete mismatch. The results are sorted by confidence level.

$ identifylicense <LICENSE_OR_DIRECTORY>  <LICENSE_OR_DIRECTORY> ...
LICENSE2: MIT (confidence: 0.987)
LICENSE1: BSD-2-Clause (confidence: 0.833)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL