license

command module
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 6, 2016 License: Apache-2.0 Imports: 12 Imported by: 0

README

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.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL