@quantum-hub/qhubctl 1.0.0 → 1.1.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.
@@ -55,7 +55,7 @@ class Run extends command_1.AuthenticatedCommand {
55
55
  Object.assign(mergedInput, content);
56
56
  hasValidFile = true;
57
57
  }
58
- catch (error) {
58
+ catch {
59
59
  core_1.ux.warn(`Failed to parse JSON from ${filePath}. Skipping this file.`);
60
60
  }
61
61
  }
@@ -90,6 +90,45 @@
90
90
  "index.js"
91
91
  ]
92
92
  },
93
+ "init": {
94
+ "aliases": [],
95
+ "args": {},
96
+ "description": "Bootstrap project to create a service.",
97
+ "examples": [
98
+ "$ qhubctl init"
99
+ ],
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
+ },
117
+ "hasDynamicHelp": false,
118
+ "hiddenAliases": [],
119
+ "id": "init",
120
+ "pluginAlias": "@quantum-hub/qhubctl",
121
+ "pluginName": "@quantum-hub/qhubctl",
122
+ "pluginType": "core",
123
+ "strict": true,
124
+ "isESM": false,
125
+ "relativePath": [
126
+ "dist",
127
+ "commands",
128
+ "init",
129
+ "index.js"
130
+ ]
131
+ },
93
132
  "list-contexts": {
94
133
  "aliases": [],
95
134
  "args": {},
@@ -113,33 +152,36 @@
113
152
  "index.js"
114
153
  ]
115
154
  },
116
- "init": {
155
+ "login": {
117
156
  "aliases": [],
118
157
  "args": {},
119
- "description": "Bootstrap project to create a service.",
158
+ "description": "Login with your credentials",
120
159
  "examples": [
121
- "$ qhubctl init"
160
+ "$ qhubctl login -t <personal access token>",
161
+ "$ qhubctl login -t <personal access token> --base-path https://api.hub.kipu-quantum.com"
122
162
  ],
123
163
  "flags": {
124
- "name": {
125
- "description": "The name of the service",
126
- "name": "name",
164
+ "token": {
165
+ "char": "t",
166
+ "description": "Your personal access token",
167
+ "name": "token",
127
168
  "required": false,
128
169
  "hasDynamicHelp": false,
129
170
  "multiple": false,
130
171
  "type": "option"
131
172
  },
132
- "non-interactive": {
133
- "description": "Run it in non-interactive mode",
134
- "name": "non-interactive",
173
+ "base-path": {
174
+ "description": "Custom base path for authentication (development)",
175
+ "name": "base-path",
135
176
  "required": false,
136
- "allowNo": false,
137
- "type": "boolean"
177
+ "hasDynamicHelp": false,
178
+ "multiple": false,
179
+ "type": "option"
138
180
  }
139
181
  },
140
182
  "hasDynamicHelp": false,
141
183
  "hiddenAliases": [],
142
- "id": "init",
184
+ "id": "login",
143
185
  "pluginAlias": "@quantum-hub/qhubctl",
144
186
  "pluginName": "@quantum-hub/qhubctl",
145
187
  "pluginType": "core",
@@ -148,7 +190,30 @@
148
190
  "relativePath": [
149
191
  "dist",
150
192
  "commands",
151
- "init",
193
+ "login",
194
+ "index.js"
195
+ ]
196
+ },
197
+ "logout": {
198
+ "aliases": [],
199
+ "args": {},
200
+ "description": "Logout",
201
+ "examples": [
202
+ "$ qhubctl logout"
203
+ ],
204
+ "flags": {},
205
+ "hasDynamicHelp": false,
206
+ "hiddenAliases": [],
207
+ "id": "logout",
208
+ "pluginAlias": "@quantum-hub/qhubctl",
209
+ "pluginName": "@quantum-hub/qhubctl",
210
+ "pluginType": "core",
211
+ "strict": true,
212
+ "isESM": false,
213
+ "relativePath": [
214
+ "dist",
215
+ "commands",
216
+ "logout",
152
217
  "index.js"
153
218
  ]
154
219
  },
@@ -290,71 +355,6 @@
290
355
  "index.js"
291
356
  ]
292
357
  },
293
- "login": {
294
- "aliases": [],
295
- "args": {},
296
- "description": "Login with your credentials",
297
- "examples": [
298
- "$ qhubctl login -t <personal access token>",
299
- "$ qhubctl login -t <personal access token> --base-path https://api.hub.kipu-quantum.com"
300
- ],
301
- "flags": {
302
- "token": {
303
- "char": "t",
304
- "description": "Your personal access token",
305
- "name": "token",
306
- "required": false,
307
- "hasDynamicHelp": false,
308
- "multiple": false,
309
- "type": "option"
310
- },
311
- "base-path": {
312
- "description": "Custom base path for authentication (development)",
313
- "name": "base-path",
314
- "required": false,
315
- "hasDynamicHelp": false,
316
- "multiple": false,
317
- "type": "option"
318
- }
319
- },
320
- "hasDynamicHelp": false,
321
- "hiddenAliases": [],
322
- "id": "login",
323
- "pluginAlias": "@quantum-hub/qhubctl",
324
- "pluginName": "@quantum-hub/qhubctl",
325
- "pluginType": "core",
326
- "strict": true,
327
- "isESM": false,
328
- "relativePath": [
329
- "dist",
330
- "commands",
331
- "login",
332
- "index.js"
333
- ]
334
- },
335
- "logout": {
336
- "aliases": [],
337
- "args": {},
338
- "description": "Logout",
339
- "examples": [
340
- "$ qhubctl logout"
341
- ],
342
- "flags": {},
343
- "hasDynamicHelp": false,
344
- "hiddenAliases": [],
345
- "id": "logout",
346
- "pluginAlias": "@quantum-hub/qhubctl",
347
- "pluginName": "@quantum-hub/qhubctl",
348
- "pluginType": "core",
349
- "strict": true,
350
- "isESM": false,
351
- "relativePath": [
352
- "dist",
353
- "commands",
354
- "logout",
355
- "index.js"
356
- ]
357
- },
358
358
  "serve": {
359
359
  "aliases": [],
360
360
  "args": {},
@@ -448,6 +448,34 @@
448
448
  "index.js"
449
449
  ]
450
450
  },
