Skip to content

Commit

Permalink
Declares an entrypoint script in poetry config
Browse files Browse the repository at this point in the history
This enables the installation of a `diff-poetry-lock` command available
within the environment in which the package is installed.
  • Loading branch information
colindean committed Oct 30, 2023
1 parent fd2dfc9 commit 3087d14
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ description = "A Github Action that posts a summary of all changes within the po
authors = ["Nils Borrmann"]
readme = "README.md"

[tool.poetry.scripts]
diff-poetry-lock = "diff_poetry_lock.run_poetry:main"

[tool.poetry.dependencies]
python = "^3.10"
poetry = "^1.4.0"
Expand Down

0 comments on commit 3087d14

Please sign in to comment.