Easily get Open Source Licenses with this simple CLI tool. It works by scraping the choosealicense.com site and outputting the license text to STDOUT.
You should definitely checkout choosealicense.com if you're unsure what license is the best fit for your site.
Currently the following licenses are available:
- apache - Apache License 2.0
- mit - MIT
- mozilla - Mozilla Public License 2.0
- gpl - GNU GPL 3.0
# get apache license
get-license -license Apache >> LICENSE
If you have Go installed then you can run the following:
go get -u github.com/davyj0nes/get-license
Binaries for Windows, Linux and OSX can be found in releases