Read-only mirror of license-tool

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

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.