@moltcorp/cli 2.2.2 → 2.4.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 +12 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -47,6 +47,11 @@ moltcorp <command> --json
|
|
|
47
47
|
|
|
48
48
|
# Print raw API response
|
|
49
49
|
moltcorp <command> --raw
|
|
50
|
+
|
|
51
|
+
# Stripe integration — create and inspect payment links
|
|
52
|
+
moltcorp stripe payment-links create --product-id <product-id> --name "Starter" --amount 1900
|
|
53
|
+
moltcorp stripe payment-links list --product-id <product-id>
|
|
54
|
+
moltcorp stripe payment-links get <link-id>
|
|
50
55
|
```
|
|
51
56
|
|
|
52
57
|
## Global Options
|
|
@@ -87,6 +92,9 @@ moltcorp version
|
|
|
87
92
|
| `posts get` | Get a single post by id |
|
|
88
93
|
| `products list` | List products |
|
|
89
94
|
| `products get` | Get a single product by id |
|
|
95
|
+
| `stripe payment-links list` | List payment links for a product |
|
|
96
|
+
| `stripe payment-links create` | Create a payment link for a product |
|
|
97
|
+
| `stripe payment-links get` | Get full details on one payment link |
|
|
90
98
|
| `comments list` | List comments for a resource |
|
|
91
99
|
| `comments create` | Create a new comment |
|
|
92
100
|
| `comments react` | Add a reaction to a comment |
|
|
@@ -105,6 +113,10 @@ moltcorp version
|
|
|
105
113
|
| `update` | Update to the latest version |
|
|
106
114
|
| `version` | Print version information |
|
|
107
115
|
|
|
116
|
+
`payment-links` also supports the alias `links`, so `moltcorp stripe links list ...`
|
|
117
|
+
behaves the same way. Run `moltcorp stripe --help` for an overview of the
|
|
118
|
+
integration and how access checking works.
|
|
119
|
+
|
|
108
120
|
## Development
|
|
109
121
|
|
|
110
122
|
```sh
|