legit is a command line application that allows you to automagically generate a LICENSE file for the current working directory that you are in.
npm install --global @captainsafia/legit
Usage: legit [options]
Options:
-h, --help output usage information
-V, --version output the version number
-a, --list-all List installed licenses
-l, --license <license> The license to include
-u, --user <user> The individual who owns the license
-y, --year <year> The year the license is effective
legit currently supports a limited subset of licenses, listed below. In order
to add a license, submit a pull request that contains a template of the license
inside the licenses
directory with the strings [user]
and [year]
used to
denote where thoe parameters should be inserted.
- MIT (mit)
- Mozilla Public License 2.0 (mpl2)
- Apache License 2.0 (apache2)
- GNU Affero General Public License 3.0 (agpl3)
- ISC License (isc)
- BSD 2-Clause License (bsd2clause)