A shell utility for XXL-Admin
Project description
xxl-admin-sh
安装
要求python>=3.9
pip install xxl-admin-sh
安装成功后可直接用xxl
进入程序
xxl
用法
首次使用会使用默认配置,退出后会自动保存到配置文件
帮助命令
help
可显示所有可用命令
配置命令
config env-set #设置环境配置
config list-clusters #当前环境可用集群列表
config add-cluster #添加集群到当前环境
config remove-cluster #从当前环境移除集群
切换命令
goto prod #可切环境
goto prod cn #可切环境+集群
goto cn #可在当前环境切集群
可显示所有可用命令
执行器列表
group list
group list -a #显示所有集群下面的
任务列表
job list
job list xxx #模糊搜索
job list xxx -a #模糊搜索所有集群下面的
job list DemoJobHanlder #精确搜索
任务执行
job run DemoJobHanlder
job run DemoJobHanlder -a #所有集群都执行
其它更多用法请查看帮助信息
xxx_command -h
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
xxl_admin_sh-0.0.5.tar.gz
(11.6 kB
view hashes)
Built Distribution
Close
Hashes for xxl_admin_sh-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 17338728b435d6dc6c07e6a024e8bc0ec34389e34fbf022608927578fdec2f95 |
|
MD5 | 75a97bfa54da82080ee5862d65b43835 |
|
BLAKE2b-256 | 90d101038a14dd99b4dca5b8e573069ae2906079c55f3a85a1a3a810dd23d067 |