pontus-x_cli 1.0.0 → 1.0.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 -21
- package/bin/run.js +1 -0
- package/oclif.manifest.json +1 -1
- package/package.json +11 -7
package/README.md
CHANGED
|
@@ -22,7 +22,7 @@ $ npm install -g pontus-x_cli
|
|
|
22
22
|
$ pontus-x_cli COMMAND
|
|
23
23
|
running command...
|
|
24
24
|
$ pontus-x_cli (--version)
|
|
25
|
-
pontus-x_cli/1.0.
|
|
25
|
+
pontus-x_cli/1.0.1 linux-x64 node-v25.0.0
|
|
26
26
|
$ pontus-x_cli --help [COMMAND]
|
|
27
27
|
USAGE
|
|
28
28
|
$ pontus-x_cli COMMAND
|
|
@@ -73,7 +73,7 @@ EXAMPLES
|
|
|
73
73
|
$ pontus-x_cli access did:op:af3e93c4f18903f91b108e7204b8a752e7605f4547ed507212bd6aca63af5686
|
|
74
74
|
```
|
|
75
75
|
|
|
76
|
-
_See code: [src/commands/access.ts](https://github.com/AgrospAI/pontus-x_cli/blob/v1.0.
|
|
76
|
+
_See code: [src/commands/access.ts](https://github.com/AgrospAI/pontus-x_cli/blob/v1.0.1/src/commands/access.ts)_
|
|
77
77
|
|
|
78
78
|
## `pontus-x_cli autocomplete [SHELL]`
|
|
79
79
|
|
|
@@ -128,7 +128,7 @@ EXAMPLES
|
|
|
128
128
|
$ pontus-x_cli change-price did:op:ffeee8c8f19328985ef6743b08e61ef89d5141027fd47612e32e7900cacd2b7a 10
|
|
129
129
|
```
|
|
130
130
|
|
|
131
|
-
_See code: [src/commands/change-price.ts](https://github.com/AgrospAI/pontus-x_cli/blob/v1.0.
|
|
131
|
+
_See code: [src/commands/change-price.ts](https://github.com/AgrospAI/pontus-x_cli/blob/v1.0.1/src/commands/change-price.ts)_
|
|
132
132
|
|
|
133
133
|
## `pontus-x_cli check-participant-compliance`
|
|
134
134
|
|
|
@@ -149,7 +149,7 @@ EXAMPLES
|
|
|
149
149
|
$ pontus-x_cli check-participant-compliance -p ./CEP.data.json --vp ./CEP.vp.json
|
|
150
150
|
```
|
|
151
151
|
|
|
152
|
-
_See code: [src/commands/check-participant-compliance.ts](https://github.com/AgrospAI/pontus-x_cli/blob/v1.0.
|
|
152
|
+
_See code: [src/commands/check-participant-compliance.ts](https://github.com/AgrospAI/pontus-x_cli/blob/v1.0.1/src/commands/check-participant-compliance.ts)_
|
|
153
153
|
|
|
154
154
|
## `pontus-x_cli compute ALGO`
|
|
155
155
|
|
|
@@ -173,7 +173,7 @@ EXAMPLES
|
|
|
173
173
|
$ pontus-x_cli compute did:op:34e2ff9baf030318b13ff3940ab0885bb11fee49a8597123392983f5a0db8a35 -d did:op:d8a36ff74d36e54ce245d27689330fc39debb2fdfeac09d4a08b24b68cf5053d
|
|
174
174
|
```
|
|
175
175
|
|
|
176
|
-
_See code: [src/commands/compute.ts](https://github.com/AgrospAI/pontus-x_cli/blob/v1.0.
|
|
176
|
+
_See code: [src/commands/compute.ts](https://github.com/AgrospAI/pontus-x_cli/blob/v1.0.1/src/commands/compute.ts)_
|
|
177
177
|
|
|
178
178
|
## `pontus-x_cli compute-results JOBID`
|
|
179
179
|
|
|
@@ -196,7 +196,7 @@ EXAMPLES
|
|
|
196
196
|
$ pontus-x_cli compute-results 215bae450c8f40f59bfc5d1ccada3931 -p https://provider.agrospai.udl.cat
|
|
197
197
|
```
|
|
198
198
|
|
|
199
|
-
_See code: [src/commands/compute-results.ts](https://github.com/AgrospAI/pontus-x_cli/blob/v1.0.
|
|
199
|
+
_See code: [src/commands/compute-results.ts](https://github.com/AgrospAI/pontus-x_cli/blob/v1.0.1/src/commands/compute-results.ts)_
|
|
200
200
|
|
|
201
201
|
## `pontus-x_cli compute-status JOBID`
|
|
202
202
|
|
|
@@ -219,7 +219,7 @@ EXAMPLES
|
|
|
219
219
|
$ pontus-x_cli compute-status 215bae450c8f40f59bfc5d1ccada3931 -p https://provider.agrospai.udl.cat
|
|
220
220
|
```
|
|
221
221
|
|
|
222
|
-
_See code: [src/commands/compute-status.ts](https://github.com/AgrospAI/pontus-x_cli/blob/v1.0.
|
|
222
|
+
_See code: [src/commands/compute-status.ts](https://github.com/AgrospAI/pontus-x_cli/blob/v1.0.1/src/commands/compute-status.ts)_
|
|
223
223
|
|
|
224
224
|
## `pontus-x_cli edit-algo DID IMAGE TAG CHECKSUM ENTRYPOINT`
|
|
225
225
|
|
|
@@ -246,7 +246,7 @@ EXAMPLES
|
|
|
246
246
|
$ pontus-x_cli edit-algo did:op:dcdb747f8feff3122c6d6c0f45a339a6e09415e721f98f61cc2c1d62ab35a21f rogargon/pandas-profiling 4.16 sha256:81dca5439f07dff4d56097546a9fce7335be3de8e2622dc105c64e54376f86b5 "python /algorithm/src/main.py"
|
|
247
247
|
```
|
|
248
248
|
|
|
249
|
-
_See code: [src/commands/edit-algo.ts](https://github.com/AgrospAI/pontus-x_cli/blob/v1.0.
|
|
249
|
+
_See code: [src/commands/edit-algo.ts](https://github.com/AgrospAI/pontus-x_cli/blob/v1.0.1/src/commands/edit-algo.ts)_
|
|
250
250
|
|
|
251
251
|
## `pontus-x_cli edit-asset-url DID URL`
|
|
252
252
|
|
|
@@ -270,7 +270,7 @@ EXAMPLES
|
|
|
270
270
|
$ pontus-x_cli edit-asset-url did:op:af3e93c4f18903f91b108e7204b8a752e7605f4547ed507212bd6aca63af5686 https://raw.githubusercontent.com/plotly/datasets/refs/heads/master/titanic.csv
|
|
271
271
|
```
|
|
272
272
|
|
|
273
|
-
_See code: [src/commands/edit-asset-url.ts](https://github.com/AgrospAI/pontus-x_cli/blob/v1.0.
|
|
273
|
+
_See code: [src/commands/edit-asset-url.ts](https://github.com/AgrospAI/pontus-x_cli/blob/v1.0.1/src/commands/edit-asset-url.ts)_
|
|
274
274
|
|
|
275
275
|
## `pontus-x_cli edit-trusted-algos DID`
|
|
276
276
|
|
|
@@ -294,7 +294,7 @@ EXAMPLES
|
|
|
294
294
|
$ pontus-x_cli edit-trusted-algos did:op:ffeee8c8f19328985ef6743b08e61ef89d5141027fd47612e32e7900cacd2b7a --algos did:op:8f9994d01975cadd0196a2f7f811ed850e5d02a7223e7c5a31faaebe7371c81a did:op:0b970c95211cb8ef4574383386376646081bb7eb949b2a75e1e2171ea25949a7
|
|
295
295
|
```
|
|
296
296
|
|
|
297
|
-
_See code: [src/commands/edit-trusted-algos.ts](https://github.com/AgrospAI/pontus-x_cli/blob/v1.0.
|
|
297
|
+
_See code: [src/commands/edit-trusted-algos.ts](https://github.com/AgrospAI/pontus-x_cli/blob/v1.0.1/src/commands/edit-trusted-algos.ts)_
|
|
298
298
|
|
|
299
299
|
## `pontus-x_cli export-private-key`
|
|
300
300
|
|
|
@@ -316,7 +316,7 @@ EXAMPLES
|
|
|
316
316
|
$ pontus-x_cli export-private-key
|
|
317
317
|
```
|
|
318
318
|
|
|
319
|
-
_See code: [src/commands/export-private-key.ts](https://github.com/AgrospAI/pontus-x_cli/blob/v1.0.
|
|
319
|
+
_See code: [src/commands/export-private-key.ts](https://github.com/AgrospAI/pontus-x_cli/blob/v1.0.1/src/commands/export-private-key.ts)_
|
|
320
320
|
|
|
321
321
|
## `pontus-x_cli generate-asset-credentials DID`
|
|
322
322
|
|
|
@@ -342,7 +342,7 @@ EXAMPLES
|
|
|
342
342
|
$ pontus-x_cli generate-asset-credentials -p ./CEP.data.json -d ./did.json -c certificate.key did:op:01f8bc1e797a854dc718bd7a802acb07c5fc39f706b03dd454bceb66be6828c6
|
|
343
343
|
```
|
|
344
344
|
|
|
345
|
-
_See code: [src/commands/generate-asset-credentials.ts](https://github.com/AgrospAI/pontus-x_cli/blob/v1.0.
|
|
345
|
+
_See code: [src/commands/generate-asset-credentials.ts](https://github.com/AgrospAI/pontus-x_cli/blob/v1.0.1/src/commands/generate-asset-credentials.ts)_
|
|
346
346
|
|
|
347
347
|
## `pontus-x_cli generate-did-web`
|
|
348
348
|
|
|
@@ -363,7 +363,7 @@ EXAMPLES
|
|
|
363
363
|
$ pontus-x_cli generate-did-web -d <https://compliance.agrospai.udl.cat> -c certificate-chain.crt
|
|
364
364
|
```
|
|
365
365
|
|
|
366
|
-
_See code: [src/commands/generate-did-web.ts](https://github.com/AgrospAI/pontus-x_cli/blob/v1.0.
|
|
366
|
+
_See code: [src/commands/generate-did-web.ts](https://github.com/AgrospAI/pontus-x_cli/blob/v1.0.1/src/commands/generate-did-web.ts)_
|
|
367
367
|
|
|
368
368
|
## `pontus-x_cli generate-participant-credentials`
|
|
369
369
|
|
|
@@ -386,7 +386,7 @@ EXAMPLES
|
|
|
386
386
|
$ pontus-x_cli generate-participant-credentials -p ./CEP.data.json -d ./did.json -c certificate.key
|
|
387
387
|
```
|
|
388
388
|
|
|
389
|
-
_See code: [src/commands/generate-participant-credentials.ts](https://github.com/AgrospAI/pontus-x_cli/blob/v1.0.
|
|
389
|
+
_See code: [src/commands/generate-participant-credentials.ts](https://github.com/AgrospAI/pontus-x_cli/blob/v1.0.1/src/commands/generate-participant-credentials.ts)_
|
|
390
390
|
|
|
391
391
|
## `pontus-x_cli get DID`
|
|
392
392
|
|
|
@@ -406,7 +406,7 @@ EXAMPLES
|
|
|
406
406
|
$ pontus-x_cli get did:op:ffeee8c8f19328985ef6743b08e61ef89d5141027fd47612e32e7900cacd2b7a
|
|
407
407
|
```
|
|
408
408
|
|
|
409
|
-
_See code: [src/commands/get.ts](https://github.com/AgrospAI/pontus-x_cli/blob/v1.0.
|
|
409
|
+
_See code: [src/commands/get.ts](https://github.com/AgrospAI/pontus-x_cli/blob/v1.0.1/src/commands/get.ts)_
|
|
410
410
|
|
|
411
411
|
## `pontus-x_cli help [COMMAND]`
|
|
412
412
|
|
|
@@ -449,7 +449,7 @@ EXAMPLES
|
|
|
449
449
|
$ pontus-x_cli login d999baae98ac5246568fd726be8832c49626867d.json
|
|
450
450
|
```
|
|
451
451
|
|
|
452
|
-
_See code: [src/commands/login.ts](https://github.com/AgrospAI/pontus-x_cli/blob/v1.0.
|
|
452
|
+
_See code: [src/commands/login.ts](https://github.com/AgrospAI/pontus-x_cli/blob/v1.0.1/src/commands/login.ts)_
|
|
453
453
|
|
|
454
454
|
## `pontus-x_cli logout`
|
|
455
455
|
|
|
@@ -466,7 +466,7 @@ EXAMPLES
|
|
|
466
466
|
$ pontus-x_cli logout
|
|
467
467
|
```
|
|
468
468
|
|
|
469
|
-
_See code: [src/commands/logout.ts](https://github.com/AgrospAI/pontus-x_cli/blob/v1.0.
|
|
469
|
+
_See code: [src/commands/logout.ts](https://github.com/AgrospAI/pontus-x_cli/blob/v1.0.1/src/commands/logout.ts)_
|
|
470
470
|
|
|
471
471
|
## `pontus-x_cli publish PATH`
|
|
472
472
|
|
|
@@ -494,7 +494,7 @@ EXAMPLES
|
|
|
494
494
|
$ pontus-x_cli publish samples/publish/algo/index.ts
|
|
495
495
|
```
|
|
496
496
|
|
|
497
|
-
_See code: [src/commands/publish.ts](https://github.com/AgrospAI/pontus-x_cli/blob/v1.0.
|
|
497
|
+
_See code: [src/commands/publish.ts](https://github.com/AgrospAI/pontus-x_cli/blob/v1.0.1/src/commands/publish.ts)_
|
|
498
498
|
|
|
499
499
|
## `pontus-x_cli revoke DIDS`
|
|
500
500
|
|
|
@@ -517,7 +517,7 @@ EXAMPLES
|
|
|
517
517
|
$ pontus-x_cli revoke did:op:ffeee8c8f19328985ef6743b08e61ef89d5141027fd47612e32e7900cacd2b7a did:op:abcee8c8f19328985ef6743b08e61ef89d5141027fd47612e32e7900cacd2b7b
|
|
518
518
|
```
|
|
519
519
|
|
|
520
|
-
_See code: [src/commands/revoke.ts](https://github.com/AgrospAI/pontus-x_cli/blob/v1.0.
|
|
520
|
+
_See code: [src/commands/revoke.ts](https://github.com/AgrospAI/pontus-x_cli/blob/v1.0.1/src/commands/revoke.ts)_
|
|
521
521
|
|
|
522
522
|
## `pontus-x_cli self-description DID SDURL`
|
|
523
523
|
|
|
@@ -541,7 +541,7 @@ EXAMPLES
|
|
|
541
541
|
$ pontus-x_cli self-description did:op:d22954f2cbf6a85c897ce605c275cc786e099592cc59e3b7dd66b93e784bed8c https://example.com/self-description.json
|
|
542
542
|
```
|
|
543
543
|
|
|
544
|
-
_See code: [src/commands/self-description.ts](https://github.com/AgrospAI/pontus-x_cli/blob/v1.0.
|
|
544
|
+
_See code: [src/commands/self-description.ts](https://github.com/AgrospAI/pontus-x_cli/blob/v1.0.1/src/commands/self-description.ts)_
|
|
545
545
|
<!-- commandsstop -->
|
|
546
546
|
|
|
547
547
|
# Useful information
|
|
@@ -681,6 +681,12 @@ npm run test:watch TEST_NAME # example: access, login, get, etc.
|
|
|
681
681
|
npm run test:ui
|
|
682
682
|
```
|
|
683
683
|
|
|
684
|
+
### Generate report
|
|
685
|
+
|
|
686
|
+
```sh
|
|
687
|
+
npx vitest --reporter=html
|
|
688
|
+
```
|
|
689
|
+
|
|
684
690
|
## Generate documentation
|
|
685
691
|
|
|
686
692
|
```sh
|
|
@@ -691,5 +697,5 @@ npm run postpack
|
|
|
691
697
|
## Generate JSON schema
|
|
692
698
|
|
|
693
699
|
```sh
|
|
694
|
-
|
|
700
|
+
npm run schema
|
|
695
701
|
```
|
package/bin/run.js
CHANGED
package/oclif.manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pontus-x_cli",
|
|
3
3
|
"description": "Command Line Interface for the Pontus-X Data Space Ecosystem",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.1",
|
|
5
5
|
"author": "AgrospAI",
|
|
6
6
|
"bin": {
|
|
7
|
-
"pontus-x_cli": "
|
|
7
|
+
"pontus-x_cli": "bin/run.js"
|
|
8
8
|
},
|
|
9
|
-
"bugs": "https://github.com/
|
|
9
|
+
"bugs": "https://github.com/AgrospAI/pontus-x_cli/issues",
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"@deltadao/nautilus": "^1.1.0",
|
|
12
12
|
"@gaia-x/did-web-generator": "^1.1.0",
|
|
@@ -25,7 +25,8 @@
|
|
|
25
25
|
"handlebars": "^4.7.8",
|
|
26
26
|
"js-yaml": "^4.1.0",
|
|
27
27
|
"oclif": "^4.22.14",
|
|
28
|
-
"readline-sync": "^1.4.10"
|
|
28
|
+
"readline-sync": "^1.4.10",
|
|
29
|
+
"ts-json-schema-generator": "^2.4.0"
|
|
29
30
|
},
|
|
30
31
|
"devDependencies": {
|
|
31
32
|
"@eslint/compat": "^1",
|
|
@@ -51,7 +52,7 @@
|
|
|
51
52
|
"./dist",
|
|
52
53
|
"./oclif.manifest.json"
|
|
53
54
|
],
|
|
54
|
-
"homepage": "https://github.com/
|
|
55
|
+
"homepage": "https://github.com/AgrospAI/pontus-x_cli",
|
|
55
56
|
"keywords": [
|
|
56
57
|
"oclif"
|
|
57
58
|
],
|
|
@@ -67,7 +68,10 @@
|
|
|
67
68
|
],
|
|
68
69
|
"topicSeparator": " "
|
|
69
70
|
},
|
|
70
|
-
"repository":
|
|
71
|
+
"repository": {
|
|
72
|
+
"type": "git",
|
|
73
|
+
"url": "git+https://github.com/AgrospAI/pontus-x_cli.git"
|
|
74
|
+
},
|
|
71
75
|
"scripts": {
|
|
72
76
|
"dev": "ts-node ./bin/dev.js",
|
|
73
77
|
"build": "shx rm -rf dist tsconfig.tsbuildinfo && tsc -b && shx cp -r src/lib/gaia-x_compliance/generate-credentials/templates dist/lib/gaia-x_compliance/generate-credentials/",
|
|
@@ -83,7 +87,7 @@
|
|
|
83
87
|
"test:ui": "vitest --ui",
|
|
84
88
|
"test:watch": "vitest --watch",
|
|
85
89
|
"tsc": "tsc --noEmit",
|
|
86
|
-
"schema": "
|
|
90
|
+
"schema": "ts-json-schema-generator --path 'src/types/publish.d.ts' --type 'PublishConfig' --expose 'export' --out 'src/types/schema.json'",
|
|
87
91
|
"local-install": "npm install -g ."
|
|
88
92
|
},
|
|
89
93
|
"types": "dist/index.d.ts"
|