提供GraftPress(GraftElmWeb框架)提供的服务的实用命令行。
graft-cli的Python项目详细描述
移植cli
提供GraftPress(GraftElm Web)提供的服务的实用命令行 框架)。
用法
创建新的移植项目
graft-cli init <project_name>
例如:graft-cli init hello
建设项目
移到项目目录并运行graft-cli build
在我们的示例中:
$ cd hello $ graft-cli build
启动并运行服务器
$ graft-cli debug
开发
- 使用本地软件包:
$ pip install -e .
- 不时使用黑色
black graft-cli
。 - 运行测试:
graft-cli test
。