LonelyVikingMichael / litestar-users

Authentication and user management for the Litestar framework
https://lonelyvikingmichael.github.io/litestar-users/
MIT License
47 stars 12 forks source link

No such command 'users'. #72

Closed euri10 closed 5 months ago

euri10 commented 5 months ago

from the docs it seems you can use litestar cli however:

❯ litestar users

 Usage: litestar [OPTIONS] COMMAND [ARGS]...                                    

╭─ Error ──────────────────────────────────────────────────────────────────────╮
│ No such command 'users'.                                                     │
╰──────────────────────────────────────────────────────────────────────────────╯

my pyproject:

[tool.poetry.dependencies]
python = "^3.11"
litestar-users = "^1.2.3"
aiosqlite = "^0.20.0"

[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
euri10 commented 5 months ago

ok figured it out, it appears if you pass the --app flag only which makes sense, but the docs could be improved in that regard