2016-01-22 02:42:34 +00:00
|
|
|
# license
|
|
|
|
|
|
|
|
> Create license files for open-source projects.
|
|
|
|
|
2016-09-06 08:37:04 +01:00
|
|
|
- Print a license to stdout, using the defaults (auto-detected author name, and current year):
|
2016-01-22 02:42:34 +00:00
|
|
|
|
|
|
|
`license {{license_name}}`
|
|
|
|
|
2016-09-06 08:37:04 +01:00
|
|
|
- Generate a license and save it to a file:
|
2016-01-22 02:42:34 +00:00
|
|
|
|
2016-07-22 21:24:06 +01:00
|
|
|
`license -o {{filename}} {{license_name}}`
|
2016-01-22 02:42:34 +00:00
|
|
|
|
2016-09-06 08:37:04 +01:00
|
|
|
- List all available licenses:
|
2016-01-22 02:42:34 +00:00
|
|
|
|
|
|
|
`license ls`
|
|
|
|
|
2016-09-06 08:37:04 +01:00
|
|
|
- Generate a license with custom author name and year:
|
2016-01-22 02:42:34 +00:00
|
|
|
|
2016-01-22 16:26:29 +00:00
|
|
|
`license --name {{author}} --year {{release_year}} {{license_name}}`
|