Read-only mirror of license-tool

Alexander Rosenberg e2ee1dba60 Fix completions 1 anno fa
.cargo 266f30af09 Added user license file and license bad name check 2 anni fa
licenses 569d921e2a Initial commit 2 anni fa
src 250e8b09b0 Change install script fix data directory 2 anni fa
.gitignore 569d921e2a Initial commit 2 anni fa
Cargo.lock 569d921e2a Initial commit 2 anni fa
Cargo.toml 569d921e2a Initial commit 2 anni fa
LICENSE 569d921e2a Initial commit 2 anni fa
README.md 978d9c686e Added Jenkins badges 2 anni fa
_license-tool e2ee1dba60 Fix completions 1 anno fa
install.sh f6dbf614d1 Added zsh completion 1 anno fa

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.