2022-07-20 10:27:18 -05:00
|
|
|
# licensor
|
|
|
|
|
2022-12-04 08:53:34 +01:00
|
|
|
> Write licenses to `stdout`.
|
2022-07-20 10:27:18 -05:00
|
|
|
> More information: <https://github.com/raftario/licensor>.
|
|
|
|
|
|
|
|
- Write the MIT license to a file named `LICENSE`:
|
|
|
|
|
|
|
|
`licensor {{MIT}} > {{LICENSE}}`
|
|
|
|
|
2025-03-28 05:26:23 +02:00
|
|
|
- Write the MIT license with a placeholder copyright notice to a file named `LICENSE`:
|
2022-07-20 10:27:18 -05:00
|
|
|
|
2025-03-28 05:26:23 +02:00
|
|
|
`licensor {{[-p|--keep-placeholder]}} {{MIT}} > {{LICENSE}}`
|
2022-07-20 10:27:18 -05:00
|
|
|
|
|
|
|
- Specify a copyright holder named Bobby Tables:
|
|
|
|
|
2024-12-05 18:27:27 +01:00
|
|
|
`licensor {{MIT}} "{{Bobby Tables}}" > {{LICENSE}}`
|
2022-07-20 10:27:18 -05:00
|
|
|
|
|
|
|
- Specify licence exceptions with a WITH expression:
|
|
|
|
|
|
|
|
`licensor "{{Apache-2.0 WITH LLVM-exception}}" > {{LICENSE}}`
|
|
|
|
|
|
|
|
- List all available licenses:
|
|
|
|
|
2025-03-28 05:26:23 +02:00
|
|
|
`licensor {{[-l|--licenses]}}`
|
2022-07-20 10:27:18 -05:00
|
|
|
|
|
|
|
- List all available exceptions:
|
|
|
|
|
2025-03-28 05:26:23 +02:00
|
|
|
`licensor {{[-e|--exceptions]}}`
|