dodopayments-cli 3.2.3 → 3.3.0
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 +9 -0
- package/dist/index.js +290 -132
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -40,6 +40,7 @@ Manage your [Dodo Payments](https://dodopayments.com/) resources, test webhooks,
|
|
|
40
40
|
- **Encrypted at rest** — API keys are stored in `~/.dodopayments/config.json`, AES-256-GCM encrypted with a machine-derived key. No plaintext credentials on disk.
|
|
41
41
|
- **Auto update** — the CLI checks for new versions and notifies you in-app. Run `/update` to upgrade in place.
|
|
42
42
|
- **Webhook tooling** — listen for live webhooks or trigger payloads offline for local development.
|
|
43
|
+
- **Scaffolding support** — scaffold billing routes for Next.js, Express, and Better-Auth.
|
|
43
44
|
|
|
44
45
|
## Installation
|
|
45
46
|
|
|
@@ -269,6 +270,14 @@ The interactive `/wh trigger` flow guides you through:
|
|
|
269
270
|
| **Dispute** | `opened`, `expired`, `accepted`, `cancelled`, `challenged`, `won`, `lost` |
|
|
270
271
|
| **License** | `created` |
|
|
271
272
|
|
|
273
|
+
### Init commands
|
|
274
|
+
|
|
275
|
+
| Command | Description |
|
|
276
|
+
| --- | --- |
|
|
277
|
+
| `/init nextjs` | Initialize Next.js App Router billing routes |
|
|
278
|
+
| `/init express` | Initialize Express server billing routes |
|
|
279
|
+
| `/init better-auth [plugins]` | Initialize Better-Auth plugin configuration (plugins: `checkout`, `portal`, `usage`, `webhooks`) |
|
|
280
|
+
|
|
272
281
|
### Session commands
|
|
273
282
|
|
|
274
283
|
| Command | Description |
|