Read-only mirror of license-tool

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

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.