1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/license.md

21 lines
504 B
Markdown
Raw Normal View History

2016-01-21 21:42:34 -05:00
# license
> Create license files for open-source projects.
2019-06-05 08:55:53 +01:00
> More information: <https://nishanths.github.io/license>.
2016-01-21 21:42:34 -05:00
- Print a license to stdout, using the defaults (auto-detected author name, and current year):
2016-01-21 21:42:34 -05:00
`license {{license_name}}`
- Generate a license and save it to a file:
2016-01-21 21:42:34 -05:00
`license -o {{filename}} {{license_name}}`
2016-01-21 21:42:34 -05:00
- List all available licenses:
2016-01-21 21:42:34 -05:00
`license ls`
- Generate a license with custom author name and year:
2016-01-21 21:42:34 -05:00
2016-01-22 11:26:29 -05:00
`license --name {{author}} --year {{release_year}} {{license_name}}`