% LICENSE(1) | license User Manual
license — place a license in the current directory
| license license [YEAR [FULL NAME...]]
license places a file called
LICENSE in the current working
directory, when given the name of an open source license, as listed by
GitHub's http://choosealicense.com/. Choose a license such as
gpl-3.0 and it will magically appear in the current
working directory, with the current year and your name (see below).
| See the full list of available licenses here (omit the
If not specified on the command line (as the second argument), the current year will be as the copyright year.
If not specified on the command line (as the third argument and
onwards), the license owner will either be set to the environment
LICENSE_OWNER if set, or the logged-in user's name.
It is recommended to place this line in your shell's start-up script
export LICENSE_OWNER="Insert your name here"
: The default license owner name (if not specified on the command line).
See GitHub Issues: https://github.com/eddieantonio/license/issues
This script is, ironically enough, dedicated to the public domain. For details, see http://unlicense.org/.
Originally written by Eddie Antonio Santos http://eddieantonio.ca.