From 8a6095e96d34baaa00f1c7a5140a130ffc577535 Mon Sep 17 00:00:00 2001 From: yanweidong Date: Tue, 1 Oct 2024 15:28:54 +0800 Subject: [PATCH] dev --- src/install/bsm.md | 25 +++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/src/install/bsm.md b/src/install/bsm.md index 9bc86fe..99142c6 100644 --- a/src/install/bsm.md +++ b/src/install/bsm.md @@ -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 批量检测微服务和配置并更新. + completion Generate the autocompletion script for the specified shell + help Help about any command + install 安装一个微服务. + ps 列表展示本地已经安装的微服务. + restart 更新一个微服务的服务,并重启该服务. + update 更新一个微服务至最新版本. + +Flags: + -h, --help help for bsm + -r, --registry string registry server url. + +Use "bsm [command] --help" for more information about a command. ``` \ No newline at end of file