site/src/install/bsm.md

35 lines
1.0 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Blocks Service Mesh 管理命令
为了更好的管理系统系统BSM提供了命令行管理工具
## 安装
```
curl -L -o /usr/bin/bsm http://oss.apinb.com/reles/bsm/bsm-tools/bsm@v0.1.2/bsm && chmod +x /usr/bin/bsm
```
## 参数说明
```
[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.
```