Files
cheatsheet-tldr/tldr/license
2025-12-20 00:20:53 +00:00

26 lines
604 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# license
> Create license files for open-source projects.
> More information: <https://nishanths.github.io/license/>.
- Print a license to `stdout`, using the defaults (auto-detected author name, and current year):
`license {{license_name}}`
- Generate a license and save it to a file:
`license -o {{path/to/file}} {{license_name}}`
- List all available licenses:
`license ls`
- Generate a license with custom author name and year:
`license --name {{author}} --year {{release_year}} {{license_name}}`