Socket
Socket
Sign inDemoInstall

licensegh

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

licensegh

licensegh is a command line tool that generates a license file for a project from the github open source lincese templates


Maintainers
1

licensegh

Python GitHub MIT License GitHub Actions Codecov Python Versions Version Dependencies Platform

licensegh is a command line tool that generates a LICENSE file for a project from the github license templates repository.

https://raw.githubusercontent.com/sauljabin/licensegh/main/screenshots/options.png

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

Check https://python-poetry.org/docs/cli/#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

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc