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 lint
- Add copyright statement to file:
reuse annotate " <>" --fallback-dot-license
- Add license information to file:
reuse annotate --fallback-dot-license
- Download a license by its SPDX identifier and place it in the LICENSES directory:
reuse download
- Download all missing licenses detected in the project:
reuse download --all
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
