Skip to content

Commit

Permalink
expose project script in pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
Alveel committed Feb 28, 2024
1 parent 48fcb48 commit cd6c1fb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ This script uses the [cryptography], [click], and [PyYAML] libraries.

## Install and use

1. Install `pipenv` with `pip install pipenv`
1. Run `pipenv install`
1. Install `pdm` with `pip install pdm`
1. Run `pdm install`
1. Copy [settings.sample.yaml](settings.sample.yaml) to `settings.yaml` and modify to your needs.
1. Then run `python cert-helper.py` to get started!

Expand Down
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ requires-python = ">=3.8"
readme = "README.md"
license = {text = "MIT"}

[project.scripts]
cert-helper = "cert_helper.cli:main"
[tool.pdm.dev-dependencies]
dev = [
"black[d]>=23.10.1",
Expand Down

0 comments on commit cd6c1fb

Please sign in to comment.