LinuxCommandLibrary

licensor

TLDR

Generate MIT license

$ licensor MIT
copy
Generate Apache license
$ licensor Apache-2.0
copy
Generate GPL license
$ licensor GPL-3.0
copy
Save to LICENSE file
$ licensor MIT -o LICENSE
copy
List available licenses
$ licensor --list
copy
With custom name
$ licensor MIT "[Your Name]"
copy

SYNOPSIS

licensor [options] license [name]

DESCRIPTION

licensor generates license text for open source projects. It supports SPDX license identifiers.
The tool outputs properly formatted license text with copyright holder and year filled in.
licensor generates license text.

PARAMETERS

LICENSE

License identifier (MIT, Apache-2.0, GPL-3.0, etc.).
NAME
Copyright holder name.
-o FILE
Output to file.
--list
List available licenses.
--help
Display help information.

CAVEATS

Uses SPDX identifiers. Rust-based tool. May need installation via cargo.

HISTORY

licensor is a Rust-based license text generator using SPDX license identifiers for standardized open source licensing.

SEE ALSO

license(1), cargo(1)

Copied to clipboard