From efd2a87d9270b1970678bb09e5c5cd411f6565fe Mon Sep 17 00:00:00 2001 From: Ethan Kinnear Date: Wed, 20 Jul 2022 10:27:18 -0500 Subject: [PATCH] licensor: add page (#8204) * licensor: add page * licensor: use mnemonic for "placeholder" Co-authored-by: Emily Grace Seville * licensor: place quotation marks outside of curly braces Co-authored-by: Emily Grace Seville Co-authored-by: Emily Grace Seville --- pages/common/licensor.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 pages/common/licensor.md diff --git a/pages/common/licensor.md b/pages/common/licensor.md new file mode 100644 index 0000000000..a8ce537e69 --- /dev/null +++ b/pages/common/licensor.md @@ -0,0 +1,28 @@ +# licensor + +> Write licenses to stdout. +> More information: . + +- Write the MIT license to a file named `LICENSE`: + +`licensor {{MIT}} > {{LICENSE}}` + +- Write the MIT license with a [p]laceholder copyright notice to a file named `LICENSE`: + +`licensor -p {{MIT}} > {{LICENSE}}` + +- Specify a copyright holder named Bobby Tables: + +`licensor {{MIT}} {{"Bobby Tables"}} > {{LICENSE}}` + +- Specify licence exceptions with a WITH expression: + +`licensor "{{Apache-2.0 WITH LLVM-exception}}" > {{LICENSE}}` + +- List all available licenses: + +`licensor --licenses` + +- List all available exceptions: + +`licensor --exceptions`