mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-04 22:55:44 +02:00
reuse: add annotate example (#16543)
Co-authored-by: Managor <42655600+Managor@users.noreply.github.com>
This commit is contained in:
parent
91ec5f2648
commit
e9a31096f7
1 changed files with 8 additions and 0 deletions
|
@ -11,6 +11,14 @@
|
|||
|
||||
`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}}`
|
||||
|
|
Loading…
Add table
Reference in a new issue