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 --name project_name
3、生成新应用 start-app
# 建议按照项目结构,进入modules包下创建新app
> cd modules
# 初始化项目结构
> rs-admin start-app --name 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.9.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9840e5e7401c9d2d15d06178fc0d92c962f615c1748d2df1ea774b7459e4f0ae |
|
MD5 | 25d7542149bda65a031447f436348ef0 |
|
BLAKE2b-256 | 2fcecce8476ee1a41f23fe4ffa2850731881ce8355377118212d3f2d5459d4ea |
Close
Hashes for restful_starlette_admin-0.0.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0d5df3d0ec492a9398fc773a514c9ecb5475582c9076664bd67cd9ecdc4c7c96 |
|
MD5 | 5a270732eb654523100d196dce99fa83 |
|
BLAKE2b-256 | 9de3f7a1e6dda861d4d84e83efa784697c0edadf5cc4b589e46b22b1c6d34469 |