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:
pip install licensegh
Upgrade with pip:
pip install --upgrade licensegh
Usage
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:
pip install poetry
Installing development dependencies:
poetry install
Running unit tests:
poetry run python -m scripts.tests
Running multi version tests (3.7
, 3.8
, 3.9
):
Make sure you have
python3.7
,python3.8
,python3.9
aliases installed
poetry run python -m scripts.multi-version-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
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
Built Distribution
Hashes for licensegh-0.1.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 290a31a02e953daa9831c4779060f77f82b6843cc6b78fc9bfc59dbc5ebee4be |
|
MD5 | 4f1b44bf3285a8dc35c9afb0cd0f66ba |
|
BLAKE2b-256 | 0f9981ba806522833f70a881c8e2abc1f3c6e90946304ed0cb19112c0ba7285d |