Places a LICENSE in the current directory.
$ license apache-2.0
or
$ license mit 2015 FooBar Inc.
See also man license
.
Set the environment variable LICENSE_OWNER
with your name in your
shell's start-up script (i.e., ~/.bashrc
or ~/.zshrc
or what-have-you):
export LICENSE_OWNER='Insert your name here!'
And in every new shell thereafter:
$ license isc
The LICENSE file will automatically replace the year and name with the
current year and LICENSE_OWNER
, respectively.
The full list of licenses can be found here.
On OS X:
brew tap eddieantonio/eddieantonio && brew install license
On everything else:
curl -L https://github.com/eddieantonio/license/archive/master.tar.gz | tar xz && cd license-master/ && make install && cd .. && rm -rf license-master
This project is, ironically enough, dedicated to the public domain. For details, see http://unlicense.org/.
Originally written by Eddie Antonio Santos http://eddieantonio.ca.