dodopayments-cli 2.1.0 → 3.0.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/.github/assets/cli-preview.png +0 -0
- package/.prettierrc.mjs +11 -0
- package/CONTRIBUTING.md +30 -7
- package/LICENSE +674 -21
- package/README.md +201 -76
- package/SECURITY.md +2 -11
- package/build-binaries.ts +2 -0
- package/bunfig.toml +1 -0
- package/dist/highlights-eq9cgrbb.scm +604 -0
- package/dist/highlights-ghv9g403.scm +205 -0
- package/dist/highlights-hk7bwhj4.scm +284 -0
- package/dist/highlights-r812a2qc.scm +150 -0
- package/dist/highlights-x6tmsnaa.scm +115 -0
- package/dist/index.js +341 -27
- package/dist/injections-73j83es3.scm +27 -0
- package/dist/keytar-4z5sa3wk.node +0 -0
- package/dist/tree-sitter-javascript-nd0q4pe9.wasm +0 -0
- package/dist/tree-sitter-markdown-411r6y9b.wasm +0 -0
- package/dist/tree-sitter-markdown_inline-j5349f42.wasm +0 -0
- package/dist/tree-sitter-typescript-zxjzwt75.wasm +0 -0
- package/dist/tree-sitter-zig-e78zbjpm.wasm +0 -0
- package/package.json +40 -8
- package/scripts/build.ts +31 -0
- package/test-select.ts +2 -0
- package/tsconfig.json +3 -5
|
Binary file
|
package/.prettierrc.mjs
ADDED
package/CONTRIBUTING.md
CHANGED
|
@@ -61,17 +61,40 @@ This project and everyone participating in it is governed by our [Code of Conduc
|
|
|
61
61
|
|
|
62
62
|
```
|
|
63
63
|
dodopayments-cli/
|
|
64
|
-
├──
|
|
65
|
-
├──
|
|
66
|
-
|
|
64
|
+
├── src/ # All CLI source code
|
|
65
|
+
│ ├── index.ts # Main CLI entrypoint (command router)
|
|
66
|
+
│ │
|
|
67
|
+
│ ├── commands/ # Domain-based command modules
|
|
68
|
+
│ │ ├── addons/ # Add-on related commands
|
|
69
|
+
│ │ ├── ai/ # AI agent related commands
|
|
70
|
+
│ │ ├── checkout/ # Checkout commands
|
|
71
|
+
│ │ ├── customers/ # Customer management commands
|
|
72
|
+
│ │ ├── discounts/ # Discount/coupon commands
|
|
73
|
+
│ │ ├── licences/ # License management commands
|
|
74
|
+
│ │ ├── login/ # Authentication/login commands
|
|
75
|
+
│ │ ├── logout/ # Authentication/logout commands
|
|
76
|
+
│ │ ├── payments/ # Payment-related commands
|
|
77
|
+
│ │ ├── products/ # Product management commands
|
|
78
|
+
│ │ ├── refund/ # Refund commands
|
|
79
|
+
│ │ └── webhook/ # Webhook-related commands
|
|
80
|
+
│ │
|
|
81
|
+
│ ├── ui/ # CLI presentation layer (output/help/logo)
|
|
82
|
+
│ │ ├── help.ts # Help rendering
|
|
83
|
+
│ │ ├── index.ts # Barrel export for UI utilities
|
|
84
|
+
│ │ └── logo.ts # CLI logo/banner
|
|
85
|
+
│ │
|
|
86
|
+
│ └── utils/ # Shared utilities (config, client, helpers)
|
|
87
|
+
│
|
|
88
|
+
├── build-binaries.ts # Script to generate distributable binaries
|
|
67
89
|
├── .github/
|
|
68
|
-
│ ├── ISSUE_TEMPLATE/
|
|
90
|
+
│ ├── ISSUE_TEMPLATE/
|
|
69
91
|
│ ├── PULL_REQUEST_TEMPLATE.md
|
|
70
|
-
│ └── workflows/
|
|
71
|
-
|
|
92
|
+
│ └── workflows/
|
|
93
|
+
│
|
|
94
|
+
├── CONTRIBUTING.md
|
|
72
95
|
├── CODE_OF_CONDUCT.md
|
|
73
96
|
├── LICENSE
|
|
74
|
-
|
|
97
|
+
├── README.md
|
|
75
98
|
```
|
|
76
99
|
|
|
77
100
|
## How to Contribute
|