@snipcodeit/mgw 0.1.0 → 0.1.1
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 +15 -15
- package/dist/bin/mgw.cjs +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -207,37 +207,37 @@ Try MGW without installing anything:
|
|
|
207
207
|
|
|
208
208
|
```bash
|
|
209
209
|
# See available commands
|
|
210
|
-
npx mgw --help
|
|
210
|
+
npx @snipcodeit/mgw --help
|
|
211
211
|
|
|
212
212
|
# List your open issues
|
|
213
|
-
npx mgw issues
|
|
213
|
+
npx @snipcodeit/mgw issues
|
|
214
214
|
|
|
215
215
|
# Sync local state with GitHub
|
|
216
|
-
npx mgw sync
|
|
216
|
+
npx @snipcodeit/mgw sync
|
|
217
217
|
|
|
218
218
|
# Cross-reference two issues
|
|
219
|
-
npx mgw link 42 43
|
|
219
|
+
npx @snipcodeit/mgw link 42 43
|
|
220
220
|
```
|
|
221
221
|
|
|
222
|
-
`npx mgw` gives you the full CLI subset that works without Claude Code. For the AI-powered pipeline commands (`run`, `issue`, `project`, `milestone`, etc.), do a full install below.
|
|
222
|
+
`npx @snipcodeit/mgw` gives you the full CLI subset that works without Claude Code. For the AI-powered pipeline commands (`run`, `issue`, `project`, `milestone`, etc.), do a full install below.
|
|
223
223
|
|
|
224
224
|
## Installation
|
|
225
225
|
|
|
226
|
-
###
|
|
226
|
+
### npm (recommended)
|
|
227
227
|
|
|
228
228
|
```bash
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
npm install && npm run build
|
|
232
|
-
npm link
|
|
233
|
-
# Slash commands are installed automatically by npm postinstall
|
|
229
|
+
npm install -g @snipcodeit/mgw
|
|
230
|
+
# Slash commands are automatically deployed to ~/.claude/commands/mgw/
|
|
234
231
|
```
|
|
235
232
|
|
|
236
|
-
###
|
|
233
|
+
### From source
|
|
237
234
|
|
|
238
235
|
```bash
|
|
239
|
-
|
|
240
|
-
|
|
236
|
+
git clone https://github.com/snipcodeit/mgw.git
|
|
237
|
+
cd mgw
|
|
238
|
+
npm install && npm run build
|
|
239
|
+
npm install -g . --prefix ~/.npm-global
|
|
240
|
+
# Slash commands are installed automatically by npm postinstall
|
|
241
241
|
```
|
|
242
242
|
|
|
243
243
|
### Verify
|
|
@@ -268,7 +268,7 @@ Not all commands work via `npx`. The CLI has two tiers:
|
|
|
268
268
|
| **CLI-only** (works with npx) | `issues`, `sync`, `link`, `help`, `--help`, `--version` | Node.js >= 18, `gh` CLI |
|
|
269
269
|
| **AI-powered** (requires full install) | `run`, `init`, `project`, `milestone`, `next`, `issue`, `update`, `pr`, `ask`, `review` | Node.js >= 18, `gh` CLI, Claude Code CLI, GSD |
|
|
270
270
|
|
|
271
|
-
AI-powered commands call `claude -p` under the hood and require the [Claude Code CLI](https://docs.anthropic.com/en/docs/claude-code/overview) to be installed and authenticated. The slash command `.md` files must also be deployed to `~/.claude/commands/mgw/` for the full pipeline to work
|
|
271
|
+
AI-powered commands call `claude -p` under the hood and require the [Claude Code CLI](https://docs.anthropic.com/en/docs/claude-code/overview) to be installed and authenticated. The slash command `.md` files must also be deployed to `~/.claude/commands/mgw/` for the full pipeline to work — this happens automatically via `postinstall`. Use `npx @snipcodeit/mgw` to explore the CLI and verify your GitHub setup before committing to a full install.
|
|
272
272
|
|
|
273
273
|
## Typical Workflow
|
|
274
274
|
|
package/dist/bin/mgw.cjs
CHANGED