34 lines
820 B
Markdown
34 lines
820 B
Markdown
|
|
---
|
||
|
|
sidebar_position: 1
|
||
|
|
title: 命令行工具 tailchat-cli
|
||
|
|
---
|
||
|
|
|
||
|
|
## 安装
|
||
|
|
|
||
|
|
```bash
|
||
|
|
npm install -g tailchat-cli@latest # 安装与更新同一命令
|
||
|
|
```
|
||
|
|
|
||
|
|
或直接使用
|
||
|
|
```bash
|
||
|
|
npx tailchat-cli <command>
|
||
|
|
```
|
||
|
|
|
||
|
|
安装成功后输入`tailchat` 后返回如下
|
||
|
|
|
||
|
|
```bash
|
||
|
|
tailchat <command>
|
||
|
|
|
||
|
|
Commands:
|
||
|
|
tailchat create [template] 创建 Tailchat 项目代码
|
||
|
|
tailchat connect 连接到 Tailchat 节点网络
|
||
|
|
tailchat app Tailchat cli 版本(WIP)
|
||
|
|
tailchat bench 压力测试
|
||
|
|
tailchat declaration <source> Tailchat 插件类型声明
|
||
|
|
tailchat docker Tailchat 镜像管理
|
||
|
|
|
||
|
|
Options:
|
||
|
|
--version Show version number [boolean]
|
||
|
|
-h, --help Show help [boolean]
|
||
|
|
```
|