commands.sh

reuse

all

Tool for compliance with the REUSE recommendations.

More info →

Options (2)

-c, --copyrightboolean

Add copyright statement to file

Example: reuse annotate {{[-c|--copyright]}} "{{your_name}} <{{your_email}}>" --fallback-dot-license {{path/to/file}}
-l, --licenseboolean

Add license information to file

Example: reuse annotate {{[-l|--license]}} {{spdx_identifier}} --fallback-dot-license {{path/to/file}}

Examples (6)

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

Add copyright statement to file

reuse annotate [-c|--copyright] "your_name <your_email>" --fallback-dot-license path/to/file

Add license 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

Download all missing licenses detected in the project

reuse download --all
made by @shridhargupta | data from tldr-pages