Admin CLI for restful-starlette
Project description
Restful Starlette Admin
Description : Admin CLI for restful-starlette
1、安装
# pip源安装
> pip install restful-starlette-admin
# git 仓库直接安装
> pip install git+https://gitee.com/coldsunset/restful_starlette_admin.git
# 使用
> rs-admin
Usage: admin.py [OPTIONS] COMMAND [ARGS]...
Admin CLI: provide actions to initial restful starlette project
Options:
--help Show this message and exit.
Commands:
init-env
start-app
start-project
2、初始化项目 start-project
# 创建项目文件夹并进入
> mkdir project_name && cd project_name
# 初始化项目结构
> rs-admin start-project project_name
3、生成新应用 start-app
# 建议按照项目结构,进入modules包下创建新app
> cd modules
# 初始化项目结构
> rs-admin start-app app_name
4、自动生成.env文件
# 根据指定的settings对象路径自动生成.env文件,格式
> rs-admin init-env --setting_class restful_starlette.conf.base:GlobalSettings
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for restful_starlette_admin-0.0.8.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0355200e817fddbbc3c15a9745a3d39133c9515fc30db2c141c6699b9c672665 |
|
MD5 | a34108d6e9ff6ceba63be25003e17ab0 |
|
BLAKE2b-256 | 1d9a3cdb4a697f6b77df2484ea82712ee0e91fa5f8fad63ea2d750d7e7a7e543 |
Close
Hashes for restful_starlette_admin-0.0.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ebf98a85a566d91132775918358fb20e91d939672abcb2dec068acaf4ea16f47 |
|
MD5 | 1bd8e09aed6c830ca385845f45dd1292 |
|
BLAKE2b-256 | f393b21b775e05f89bb06885d99c52f8e67730b227b34cbe8a8c5d71d4b51971 |