LinuxCommandLibrary

license

TLDR

List licenses

$ license list
copy
Generate MIT license
$ license mit
copy
Generate Apache license
$ license apache-2.0
copy
Generate GPL license
$ license gpl-3.0
copy
Save to file
$ license mit > LICENSE
copy
With author name
$ license mit --name "[Your Name]"
copy

SYNOPSIS

license [command] [options]

DESCRIPTION

license generates open source license files. It supports common licenses like MIT, Apache, GPL, and BSD.
The tool outputs license text to stdout. Redirect to create LICENSE files for projects.
license generates license files.

PARAMETERS

COMMAND

License type or subcommand.
list
List available licenses.
--name NAME
Author name for license.
--year YEAR
Year for copyright.
--help
Display help information.

CAVEATS

Multiple implementations exist. Check your specific tool's options. Some require configuration.

HISTORY

Various license generators exist as command-line tools, automating the process of adding proper licensing to open source projects.

SEE ALSO

licensor(1), git(1)

Copied to clipboard