This commit is contained in:
yanweidong 2024-10-01 15:28:54 +08:00
parent 28b510b603
commit 8a6095e96d
1 changed files with 23 additions and 2 deletions

View File

@ -4,11 +4,32 @@
## 安装
```
curl
curl -L -o /usr/bin/bsm http://oss.apinb.com/reles/bsm/bsm-tools/bsm@v0.1.2/bsm && chmod +x /usr/bin/bsm
```
## 参数说明
```
bsm help
[root@iZ2vcgh0poz345nuyblx9tZ ~]# bsm help
Blocks Service Cli Version: v0.1.1
bsm is a Blocks Service Mesh cli.
Usage:
bsm [flags]
bsm [command]
Available Commands:
check <etc/service/registry> 批量检测微服务和配置并更新.
completion Generate the autocompletion script for the specified shell
help Help about any command
install <ServiceKey> 安装一个微服务.
ps 列表展示本地已经安装的微服务.
restart <ServiceKey> 更新一个微服务的服务,并重启该服务.
update <ServiceKey> 更新一个微服务至最新版本.
Flags:
-h, --help help for bsm
-r, --registry string registry server url.
Use "bsm [command] --help" for more information about a command.
```