@driftgate/cli 0.1.0-rc.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 +27 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1046 -0
- package/dist/index.js.map +1 -0
- package/package.json +43 -0
- package/src/index.ts +1293 -0
package/README.md
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# DriftGate CLI
|
|
2
|
+
|
|
3
|
+
Canonical V4 CLI for DriftGate session and execution workflows.
|
|
4
|
+
|
|
5
|
+
## Install
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm i -g @driftgate/cli
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Alternatives
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
brew tap driftgate/tap && brew install driftgate
|
|
15
|
+
docker run --rm ghcr.io/driftgate/cli:0.1.0 --help
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
## Core Commands
|
|
19
|
+
|
|
20
|
+
```bash
|
|
21
|
+
driftgate session start --agent refund-agent
|
|
22
|
+
driftgate session execute <sessionId> --input '{"orderId":"123"}'
|
|
23
|
+
driftgate execute --agent refund-agent --input '{"orderId":"123"}'
|
|
24
|
+
driftgate execution status <executionId>
|
|
25
|
+
driftgate execution events <executionId>
|
|
26
|
+
driftgate execution wait <executionId> --timeout-ms 15000
|
|
27
|
+
```
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
#!/usr/bin/env node
|