mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-12-26 18:32:41 +03:00
87faf0ee10
Following discussion in #711
20 lines
445 B
Markdown
20 lines
445 B
Markdown
# license
|
|
|
|
> Create license files for open-source projects.
|
|
|
|
- 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 {{filename}} {{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}}`
|