尝试 0.1.1 版本 + 命令行 cli 构建中
尝试用 Typer 构建命令行入口 manage.py 。 在 pyproject.toml 中完成有关设计,计划使用 suanapi 命令调用 manage.py 。
This commit is contained in:
9
cli/message.py
Normal file
9
cli/message.py
Normal file
@@ -0,0 +1,9 @@
|
||||
NOT_INIT_MESSAGE = """
|
||||
❓ 当前目录或指定目录下[yellow]似乎还没有执行过初始化命令[/yellow]。
|
||||
❓ 你也许需要先执行 [green]suanapi init[/green] 。
|
||||
"""
|
||||
|
||||
ALREADY_INIT_MESSAGE = """
|
||||
❕ 当前目录或指定目录下[yellow]似乎已经执行初始化命令过[/yellow]。
|
||||
❕ 你也许需要先删除已经存在的 [blue]data[/blue] 和 [blue]temp[/blue] 目录。
|
||||
"""
|
||||
Reference in New Issue
Block a user