Read-only mirror of license-tool

Alexander Rosenberg e2ee1dba60 Fix completions hai 1 ano
.cargo 266f30af09 Added user license file and license bad name check %!s(int64=2) %!d(string=hai) anos
licenses 569d921e2a Initial commit %!s(int64=2) %!d(string=hai) anos
src 250e8b09b0 Change install script fix data directory %!s(int64=2) %!d(string=hai) anos
.gitignore 569d921e2a Initial commit %!s(int64=2) %!d(string=hai) anos
Cargo.lock 569d921e2a Initial commit %!s(int64=2) %!d(string=hai) anos
Cargo.toml 569d921e2a Initial commit %!s(int64=2) %!d(string=hai) anos
LICENSE 569d921e2a Initial commit %!s(int64=2) %!d(string=hai) anos
README.md 978d9c686e Added Jenkins badges %!s(int64=2) %!d(string=hai) anos
_license-tool e2ee1dba60 Fix completions hai 1 ano
install.sh f6dbf614d1 Added zsh completion hai 1 ano

README.md

license-tool

Build Status - Linux Build Status - FreeBSD

A simple tool for creating LICENSE files.

Installation

To install, simply run the install.sh script. It takes an optional argument that is the install prefix. This defaults to /usr/local.

Usage

license-tool [-h] [-o OUTFILE] <license>

Use the -h flag to get a list of installed licenses.

Additional licenses

To add additional licenses, just put them in the licenses/ directory. The name of the file (INCLUDING the extension) will be used as the license name. After adding a new license, you must run install.sh again for the change to change effect.