Read-only mirror of license-tool

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

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.