<div align="center"
licensor
A CLI that fetches official license text straight from GitHub's Licenses API and writes it into your project as a LICENSE file.
</div
---
Install
From source (until published to crates.io):
git clone https://github.com/shreyanthssk/licensor
cd licensor
cargo install --path .Or directly from the git repo without cloning first:
cargo install --git https://github.com/shreyanthssk/licensor---
Usage
List every license GitHub recognizes:
licensor listAdd a license to your project:
licensor add mitBy default this writes to ./LICENSE, using your git config user.name and the current year for any [fullname]/[year] fields the license template requires. Override either:
licensor add mit --name "Jane Doe" --year 2025