licensegh is a command line tool that generates a license file for a project from the github open source lincese templates
Project description
licensegh
licensegh
is a command line tool that generates a LICENSE
file for a project from the github license templates repository.
Installation
Install with pip:
pipx install licensegh
Upgrade with pip:
pipx upgrade licensegh
Usage
Alias lgh
Help:
licensegh -h
Version:
licensegh --version
List all licenses:
licensegh -l
Search licenses:
licensegh -s
Print a license:
licensegh -p
Reset github template repository:
licensegh --reset
Save a license:
licensegh mit
Development
Installing poetry:
pipx install poetry
Installing development dependencies:
poetry install
Running unit tests:
poetry run python -m scripts.tests
Applying code styles:
poetry run python -m scripts.styles
Running code analysis:
poetry run python -m scripts.analyze
Running code coverage:
poetry run python -m scripts.tests-coverage
Running cli using poetry
:
poetry run licensegh
Release a new version
poetry version <major|minor|patch>
git add -A
git commit -m "new version: $(poetry version -s)"
git tag $(poetry version -s)
git push origin main
git push --tags
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
licensegh-1.0.7.tar.gz
(4.5 kB
view hashes)
Built Distribution
Close
Hashes for licensegh-1.0.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a7358755c9bed9d73929d7c96dd30508f814ab28b06b797303bb25d5a8bddf9c |
|
MD5 | 0e1f30db8e1667e80460e6bf06923c45 |
|
BLAKE2b-256 | 3f27416fde1203bce4fc9f13ac95e8b9f99d0ae59336f841eb25e6de2b3e8a66 |