Luzifer / license
This small tool is mainly a helper for me not to have to look up the license text of the license I want to use every time again. With the help of this tool one command is sufficient to put a LICENSE
file into the current directory filled with a chosen license.
The license template is pre-filled with the current year and the user information extracted from your ~/.gitconfig
file.
Usage
# license help
license is a tool to quickly put your code under a license
Usage:
license [command]
Available Commands:
list Lists all available licenses
show Prints the pre-filled license template to your terminal
write Write the pre-filled license template to ./LICENSE
version prints the current version of license
badge Gives you a markdown sniplet to show the license in your README.md
help Help about any command
Flags:
-h, --help=false: help for license
Use "license help [command]" for more information about a command.
Currently included licenses
Adding more licenses
If you like this tool and need a new license included just open a pull-request with a new file named lic<shortcode>.go
and the license template. The format to add the license to the application you can find in every other template file.