Initial commit: TaskPool React panel
- React frontend with route-level code splitting - Backend rebranded from Baihu to TaskPool - DB brand migration script and local compatibility
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
# 终端命令
|
||||
|
||||
终端命令模块(Terminal)允许用户在 Web 端直接与服务器的 Shell 环境进行交互。
|
||||
|
||||
## 实时交互
|
||||
|
||||
- **WebSocket 双工连接**:不仅是单向的命令发送,您可以获得一个可以输入交互(如 `yes/no` 確認、`npm init` 交互等)的伪终端(PTY)。
|
||||
- **实时输出回传**:秒级显示命令的执行结果,支持 ANSI 转义序列以正确渲染终端样式与彩色文本。
|
||||
- **自定义工作目录**:可以选择在哪一个文件夹(如 `scripts` 或系统根目录)下启动终端。
|
||||
|
||||
|
||||
## 常用指令
|
||||
|
||||
- `ls -la`:查看当前目录详细文件列表。
|
||||
- `git status`:在 `scripts` 目录下查看仓库 Git 定位状态。
|
||||
Reference in New Issue
Block a user