mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-08 11:46:06 +00:00
26 lines
632 B
Plaintext
26 lines
632 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# reuse
|
|
|
|
> Tool for compliance with the REUSE recommendations.
|
|
> More information: <https://reuse.readthedocs.io/en/stable/man/index.html>.
|
|
|
|
- Lint for REUSE compliance for the current project (version control aware):
|
|
|
|
`reuse lint`
|
|
|
|
- Lint for REUSE compliance from the specified directory:
|
|
|
|
`reuse --root {{path/to/directory}} lint`
|
|
|
|
- Download a license by its SPDX identifier and place it in the LICENSES directory:
|
|
|
|
`reuse download {{spdx-identifier}}`
|
|
|
|
- Download all missing licenses detected in the project:
|
|
|
|
`reuse download --all`
|