@nevermined-io/cli 1.7.0 → 1.9.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/dist/commands/agents/get-agents.d.ts +20 -0
- package/dist/commands/agents/get-agents.d.ts.map +1 -0
- package/dist/commands/agents/get-agents.js +31 -0
- package/dist/commands/agents/get-agents.js.map +1 -0
- package/dist/commands/plans/get-plans.d.ts +2 -1
- package/dist/commands/plans/get-plans.d.ts.map +1 -1
- package/dist/commands/plans/get-plans.js +5 -4
- package/dist/commands/plans/get-plans.js.map +1 -1
- package/oclif.manifest.json +156 -59
- package/package.json +1 -1
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { BaseCommand } from '../../base-command.js';
|
|
2
|
+
/**
|
|
3
|
+
* Lists the AI agents **you** published (the authenticated caller's own agents). This is account management, not a marketplace search — it never returns other users' agents.
|
|
4
|
+
*/
|
|
5
|
+
export default class GetAgents extends BaseCommand {
|
|
6
|
+
static description: string;
|
|
7
|
+
static examples: string[];
|
|
8
|
+
static flags: {
|
|
9
|
+
page: import("@oclif/core/lib/interfaces/parser.js").OptionFlag<number | undefined, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
|
|
10
|
+
offset: import("@oclif/core/lib/interfaces/parser.js").OptionFlag<number | undefined, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
|
|
11
|
+
'sort-by': import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
|
|
12
|
+
'sort-order': import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
|
|
13
|
+
'org-id': import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
|
|
14
|
+
profile: import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
|
|
15
|
+
format: import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
|
|
16
|
+
verbose: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean>;
|
|
17
|
+
};
|
|
18
|
+
run(): Promise<void>;
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=get-agents.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-agents.d.ts","sourceRoot":"","sources":["../../../src/commands/agents/get-agents.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AAEnD;;GAEG;AACH,MAAM,CAAC,OAAO,OAAO,SAAU,SAAQ,WAAW;IAChD,OAAgB,WAAW,SAAgL;IAE3M,OAAgB,QAAQ,WAEvB;IAED,OAAgB,KAAK;;;;;;;;;MAOpB;IAIY,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC;CAalC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { Flags } from '@oclif/core';
|
|
2
|
+
import { BaseCommand } from '../../base-command.js';
|
|
3
|
+
/**
|
|
4
|
+
* Lists the AI agents **you** published (the authenticated caller's own agents). This is account management, not a marketplace search — it never returns other users' agents.
|
|
5
|
+
*/
|
|
6
|
+
export default class GetAgents extends BaseCommand {
|
|
7
|
+
static description = "Lists the AI agents **you** published (the authenticated caller's own agents). This is account management, not a marketplace search — it never returns other users' agents.";
|
|
8
|
+
static examples = [
|
|
9
|
+
'$ nvm agents get-agents <orgId>'
|
|
10
|
+
];
|
|
11
|
+
static flags = {
|
|
12
|
+
...BaseCommand.baseFlags,
|
|
13
|
+
'page': Flags.integer({ required: false }),
|
|
14
|
+
'offset': Flags.integer({ required: false }),
|
|
15
|
+
'sort-by': Flags.string({ required: false }),
|
|
16
|
+
'sort-order': Flags.string({ required: false }),
|
|
17
|
+
'org-id': Flags.string({ required: false }),
|
|
18
|
+
};
|
|
19
|
+
async run() {
|
|
20
|
+
const { flags } = await this.parse(this.constructor);
|
|
21
|
+
const payments = await this.initPayments();
|
|
22
|
+
try {
|
|
23
|
+
const result = await payments.agents.getAgents(flags['page'], flags['offset'], flags['sort-by'], flags['sort-order'], flags['org-id']);
|
|
24
|
+
this.formatter.output(result);
|
|
25
|
+
}
|
|
26
|
+
catch (error) {
|
|
27
|
+
this.handleError(error);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
//# sourceMappingURL=get-agents.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-agents.js","sourceRoot":"","sources":["../../../src/commands/agents/get-agents.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAA;AACnC,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AAEnD;;GAEG;AACH,MAAM,CAAC,OAAO,OAAO,SAAU,SAAQ,WAAW;IAChD,MAAM,CAAU,WAAW,GAAG,6KAA6K,CAAA;IAE3M,MAAM,CAAU,QAAQ,GAAG;QACzB,iCAAiC;KAClC,CAAA;IAED,MAAM,CAAU,KAAK,GAAG;QACtB,GAAG,WAAW,CAAC,SAAS;QACxB,MAAM,EAAE,KAAK,CAAC,OAAO,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;QAC1C,QAAQ,EAAE,KAAK,CAAC,OAAO,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;QAC5C,SAAS,EAAE,KAAK,CAAC,MAAM,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;QAC5C,YAAY,EAAE,KAAK,CAAC,MAAM,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;QAC/C,QAAQ,EAAE,KAAK,CAAC,MAAM,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;KAC5C,CAAA;IAIM,KAAK,CAAC,GAAG;QACd,MAAM,EAAE,KAAK,EAAE,GAAG,MAAM,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,WAAkB,CAAC,CAAA;QAE3D,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,YAAY,EAAE,CAAA;QAE1C,IAAI,CAAC;YACH,MAAM,MAAM,GAAG,MAAM,QAAQ,CAAC,MAAM,CAAC,SAAS,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,KAAK,CAAC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC,EAAE,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAA;YAEtI,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,MAAM,CAAC,CAAA;QAC/B,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,CAAA;QACzB,CAAC;IACH,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BaseCommand } from '../../base-command.js';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* Lists the payment plans **you** published (the authenticated caller's own plans). This is account management, not a marketplace search — it never returns other users' plans.
|
|
4
4
|
*/
|
|
5
5
|
export default class GetPlans extends BaseCommand {
|
|
6
6
|
static description: string;
|
|
@@ -10,6 +10,7 @@ export default class GetPlans extends BaseCommand {
|
|
|
10
10
|
offset: import("@oclif/core/lib/interfaces/parser.js").OptionFlag<number | undefined, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
|
|
11
11
|
'sort-by': import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
|
|
12
12
|
'sort-order': import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
|
|
13
|
+
'org-id': import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
|
|
13
14
|
profile: import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
|
|
14
15
|
format: import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
|
|
15
16
|
verbose: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-plans.d.ts","sourceRoot":"","sources":["../../../src/commands/plans/get-plans.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AAEnD;;GAEG;AACH,MAAM,CAAC,OAAO,OAAO,QAAS,SAAQ,WAAW;IAC/C,OAAgB,WAAW,
|
|
1
|
+
{"version":3,"file":"get-plans.d.ts","sourceRoot":"","sources":["../../../src/commands/plans/get-plans.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AAEnD;;GAEG;AACH,MAAM,CAAC,OAAO,OAAO,QAAS,SAAQ,WAAW;IAC/C,OAAgB,WAAW,SAAkL;IAE7M,OAAgB,QAAQ,WAEvB;IAED,OAAgB,KAAK;;;;;;;;;MAOpB;IAIY,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC;CAalC"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { Flags } from '@oclif/core';
|
|
2
2
|
import { BaseCommand } from '../../base-command.js';
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* Lists the payment plans **you** published (the authenticated caller's own plans). This is account management, not a marketplace search — it never returns other users' plans.
|
|
5
5
|
*/
|
|
6
6
|
export default class GetPlans extends BaseCommand {
|
|
7
|
-
static description = "
|
|
7
|
+
static description = "Lists the payment plans **you** published (the authenticated caller's own plans). This is account management, not a marketplace search — it never returns other users' plans.";
|
|
8
8
|
static examples = [
|
|
9
|
-
'$ nvm plans get-plans'
|
|
9
|
+
'$ nvm plans get-plans <orgId>'
|
|
10
10
|
];
|
|
11
11
|
static flags = {
|
|
12
12
|
...BaseCommand.baseFlags,
|
|
@@ -14,12 +14,13 @@ export default class GetPlans extends BaseCommand {
|
|
|
14
14
|
'offset': Flags.integer({ required: false }),
|
|
15
15
|
'sort-by': Flags.string({ required: false }),
|
|
16
16
|
'sort-order': Flags.string({ required: false }),
|
|
17
|
+
'org-id': Flags.string({ required: false }),
|
|
17
18
|
};
|
|
18
19
|
async run() {
|
|
19
20
|
const { flags } = await this.parse(this.constructor);
|
|
20
21
|
const payments = await this.initPayments();
|
|
21
22
|
try {
|
|
22
|
-
const result = await payments.plans.getPlans(flags['page'], flags['offset'], flags['sort-by'], flags['sort-order']);
|
|
23
|
+
const result = await payments.plans.getPlans(flags['page'], flags['offset'], flags['sort-by'], flags['sort-order'], flags['org-id']);
|
|
23
24
|
this.formatter.output(result);
|
|
24
25
|
}
|
|
25
26
|
catch (error) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-plans.js","sourceRoot":"","sources":["../../../src/commands/plans/get-plans.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAA;AACnC,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AAEnD;;GAEG;AACH,MAAM,CAAC,OAAO,OAAO,QAAS,SAAQ,WAAW;IAC/C,MAAM,CAAU,WAAW,GAAG,
|
|
1
|
+
{"version":3,"file":"get-plans.js","sourceRoot":"","sources":["../../../src/commands/plans/get-plans.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAA;AACnC,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AAEnD;;GAEG;AACH,MAAM,CAAC,OAAO,OAAO,QAAS,SAAQ,WAAW;IAC/C,MAAM,CAAU,WAAW,GAAG,+KAA+K,CAAA;IAE7M,MAAM,CAAU,QAAQ,GAAG;QACzB,+BAA+B;KAChC,CAAA;IAED,MAAM,CAAU,KAAK,GAAG;QACtB,GAAG,WAAW,CAAC,SAAS;QACxB,MAAM,EAAE,KAAK,CAAC,OAAO,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;QAC1C,QAAQ,EAAE,KAAK,CAAC,OAAO,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;QAC5C,SAAS,EAAE,KAAK,CAAC,MAAM,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;QAC5C,YAAY,EAAE,KAAK,CAAC,MAAM,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;QAC/C,QAAQ,EAAE,KAAK,CAAC,MAAM,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;KAC5C,CAAA;IAIM,KAAK,CAAC,GAAG;QACd,MAAM,EAAE,KAAK,EAAE,GAAG,MAAM,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,WAAkB,CAAC,CAAA;QAE3D,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,YAAY,EAAE,CAAA;QAE1C,IAAI,CAAC;YACH,MAAM,MAAM,GAAG,MAAM,QAAQ,CAAC,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,KAAK,CAAC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC,EAAE,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAA;YAEpI,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,MAAM,CAAC,CAAA;QAC/B,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,CAAA;QACzB,CAAC;IACH,CAAC"}
|
package/oclif.manifest.json
CHANGED
|
@@ -330,6 +330,96 @@
|
|
|
330
330
|
"get-agent.js"
|
|
331
331
|
]
|
|
332
332
|
},
|
|
333
|
+
"agents:get-agents": {
|
|
334
|
+
"aliases": [],
|
|
335
|
+
"args": {},
|
|
336
|
+
"description": "Lists the AI agents **you** published (the authenticated caller's own agents). This is account management, not a marketplace search — it never returns other users' agents.",
|
|
337
|
+
"examples": [
|
|
338
|
+
"$ nvm agents get-agents <orgId>"
|
|
339
|
+
],
|
|
340
|
+
"flags": {
|
|
341
|
+
"profile": {
|
|
342
|
+
"char": "p",
|
|
343
|
+
"description": "Configuration profile to use",
|
|
344
|
+
"name": "profile",
|
|
345
|
+
"required": false,
|
|
346
|
+
"hasDynamicHelp": false,
|
|
347
|
+
"multiple": false,
|
|
348
|
+
"type": "option"
|
|
349
|
+
},
|
|
350
|
+
"format": {
|
|
351
|
+
"char": "f",
|
|
352
|
+
"description": "Output format",
|
|
353
|
+
"name": "format",
|
|
354
|
+
"default": "table",
|
|
355
|
+
"hasDynamicHelp": false,
|
|
356
|
+
"multiple": false,
|
|
357
|
+
"options": [
|
|
358
|
+
"table",
|
|
359
|
+
"json",
|
|
360
|
+
"quiet"
|
|
361
|
+
],
|
|
362
|
+
"type": "option"
|
|
363
|
+
},
|
|
364
|
+
"verbose": {
|
|
365
|
+
"char": "v",
|
|
366
|
+
"description": "Verbose output",
|
|
367
|
+
"name": "verbose",
|
|
368
|
+
"allowNo": false,
|
|
369
|
+
"type": "boolean"
|
|
370
|
+
},
|
|
371
|
+
"page": {
|
|
372
|
+
"name": "page",
|
|
373
|
+
"required": false,
|
|
374
|
+
"hasDynamicHelp": false,
|
|
375
|
+
"multiple": false,
|
|
376
|
+
"type": "option"
|
|
377
|
+
},
|
|
378
|
+
"offset": {
|
|
379
|
+
"name": "offset",
|
|
380
|
+
"required": false,
|
|
381
|
+
"hasDynamicHelp": false,
|
|
382
|
+
"multiple": false,
|
|
383
|
+
"type": "option"
|
|
384
|
+
},
|
|
385
|
+
"sort-by": {
|
|
386
|
+
"name": "sort-by",
|
|
387
|
+
"required": false,
|
|
388
|
+
"hasDynamicHelp": false,
|
|
389
|
+
"multiple": false,
|
|
390
|
+
"type": "option"
|
|
391
|
+
},
|
|
392
|
+
"sort-order": {
|
|
393
|
+
"name": "sort-order",
|
|
394
|
+
"required": false,
|
|
395
|
+
"hasDynamicHelp": false,
|
|
396
|
+
"multiple": false,
|
|
397
|
+
"type": "option"
|
|
398
|
+
},
|
|
399
|
+
"org-id": {
|
|
400
|
+
"name": "org-id",
|
|
401
|
+
"required": false,
|
|
402
|
+
"hasDynamicHelp": false,
|
|
403
|
+
"multiple": false,
|
|
404
|
+
"type": "option"
|
|
405
|
+
}
|
|
406
|
+
},
|
|
407
|
+
"hasDynamicHelp": false,
|
|
408
|
+
"hiddenAliases": [],
|
|
409
|
+
"id": "agents:get-agents",
|
|
410
|
+
"pluginAlias": "@nevermined-io/cli",
|
|
411
|
+
"pluginName": "@nevermined-io/cli",
|
|
412
|
+
"pluginType": "core",
|
|
413
|
+
"strict": true,
|
|
414
|
+
"enableJsonFlag": false,
|
|
415
|
+
"isESM": true,
|
|
416
|
+
"relativePath": [
|
|
417
|
+
"dist",
|
|
418
|
+
"commands",
|
|
419
|
+
"agents",
|
|
420
|
+
"get-agents.js"
|
|
421
|
+
]
|
|
422
|
+
},
|
|
333
423
|
"agents:register-agent-and-plan": {
|
|
334
424
|
"aliases": [],
|
|
335
425
|
"args": {},
|
|
@@ -903,6 +993,62 @@
|
|
|
903
993
|
"setup.js"
|
|
904
994
|
]
|
|
905
995
|
},
|
|
996
|
+
"delegation:list-payment-methods": {
|
|
997
|
+
"aliases": [],
|
|
998
|
+
"args": {},
|
|
999
|
+
"description": "List enrolled credit/debit cards available for card-delegation (fiat) payments.",
|
|
1000
|
+
"examples": [
|
|
1001
|
+
"$ nvm delegation list-payment-methods",
|
|
1002
|
+
"$ nvm delegation list-payment-methods --format json"
|
|
1003
|
+
],
|
|
1004
|
+
"flags": {
|
|
1005
|
+
"profile": {
|
|
1006
|
+
"char": "p",
|
|
1007
|
+
"description": "Configuration profile to use",
|
|
1008
|
+
"name": "profile",
|
|
1009
|
+
"required": false,
|
|
1010
|
+
"hasDynamicHelp": false,
|
|
1011
|
+
"multiple": false,
|
|
1012
|
+
"type": "option"
|
|
1013
|
+
},
|
|
1014
|
+
"format": {
|
|
1015
|
+
"char": "f",
|
|
1016
|
+
"description": "Output format",
|
|
1017
|
+
"name": "format",
|
|
1018
|
+
"default": "table",
|
|
1019
|
+
"hasDynamicHelp": false,
|
|
1020
|
+
"multiple": false,
|
|
1021
|
+
"options": [
|
|
1022
|
+
"table",
|
|
1023
|
+
"json",
|
|
1024
|
+
"quiet"
|
|
1025
|
+
],
|
|
1026
|
+
"type": "option"
|
|
1027
|
+
},
|
|
1028
|
+
"verbose": {
|
|
1029
|
+
"char": "v",
|
|
1030
|
+
"description": "Verbose output",
|
|
1031
|
+
"name": "verbose",
|
|
1032
|
+
"allowNo": false,
|
|
1033
|
+
"type": "boolean"
|
|
1034
|
+
}
|
|
1035
|
+
},
|
|
1036
|
+
"hasDynamicHelp": false,
|
|
1037
|
+
"hiddenAliases": [],
|
|
1038
|
+
"id": "delegation:list-payment-methods",
|
|
1039
|
+
"pluginAlias": "@nevermined-io/cli",
|
|
1040
|
+
"pluginName": "@nevermined-io/cli",
|
|
1041
|
+
"pluginType": "core",
|
|
1042
|
+
"strict": true,
|
|
1043
|
+
"enableJsonFlag": false,
|
|
1044
|
+
"isESM": true,
|
|
1045
|
+
"relativePath": [
|
|
1046
|
+
"dist",
|
|
1047
|
+
"commands",
|
|
1048
|
+
"delegation",
|
|
1049
|
+
"list-payment-methods.js"
|
|
1050
|
+
]
|
|
1051
|
+
},
|
|
906
1052
|
"config:init": {
|
|
907
1053
|
"aliases": [],
|
|
908
1054
|
"args": {},
|
|
@@ -1250,62 +1396,6 @@
|
|
|
1250
1396
|
"verify-permissions.js"
|
|
1251
1397
|
]
|
|
1252
1398
|
},
|
|
1253
|
-
"delegation:list-payment-methods": {
|
|
1254
|
-
"aliases": [],
|
|
1255
|
-
"args": {},
|
|
1256
|
-
"description": "List enrolled credit/debit cards available for card-delegation (fiat) payments.",
|
|
1257
|
-
"examples": [
|
|
1258
|
-
"$ nvm delegation list-payment-methods",
|
|
1259
|
-
"$ nvm delegation list-payment-methods --format json"
|
|
1260
|
-
],
|
|
1261
|
-
"flags": {
|
|
1262
|
-
"profile": {
|
|
1263
|
-
"char": "p",
|
|
1264
|
-
"description": "Configuration profile to use",
|
|
1265
|
-
"name": "profile",
|
|
1266
|
-
"required": false,
|
|
1267
|
-
"hasDynamicHelp": false,
|
|
1268
|
-
"multiple": false,
|
|
1269
|
-
"type": "option"
|
|
1270
|
-
},
|
|
1271
|
-
"format": {
|
|
1272
|
-
"char": "f",
|
|
1273
|
-
"description": "Output format",
|
|
1274
|
-
"name": "format",
|
|
1275
|
-
"default": "table",
|
|
1276
|
-
"hasDynamicHelp": false,
|
|
1277
|
-
"multiple": false,
|
|
1278
|
-
"options": [
|
|
1279
|
-
"table",
|
|
1280
|
-
"json",
|
|
1281
|
-
"quiet"
|
|
1282
|
-
],
|
|
1283
|
-
"type": "option"
|
|
1284
|
-
},
|
|
1285
|
-
"verbose": {
|
|
1286
|
-
"char": "v",
|
|
1287
|
-
"description": "Verbose output",
|
|
1288
|
-
"name": "verbose",
|
|
1289
|
-
"allowNo": false,
|
|
1290
|
-
"type": "boolean"
|
|
1291
|
-
}
|
|
1292
|
-
},
|
|
1293
|
-
"hasDynamicHelp": false,
|
|
1294
|
-
"hiddenAliases": [],
|
|
1295
|
-
"id": "delegation:list-payment-methods",
|
|
1296
|
-
"pluginAlias": "@nevermined-io/cli",
|
|
1297
|
-
"pluginName": "@nevermined-io/cli",
|
|
1298
|
-
"pluginType": "core",
|
|
1299
|
-
"strict": true,
|
|
1300
|
-
"enableJsonFlag": false,
|
|
1301
|
-
"isESM": true,
|
|
1302
|
-
"relativePath": [
|
|
1303
|
-
"dist",
|
|
1304
|
-
"commands",
|
|
1305
|
-
"delegation",
|
|
1306
|
-
"list-payment-methods.js"
|
|
1307
|
-
]
|
|
1308
|
-
},
|
|
1309
1399
|
"organizations:connect-stripe-account": {
|
|
1310
1400
|
"aliases": [],
|
|
1311
1401
|
"args": {},
|
|
@@ -2788,9 +2878,9 @@
|
|
|
2788
2878
|
"plans:get-plans": {
|
|
2789
2879
|
"aliases": [],
|
|
2790
2880
|
"args": {},
|
|
2791
|
-
"description": "
|
|
2881
|
+
"description": "Lists the payment plans **you** published (the authenticated caller's own plans). This is account management, not a marketplace search — it never returns other users' plans.",
|
|
2792
2882
|
"examples": [
|
|
2793
|
-
"$ nvm plans get-plans"
|
|
2883
|
+
"$ nvm plans get-plans <orgId>"
|
|
2794
2884
|
],
|
|
2795
2885
|
"flags": {
|
|
2796
2886
|
"profile": {
|
|
@@ -2850,6 +2940,13 @@
|
|
|
2850
2940
|
"hasDynamicHelp": false,
|
|
2851
2941
|
"multiple": false,
|
|
2852
2942
|
"type": "option"
|
|
2943
|
+
},
|
|
2944
|
+
"org-id": {
|
|
2945
|
+
"name": "org-id",
|
|
2946
|
+
"required": false,
|
|
2947
|
+
"hasDynamicHelp": false,
|
|
2948
|
+
"multiple": false,
|
|
2949
|
+
"type": "option"
|
|
2853
2950
|
}
|
|
2854
2951
|
},
|
|
2855
2952
|
"hasDynamicHelp": false,
|
|
@@ -3696,5 +3793,5 @@
|
|
|
3696
3793
|
]
|
|
3697
3794
|
}
|
|
3698
3795
|
},
|
|
3699
|
-
"version": "1.
|
|
3796
|
+
"version": "1.9.0"
|
|
3700
3797
|
}
|