@quantum-hub/qhubctl 1.1.0 → 1.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.
Files changed (2) hide show
  1. package/oclif.manifest.json +96 -96
  2. package/package.json +1 -1
@@ -23,38 +23,33 @@
23
23
  "index.js"
24
24
  ]
25
25
  },
26
- "datapool:upload": {
26
+ "init": {
27
27
  "aliases": [],
28
28
  "args": {},
29
- "description": "Upload files to a data pool",
29
+ "description": "Bootstrap project to create a service.",
30
30
  "examples": [
31
- "$ qhubctl datapool upload --file ./data/dataset.csv",
32
- "$ qhubctl datapool upload --file ./data/dataset.csv --file ./data/metadata.json",
33
- "$ qhubctl datapool upload -f ./data/dataset.csv -f ./data/metadata.json --datapool-id 550e8400-e29b-41d4-a716-446655440000"
31
+ "$ qhubctl init"
34
32
  ],
35
33
  "flags": {
36
- "file": {
37
- "char": "f",
38
- "description": "Path to a file to upload (can be specified multiple times)",
39
- "name": "file",
40
- "required": true,
41
- "hasDynamicHelp": false,
42
- "multiple": true,
43
- "type": "option"
44
- },
45
- "datapool-id": {
46
- "char": "d",
47
- "description": "ID of the data pool to upload the files to (optional - will prompt to create a new one if not provided)",
48
- "name": "datapool-id",
34
+ "name": {
35
+ "description": "The name of the service",
36
+ "name": "name",
49
37
  "required": false,
50
38
  "hasDynamicHelp": false,
51
39
  "multiple": false,
52
40
  "type": "option"
41
+ },
42
+ "non-interactive": {
43
+ "description": "Run it in non-interactive mode",
44
+ "name": "non-interactive",
45
+ "required": false,
46
+ "allowNo": false,
47
+ "type": "boolean"
53
48
  }
54
49
  },
55
50
  "hasDynamicHelp": false,
56
51
  "hiddenAliases": [],
57
- "id": "datapool:upload",
52
+ "id": "init",
58
53
  "pluginAlias": "@quantum-hub/qhubctl",
59
54
  "pluginName": "@quantum-hub/qhubctl",
60
55
  "pluginType": "core",
@@ -63,8 +58,8 @@
63
58
  "relativePath": [
64
59
  "dist",
65
60
  "commands",
66
- "datapool",
67
- "upload.js"
61
+ "init",
62
+ "index.js"
68
63
  ]
69
64
  },
70
65
  "get-context": {
@@ -90,33 +85,17 @@
90
85
  "index.js"
91
86
  ]
92
87
  },
93
- "init": {
88
+ "list-contexts": {
94
89
  "aliases": [],
95
90
  "args": {},
96
- "description": "Bootstrap project to create a service.",
91
+ "description": "Retrieves the available contexts, i.e., the personal or organizational accounts available to you to work with.",
97
92
  "examples": [
98
- "$ qhubctl init"
93
+ "$ qhubctl list-contexts"
99
94
  ],
100
- "flags": {
101
- "name": {
102
- "description": "The name of the service",
103
- "name": "name",
104
- "required": false,
105
- "hasDynamicHelp": false,
106
- "multiple": false,
107
- "type": "option"
108
- },
109
- "non-interactive": {
110
- "description": "Run it in non-interactive mode",
111
- "name": "non-interactive",
112
- "required": false,
113
- "allowNo": false,
114
- "type": "boolean"
115
- }
116
- },
95
+ "flags": {},
117
96
  "hasDynamicHelp": false,
118
97
  "hiddenAliases": [],
119
- "id": "init",
98
+ "id": "list-contexts",
120
99
  "pluginAlias": "@quantum-hub/qhubctl",
121
100
  "pluginName": "@quantum-hub/qhubctl",
122
101
  "pluginType": "core",
@@ -125,21 +104,42 @@
125
104
  "relativePath": [
126
105
  "dist",
127
106
  "commands",
128
- "init",
107
+ "list-contexts",
129
108
  "index.js"
130
109
  ]
131
110
  },
132
- "list-contexts": {
111
+ "datapool:upload": {
133
112
  "aliases": [],
134
113
  "args": {},
135
- "description": "Retrieves the available contexts, i.e., the personal or organizational accounts available to you to work with.",
114
+ "description": "Upload files to a data pool",
136
115
  "examples": [
137
- "$ qhubctl list-contexts"
116
+ "$ qhubctl datapool upload --file ./data/dataset.csv",
117
+ "$ qhubctl datapool upload --file ./data/dataset.csv --file ./data/metadata.json",
118
+ "$ qhubctl datapool upload -f ./data/dataset.csv -f ./data/metadata.json --datapool-id 550e8400-e29b-41d4-a716-446655440000"
138
119
  ],
139
- "flags": {},
120
+ "flags": {
121
+ "file": {
122
+ "char": "f",
123
+ "description": "Path to a file to upload (can be specified multiple times)",
124
+ "name": "file",
125
+ "required": true,
126
+ "hasDynamicHelp": false,
127
+ "multiple": true,
128
+ "type": "option"
129
+ },
130
+ "datapool-id": {
131
+ "char": "d",
132
+ "description": "ID of the data pool to upload the files to (optional - will prompt to create a new one if not provided)",
133
+ "name": "datapool-id",
134
+ "required": false,
135
+ "hasDynamicHelp": false,
136
+ "multiple": false,
137
+ "type": "option"
138
+ }
139
+ },
140
140
  "hasDynamicHelp": false,
141
141
  "hiddenAliases": [],
142
- "id": "list-contexts",
142
+ "id": "datapool:upload",
143
143
  "pluginAlias": "@quantum-hub/qhubctl",
144
144
  "pluginName": "@quantum-hub/qhubctl",
145
145
  "pluginType": "core",
@@ -148,8 +148,8 @@
148
148
  "relativePath": [
149
149
  "dist",
150
150
  "commands",
151
- "list-contexts",
152
- "index.js"
151
+ "datapool",
152
+ "upload.js"
153
153
  ]
154
154
  },
155
155
  "login": {
@@ -296,6 +296,51 @@
296
296
  "index.js"
297
297
  ]
298
298
  },
299
+ "serve": {
300
+ "aliases": [],
301
+ "args": {},
302
+ "description": "Runs your project in a containerized environment and expose it through a local web server, similarly to how Kipu Quantum Hub would run your code. The local web server exposes the same HTTP endpoints to start a service execution, to check the status of running executions, to cancel executions, and to retrieve execution results.",
303
+ "examples": [
304
+ "$ qhubctl serve",
305
+ "$ qhubctl serve -p <port> --log_level <log_level>"
306
+ ],
307
+ "flags": {
308
+ "port": {
309
+ "char": "p",
310
+ "description": "The port on which the local web server accepts requests",
311
+ "name": "port",
312
+ "required": false,
313
+ "hasDynamicHelp": false,
314
+ "multiple": false,
315
+ "type": "option"
316
+ },
317
+ "log_level": {
318
+ "description": "The log level for the service, possible values: DEBUG, INFO, WARNING, ERROR, CRITICAL",
319
+ "name": "log_level",
320
+ "required": false,
321
+ "default": "INFO",
322
+ "hasDynamicHelp": false,
323
+ "multiple": false,
324
+ "type": "option"
325
+ }
326
+ },
327
+ "hasDynamicHelp": false,
328
+ "hiddenAliases": [],
329
+ "id": "serve",
330
+ "pluginAlias": "@quantum-hub/qhubctl",
331
+ "pluginName": "@quantum-hub/qhubctl",
332
+ "pluginType": "core",
333
+ "strict": true,
334
+ "CONTAINER_NAME": "planqk-cli-serve",
335
+ "IMAGE": "registry.gitlab.com/planqk-foss/planqk-cli-serve:latest",
336
+ "isESM": false,
337
+ "relativePath": [
338
+ "dist",
339
+ "commands",
340
+ "serve",
341
+ "index.js"
342
+ ]
343
+ },
299
344
  "run": {
300
345
  "aliases": [],
301
346
  "args": {
@@ -355,51 +400,6 @@
355
400
  "index.js"
356
401
  ]
357
402
  },
358
- "serve": {
359
- "aliases": [],
360
- "args": {},
361
- "description": "Runs your project in a containerized environment and expose it through a local web server, similarly to how Kipu Quantum Hub would run your code. The local web server exposes the same HTTP endpoints to start a service execution, to check the status of running executions, to cancel executions, and to retrieve execution results.",
362
- "examples": [
363
- "$ qhubctl serve",
364
- "$ qhubctl serve -p <port> --log_level <log_level>"
365
- ],
366
- "flags": {
367
- "port": {
368
- "char": "p",
369
- "description": "The port on which the local web server accepts requests",
370
- "name": "port",
371
- "required": false,
372
- "hasDynamicHelp": false,
373
- "multiple": false,
374
- "type": "option"
375
- },
376
- "log_level": {
377
- "description": "The log level for the service, possible values: DEBUG, INFO, WARNING, ERROR, CRITICAL",
378
- "name": "log_level",
379
- "required": false,
380
- "default": "INFO",
381
- "hasDynamicHelp": false,
382
- "multiple": false,
383
- "type": "option"
384
- }
385
- },
386
- "hasDynamicHelp": false,
387
- "hiddenAliases": [],
388
- "id": "serve",
389
- "pluginAlias": "@quantum-hub/qhubctl",
390
- "pluginName": "@quantum-hub/qhubctl",
391
- "pluginType": "core",
392
- "strict": true,
393
- "CONTAINER_NAME": "planqk-cli-serve",
394
- "IMAGE": "registry.gitlab.com/planqk-foss/planqk-cli-serve:latest",
395
- "isESM": false,
396
- "relativePath": [
397
- "dist",
398
- "commands",
399
- "serve",
400
- "index.js"
401
- ]
402
- },
403
403
  "services": {
404
404
  "aliases": [],
405
405
  "args": {},
@@ -526,5 +526,5 @@
526
526
  ]
527
527
  }
528
528
  },
529
- "version": "1.1.0"
529
+ "version": "1.1.1"
530
530
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quantum-hub/qhubctl",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "Quantum Hub CLI",
5
5
  "author": "Kipu Quantum GmbH",
6
6
  "contributors": [