license(1)
π
license(1) β General Commands Manual, but make it cute π
β¨ NAME β¨
license β a cli tool to easily add a license to your project π
π SYNOPSIS π
license text <license name>
license header <license name> [comment prefix]
license list
license help
π DESCRIPTION π
okay so bestie, license prints out the text of the selected license. All of the license texts are baked right into the binary, so it has no external dependencies, and it doesn't have to fetch them over the network. The tradeoff? The user cannot add licenses without recompiling the program π. license can also print the headers for licenses that have them. π
license will also insert various fields into the license text, such as the project's name and the author's name. It will attempt to derive these from various sources. Failing that, the user will be prompted for the missing fields. π«Ά
π COMMANDS π
list
Lists the available license names. π
example
license list
text <license name>
Print the license text for the given license. π
example
license text GPL-3.0-or-later
header <license name> [comment prefix]
Print the header for the given license if it has one. If a comment prefix is included, it will be appended to the beginning of every line of the header text. π
example
license header GPL-3.0-or-later '//'
π¦ NOTES π¦
- All license names are in SPDX format. π·οΈ
- All license texts and headers are formatted to
< 80columns. π
π COPYING π
Copyright tea, bestie β here's the author line exactly:
Copyright 2021, Sashanoraa <sasha@noraa.gay>
Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. This file is offered as-is, without any warranty.
okay, that's the whole page, bestie! π This license(1) manual is dated 1980-01-01 β that's the source/version and date sign-off, mwah, bye! π
π¦ where this page comes from
- nixos 26.05: license-cli 3.2.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms