Skip to content

Commit

Permalink
feat: add module entry point
Browse files Browse the repository at this point in the history
  • Loading branch information
ariwk committed Oct 17, 2024
1 parent d776c86 commit cd1570f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ poetry add https://github.com/SchweizerischeBundesbahnen/python-requirements-ins
```
## Execute
```bash
python -m python_requirements_inspector.main inputs.json
python -m python_requirements_inspector inputs.json
```
## Outputs will be returned in outputs.json
```json
Expand Down
6 changes: 3 additions & 3 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ mypy = "^1.11.2"
[tool.poetry.group.test.dependencies]
tox = "^4.12.1"

[tool.poetry.scripts]
entrypoint = 'python-requirements-inspector.main'

[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
Expand Down

0 comments on commit cd1570f

Please sign in to comment.