docs: npx-based install (verified) — CLI via git+https, skill via skills add
- CLI: npx git+https://... (ad-hoc) / npm i -g git+https://... (permanent) - skill: npx -y skills add https://... -g -y --copy (installs to ~/.zcode/skills + ~/.claude/skills + ~/.agents/skills + ~40 agents) - prefix trap documented: npm/npx NEED git+, skills add must NOT have it - install.sh kept as offline/no-npm fallback
This commit is contained in:
@@ -24,7 +24,7 @@ Respond in the user's language. Keep answers concise and action-oriented.
|
||||
|
||||
## 1. Prerequisites
|
||||
|
||||
- Install the CLI if missing: `bash scripts/install.sh` (relative to this skill dir).
|
||||
- Install the CLI if missing: `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.
|
||||
- **Configure once**: `inkreach-teable auth login --endpoint http://localhost:3003 --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