Skip to content

Commit

Permalink
✨ 新增命令行入口
Browse files Browse the repository at this point in the history
  • Loading branch information
snowykami committed Aug 30, 2024
1 parent 9c4de03 commit 59c0b57
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ requires-python = ">=3.10"
readme = "README.md"
license = {text = "MIT"}

[project.scripts]
litedoc = "litedoc.__main__:main"

[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"
Expand Down
4 changes: 2 additions & 2 deletions test_mkdoc.bat
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
chcp 65001
python -m litedoc tests/test_modules/mbcp -o docdist/api -l zh-Hans -fd def -md def -cd 类 -cs
python -m litedoc tests/test_modules/mbcp -o docdist/en/api -l en -fd def -md def -cs
litedoc tests/test_modules/mbcp -o docdist/api -l zh-Hans -fd def -md def -cd 类 -cs
litedoc tests/test_modules/mbcp -o docdist/en/api -l en -fd def -md def -cs

0 comments on commit 59c0b57

Please sign in to comment.