尝试 0.1.1 版本 + 命令行 cli 构建中
尝试用 Typer 构建命令行入口 manage.py 。 在 pyproject.toml 中完成有关设计,计划使用 suanapi 命令调用 manage.py 。
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
[project]
|
||||
name = "njupt-suan-api"
|
||||
version = "0.1.0"
|
||||
version = "0.1.1"
|
||||
description = "API and MCP server for NJUPT infomation ~"
|
||||
readme = "README.md"
|
||||
requires-python = ">=3.13"
|
||||
@@ -23,6 +23,9 @@ dependencies = [
|
||||
"websockets>=16.0",
|
||||
]
|
||||
|
||||
[project.scripts]
|
||||
suanapi = "manage:app"
|
||||
|
||||
[tool.ruff]
|
||||
preview = true
|
||||
line-length = 120
|
||||
|
||||
Reference in New Issue
Block a user