license is a small helper to add licenses to your work
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Godeps
vendor/github.com
.gitignore
.gobuilder.yml
History.md
LICENSE
README.md
cmdBadge.go
cmdList.go
cmdShow.go
cmdVersion.go
cmdWrite.go
gitcmd.go
licApache.go
licBSD2.go
licBSD3.go
licCC0.go
licGPL.go
licMIT.go
main.go

README.md

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.