@aipm-registry/cli 0.4.3 → 0.4.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +22 -0
- package/dist/bin.cjs +1227 -296
- package/dist/bin.cjs.map +4 -4
- package/package.json +9 -9
package/README.md
CHANGED
|
@@ -40,6 +40,14 @@ Start in any project folder:
|
|
|
40
40
|
aipm init --target cursor
|
|
41
41
|
```
|
|
42
42
|
|
|
43
|
+
Or install once **without** creating project files:
|
|
44
|
+
|
|
45
|
+
```bash
|
|
46
|
+
aipm add @scope/name@1.0.0 --target cursor --no-init
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
`--no-init` writes skills into your AI tool folders only (no `aipm.package.json` / lockfile). The same flag works on `update` and `remove`.
|
|
50
|
+
|
|
43
51
|
*Search the registry at [aipm-registry.com](https://www.aipm-registry.com) for a skill:*
|
|
44
52
|
|
|
45
53
|
```bash
|
|
@@ -115,6 +123,20 @@ aipm install # restore all tracked skill and prompt files
|
|
|
115
123
|
prompts with `aipm list -p` or `aipm list -prompt`; list skills with `aipm list -s` or
|
|
116
124
|
`aipm list -skill`.
|
|
117
125
|
|
|
126
|
+
## Interactive CLI
|
|
127
|
+
|
|
128
|
+
In a normal terminal, AIPM asks what to do next instead of exiting on recoverable problems. Use **↑↓** to move, **Enter** to choose, **Esc** / **Ctrl+C** to cancel.
|
|
129
|
+
|
|
130
|
+
Common prompts:
|
|
131
|
+
|
|
132
|
+
- **Not initialized** — create `aipm.package.json`, or continue once without project tracking
|
|
133
|
+
- **No AI tool detected** — pick Cursor, Claude, or Codex
|
|
134
|
+
- **Already initialized + `--no-init`** — keep one-shot mode, or use normal project mode
|
|
135
|
+
- **Login needed** — sign in and retry (private packages / publish)
|
|
136
|
+
- **File already exists** — overwrite or skip
|
|
137
|
+
|
|
138
|
+
Automation and CI should pass **`--ci`**. Interactive menus are disabled; the CLI prints a clear error and exits non-zero.
|
|
139
|
+
|
|
118
140
|
Signed-in publishers can publish one prompt or a JSON batch through the API-backed CLI:
|
|
119
141
|
|
|
120
142
|
```bash
|