@anonymilyhq/cli 1.3.0 → 1.3.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 +29 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -94,6 +94,34 @@ export ANONYMILY_TOKEN=pat_example123
|
|
|
94
94
|
npx @anonymilyhq/cli listen 3000 --id stripe-dev
|
|
95
95
|
```
|
|
96
96
|
|
|
97
|
+
### `trigger <provider> <event>`
|
|
98
|
+
|
|
99
|
+
Fire a synthetic, correctly-signed provider event at your endpoint — no real charge, PR, or order required. **Pro feature** (requires a PAT).
|
|
100
|
+
|
|
101
|
+
```bash
|
|
102
|
+
npx @anonymilyhq/cli trigger <provider> <event> [options]
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
| Option | Description |
|
|
106
|
+
|---|---|
|
|
107
|
+
| `<provider>` | Provider name (e.g. `github`, `stripe`, `shopify`, `razorpay`, `slack`). |
|
|
108
|
+
| `<event>` | Event name (e.g. `push`, `payment_intent.succeeded`, `order.created`). |
|
|
109
|
+
| `-i, --hook <hookId>` | Target hook ID (defaults to a random ID). |
|
|
110
|
+
| `-t, --token <token>` | **Required.** PAT — or set `ANONYMILY_TOKEN`. |
|
|
111
|
+
| `-l, --list` | List all available provider/event combinations and exit. |
|
|
112
|
+
|
|
113
|
+
**Examples:**
|
|
114
|
+
|
|
115
|
+
```bash
|
|
116
|
+
# List every available provider/event combination
|
|
117
|
+
npx @anonymilyhq/cli trigger --list
|
|
118
|
+
|
|
119
|
+
# Fire a correctly-signed Stripe event at your hook
|
|
120
|
+
npx @anonymilyhq/cli trigger stripe payment_intent.succeeded --hook stripe-dev --token pat_example123
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
---
|
|
124
|
+
|
|
97
125
|
### `replay <hookId> <requestId>`
|
|
98
126
|
|
|
99
127
|
Re-fire a previously captured request back through your hook endpoint. Requires a PAT and Pro subscription (free users are rate-limited to 5 replays/day, enforced server-side).
|
|
@@ -177,7 +205,7 @@ Upgrade at [anonymily.com/upgrade](https://anonymily.com/upgrade).
|
|
|
177
205
|
|
|
178
206
|
## MCP Server
|
|
179
207
|
|
|
180
|
-
If you use Claude Code, you can drive Anonymily entirely from your AI assistant using the `@anonymilyhq/mcp-server` package. See the [MCP
|
|
208
|
+
If you use Claude Code or Cursor, you can drive Anonymily entirely from your AI assistant using the [`@anonymilyhq/mcp-server`](https://www.npmjs.com/package/@anonymilyhq/mcp-server) package. See the [MCP setup guide](https://anonymily.com/docs/mcp-setup) for configuration.
|
|
181
209
|
|
|
182
210
|
---
|
|
183
211
|
|