多页站点简易生成器
mpa-gen的Python项目详细描述
地图生成
为多页生成目录和文件 网站与后端在前进(gin)。在
产生:
- 布局
- 视图(页面模板)
- 带in/out参数解析的控制器存根
- 引导实用程序
要求:
- 金贾2号
- Python3.4+(实际上甚至可以在较低版本上运行,但我没有测试)
安装
pip install mpa-gen
使用
usage: mpa-gen [-h] [--dir DIR] [--method METHOD] section name
multi-page site generator
positional arguments:
section Section name (ex: user/messages)
name Resource name (ex: dialog)
optional arguments:
-h, --help show this help message and exit
--dir DIR Root directory
--method METHOD HTTP method: GET or POST
- 默认方法:
GET
- 默认目录:当前工作目录
- 项目
标签: