iSleep Labs
平台硬件应用开发者博客阅读文档询问 iSleepEnglish

DOCUMENTATION

iSleep CLI

从终端或自动化流水线检查成员、设备和报告。

01

从源码安装

CLI 是独立客户端,也可以随 Self-Hosted 离线包分发。

go install github.com/caiqinghua/isleep/integrations/cli/cmd/isleep@latest
02

配置

设置部署 endpoint 和短期 Token。

isleep auth configure --endpoint https://sleep.example.com --token "$ISLEEP_TOKEN"
03

查询

使用 --json 获得稳定的自动化输出。

isleep members list --json
isleep reports latest --member $MEMBER_ID --json
isleep doctor
文档没有回答你的问题?询问 iSleep
询问 iSleep