LinuxCommandLibrary

licensor

Write licenses to stdout.

TLDR

Write the MIT license to a file named LICENSE

$ licensor [MIT] > [LICENSE]
copy


Write the MIT license with a [p]laceholder copyright notice to a file named LICENSE
$ licensor -p [MIT] > [LICENSE]
copy


Specify a copyright holder named Bobby Tables
$ licensor [MIT] ["Bobby Tables"] > [LICENSE]
copy


Specify licence exceptions with a WITH expression
$ licensor "[Apache-2.0 WITH LLVM-exception]" > [LICENSE]
copy


List all available licenses
$ licensor --licenses
copy


List all available exceptions
$ licensor --exceptions
copy

Copied to clipboard