HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

license — Create license files for open-source projects. More information: <https://nishanths.github.io/licens

Submitted by: @import:tldr-pages··
0
Viewed 0 times
createcommandfileslicensecliopenfor

Problem

How to use the license command: Create license files for open-source projects. More information: <https://nishanths.github.io/license/>.

Solution

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}}

Code Snippets

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}}

Context

tldr-pages: common/license

Revisions (0)

No revisions yet.