Skip to content
Discussion options

You must be logged in to vote

Example setup:

  • flash-goban/flash_goban/main.py:
def cli() -> None:
    pass
  • flash-goban/pyproject.toml:
[tool.poetry.scripts]
flash-goban = "flash_goban.main:cli"

Docs: https://python-poetry.org/docs/pyproject/#scripts

Btw, it's not Poetry job to create users modules.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by neersighted
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants