Add licenses to projects at the command line
legit is a command line application that allows you to automagically generate a LICENSE file for the current working directory that you are in or a license header for a file where applicable.
npm install --global @captainsafia/legit
Usage: legit [options] [command]
Commands:
list|l List all available licenses
put|p [options] <license> Put a license in this directory
Options:
-h, --help output usage information
-V, --version output the version number
Usage: put|p [options] <license>
Put a license in this directory
Options:
-h, --help output usage information
-f --file <file> The file to add a header to
-u --user [user] The user/organization who holds the license
-y --year [year] The year the license is in effect