@payark/cli 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 +6 -0
- package/dist/index.js +3363 -3370
- package/dist/index.js.map +1 -1
- package/package.json +3 -4
package/README.md
CHANGED
|
@@ -30,19 +30,25 @@ payark help
|
|
|
30
30
|
### Commands
|
|
31
31
|
|
|
32
32
|
#### `payark login`
|
|
33
|
+
|
|
33
34
|
Authenticate with your PayArk account.
|
|
34
35
|
|
|
35
36
|
#### `payark listen`
|
|
37
|
+
|
|
36
38
|
Listen for webhook events and forward them to a local URL.
|
|
39
|
+
|
|
37
40
|
```bash
|
|
38
41
|
payark listen --forward-to http://localhost:3000/api/webhooks
|
|
39
42
|
```
|
|
40
43
|
|
|
41
44
|
#### `payark trigger <event>`
|
|
45
|
+
|
|
42
46
|
Trigger a specific event for testing.
|
|
47
|
+
|
|
43
48
|
```bash
|
|
44
49
|
payark trigger payment.succeeded
|
|
45
50
|
```
|
|
46
51
|
|
|
47
52
|
#### `payark init`
|
|
53
|
+
|
|
48
54
|
Initialize a new PayArk project configuration.
|