451
+ "set-context": {
452
+ "aliases": [],
453
+ "args": {
454
+ "contextId": {
455
+ "name": "contextId"
456
+ }
457
+ },
458
+ "description": "Set the current context, i.e., the personal or organization account you are currently working with.",
459
+ "examples": [
460
+ "$ qhubctl set-context",
461
+ "$ qhubctl set-context <context-id>"
462
+ ],
463
+ "flags": {},
464
+ "hasDynamicHelp": false,
465
+ "hiddenAliases": [],
466
+ "id": "set-context",
467
+ "pluginAlias": "@quantum-hub/qhubctl",
468
+ "pluginName": "@quantum-hub/qhubctl",
469
+ "pluginType": "core",
470
+ "strict": true,
471
+ "isESM": false,
472
+ "relativePath": [
473
+ "dist",
474
+ "commands",
475
+ "set-context",
476
+ "index.js"
477
+ ]
478
+ },
451
479
  "up": {
452
480
  "aliases": [],
453
481
  "args": {},
@@ -496,35 +524,7 @@
496
524
  "up",
497
525
  "index.js"
498
526
  ]
499
- },
500
- "set-context": {
501
- "aliases": [],
502
- "args": {
503
- "contextId": {
504
- "name": "contextId"
505
- }
506
- },
507
- "description": "Set the current context, i.e., the personal or organization account you are currently working with.",
508
- "examples": [
509
- "$ qhubctl set-context",
510
- "$ qhubctl set-context <context-id>"
511
- ],
512
- "flags": {},
513
- "hasDynamicHelp": false,
514
- "hiddenAliases": [],
515
- "id": "set-context",
516
- "pluginAlias": "@quantum-hub/qhubctl",
517
- "pluginName": "@quantum-hub/qhubctl",
518
- "pluginType": "core",
519
- "strict": true,
520
- "isESM": false,
521
- "relativePath": [
522
- "dist",
523
- "commands",
524
- "set-context",
525
- "index.js"
526
- ]
527
527
  }
528
528
  },
529
- "version": "1.0.0"
529
+ "version": "1.1.0"
530
530
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quantum-hub/qhubctl",
3
- "version": "1.0.0",
3
+ "version": "1.1.0",
4
4
  "description": "Quantum Hub CLI",
5
5
  "author": "Kipu Quantum GmbH",
6
6
  "contributors": [
@@ -26,27 +26,27 @@
26
26
  "/oclif.manifest.json"
27
27
  ],
28
28
  "dependencies": {
29
- "@oclif/core": "^4.5.2",
30
- "@oclif/plugin-autocomplete": "^3.2.34",
31
- "@oclif/plugin-help": "^6.2.32",
32
- "@oclif/plugin-not-found": "^3.2.62",
33
- "@oclif/plugin-version": "^2.2.32",
34
- "@oclif/plugin-warn-if-update-available": "^3.1.46",
29
+ "@oclif/core": "^4.8.1",
30
+ "@oclif/plugin-autocomplete": "^3.2.40",
31
+ "@oclif/plugin-help": "^6.2.37",
32
+ "@oclif/plugin-not-found": "^3.2.74",
33
+ "@oclif/plugin-version": "^2.2.36",
34
+ "@oclif/plugin-warn-if-update-available": "^3.1.55",
35
35
  "@quantum-hub/qhub-api": "^1",
36
36
  "adm-zip": "^0.5.16",
37
- "async-wait-until": "^2.0.27",
38
- "fs-extra": "^11.3.0",
37
+ "async-wait-until": "^2.0.31",
38
+ "fs-extra": "^11.3.3",
39
39
  "ignore": "^7.0.5",
40
- "inquirer": "^12.9.0",
40
+ "inquirer": "^13.3.0",
41
41
  "listr": "^0.14.3",
42
- "terminal-link": "^4.0.0",
43
- "tty-table": "^4.2.3",
44
- "yaml": "^2.8.0"
42
+ "terminal-link": "^5.0.0",
43
+ "tty-table": "^5.0.0",
44
+ "yaml": "^2.8.2"
45
45
  },
46
46
  "devDependencies": {
47
47
  "@eslint/js": "^9",
48
48
  "@oclif/prettier-config": "^0.2.1",
49
- "@oclif/test": "^4.1.13",
49
+ "@oclif/test": "^4.1.16",
50
50
  "@types/adm-zip": "^0.5.7",
51
51
  "@types/chai": "^5.2.2",
52
52
  "@types/fs-extra": "^11.0.4",
@@ -58,11 +58,11 @@
58
58
  "eslint": "^9.32.0",
59
59
  "mocha": "^11.7.1",
60
60
  "nyc": "^17.1.0",
61
- "oclif": "^4.22.5",
61
+ "oclif": "^4.22.81",
62
62
  "shx": "^0.4.0",
63
63
  "ts-node": "^10.9.2",
64
- "typescript": "^5.8.3",
65
- "typescript-eslint": "^8.38.0"
64
+ "typescript": "^5.9.3",
65
+ "typescript-eslint": "^8.56.1"
66
66
  },
67
67
  "oclif": {
68
68
  "bin": "qhubctl",