> ## Documentation Index
> Fetch the complete documentation index at: https://docs.skrmir.com/llms.txt
> Use this file to discover all available pages before exploring further.

# CLI 规划参考

> AiOS 未来 CLI 命令模型的规划参考，以及当前仓库的 bootstrap/server 边界说明。

# CLI 规划参考

> 当前仓库尚未交付下列 CLI 命令。本页保留的是未来命令模型方向，不应被视为 `cmd/aios` 当前已实现行为。

## 当前可执行入口

终端 A：

```bash theme={null}
go run ./cmd/aios
```

终端 B：

```bash theme={null}
curl http://localhost:8080/healthz
curl http://localhost:8080/readyz
```

## 未来全局参数方向

| 参数          | 说明     | 示例                                         |
| ----------- | ------ | ------------------------------------------ |
| `--profile` | 指定配置环境 | `aios --profile prod infra cluster status` |
| `--output`  | 输出格式   | `aios --output json agent run list`        |
| `--help`    | 查看帮助   | `aios infra --help`                        |
| `--version` | 查看版本   | `aios --version`                           |

## 规划中的 Infrastructure 子命令（尚未实现）

| 命令                 | 说明      | 示例                                                             |
| ------------------ | ------- | -------------------------------------------------------------- |
| `infra cluster up` | 创建/接管集群 | `aios infra cluster up`                                        |
| `infra app deploy` | 发布应用    | `aios infra app deploy my-api --namespace dev-ai --replicas 2` |
| `infra app logs`   | 查看应用日志  | `aios infra app logs my-api --follow`                          |

## 规划中的 Agent 子命令（尚未实现）

| 命令               | 说明     | 示例                                               |
| ---------------- | ------ | ------------------------------------------------ |
| `agent tool add` | 注册工具   | `aios agent tool add codex --token $CODEX_TOKEN` |
| `agent run`      | 提交任务   | `aios agent run --tool codex --task "补齐接口测试"`    |
| `agent run list` | 查看历史运行 | `aios agent run list --limit 20`                 |
| `agent run logs` | 查看运行日志 | `aios agent run logs <run-id>`                   |

## 相关页面

* [Agent 总览](/agent/index)
* [生产环境二次验证与审批](/agent/production-approval)
* [运维与安全总览](/operations/index)
