feat: support command python -m aerich (#417)

* feat: support command `python -m aerich`

* docs: update changelog
This commit is contained in:
Waket Zheng
2025-02-18 15:44:02 +08:00
committed by GitHub
parent 7f8c5dcddc
commit 557271c8e1
5 changed files with 23 additions and 12 deletions

6
tests/test_python_m.py Normal file
View File

@@ -0,0 +1,6 @@
from aerich.version import __version__
from tests._utils import run_shell
def test_python_m_aerich():
assert __version__ in run_shell("python -m aerich --version")