Converted from 'argparse' to 'Typer' for CLI handling.
Fixes the issue where extra spaces and newlines were added to the generated license text. This was considered a bug by at least several users, However, if you want to generate a license with the old style, you can use the --legacy option or set the legacy key in the configuration file to true.
The code has been modernized and cleaned up, all type-hinting has been added.
It passes strict linting with the latest 'Ruff' and 'mypy'.
Added a documentation site.
GitHub actions set up for linting, Dependabot and Dependency Review.
I plan to keep maintaining it for the forseeable future and have a few ideas for new features.
As it seems this project is not getting updated, I have forked and released
lice2
.This version fixes the compatibility issue with Python 3.12, and adds some new features:
--legacy
option or set thelegacy
key in the configuration file totrue
.Dependabot
andDependency Review
.I plan to keep maintaining it for the forseeable future and have a few ideas for new features.
Check it out on https://seapagan.github.io/lice2/ and let me know any bugs or suggestions. Star the new repo (https://github.com/seapagan/lice2) so more people can find it :grin: