@ariestools/cli 0.1.8 → 0.1.10
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 +32 -0
- package/dist/bin/aries.mjs +611 -188
- package/dist/bin/daemons/chain-server.mjs +152 -0
- package/dist/bin/daemons/dapp-server.mjs +970 -0
- package/dist/bin/daemons/datalake-dev.mjs +111566 -0
- package/dist/node/datalake.d.ts +220 -0
- package/dist/node/datalake.mjs +475 -0
- package/package.json +21 -11
package/README.md
CHANGED
|
@@ -22,6 +22,38 @@ aries witness url --url https://example.com
|
|
|
22
22
|
aries datalake list
|
|
23
23
|
```
|
|
24
24
|
|
|
25
|
+
## Local datalake (standalone install)
|
|
26
|
+
|
|
27
|
+
The published CLI **embeds** the local datalake dev server. You do **not** need
|
|
28
|
+
private monorepo packages (`aries-datalake-plane`, etc.) installed.
|
|
29
|
+
|
|
30
|
+
```sh
|
|
31
|
+
# Isolated state (recommended for CI / Immortalizer)
|
|
32
|
+
export ARIES_HOME=/tmp/aries-test-$$
|
|
33
|
+
|
|
34
|
+
# Free ports by default (or pass --control-port / --plane-port)
|
|
35
|
+
aries datalake dev up
|
|
36
|
+
aries datalake list
|
|
37
|
+
aries datalake dev down
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
### Programmatic client (no shell-out per request)
|
|
41
|
+
|
|
42
|
+
```ts
|
|
43
|
+
import {
|
|
44
|
+
createDatalakeClient,
|
|
45
|
+
RestPayloadsClient,
|
|
46
|
+
} from '@ariestools/cli/datalake'
|
|
47
|
+
|
|
48
|
+
// After `aries datalake dev up` (or with baseUrl + authToken options)
|
|
49
|
+
const control = createDatalakeClient()
|
|
50
|
+
const lakes = await control.list()
|
|
51
|
+
// …
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
Private workspace packages stay private; runtime daemons ship under
|
|
55
|
+
`dist/bin/daemons/` inside this package.
|
|
56
|
+
|
|
25
57
|
## Top-level commands
|
|
26
58
|
|
|
27
59
|
```text
|