license(1)

πŸ“¦
version 3.2.1 Β· 2 versions
, in nixos 26.05

πŸ’… 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 < 80 columns. πŸ“

πŸ’œ 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