@quantum-hub/qhubctl 1.2.0 → 1.3.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 +136 -20
- package/dist/client/kqh/models/UpdateWorkflowServiceRequest.js +0 -11
- package/dist/commands/compress.d.ts +2 -0
- package/dist/commands/compress.js +23 -0
- package/dist/commands/datapool-upload.d.ts +2 -0
- package/dist/commands/datapool-upload.js +184 -0
- package/dist/commands/get-context.d.ts +2 -0
- package/dist/commands/get-context.js +12 -0
- package/dist/commands/init.d.ts +2 -0
- package/dist/commands/init.js +66 -0
- package/dist/commands/list-contexts.d.ts +2 -0
- package/dist/commands/list-contexts.js +28 -0
- package/dist/commands/login.d.ts +2 -0
- package/dist/commands/login.js +59 -0
- package/dist/commands/logout.d.ts +2 -0
- package/dist/commands/logout.js +20 -0
- package/dist/commands/openapi.d.ts +2 -0
- package/dist/commands/openapi.js +244 -0
- package/dist/commands/run.d.ts +2 -0
- package/dist/commands/run.js +126 -0
- package/dist/commands/serve.d.ts +2 -0
- package/dist/commands/serve.js +35 -0
- package/dist/commands/services.d.ts +2 -0
- package/dist/commands/services.js +48 -0
- package/dist/commands/set-context.d.ts +2 -0
- package/dist/commands/set-context.js +52 -0
- package/dist/commands/up.d.ts +2 -0
- package/dist/commands/up.js +161 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/lib/config-dir.d.ts +6 -0
- package/dist/lib/config-dir.js +8 -0
- package/dist/lib/entrypoint-resolver.js +2 -2
- package/dist/lib/output.d.ts +14 -0
- package/dist/lib/output.js +22 -0
- package/dist/main.d.ts +2 -0
- package/dist/main.js +8 -0
- package/dist/model/command.d.ts +14 -11
- package/dist/model/command.js +44 -40
- package/dist/program.d.ts +2 -0
- package/dist/program.js +47 -0
- package/dist/service/command-service.d.ts +1 -5
- package/dist/service/command-service.js +1 -5
- package/dist/service/quantum-hub-service.d.ts +1 -3
- package/dist/service/quantum-hub-service.js +2 -2
- package/package.json +31 -62
- package/bin/dev.cmd +0 -3
- package/bin/dev.js +0 -17
- package/bin/run.cmd +0 -3
- package/bin/run.js +0 -12
- package/dist/commands/compress/index.d.ts +0 -6
- package/dist/commands/compress/index.js +0 -25
- package/dist/commands/datapool/upload.d.ts +0 -23
- package/dist/commands/datapool/upload.js +0 -260
- package/dist/commands/get-context/index.d.ts +0 -6
- package/dist/commands/get-context/index.js +0 -10
- package/dist/commands/init/index.d.ts +0 -10
- package/dist/commands/init/index.js +0 -75
- package/dist/commands/list-contexts/index.d.ts +0 -9
- package/dist/commands/list-contexts/index.js +0 -30
- package/dist/commands/login/index.d.ts +0 -10
- package/dist/commands/login/index.js +0 -62
- package/dist/commands/logout/index.d.ts +0 -6
- package/dist/commands/logout/index.js +0 -18
- package/dist/commands/openapi/index.d.ts +0 -26
- package/dist/commands/openapi/index.js +0 -307
- package/dist/commands/run/index.d.ts +0 -18
- package/dist/commands/run/index.js +0 -150
- package/dist/commands/serve/index.d.ts +0 -11
- package/dist/commands/serve/index.js +0 -51
- package/dist/commands/services/index.d.ts +0 -14
- package/dist/commands/services/index.js +0 -65
- package/dist/commands/set-context/index.d.ts +0 -17
- package/dist/commands/set-context/index.js +0 -59
- package/dist/commands/up/index.d.ts +0 -19
- package/dist/commands/up/index.js +0 -190
- package/oclif.manifest.json +0 -548
package/oclif.manifest.json
DELETED
|
@@ -1,548 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"commands": {
|
|
3
|
-
"compress": {
|
|
4
|
-
"aliases": [],
|
|
5
|
-
"args": {},
|
|
6
|
-
"description": "Compresses the current project and creates a ZIP file. Use the '.dockerignore' file to exclude files and directories from the ZIP file.",
|
|
7
|
-
"examples": [
|
|
8
|
-
"$ qhubctl compress"
|
|
9
|
-
],
|
|
10
|
-
"flags": {},
|
|
11
|
-
"hasDynamicHelp": false,
|
|
12
|
-
"hiddenAliases": [],
|
|
13
|
-
"id": "compress",
|
|
14
|
-
"pluginAlias": "@quantum-hub/qhubctl",
|
|
15
|
-
"pluginName": "@quantum-hub/qhubctl",
|
|
16
|
-
"pluginType": "core",
|
|
17
|
-
"strict": true,
|
|
18
|
-
"isESM": true,
|
|
19
|
-
"relativePath": [
|
|
20
|
-
"dist",
|
|
21
|
-
"commands",
|
|
22
|
-
"compress",
|
|
23
|
-
"index.js"
|
|
24
|
-
]
|
|
25
|
-
},
|
|
26
|
-
"datapool:upload": {
|
|
27
|
-
"aliases": [],
|
|
28
|
-
"args": {},
|
|
29
|
-
"description": "Upload files to a data pool",
|
|
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"
|
|
34
|
-
],
|
|
35
|
-
"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",
|
|
49
|
-
"required": false,
|
|
50
|
-
"hasDynamicHelp": false,
|
|
51
|
-
"multiple": false,
|
|
52
|
-
"type": "option"
|
|
53
|
-
}
|
|
54
|
-
},
|
|
55
|
-
"hasDynamicHelp": false,
|
|
56
|
-
"hiddenAliases": [],
|
|
57
|
-
"id": "datapool:upload",
|
|
58
|
-
"pluginAlias": "@quantum-hub/qhubctl",
|
|
59
|
-
"pluginName": "@quantum-hub/qhubctl",
|
|
60
|
-
"pluginType": "core",
|
|
61
|
-
"strict": true,
|
|
62
|
-
"isESM": true,
|
|
63
|
-
"relativePath": [
|
|
64
|
-
"dist",
|
|
65
|
-
"commands",
|
|
66
|
-
"datapool",
|
|
67
|
-
"upload.js"
|
|
68
|
-
]
|
|
69
|
-
},
|
|
70
|
-
"get-context": {
|
|
71
|
-
"aliases": [],
|
|
72
|
-
"args": {},
|
|
73
|
-
"description": "Get the current context, i.e., the personal or organization account you are currently working with.",
|
|
74
|
-
"examples": [
|
|
75
|
-
"$ qhubctl get-context"
|
|
76
|
-
],
|
|
77
|
-
"flags": {},
|
|
78
|
-
"hasDynamicHelp": false,
|
|
79
|
-
"hiddenAliases": [],
|
|
80
|
-
"id": "get-context",
|
|
81
|
-
"pluginAlias": "@quantum-hub/qhubctl",
|
|
82
|
-
"pluginName": "@quantum-hub/qhubctl",
|
|
83
|
-
"pluginType": "core",
|
|
84
|
-
"strict": true,
|
|
85
|
-
"isESM": true,
|
|
86
|
-
"relativePath": [
|
|
87
|
-
"dist",
|
|
88
|
-
"commands",
|
|
89
|
-
"get-context",
|
|
90
|
-
"index.js"
|
|
91
|
-
]
|
|
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": true,
|
|
125
|
-
"relativePath": [
|
|
126
|
-
"dist",
|
|
127
|
-
"commands",
|
|
128
|
-
"init",
|
|
129
|
-
"index.js"
|
|
130
|
-
]
|
|
131
|
-
},
|
|
132
|
-
"list-contexts": {
|
|
133
|
-
"aliases": [],
|
|
134
|
-
"args": {},
|
|
135
|
-
"description": "Retrieves the available contexts, i.e., the personal or organizational accounts available to you to work with.",
|
|
136
|
-
"examples": [
|
|
137
|
-
"$ qhubctl list-contexts"
|
|
138
|
-
],
|
|
139
|
-
"flags": {},
|
|
140
|
-
"hasDynamicHelp": false,
|
|
141
|
-
"hiddenAliases": [],
|
|
142
|
-
"id": "list-contexts",
|
|
143
|
-
"pluginAlias": "@quantum-hub/qhubctl",
|
|
144
|
-
"pluginName": "@quantum-hub/qhubctl",
|
|
145
|
-
"pluginType": "core",
|
|
146
|
-
"strict": true,
|
|
147
|
-
"isESM": true,
|
|
148
|
-
"relativePath": [
|
|
149
|
-
"dist",
|
|
150
|
-
"commands",
|
|
151
|
-
"list-contexts",
|
|
152
|
-
"index.js"
|
|
153
|
-
]
|
|
154
|
-
},
|
|
155
|
-
"login": {
|
|
156
|
-
"aliases": [],
|
|
157
|
-
"args": {},
|
|
158
|
-
"description": "Login with your credentials",
|
|
159
|
-
"examples": [
|
|
160
|
-
"$ qhubctl login -t <personal access token>",
|
|
161
|
-
"$ qhubctl login -t <personal access token> --base-path https://api.hub.kipu-quantum.com"
|
|
162
|
-
],
|
|
163
|
-
"flags": {
|
|
164
|
-
"token": {
|
|
165
|
-
"char": "t",
|
|
166
|
-
"description": "Your personal access token",
|
|
167
|
-
"name": "token",
|
|
168
|
-
"required": false,
|
|
169
|
-
"hasDynamicHelp": false,
|
|
170
|
-
"multiple": false,
|
|
171
|
-
"type": "option"
|
|
172
|
-
},
|
|
173
|
-
"base-path": {
|
|
174
|
-
"description": "Custom base path for authentication (development)",
|
|
175
|
-
"name": "base-path",
|
|
176
|
-
"required": false,
|
|
177
|
-
"hasDynamicHelp": false,
|
|
178
|
-
"multiple": false,
|
|
179
|
-
"type": "option"
|
|
180
|
-
}
|
|
181
|
-
},
|
|
182
|
-
"hasDynamicHelp": false,
|
|
183
|
-
"hiddenAliases": [],
|
|
184
|
-
"id": "login",
|
|
185
|
-
"pluginAlias": "@quantum-hub/qhubctl",
|
|
186
|
-
"pluginName": "@quantum-hub/qhubctl",
|
|
187
|
-
"pluginType": "core",
|
|
188
|
-
"strict": true,
|
|
189
|
-
"isESM": true,
|
|
190
|
-
"relativePath": [
|
|
191
|
-
"dist",
|
|
192
|
-
"commands",
|
|
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": true,
|
|
213
|
-
"relativePath": [
|
|
214
|
-
"dist",
|
|
215
|
-
"commands",
|
|
216
|
-
"logout",
|
|
217
|
-
"index.js"
|
|
218
|
-
]
|
|
219
|
-
},
|
|
220
|
-
"run": {
|
|
221
|
-
"aliases": [],
|
|
222
|
-
"args": {
|
|
223
|
-
"serviceId": {
|
|
224
|
-
"name": "serviceId"
|
|
225
|
-
}
|
|
226
|
-
},
|
|
227
|
-
"description": "Creates a job execution",
|
|
228
|
-
"examples": [
|
|
229
|
-
"$ qhubctl run",
|
|
230
|
-
"$ qhubctl run --detached",
|
|
231
|
-
"$ qhubctl run -i '{\"values\": [10,12], \"round_up\": true}'",
|
|
232
|
-
"$ qhubctl run --input-files=./input/data.json,./input/params.json",
|
|
233
|
-
"$ qhubctl run --input-files=./config.json,./overrides.json"
|
|
234
|
-
],
|
|
235
|
-
"flags": {
|
|
236
|
-
"input": {
|
|
237
|
-
"char": "i",
|
|
238
|
-
"description": "Input as JSON string.",
|
|
239
|
-
"name": "input",
|
|
240
|
-
"required": false,
|
|
241
|
-
"hasDynamicHelp": false,
|
|
242
|
-
"multiple": false,
|
|
243
|
-
"type": "option"
|
|
244
|
-
},
|
|
245
|
-
"input-files": {
|
|
246
|
-
"aliases": [
|
|
247
|
-
"input-files"
|
|
248
|
-
],
|
|
249
|
-
"description": "Comma-separated paths to files containing input to be merged (default: ./input/data.json,./input/params.json).",
|
|
250
|
-
"name": "input-files",
|
|
251
|
-
"required": false,
|
|
252
|
-
"hasDynamicHelp": false,
|
|
253
|
-
"multiple": false,
|
|
254
|
-
"type": "option"
|
|
255
|
-
},
|
|
256
|
-
"detached": {
|
|
257
|
-
"description": "Executes the job in detached mode, i.e., without waiting for it to finish.",
|
|
258
|
-
"name": "detached",
|
|
259
|
-
"required": false,
|
|
260
|
-
"allowNo": false,
|
|
261
|
-
"type": "boolean"
|
|
262
|
-
}
|
|
263
|
-
},
|
|
264
|
-
"hasDynamicHelp": false,
|
|
265
|
-
"hiddenAliases": [],
|
|
266
|
-
"id": "run",
|
|
267
|
-
"pluginAlias": "@quantum-hub/qhubctl",
|
|
268
|
-
"pluginName": "@quantum-hub/qhubctl",
|
|
269
|
-
"pluginType": "core",
|
|
270
|
-
"strict": true,
|
|
271
|
-
"isESM": true,
|
|
272
|
-
"relativePath": [
|
|
273
|
-
"dist",
|
|
274
|
-
"commands",
|
|
275
|
-
"run",
|
|
276
|
-
"index.js"
|
|
277
|
-
]
|
|
278
|
-
},
|
|
279
|
-
"openapi": {
|
|
280
|
-
"aliases": [],
|
|
281
|
-
"args": {},
|
|
282
|
-
"description": "Generates the OpenAPI description for your project based on the parameter and return types of your run() method. The output of this command will be used when creating or updating your service. Supports PYTHON_TEMPLATE (with src/program.py), PYTHON and DOCKER runtimes (with explicit entrypoint). The Python dependency \"qhub-commons\" must be installed in your activated Python environment to use this command.",
|
|
283
|
-
"examples": [
|
|
284
|
-
"$ qhubctl openapi",
|
|
285
|
-
"$ qhubctl openapi --file=./openapi.yaml --format=yaml --force",
|
|
286
|
-
"$ qhubctl openapi --entrypoint=src.program:run",
|
|
287
|
-
"$ qhubctl openapi --package=src.program --method=run",
|
|
288
|
-
"$ qhubctl openapi --package=src.program"
|
|
289
|
-
],
|
|
290
|
-
"flags": {
|
|
291
|
-
"force": {
|
|
292
|
-
"char": "f",
|
|
293
|
-
"description": "Overwrite the output file if it already exists",
|
|
294
|
-
"name": "force",
|
|
295
|
-
"required": false,
|
|
296
|
-
"allowNo": false,
|
|
297
|
-
"type": "boolean"
|
|
298
|
-
},
|
|
299
|
-
"file": {
|
|
300
|
-
"description": "The file to write the OpenAPI description to",
|
|
301
|
-
"name": "file",
|
|
302
|
-
"required": false,
|
|
303
|
-
"hasDynamicHelp": false,
|
|
304
|
-
"multiple": false,
|
|
305
|
-
"type": "option"
|
|
306
|
-
},
|
|
307
|
-
"format": {
|
|
308
|
-
"description": "The format to generate the OpenAPI description [possible values: yaml]",
|
|
309
|
-
"name": "format",
|
|
310
|
-
"required": false,
|
|
311
|
-
"hasDynamicHelp": false,
|
|
312
|
-
"multiple": false,
|
|
313
|
-
"options": [
|
|
314
|
-
"yaml"
|
|
315
|
-
],
|
|
316
|
-
"type": "option"
|
|
317
|
-
},
|
|
318
|
-
"entrypoint": {
|
|
319
|
-
"description": "The entrypoint to your program in the format \"package.module:function\" (default: \"src.program:run\"). Overrides package and method flags.",
|
|
320
|
-
"name": "entrypoint",
|
|
321
|
-
"required": false,
|
|
322
|
-
"hasDynamicHelp": false,
|
|
323
|
-
"multiple": false,
|
|
324
|
-
"type": "option"
|
|
325
|
-
},
|
|
326
|
-
"package": {
|
|
327
|
-
"description": "The package/module path to your program (e.g., \"src.program\" or \"my_package.main\"). Only used if entrypoint is not provided.",
|
|
328
|
-
"name": "package",
|
|
329
|
-
"required": false,
|
|
330
|
-
"hasDynamicHelp": false,
|
|
331
|
-
"multiple": false,
|
|
332
|
-
"type": "option"
|
|
333
|
-
},
|
|
334
|
-
"method": {
|
|
335
|
-
"description": "The method/function name in your program (default: \"run\"). Only used if entrypoint is not provided.",
|
|
336
|
-
"name": "method",
|
|
337
|
-
"required": false,
|
|
338
|
-
"hasDynamicHelp": false,
|
|
339
|
-
"multiple": false,
|
|
340
|
-
"type": "option"
|
|
341
|
-
}
|
|
342
|
-
},
|
|
343
|
-
"hasDynamicHelp": false,
|
|
344
|
-
"hiddenAliases": [],
|
|
345
|
-
"id": "openapi",
|
|
346
|
-
"pluginAlias": "@quantum-hub/qhubctl",
|
|
347
|
-
"pluginName": "@quantum-hub/qhubctl",
|
|
348
|
-
"pluginType": "core",
|
|
349
|
-
"strict": true,
|
|
350
|
-
"isESM": true,
|
|
351
|
-
"relativePath": [
|
|
352
|
-
"dist",
|
|
353
|
-
"commands",
|
|
354
|
-
"openapi",
|
|
355
|
-
"index.js"
|
|
356
|
-
]
|
|
357
|
-
},
|
|
358
|
-
"serve": {
|
|
359
|
-
"aliases": [],
|
|
360
|
-
"args": {},
|
|
361
|
-
"description": "Runs your project locally via qhub-serve inside the workspace virtual environment, exposing the same HTTP endpoints as Kipu Quantum Hub (start execution, check status, cancel, retrieve results).",
|
|
362
|
-
"examples": [
|
|
363
|
-
"$ qhubctl serve",
|
|
364
|
-
"$ qhubctl serve -p 8081",
|
|
365
|
-
"$ qhubctl serve --workspace /path/to/workspace"
|
|
366
|
-
],
|
|
367
|
-
"flags": {
|
|
368
|
-
"port": {
|
|
369
|
-
"char": "p",
|
|
370
|
-
"description": "The port on which the local web server accepts requests",
|
|
371
|
-
"name": "port",
|
|
372
|
-
"required": false,
|
|
373
|
-
"default": 8081,
|
|
374
|
-
"hasDynamicHelp": false,
|
|
375
|
-
"multiple": false,
|
|
376
|
-
"type": "option"
|
|
377
|
-
},
|
|
378
|
-
"log-level": {
|
|
379
|
-
"description": "Log level for qhub-serve. Possible values: TRACE, DEBUG, INFO, SUCCESS, WARNING, ERROR, CRITICAL",
|
|
380
|
-
"name": "log-level",
|
|
381
|
-
"required": false,
|
|
382
|
-
"default": "INFO",
|
|
383
|
-
"hasDynamicHelp": false,
|
|
384
|
-
"multiple": false,
|
|
385
|
-
"options": [
|
|
386
|
-
"TRACE",
|
|
387
|
-
"DEBUG",
|
|
388
|
-
"INFO",
|
|
389
|
-
"SUCCESS",
|
|
390
|
-
"WARNING",
|
|
391
|
-
"ERROR",
|
|
392
|
-
"CRITICAL"
|
|
393
|
-
],
|
|
394
|
-
"type": "option"
|
|
395
|
-
},
|
|
396
|
-
"workspace": {
|
|
397
|
-
"char": "w",
|
|
398
|
-
"description": "Path to the workspace directory (must be a valid uv project). Defaults to the current directory.",
|
|
399
|
-
"name": "workspace",
|
|
400
|
-
"required": false,
|
|
401
|
-
"hasDynamicHelp": false,
|
|
402
|
-
"multiple": false,
|
|
403
|
-
"type": "option"
|
|
404
|
-
}
|
|
405
|
-
},
|
|
406
|
-
"hasDynamicHelp": false,
|
|
407
|
-
"hiddenAliases": [],
|
|
408
|
-
"id": "serve",
|
|
409
|
-
"pluginAlias": "@quantum-hub/qhubctl",
|
|
410
|
-
"pluginName": "@quantum-hub/qhubctl",
|
|
411
|
-
"pluginType": "core",
|
|
412
|
-
"strict": true,
|
|
413
|
-
"isESM": true,
|
|
414
|
-
"relativePath": [
|
|
415
|
-
"dist",
|
|
416
|
-
"commands",
|
|
417
|
-
"serve",
|
|
418
|
-
"index.js"
|
|
419
|
-
]
|
|
420
|
-
},
|
|
421
|
-
"services": {
|
|
422
|
-
"aliases": [],
|
|
423
|
-
"args": {},
|
|
424
|
-
"description": "List all services of the current context.",
|
|
425
|
-
"examples": [
|
|
426
|
-
"$ qhubctl services",
|
|
427
|
-
"$ qhubctl services --json",
|
|
428
|
-
"$ qhubctl services --name \"my-service\"",
|
|
429
|
-
"$ qhubctl services --name \"my-service\" --json",
|
|
430
|
-
"$ qhubctl services --json --all"
|
|
431
|
-
],
|
|
432
|
-
"flags": {
|
|
433
|
-
"json": {
|
|
434
|
-
"description": "output in JSON format",
|
|
435
|
-
"name": "json",
|
|
436
|
-
"allowNo": false,
|
|
437
|
-
"type": "boolean"
|
|
438
|
-
},
|
|
439
|
-
"name": {
|
|
440
|
-
"description": "filter services by name (case-insensitive full match)",
|
|
441
|
-
"name": "name",
|
|
442
|
-
"required": false,
|
|
443
|
-
"hasDynamicHelp": false,
|
|
444
|
-
"multiple": false,
|
|
445
|
-
"type": "option"
|
|
446
|
-
},
|
|
447
|
-
"all": {
|
|
448
|
-
"description": "display all service properties (only available with --json)",
|
|
449
|
-
"name": "all",
|
|
450
|
-
"allowNo": false,
|
|
451
|
-
"type": "boolean"
|
|
452
|
-
}
|
|
453
|
-
},
|
|
454
|
-
"hasDynamicHelp": false,
|
|
455
|
-
"hiddenAliases": [],
|
|
456
|
-
"id": "services",
|
|
457
|
-
"pluginAlias": "@quantum-hub/qhubctl",
|
|
458
|
-
"pluginName": "@quantum-hub/qhubctl",
|
|
459
|
-
"pluginType": "core",
|
|
460
|
-
"strict": true,
|
|
461
|
-
"isESM": true,
|
|
462
|
-
"relativePath": [
|
|
463
|
-
"dist",
|
|
464
|
-
"commands",
|
|
465
|
-
"services",
|
|
466
|
-
"index.js"
|
|
467
|
-
]
|
|
468
|
-
},
|
|
469
|
-
"set-context": {
|
|
470
|
-
"aliases": [],
|
|
471
|
-
"args": {
|
|
472
|
-
"contextId": {
|
|
473
|
-
"name": "contextId"
|
|
474
|
-
}
|
|
475
|
-
},
|
|
476
|
-
"description": "Set the current context, i.e., the personal or organization account you are currently working with.",
|
|
477
|
-
"examples": [
|
|
478
|
-
"$ qhubctl set-context",
|
|
479
|
-
"$ qhubctl set-context <context-id>"
|
|
480
|
-
],
|
|
481
|
-
"flags": {},
|
|
482
|
-
"hasDynamicHelp": false,
|
|
483
|
-
"hiddenAliases": [],
|
|
484
|
-
"id": "set-context",
|
|
485
|
-
"pluginAlias": "@quantum-hub/qhubctl",
|
|
486
|
-
"pluginName": "@quantum-hub/qhubctl",
|
|
487
|
-
"pluginType": "core",
|
|
488
|
-
"strict": true,
|
|
489
|
-
"isESM": true,
|
|
490
|
-
"relativePath": [
|
|
491
|
-
"dist",
|
|
492
|
-
"commands",
|
|
493
|
-
"set-context",
|
|
494
|
-
"index.js"
|
|
495
|
-
]
|
|
496
|
-
},
|
|
497
|
-
"up": {
|
|
498
|
-
"aliases": [],
|
|
499
|
-
"args": {},
|
|
500
|
-
"description": "Creates or updates a service",
|
|
501
|
-
"examples": [
|
|
502
|
-
"$ qhubctl up",
|
|
503
|
-
"$ qhubctl up --no-save-id",
|
|
504
|
-
"$ qhubctl up --name \"my-custom-service-name\"",
|
|
505
|
-
"$ qhubctl up --name \"test-service\" --no-save-id"
|
|
506
|
-
],
|
|
507
|
-
"flags": {
|
|
508
|
-
"silent": {
|
|
509
|
-
"description": "Suppresses all outputs, helpful when executed in a CI/CD pipeline.",
|
|
510
|
-
"name": "silent",
|
|
511
|
-
"required": false,
|
|
512
|
-
"allowNo": false,
|
|
513
|
-
"type": "boolean"
|
|
514
|
-
},
|
|
515
|
-
"no-save-id": {
|
|
516
|
-
"description": "Prevents storing the created service ID in qhub.json file.",
|
|
517
|
-
"name": "no-save-id",
|
|
518
|
-
"required": false,
|
|
519
|
-
"allowNo": false,
|
|
520
|
-
"type": "boolean"
|
|
521
|
-
},
|
|
522
|
-
"name": {
|
|
523
|
-
"description": "Override the service name from qhub.json with a custom name.",
|
|
524
|
-
"name": "name",
|
|
525
|
-
"required": false,
|
|
526
|
-
"hasDynamicHelp": false,
|
|
527
|
-
"multiple": false,
|
|
528
|
-
"type": "option"
|
|
529
|
-
}
|
|
530
|
-
},
|
|
531
|
-
"hasDynamicHelp": false,
|
|
532
|
-
"hiddenAliases": [],
|
|
533
|
-
"id": "up",
|
|
534
|
-
"pluginAlias": "@quantum-hub/qhubctl",
|
|
535
|
-
"pluginName": "@quantum-hub/qhubctl",
|
|
536
|
-
"pluginType": "core",
|
|
537
|
-
"strict": true,
|
|
538
|
-
"isESM": true,
|
|
539
|
-
"relativePath": [
|
|
540
|
-
"dist",
|
|
541
|
-
"commands",
|
|
542
|
-
"up",
|
|
543
|
-
"index.js"
|
|
544
|
-
]
|
|
545
|
-
}
|
|
546
|
-
},
|
|
547
|
-
"version": "1.2.0"
|
|
548
|
-
}
|