Update cheatsheets

This commit is contained in:
ivuorinen
2025-05-25 00:22:11 +00:00
parent eca9d9488d
commit adc1cd4ded
5 changed files with 123 additions and 0 deletions

View File

@@ -16,6 +16,14 @@ source: https://github.com/tldr-pages/tldr.git
`reuse --root {{path/to/directory}} lint`
- Add copyright statement to file:
`reuse annotate {{[-c|--copyright]}} "{{your_name}} <{{your_email}}>" --fallback-dot-license {{path/to/file}}`
- Add licence information to file:
`reuse annotate {{[-l|--license]}} {{spdx_identifier}} --fallback-dot-license {{path/to/file}}`
- Download a license by its SPDX identifier and place it in the LICENSES directory:
`reuse download {{spdx-identifier}}`