docs: 安装方式只保留 npm 包,移除 gitea git+ 备选说法
README/SKILL.md 统一为 npm i -g @inkreach/inkreach-teable; v0.1.2 同步进包
This commit is contained in:
@@ -4,9 +4,8 @@
|
||||
|
||||
```text
|
||||
请安装并用 inkreach-teable CLI 操作 inkreach-teable:
|
||||
1. 安装 cli(npm 公共包):
|
||||
1. 安装 cli:
|
||||
npm i -g @inkreach/inkreach-teable
|
||||
(内网/离线备选:npm i -g git+https://gitea.inkreach.cc/inkreachhub/inkreach-teable-cli.git)
|
||||
2. 安装技能:
|
||||
npx -y skills add https://gitea.inkreach.cc/inkreachhub/inkreach-teable-cli.git -g -y --copy
|
||||
3. 鉴权(PAT 从 Web UI Settings → Personal Access Tokens 获取):
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@inkreach/inkreach-teable",
|
||||
"version": "0.1.1",
|
||||
"version": "0.1.2",
|
||||
"description": "CLI (command: inkreach-teable) for operating inkreach-teable: tables, fields, records, views, and the self-built automation engine (8 triggers + 7 actions).",
|
||||
"license": "MIT",
|
||||
"type": "commonjs",
|
||||
|
||||
@@ -15,7 +15,7 @@ Respond in the user's language. Keep answers concise and action-oriented.
|
||||
|
||||
## 1. Prerequisites
|
||||
|
||||
- Install the CLI if missing: `npm i -g @inkreach/inkreach-teable` (public npm package). Alternatives: `npm i -g git+https://gitea.inkreach.cc/inkreachhub/inkreach-teable-cli.git` (the `git+` prefix is REQUIRED for npm/npx; ad-hoc without installing: `npx git+https://gitea.inkreach.cc/inkreachhub/inkreach-teable-cli.git <cmd>`). Offline fallback: `bash scripts/install.sh` relative to this skill dir in a repo clone.
|
||||
- Install the CLI if missing: `npm i -g @inkreach/inkreach-teable` (public npm package). Offline fallback: `bash scripts/install.sh` relative to this skill dir in a repo clone.
|
||||
- **Configure once**: `inkreach-teable auth login --endpoint https://table.inkreach.cc --token <PAT> [--base-id bseXXX]`; verify with `auth status`. PAT comes from `auth token create --name x` (full token shown **once**) or the web UI (Settings → Personal Access Tokens).
|
||||
- `--json` on any command returns raw JSON (for agent parsing). Fallback for unknown commands: `inkreach-teable <cmd> --help`.
|
||||
- **Read on demand**: consult the guide linked for your module when doing non-trivial work — no need to read everything up front.
|
||||
|
||||
Reference in New Issue
Block a user