@xano/cli 0.0.2

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 (49) hide show
  1. package/README.md +1200 -0
  2. package/bin/dev.cmd +3 -0
  3. package/bin/dev.js +5 -0
  4. package/bin/run.cmd +3 -0
  5. package/bin/run.js +5 -0
  6. package/dist/base-command.d.ts +11 -0
  7. package/dist/base-command.js +40 -0
  8. package/dist/commands/ephemeral/run/job/index.d.ts +19 -0
  9. package/dist/commands/ephemeral/run/job/index.js +318 -0
  10. package/dist/commands/ephemeral/run/service/index.d.ts +18 -0
  11. package/dist/commands/ephemeral/run/service/index.js +286 -0
  12. package/dist/commands/function/create/index.d.ts +18 -0
  13. package/dist/commands/function/create/index.js +280 -0
  14. package/dist/commands/function/edit/index.d.ts +24 -0
  15. package/dist/commands/function/edit/index.js +482 -0
  16. package/dist/commands/function/get/index.d.ts +18 -0
  17. package/dist/commands/function/get/index.js +279 -0
  18. package/dist/commands/function/list/index.d.ts +19 -0
  19. package/dist/commands/function/list/index.js +208 -0
  20. package/dist/commands/profile/create/index.d.ts +17 -0
  21. package/dist/commands/profile/create/index.js +123 -0
  22. package/dist/commands/profile/delete/index.d.ts +14 -0
  23. package/dist/commands/profile/delete/index.js +124 -0
  24. package/dist/commands/profile/edit/index.d.ts +18 -0
  25. package/dist/commands/profile/edit/index.js +129 -0
  26. package/dist/commands/profile/get-default/index.d.ts +6 -0
  27. package/dist/commands/profile/get-default/index.js +44 -0
  28. package/dist/commands/profile/list/index.d.ts +10 -0
  29. package/dist/commands/profile/list/index.js +115 -0
  30. package/dist/commands/profile/set-default/index.d.ts +9 -0
  31. package/dist/commands/profile/set-default/index.js +63 -0
  32. package/dist/commands/profile/wizard/index.d.ts +15 -0
  33. package/dist/commands/profile/wizard/index.js +350 -0
  34. package/dist/commands/static_host/build/create/index.d.ts +18 -0
  35. package/dist/commands/static_host/build/create/index.js +194 -0
  36. package/dist/commands/static_host/build/get/index.d.ts +16 -0
  37. package/dist/commands/static_host/build/get/index.js +165 -0
  38. package/dist/commands/static_host/build/list/index.d.ts +17 -0
  39. package/dist/commands/static_host/build/list/index.js +192 -0
  40. package/dist/commands/static_host/list/index.d.ts +15 -0
  41. package/dist/commands/static_host/list/index.js +187 -0
  42. package/dist/commands/workspace/list/index.d.ts +11 -0
  43. package/dist/commands/workspace/list/index.js +154 -0
  44. package/dist/help.d.ts +20 -0
  45. package/dist/help.js +26 -0
  46. package/dist/index.d.ts +1 -0
  47. package/dist/index.js +1 -0
  48. package/oclif.manifest.json +1370 -0
  49. package/package.json +79 -0
@@ -0,0 +1,1370 @@
1
+ {
2
+ "commands": {
3
+ "function:create": {
4
+ "aliases": [],
5
+ "args": {},
6
+ "description": "Create a new function in a workspace",
7
+ "examples": [
8
+ "$ xano function:create -w 40 -f function.xs\nFunction created successfully!\nID: 123\nName: my_function\n",
9
+ "$ xano function:create -f function.xs\nFunction created successfully!\nID: 123\nName: my_function\n",
10
+ "$ xano function:create -w 40 -f function.xs --edit\n# Opens function.xs in $EDITOR, then creates function with edited content\nFunction created successfully!\nID: 123\nName: my_function\n",
11
+ "$ cat function.xs | xano function:create -w 40 --stdin\nFunction created successfully!\nID: 123\nName: my_function\n",
12
+ "$ xano function:create -w 40 -f function.xs -o json\n{\n \"id\": 123,\n \"name\": \"my_function\",\n ...\n}\n"
13
+ ],
14
+ "flags": {
15
+ "profile": {
16
+ "char": "p",
17
+ "description": "Profile to use for this command",
18
+ "env": "XANO_PROFILE",
19
+ "name": "profile",
20
+ "required": false,
21
+ "hasDynamicHelp": false,
22
+ "multiple": false,
23
+ "type": "option"
24
+ },
25
+ "workspace": {
26
+ "char": "w",
27
+ "description": "Workspace ID (optional if set in profile)",
28
+ "name": "workspace",
29
+ "required": false,
30
+ "hasDynamicHelp": false,
31
+ "multiple": false,
32
+ "type": "option"
33
+ },
34
+ "file": {
35
+ "char": "f",
36
+ "description": "Path to file containing XanoScript code",
37
+ "exclusive": [
38
+ "stdin"
39
+ ],
40
+ "name": "file",
41
+ "required": false,
42
+ "hasDynamicHelp": false,
43
+ "multiple": false,
44
+ "type": "option"
45
+ },
46
+ "stdin": {
47
+ "char": "s",
48
+ "description": "Read XanoScript code from stdin",
49
+ "exclusive": [
50
+ "file"
51
+ ],
52
+ "name": "stdin",
53
+ "required": false,
54
+ "allowNo": false,
55
+ "type": "boolean"
56
+ },
57
+ "edit": {
58
+ "char": "e",
59
+ "dependsOn": [
60
+ "file"
61
+ ],
62
+ "description": "Open file in editor before creating function (requires --file)",
63
+ "name": "edit",
64
+ "required": false,
65
+ "allowNo": false,
66
+ "type": "boolean"
67
+ },
68
+ "output": {
69
+ "char": "o",
70
+ "description": "Output format",
71
+ "name": "output",
72
+ "required": false,
73
+ "default": "summary",
74
+ "hasDynamicHelp": false,
75
+ "multiple": false,
76
+ "options": [
77
+ "summary",
78
+ "json"
79
+ ],
80
+ "type": "option"
81
+ }
82
+ },
83
+ "hasDynamicHelp": false,
84
+ "hiddenAliases": [],
85
+ "id": "function:create",
86
+ "pluginAlias": "@xano/cli",
87
+ "pluginName": "@xano/cli",
88
+ "pluginType": "core",
89
+ "strict": true,
90
+ "enableJsonFlag": false,
91
+ "isESM": true,
92
+ "relativePath": [
93
+ "dist",
94
+ "commands",
95
+ "function",
96
+ "create",
97
+ "index.js"
98
+ ]
99
+ },
100
+ "function:edit": {
101
+ "aliases": [],
102
+ "args": {
103
+ "function_id": {
104
+ "description": "Function ID to edit",
105
+ "name": "function_id",
106
+ "required": false
107
+ }
108
+ },
109
+ "description": "Edit a function in a workspace",
110
+ "examples": [
111
+ "$ xano function:edit 163\n# Fetches the function code and opens it in $EDITOR for editing\nFunction updated successfully!\nID: 163\nName: my_function\n",
112
+ "$ xano function:edit\n# Prompts for function, fetches the code and opens it in $EDITOR for editing\nSelect a function to edit:\n ❯ my_function (ID: 163) - Sample function\n another-func (ID: 164)\n",
113
+ "$ xano function:edit 163 -f function.xs\nFunction updated successfully!\nID: 163\nName: my_function\n",
114
+ "$ xano function:edit 163 -w 40 -f function.xs\nFunction updated successfully!\nID: 163\nName: my_function\n",
115
+ "$ xano function:edit -f function.xs\nSelect a function to edit:\n ❯ my_function (ID: 163) - Sample function\n another-func (ID: 164)\n",
116
+ "$ xano function:edit 163 -f function.xs --edit\n# Opens function.xs in $EDITOR, then updates function with edited content\nFunction updated successfully!\nID: 163\nName: my_function\n",
117
+ "$ cat function.xs | xano function:edit 163 --stdin\nFunction updated successfully!\nID: 163\nName: my_function\n",
118
+ "$ xano function:edit 163 -f function.xs -o json\n{\n \"id\": 163,\n \"name\": \"my_function\",\n ...\n}\n"
119
+ ],
120
+ "flags": {
121
+ "profile": {
122
+ "char": "p",
123
+ "description": "Profile to use for this command",
124
+ "env": "XANO_PROFILE",
125
+ "name": "profile",
126
+ "required": false,
127
+ "hasDynamicHelp": false,
128
+ "multiple": false,
129
+ "type": "option"
130
+ },
131
+ "workspace": {
132
+ "char": "w",
133
+ "description": "Workspace ID (optional if set in profile)",
134
+ "name": "workspace",
135
+ "required": false,
136
+ "hasDynamicHelp": false,
137
+ "multiple": false,
138
+ "type": "option"
139
+ },
140
+ "file": {
141
+ "char": "f",
142
+ "description": "Path to file containing XanoScript code",
143
+ "exclusive": [
144
+ "stdin"
145
+ ],
146
+ "name": "file",
147
+ "required": false,
148
+ "hasDynamicHelp": false,
149
+ "multiple": false,
150
+ "type": "option"
151
+ },
152
+ "stdin": {
153
+ "char": "s",
154
+ "description": "Read XanoScript code from stdin",
155
+ "exclusive": [
156
+ "file"
157
+ ],
158
+ "name": "stdin",
159
+ "required": false,
160
+ "allowNo": false,
161
+ "type": "boolean"
162
+ },
163
+ "edit": {
164
+ "char": "e",
165
+ "description": "Open file in editor before updating function (requires --file)",
166
+ "name": "edit",
167
+ "required": false,
168
+ "allowNo": false,
169
+ "type": "boolean"
170
+ },
171
+ "publish": {
172
+ "description": "Publish the function after editing",
173
+ "name": "publish",
174
+ "required": false,
175
+ "allowNo": false,
176
+ "type": "boolean"
177
+ },
178
+ "output": {
179
+ "char": "o",
180
+ "description": "Output format",
181
+ "name": "output",
182
+ "required": false,
183
+ "default": "summary",
184
+ "hasDynamicHelp": false,
185
+ "multiple": false,
186
+ "options": [
187
+ "summary",
188
+ "json"
189
+ ],
190
+ "type": "option"
191
+ }
192
+ },
193
+ "hasDynamicHelp": false,
194
+ "hiddenAliases": [],
195
+ "id": "function:edit",
196
+ "pluginAlias": "@xano/cli",
197
+ "pluginName": "@xano/cli",
198
+ "pluginType": "core",
199
+ "strict": true,
200
+ "enableJsonFlag": false,
201
+ "isESM": true,
202
+ "relativePath": [
203
+ "dist",
204
+ "commands",
205
+ "function",
206
+ "edit",
207
+ "index.js"
208
+ ]
209
+ },
210
+ "function:get": {
211
+ "aliases": [],
212
+ "args": {
213
+ "function_id": {
214
+ "description": "Function ID",
215
+ "name": "function_id",
216
+ "required": false
217
+ }
218
+ },
219
+ "description": "Get a specific function from a workspace",
220
+ "examples": [
221
+ "$ xano function:get 145 -w 40\nFunction: yo (ID: 145)\nCreated: 2025-10-10 10:30:00\nDescription: Sample function\n",
222
+ "$ xano function:get 145 --profile production\nFunction: yo (ID: 145)\nCreated: 2025-10-10 10:30:00\n",
223
+ "$ xano function:get\nSelect a function:\n ❯ yo (ID: 145) - Sample function\n another-func (ID: 146)\n",
224
+ "$ xano function:get 145 -w 40 --output json\n{\n \"id\": 145,\n \"name\": \"yo\",\n \"description\": \"Sample function\"\n}\n",
225
+ "$ xano function:get 145 -p staging -o json --include_draft\n{\n \"id\": 145,\n \"name\": \"yo\"\n}\n",
226
+ "$ xano function:get 145 -p staging -o xs\nfunction yo {\n input {\n }\n stack {\n }\n response = null\n}\n"
227
+ ],
228
+ "flags": {
229
+ "profile": {
230
+ "char": "p",
231
+ "description": "Profile to use for this command",
232
+ "env": "XANO_PROFILE",
233
+ "name": "profile",
234
+ "required": false,
235
+ "hasDynamicHelp": false,
236
+ "multiple": false,
237
+ "type": "option"
238
+ },
239
+ "workspace": {
240
+ "char": "w",
241
+ "description": "Workspace ID (optional if set in profile)",
242
+ "name": "workspace",
243
+ "required": false,
244
+ "hasDynamicHelp": false,
245
+ "multiple": false,
246
+ "type": "option"
247
+ },
248
+ "output": {
249
+ "char": "o",
250
+ "description": "Output format",
251
+ "name": "output",
252
+ "required": false,
253
+ "default": "summary",
254
+ "hasDynamicHelp": false,
255
+ "multiple": false,
256
+ "options": [
257
+ "summary",
258
+ "json",
259
+ "xs"
260
+ ],
261
+ "type": "option"
262
+ },
263
+ "include_draft": {
264
+ "description": "Include draft version",
265
+ "name": "include_draft",
266
+ "required": false,
267
+ "allowNo": false,
268
+ "type": "boolean"
269
+ },
270
+ "include_xanoscript": {
271
+ "description": "Include XanoScript in response",
272
+ "name": "include_xanoscript",
273
+ "required": false,
274
+ "allowNo": false,
275
+ "type": "boolean"
276
+ }
277
+ },
278
+ "hasDynamicHelp": false,
279
+ "hiddenAliases": [],
280
+ "id": "function:get",
281
+ "pluginAlias": "@xano/cli",
282
+ "pluginName": "@xano/cli",
283
+ "pluginType": "core",
284
+ "strict": true,
285
+ "enableJsonFlag": false,
286
+ "isESM": true,
287
+ "relativePath": [
288
+ "dist",
289
+ "commands",
290
+ "function",
291
+ "get",
292
+ "index.js"
293
+ ]
294
+ },
295
+ "function:list": {
296
+ "aliases": [],
297
+ "args": {},
298
+ "description": "List all functions in a workspace from the Xano Metadata API",
299
+ "examples": [
300
+ "$ xano function:list -w 40\nAvailable functions:\n - function-1 (ID: 1)\n - function-2 (ID: 2)\n - function-3 (ID: 3)\n",
301
+ "$ xano function:list --profile production\nAvailable functions:\n - my-function (ID: 1)\n - another-function (ID: 2)\n",
302
+ "$ xano function:list -w 40 --output json\n[\n {\n \"id\": 1,\n \"name\": \"function-1\"\n }\n]\n",
303
+ "$ xano function:list -p staging -o json --include_draft\n[\n {\n \"id\": 1,\n \"name\": \"function-1\"\n }\n]\n"
304
+ ],
305
+ "flags": {
306
+ "profile": {
307
+ "char": "p",
308
+ "description": "Profile to use for this command",
309
+ "env": "XANO_PROFILE",
310
+ "name": "profile",
311
+ "required": false,
312
+ "hasDynamicHelp": false,
313
+ "multiple": false,
314
+ "type": "option"
315
+ },
316
+ "workspace": {
317
+ "char": "w",
318
+ "description": "Workspace ID (optional if set in profile)",
319
+ "name": "workspace",
320
+ "required": false,
321
+ "hasDynamicHelp": false,
322
+ "multiple": false,
323
+ "type": "option"
324
+ },
325
+ "output": {
326
+ "char": "o",
327
+ "description": "Output format",
328
+ "name": "output",
329
+ "required": false,
330
+ "default": "summary",
331
+ "hasDynamicHelp": false,
332
+ "multiple": false,
333
+ "options": [
334
+ "summary",
335
+ "json"
336
+ ],
337
+ "type": "option"
338
+ },
339
+ "include_draft": {
340
+ "description": "Include draft functions",
341
+ "name": "include_draft",
342
+ "required": false,
343
+ "allowNo": false,
344
+ "type": "boolean"
345
+ },
346
+ "include_xanoscript": {
347
+ "description": "Include XanoScript in response",
348
+ "name": "include_xanoscript",
349
+ "required": false,
350
+ "allowNo": false,
351
+ "type": "boolean"
352
+ },
353
+ "page": {
354
+ "description": "Page number for pagination",
355
+ "name": "page",
356
+ "required": false,
357
+ "default": 1,
358
+ "hasDynamicHelp": false,
359
+ "multiple": false,
360
+ "type": "option"
361
+ },
362
+ "per_page": {
363
+ "description": "Number of results per page",
364
+ "name": "per_page",
365
+ "required": false,
366
+ "default": 50,
367
+ "hasDynamicHelp": false,
368
+ "multiple": false,
369
+ "type": "option"
370
+ },
371
+ "sort": {
372
+ "description": "Sort field",
373
+ "name": "sort",
374
+ "required": false,
375
+ "default": "created_at",
376
+ "hasDynamicHelp": false,
377
+ "multiple": false,
378
+ "type": "option"
379
+ },
380
+ "order": {
381
+ "description": "Sort order",
382
+ "name": "order",
383
+ "required": false,
384
+ "default": "desc",
385
+ "hasDynamicHelp": false,
386
+ "multiple": false,
387
+ "options": [
388
+ "asc",
389
+ "desc"
390
+ ],
391
+ "type": "option"
392
+ }
393
+ },
394
+ "hasDynamicHelp": false,
395
+ "hiddenAliases": [],
396
+ "id": "function:list",
397
+ "pluginAlias": "@xano/cli",
398
+ "pluginName": "@xano/cli",
399
+ "pluginType": "core",
400
+ "strict": true,
401
+ "enableJsonFlag": false,
402
+ "isESM": true,
403
+ "relativePath": [
404
+ "dist",
405
+ "commands",
406
+ "function",
407
+ "list",
408
+ "index.js"
409
+ ]
410
+ },
411
+ "profile:create": {
412
+ "aliases": [],
413
+ "args": {
414
+ "name": {
415
+ "description": "Profile name",
416
+ "name": "name",
417
+ "required": true
418
+ }
419
+ },
420
+ "description": "Create a new profile configuration",
421
+ "examples": [
422
+ "$ xano profile:create production --account_origin https://account.xano.com --instance_origin https://instance.xano.com --access_token token123\nProfile 'production' created successfully at ~/.xano/credentials.yaml\n",
423
+ "$ xano profile:create staging -a https://staging-account.xano.com -i https://staging-instance.xano.com -t token456\nProfile 'staging' created successfully at ~/.xano/credentials.yaml\n",
424
+ "$ xano profile:create dev -i https://dev-instance.xano.com -t token789 -w my-workspace -b feature-branch\nProfile 'dev' created successfully at ~/.xano/credentials.yaml\n",
425
+ "$ xano profile:create production --account_origin https://account.xano.com --instance_origin https://instance.xano.com --access_token token123 --default\nProfile 'production' created successfully at ~/.xano/credentials.yaml\nDefault profile set to 'production'\n"
426
+ ],
427
+ "flags": {
428
+ "account_origin": {
429
+ "char": "a",
430
+ "description": "Account origin URL. Optional for self hosted installs.",
431
+ "name": "account_origin",
432
+ "required": false,
433
+ "hasDynamicHelp": false,
434
+ "multiple": false,
435
+ "type": "option"
436
+ },
437
+ "instance_origin": {
438
+ "char": "i",
439
+ "description": "Instance origin URL",
440
+ "name": "instance_origin",
441
+ "required": true,
442
+ "hasDynamicHelp": false,
443
+ "multiple": false,
444
+ "type": "option"
445
+ },
446
+ "access_token": {
447
+ "char": "t",
448
+ "description": "Access token for the Xano Metadata API",
449
+ "name": "access_token",
450
+ "required": true,
451
+ "hasDynamicHelp": false,
452
+ "multiple": false,
453
+ "type": "option"
454
+ },
455
+ "workspace": {
456
+ "char": "w",
457
+ "description": "Workspace name",
458
+ "name": "workspace",
459
+ "required": false,
460
+ "hasDynamicHelp": false,
461
+ "multiple": false,
462
+ "type": "option"
463
+ },
464
+ "branch": {
465
+ "char": "b",
466
+ "description": "Branch name",
467
+ "name": "branch",
468
+ "required": false,
469
+ "hasDynamicHelp": false,
470
+ "multiple": false,
471
+ "type": "option"
472
+ },
473
+ "default": {
474
+ "description": "Set this profile as the default",
475
+ "name": "default",
476
+ "required": false,
477
+ "allowNo": false,
478
+ "type": "boolean"
479
+ }
480
+ },
481
+ "hasDynamicHelp": false,
482
+ "hiddenAliases": [],
483
+ "id": "profile:create",
484
+ "pluginAlias": "@xano/cli",
485
+ "pluginName": "@xano/cli",
486
+ "pluginType": "core",
487
+ "strict": true,
488
+ "enableJsonFlag": false,
489
+ "isESM": true,
490
+ "relativePath": [
491
+ "dist",
492
+ "commands",
493
+ "profile",
494
+ "create",
495
+ "index.js"
496
+ ]
497
+ },
498
+ "profile:delete": {
499
+ "aliases": [],
500
+ "args": {
501
+ "name": {
502
+ "description": "Profile name to delete",
503
+ "name": "name",
504
+ "required": true
505
+ }
506
+ },
507
+ "description": "Delete a profile configuration",
508
+ "examples": [
509
+ "$ xano profile:delete old-profile\nAre you sure you want to delete profile 'old-profile'? (y/n): y\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n",
510
+ "$ xano profile:delete old-profile --force\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n",
511
+ "$ xano profile:delete old-profile -f\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n"
512
+ ],
513
+ "flags": {
514
+ "force": {
515
+ "char": "f",
516
+ "description": "Skip confirmation prompt",
517
+ "name": "force",
518
+ "required": false,
519
+ "allowNo": false,
520
+ "type": "boolean"
521
+ }
522
+ },
523
+ "hasDynamicHelp": false,
524
+ "hiddenAliases": [],
525
+ "id": "profile:delete",
526
+ "pluginAlias": "@xano/cli",
527
+ "pluginName": "@xano/cli",
528
+ "pluginType": "core",
529
+ "strict": true,
530
+ "enableJsonFlag": false,
531
+ "isESM": true,
532
+ "relativePath": [
533
+ "dist",
534
+ "commands",
535
+ "profile",
536
+ "delete",
537
+ "index.js"
538
+ ]
539
+ },
540
+ "profile:get-default": {
541
+ "aliases": [],
542
+ "args": {},
543
+ "description": "Get the current default profile name",
544
+ "examples": [
545
+ "$ xano profile:get-default\nproduction\n",
546
+ "$ xano profile:get-default\nNo default profile set\n"
547
+ ],
548
+ "flags": {},
549
+ "hasDynamicHelp": false,
550
+ "hiddenAliases": [],
551
+ "id": "profile:get-default",
552
+ "pluginAlias": "@xano/cli",
553
+ "pluginName": "@xano/cli",
554
+ "pluginType": "core",
555
+ "strict": true,
556
+ "enableJsonFlag": false,
557
+ "isESM": true,
558
+ "relativePath": [
559
+ "dist",
560
+ "commands",
561
+ "profile",
562
+ "get-default",
563
+ "index.js"
564
+ ]
565
+ },
566
+ "profile:list": {
567
+ "aliases": [],
568
+ "args": {},
569
+ "description": "List all available profile configurations",
570
+ "examples": [
571
+ "$ xano profile:list\nAvailable profiles:\n - default\n - production\n - staging\n - development\n",
572
+ "$ xano profile:list --details\nAvailable profiles:\n\nProfile: default\n Account Origin: https://account.xano.com\n Instance Origin: https://instance.xano.com\n Access Token: ***...***\n Workspace: my-workspace\n Branch: main\n\nProfile: production\n Account Origin: https://account.xano.com\n Instance Origin: https://prod-instance.xano.com\n Access Token: ***...***\n",
573
+ "$ xano profile:list -d\nAvailable profiles:\n\nProfile: default\n Account Origin: https://account.xano.com\n Instance Origin: https://instance.xano.com\n Access Token: ***...***\n Workspace: my-workspace\n Branch: main\n"
574
+ ],
575
+ "flags": {
576
+ "details": {
577
+ "char": "d",
578
+ "description": "Show detailed information for each profile",
579
+ "name": "details",
580
+ "required": false,
581
+ "allowNo": false,
582
+ "type": "boolean"
583
+ }
584
+ },
585
+ "hasDynamicHelp": false,
586
+ "hiddenAliases": [],
587
+ "id": "profile:list",
588
+ "pluginAlias": "@xano/cli",
589
+ "pluginName": "@xano/cli",
590
+ "pluginType": "core",
591
+ "strict": true,
592
+ "enableJsonFlag": false,
593
+ "isESM": true,
594
+ "relativePath": [
595
+ "dist",
596
+ "commands",
597
+ "profile",
598
+ "list",
599
+ "index.js"
600
+ ]
601
+ },
602
+ "profile:wizard": {
603
+ "aliases": [],
604
+ "args": {},
605
+ "description": "Create a new profile configuration using an interactive wizard",
606
+ "examples": [
607
+ "$ xano profile:wizard\nWelcome to the Xano Profile Wizard!\n? Enter your access token: ***...***\n? Select an instance:\n > Production (https://app.xano.com)\n Staging (https://staging.xano.com)\n? Profile name: production\nProfile 'production' created successfully at ~/.xano/credentials.yaml\n"
608
+ ],
609
+ "flags": {
610
+ "name": {
611
+ "char": "n",
612
+ "description": "Profile name (skip prompt if provided)",
613
+ "name": "name",
614
+ "required": false,
615
+ "hasDynamicHelp": false,
616
+ "multiple": false,
617
+ "type": "option"
618
+ },
619
+ "origin": {
620
+ "char": "o",
621
+ "description": "Xano instance origin URL",
622
+ "name": "origin",
623
+ "required": false,
624
+ "default": "https://app.xano.com",
625
+ "hasDynamicHelp": false,
626
+ "multiple": false,
627
+ "type": "option"
628
+ }
629
+ },
630
+ "hasDynamicHelp": false,
631
+ "hiddenAliases": [],
632
+ "id": "profile:wizard",
633
+ "pluginAlias": "@xano/cli",
634
+ "pluginName": "@xano/cli",
635
+ "pluginType": "core",
636
+ "strict": true,
637
+ "enableJsonFlag": false,
638
+ "isESM": true,
639
+ "relativePath": [
640
+ "dist",
641
+ "commands",
642
+ "profile",
643
+ "wizard",
644
+ "index.js"
645
+ ]
646
+ },
647
+ "static_host:list": {
648
+ "aliases": [],
649
+ "args": {},
650
+ "description": "List all static hosts in a workspace from the Xano Metadata API",
651
+ "examples": [
652
+ "$ xano static_host:list -w 40\nAvailable static hosts:\n - my-static-host (ID: 1)\n - another-host (ID: 2)\n",
653
+ "$ xano static_host:list --profile production\nAvailable static hosts:\n - my-static-host (ID: 1)\n - another-host (ID: 2)\n",
654
+ "$ xano static_host:list -w 40 --output json\n[\n {\n \"id\": 1,\n \"name\": \"my-static-host\",\n \"domain\": \"example.com\"\n }\n]\n",
655
+ "$ xano static_host:list -p staging -o json --page 2\n[\n {\n \"id\": 3,\n \"name\": \"static-host-3\"\n }\n]\n"
656
+ ],
657
+ "flags": {
658
+ "profile": {
659
+ "char": "p",
660
+ "description": "Profile to use for this command",
661
+ "env": "XANO_PROFILE",
662
+ "name": "profile",
663
+ "required": false,
664
+ "hasDynamicHelp": false,
665
+ "multiple": false,
666
+ "type": "option"
667
+ },
668
+ "workspace": {
669
+ "char": "w",
670
+ "description": "Workspace ID (optional if set in profile)",
671
+ "name": "workspace",
672
+ "required": false,
673
+ "hasDynamicHelp": false,
674
+ "multiple": false,
675
+ "type": "option"
676
+ },
677
+ "output": {
678
+ "char": "o",
679
+ "description": "Output format",
680
+ "name": "output",
681
+ "required": false,
682
+ "default": "summary",
683
+ "hasDynamicHelp": false,
684
+ "multiple": false,
685
+ "options": [
686
+ "summary",
687
+ "json"
688
+ ],
689
+ "type": "option"
690
+ },
691
+ "page": {
692
+ "description": "Page number for pagination",
693
+ "name": "page",
694
+ "required": false,
695
+ "default": 1,
696
+ "hasDynamicHelp": false,
697
+ "multiple": false,
698
+ "type": "option"
699
+ },
700
+ "per_page": {
701
+ "description": "Number of results per page",
702
+ "name": "per_page",
703
+ "required": false,
704
+ "default": 50,
705
+ "hasDynamicHelp": false,
706
+ "multiple": false,
707
+ "type": "option"
708
+ }
709
+ },
710
+ "hasDynamicHelp": false,
711
+ "hiddenAliases": [],
712
+ "id": "static_host:list",
713
+ "pluginAlias": "@xano/cli",
714
+ "pluginName": "@xano/cli",
715
+ "pluginType": "core",
716
+ "strict": true,
717
+ "enableJsonFlag": false,
718
+ "isESM": true,
719
+ "relativePath": [
720
+ "dist",
721
+ "commands",
722
+ "static_host",
723
+ "list",
724
+ "index.js"
725
+ ]
726
+ },
727
+ "workspace:list": {
728
+ "aliases": [],
729
+ "args": {},
730
+ "description": "List all workspaces from the Xano Metadata API",
731
+ "examples": [
732
+ "$ xano workspace:list\nAvailable workspaces:\n - workspace-1 (ID: 1)\n - workspace-2 (ID: 2)\n - workspace-3 (ID: 3)\n",
733
+ "$ xano workspace:list --profile production\nAvailable workspaces:\n - my-app (ID: 1)\n - staging-env (ID: 2)\n",
734
+ "$ xano workspace:list --output json\n{\n \"workspaces\": [\n {\n \"id\": 1,\n \"name\": \"workspace-1\"\n },\n {\n \"id\": 2,\n \"name\": \"workspace-2\"\n }\n ]\n}\n",
735
+ "$ xano workspace:list -p staging -o json\n{\n \"workspaces\": [\n {\n \"id\": 1,\n \"name\": \"my-app\"\n }\n ]\n}\n"
736
+ ],
737
+ "flags": {
738
+ "profile": {
739
+ "char": "p",
740
+ "description": "Profile to use for this command",
741
+ "env": "XANO_PROFILE",
742
+ "name": "profile",
743
+ "required": false,
744
+ "hasDynamicHelp": false,
745
+ "multiple": false,
746
+ "type": "option"
747
+ },
748
+ "output": {
749
+ "char": "o",
750
+ "description": "Output format",
751
+ "name": "output",
752
+ "required": false,
753
+ "default": "summary",
754
+ "hasDynamicHelp": false,
755
+ "multiple": false,
756
+ "options": [
757
+ "summary",
758
+ "json"
759
+ ],
760
+ "type": "option"
761
+ }
762
+ },
763
+ "hasDynamicHelp": false,
764
+ "hiddenAliases": [],
765
+ "id": "workspace:list",
766
+ "pluginAlias": "@xano/cli",
767
+ "pluginName": "@xano/cli",
768
+ "pluginType": "core",
769
+ "strict": true,
770
+ "enableJsonFlag": false,
771
+ "isESM": true,
772
+ "relativePath": [
773
+ "dist",
774
+ "commands",
775
+ "workspace",
776
+ "list",
777
+ "index.js"
778
+ ]
779
+ },
780
+ "ephemeral:run:job": {
781
+ "aliases": [],
782
+ "args": {},
783
+ "description": "Run an ephemeral job in a workspace",
784
+ "examples": [
785
+ "$ xano ephemeral:run:job -w 1 -f script.xs\nJob executed successfully!\n...\n",
786
+ "$ xano ephemeral:run:job -f script.xs\nJob executed successfully!\n...\n",
787
+ "$ xano ephemeral:run:job -w 1 -f script.xs --edit\n# Opens script.xs in $EDITOR, then runs job with edited content\nJob executed successfully!\n...\n",
788
+ "$ cat script.xs | xano ephemeral:run:job -w 1 --stdin\nJob executed successfully!\n...\n",
789
+ "$ xano ephemeral:run:job -w 1 -f script.xs -o json\n{\n \"job\": { \"id\": 1, \"run\": { \"id\": 1 } },\n \"result\": { ... }\n}\n",
790
+ "$ xano ephemeral:run:job -w 1 -f script.xs -a args.json\n# Runs job with input arguments from args.json\nJob executed successfully!\n...\n"
791
+ ],
792
+ "flags": {
793
+ "profile": {
794
+ "char": "p",
795
+ "description": "Profile to use for this command",
796
+ "env": "XANO_PROFILE",
797
+ "name": "profile",
798
+ "required": false,
799
+ "hasDynamicHelp": false,
800
+ "multiple": false,
801
+ "type": "option"
802
+ },
803
+ "workspace": {
804
+ "char": "w",
805
+ "description": "Workspace ID (optional if set in profile)",
806
+ "name": "workspace",
807
+ "required": false,
808
+ "hasDynamicHelp": false,
809
+ "multiple": false,
810
+ "type": "option"
811
+ },
812
+ "file": {
813
+ "char": "f",
814
+ "description": "Path to file containing XanoScript code",
815
+ "exclusive": [
816
+ "stdin"
817
+ ],
818
+ "name": "file",
819
+ "required": false,
820
+ "hasDynamicHelp": false,
821
+ "multiple": false,
822
+ "type": "option"
823
+ },
824
+ "stdin": {
825
+ "char": "s",
826
+ "description": "Read XanoScript code from stdin",
827
+ "exclusive": [
828
+ "file"
829
+ ],
830
+ "name": "stdin",
831
+ "required": false,
832
+ "allowNo": false,
833
+ "type": "boolean"
834
+ },
835
+ "edit": {
836
+ "char": "e",
837
+ "dependsOn": [
838
+ "file"
839
+ ],
840
+ "description": "Open file in editor before running job (requires --file)",
841
+ "name": "edit",
842
+ "required": false,
843
+ "allowNo": false,
844
+ "type": "boolean"
845
+ },
846
+ "output": {
847
+ "char": "o",
848
+ "description": "Output format",
849
+ "name": "output",
850
+ "required": false,
851
+ "default": "summary",
852
+ "hasDynamicHelp": false,
853
+ "multiple": false,
854
+ "options": [
855
+ "summary",
856
+ "json"
857
+ ],
858
+ "type": "option"
859
+ },
860
+ "args": {
861
+ "char": "a",
862
+ "description": "Path to JSON file containing input arguments",
863
+ "name": "args",
864
+ "required": false,
865
+ "hasDynamicHelp": false,
866
+ "multiple": false,
867
+ "type": "option"
868
+ }
869
+ },
870
+ "hasDynamicHelp": false,
871
+ "hiddenAliases": [],
872
+ "id": "ephemeral:run:job",
873
+ "pluginAlias": "@xano/cli",
874
+ "pluginName": "@xano/cli",
875
+ "pluginType": "core",
876
+ "strict": true,
877
+ "enableJsonFlag": false,
878
+ "isESM": true,
879
+ "relativePath": [
880
+ "dist",
881
+ "commands",
882
+ "ephemeral",
883
+ "run",
884
+ "job",
885
+ "index.js"
886
+ ]
887
+ },
888
+ "profile:set-default": {
889
+ "aliases": [],
890
+ "args": {
891
+ "name": {
892
+ "description": "Profile name to set as default",
893
+ "name": "name",
894
+ "required": true
895
+ }
896
+ },
897
+ "description": "Set the default profile",
898
+ "examples": [
899
+ "$ xano profile:set-default production\nDefault profile set to 'production'\n",
900
+ "$ xano profile:set-default staging\nDefault profile set to 'staging'\n"
901
+ ],
902
+ "flags": {},
903
+ "hasDynamicHelp": false,
904
+ "hiddenAliases": [],
905
+ "id": "profile:set-default",
906
+ "pluginAlias": "@xano/cli",
907
+ "pluginName": "@xano/cli",
908
+ "pluginType": "core",
909
+ "strict": true,
910
+ "enableJsonFlag": false,
911
+ "isESM": true,
912
+ "relativePath": [
913
+ "dist",
914
+ "commands",
915
+ "profile",
916
+ "set-default",
917
+ "index.js"
918
+ ]
919
+ },
920
+ "ephemeral:run:service": {
921
+ "aliases": [],
922
+ "args": {},
923
+ "description": "Run an ephemeral service in a workspace",
924
+ "examples": [
925
+ "$ xano ephemeral:run:service -w 1 -f service.xs\nService created successfully!\n...\n",
926
+ "$ xano ephemeral:run:service -f service.xs\nService created successfully!\n...\n",
927
+ "$ xano ephemeral:run:service -w 1 -f service.xs --edit\n# Opens service.xs in $EDITOR, then creates service with edited content\nService created successfully!\n...\n",
928
+ "$ cat service.xs | xano ephemeral:run:service -w 1 --stdin\nService created successfully!\n...\n",
929
+ "$ xano ephemeral:run:service -w 1 -f service.xs -o json\n{\n \"service\": { \"id\": 1 },\n ...\n}\n"
930
+ ],
931
+ "flags": {
932
+ "profile": {
933
+ "char": "p",
934
+ "description": "Profile to use for this command",
935
+ "env": "XANO_PROFILE",
936
+ "name": "profile",
937
+ "required": false,
938
+ "hasDynamicHelp": false,
939
+ "multiple": false,
940
+ "type": "option"
941
+ },
942
+ "workspace": {
943
+ "char": "w",
944
+ "description": "Workspace ID (optional if set in profile)",
945
+ "name": "workspace",
946
+ "required": false,
947
+ "hasDynamicHelp": false,
948
+ "multiple": false,
949
+ "type": "option"
950
+ },
951
+ "file": {
952
+ "char": "f",
953
+ "description": "Path to file containing XanoScript code",
954
+ "exclusive": [
955
+ "stdin"
956
+ ],
957
+ "name": "file",
958
+ "required": false,
959
+ "hasDynamicHelp": false,
960
+ "multiple": false,
961
+ "type": "option"
962
+ },
963
+ "stdin": {
964
+ "char": "s",
965
+ "description": "Read XanoScript code from stdin",
966
+ "exclusive": [
967
+ "file"
968
+ ],
969
+ "name": "stdin",
970
+ "required": false,
971
+ "allowNo": false,
972
+ "type": "boolean"
973
+ },
974
+ "edit": {
975
+ "char": "e",
976
+ "dependsOn": [
977
+ "file"
978
+ ],
979
+ "description": "Open file in editor before running service (requires --file)",
980
+ "name": "edit",
981
+ "required": false,
982
+ "allowNo": false,
983
+ "type": "boolean"
984
+ },
985
+ "output": {
986
+ "char": "o",
987
+ "description": "Output format",
988
+ "name": "output",
989
+ "required": false,
990
+ "default": "summary",
991
+ "hasDynamicHelp": false,
992
+ "multiple": false,
993
+ "options": [
994
+ "summary",
995
+ "json"
996
+ ],
997
+ "type": "option"
998
+ }
999
+ },
1000
+ "hasDynamicHelp": false,
1001
+ "hiddenAliases": [],
1002
+ "id": "ephemeral:run:service",
1003
+ "pluginAlias": "@xano/cli",
1004
+ "pluginName": "@xano/cli",
1005
+ "pluginType": "core",
1006
+ "strict": true,
1007
+ "enableJsonFlag": false,
1008
+ "isESM": true,
1009
+ "relativePath": [
1010
+ "dist",
1011
+ "commands",
1012
+ "ephemeral",
1013
+ "run",
1014
+ "service",
1015
+ "index.js"
1016
+ ]
1017
+ },
1018
+ "profile:edit": {
1019
+ "aliases": [],
1020
+ "args": {
1021
+ "name": {
1022
+ "description": "Profile name to edit",
1023
+ "name": "name",
1024
+ "required": true
1025
+ }
1026
+ },
1027
+ "description": "Edit an existing profile configuration",
1028
+ "examples": [
1029
+ "$ xano profile:edit production --access_token new_token123\nProfile 'production' updated successfully at ~/.xano/credentials.yaml\n",
1030
+ "$ xano profile:edit staging -i https://new-staging-instance.xano.com -t new_token456\nProfile 'staging' updated successfully at ~/.xano/credentials.yaml\n",
1031
+ "$ xano profile:edit dev -w new-workspace -b new-branch\nProfile 'dev' updated successfully at ~/.xano/credentials.yaml\n",
1032
+ "$ xano profile:edit dev --remove-workspace\nProfile 'dev' updated successfully at ~/.xano/credentials.yaml\n"
1033
+ ],
1034
+ "flags": {
1035
+ "account_origin": {
1036
+ "char": "a",
1037
+ "description": "Update account origin URL",
1038
+ "name": "account_origin",
1039
+ "required": false,
1040
+ "hasDynamicHelp": false,
1041
+ "multiple": false,
1042
+ "type": "option"
1043
+ },
1044
+ "instance_origin": {
1045
+ "char": "i",
1046
+ "description": "Update instance origin URL",
1047
+ "name": "instance_origin",
1048
+ "required": false,
1049
+ "hasDynamicHelp": false,
1050
+ "multiple": false,
1051
+ "type": "option"
1052
+ },
1053
+ "access_token": {
1054
+ "char": "t",
1055
+ "description": "Update access token for the Xano Metadata API",
1056
+ "name": "access_token",
1057
+ "required": false,
1058
+ "hasDynamicHelp": false,
1059
+ "multiple": false,
1060
+ "type": "option"
1061
+ },
1062
+ "workspace": {
1063
+ "char": "w",
1064
+ "description": "Update workspace name",
1065
+ "name": "workspace",
1066
+ "required": false,
1067
+ "hasDynamicHelp": false,
1068
+ "multiple": false,
1069
+ "type": "option"
1070
+ },
1071
+ "branch": {
1072
+ "char": "b",
1073
+ "description": "Update branch name",
1074
+ "name": "branch",
1075
+ "required": false,
1076
+ "hasDynamicHelp": false,
1077
+ "multiple": false,
1078
+ "type": "option"
1079
+ },
1080
+ "remove-workspace": {
1081
+ "description": "Remove workspace from profile",
1082
+ "name": "remove-workspace",
1083
+ "required": false,
1084
+ "allowNo": false,
1085
+ "type": "boolean"
1086
+ },
1087
+ "remove-branch": {
1088
+ "description": "Remove branch from profile",
1089
+ "name": "remove-branch",
1090
+ "required": false,
1091
+ "allowNo": false,
1092
+ "type": "boolean"
1093
+ }
1094
+ },
1095
+ "hasDynamicHelp": false,
1096
+ "hiddenAliases": [],
1097
+ "id": "profile:edit",
1098
+ "pluginAlias": "@xano/cli",
1099
+ "pluginName": "@xano/cli",
1100
+ "pluginType": "core",
1101
+ "strict": true,
1102
+ "enableJsonFlag": false,
1103
+ "isESM": true,
1104
+ "relativePath": [
1105
+ "dist",
1106
+ "commands",
1107
+ "profile",
1108
+ "edit",
1109
+ "index.js"
1110
+ ]
1111
+ },
1112
+ "static_host:build:create": {
1113
+ "aliases": [],
1114
+ "args": {
1115
+ "static_host": {
1116
+ "description": "Static Host name",
1117
+ "name": "static_host",
1118
+ "required": true
1119
+ }
1120
+ },
1121
+ "description": "Create a new build for a static host",
1122
+ "examples": [
1123
+ "$ xano static_host:build:create default -f ./build.zip -n \"v1.0.0\"\nBuild created successfully!\nID: 123\nName: v1.0.0\nStatus: pending\n",
1124
+ "$ xano static_host:build:create default -w 40 -f ./dist.zip -n \"production\" -d \"Production build\"\nBuild created successfully!\nID: 124\nName: production\nDescription: Production build\n",
1125
+ "$ xano static_host:build:create myhost -f ./app.zip -n \"release-1.2\" -o json\n{\n \"id\": 125,\n \"name\": \"release-1.2\",\n \"status\": \"pending\"\n}\n"
1126
+ ],
1127
+ "flags": {
1128
+ "profile": {
1129
+ "char": "p",
1130
+ "description": "Profile to use for this command",
1131
+ "env": "XANO_PROFILE",
1132
+ "name": "profile",
1133
+ "required": false,
1134
+ "hasDynamicHelp": false,
1135
+ "multiple": false,
1136
+ "type": "option"
1137
+ },
1138
+ "workspace": {
1139
+ "char": "w",
1140
+ "description": "Workspace ID (optional if set in profile)",
1141
+ "name": "workspace",
1142
+ "required": false,
1143
+ "hasDynamicHelp": false,
1144
+ "multiple": false,
1145
+ "type": "option"
1146
+ },
1147
+ "file": {
1148
+ "char": "f",
1149
+ "description": "Path to zip file to upload",
1150
+ "name": "file",
1151
+ "required": true,
1152
+ "hasDynamicHelp": false,
1153
+ "multiple": false,
1154
+ "type": "option"
1155
+ },
1156
+ "name": {
1157
+ "char": "n",
1158
+ "description": "Build name",
1159
+ "name": "name",
1160
+ "required": true,
1161
+ "hasDynamicHelp": false,
1162
+ "multiple": false,
1163
+ "type": "option"
1164
+ },
1165
+ "description": {
1166
+ "char": "d",
1167
+ "description": "Build description",
1168
+ "name": "description",
1169
+ "required": false,
1170
+ "hasDynamicHelp": false,
1171
+ "multiple": false,
1172
+ "type": "option"
1173
+ },
1174
+ "output": {
1175
+ "char": "o",
1176
+ "description": "Output format",
1177
+ "name": "output",
1178
+ "required": false,
1179
+ "default": "summary",
1180
+ "hasDynamicHelp": false,
1181
+ "multiple": false,
1182
+ "options": [
1183
+ "summary",
1184
+ "json"
1185
+ ],
1186
+ "type": "option"
1187
+ }
1188
+ },
1189
+ "hasDynamicHelp": false,
1190
+ "hiddenAliases": [],
1191
+ "id": "static_host:build:create",
1192
+ "pluginAlias": "@xano/cli",
1193
+ "pluginName": "@xano/cli",
1194
+ "pluginType": "core",
1195
+ "strict": true,
1196
+ "enableJsonFlag": false,
1197
+ "isESM": true,
1198
+ "relativePath": [
1199
+ "dist",
1200
+ "commands",
1201
+ "static_host",
1202
+ "build",
1203
+ "create",
1204
+ "index.js"
1205
+ ]
1206
+ },
1207
+ "static_host:build:get": {
1208
+ "aliases": [],
1209
+ "args": {
1210
+ "static_host": {
1211
+ "description": "Static Host name",
1212
+ "name": "static_host",
1213
+ "required": true
1214
+ },
1215
+ "build_id": {
1216
+ "description": "Build ID",
1217
+ "name": "build_id",
1218
+ "required": true
1219
+ }
1220
+ },
1221
+ "description": "Get details of a specific build for a static host",
1222
+ "examples": [
1223
+ "$ xano static_host:build:get default 52\nBuild Details:\nID: 52\nName: v1.0.0\nStatus: completed\n",
1224
+ "$ xano static_host:build:get default 52 -w 40\nBuild Details:\nID: 52\nName: v1.0.0\nStatus: completed\n",
1225
+ "$ xano static_host:build:get myhost 123 --profile production\nBuild Details:\nID: 123\nName: production-build\n",
1226
+ "$ xano static_host:build:get default 52 -o json\n{\n \"id\": 52,\n \"name\": \"v1.0.0\",\n \"status\": \"completed\"\n}\n"
1227
+ ],
1228
+ "flags": {
1229
+ "profile": {
1230
+ "char": "p",
1231
+ "description": "Profile to use for this command",
1232
+ "env": "XANO_PROFILE",
1233
+ "name": "profile",
1234
+ "required": false,
1235
+ "hasDynamicHelp": false,
1236
+ "multiple": false,
1237
+ "type": "option"
1238
+ },
1239
+ "workspace": {
1240
+ "char": "w",
1241
+ "description": "Workspace ID (optional if set in profile)",
1242
+ "name": "workspace",
1243
+ "required": false,
1244
+ "hasDynamicHelp": false,
1245
+ "multiple": false,
1246
+ "type": "option"
1247
+ },
1248
+ "output": {
1249
+ "char": "o",
1250
+ "description": "Output format",
1251
+ "name": "output",
1252
+ "required": false,
1253
+ "default": "summary",
1254
+ "hasDynamicHelp": false,
1255
+ "multiple": false,
1256
+ "options": [
1257
+ "summary",
1258
+ "json"
1259
+ ],
1260
+ "type": "option"
1261
+ }
1262
+ },
1263
+ "hasDynamicHelp": false,
1264
+ "hiddenAliases": [],
1265
+ "id": "static_host:build:get",
1266
+ "pluginAlias": "@xano/cli",
1267
+ "pluginName": "@xano/cli",
1268
+ "pluginType": "core",
1269
+ "strict": true,
1270
+ "enableJsonFlag": false,
1271
+ "isESM": true,
1272
+ "relativePath": [
1273
+ "dist",
1274
+ "commands",
1275
+ "static_host",
1276
+ "build",
1277
+ "get",
1278
+ "index.js"
1279
+ ]
1280
+ },
1281
+ "static_host:build:list": {
1282
+ "aliases": [],
1283
+ "args": {
1284
+ "static_host": {
1285
+ "description": "Static Host name",
1286
+ "name": "static_host",
1287
+ "required": true
1288
+ }
1289
+ },
1290
+ "description": "List all builds for a static host",
1291
+ "examples": [
1292
+ "$ xano static_host:build:list default -w 40\nAvailable builds:\n - v1.0.0 (ID: 1) - Status: completed\n - v1.0.1 (ID: 2) - Status: pending\n",
1293
+ "$ xano static_host:build:list myhost --profile production\nAvailable builds:\n - production (ID: 1) - Status: completed\n - staging (ID: 2) - Status: completed\n",
1294
+ "$ xano static_host:build:list default -w 40 --output json\n[\n {\n \"id\": 1,\n \"name\": \"v1.0.0\",\n \"status\": \"completed\"\n }\n]\n",
1295
+ "$ xano static_host:build:list default -p staging -o json --page 2\n[\n {\n \"id\": 3,\n \"name\": \"v1.0.2\"\n }\n]\n"
1296
+ ],
1297
+ "flags": {
1298
+ "profile": {
1299
+ "char": "p",
1300
+ "description": "Profile to use for this command",
1301
+ "env": "XANO_PROFILE",
1302
+ "name": "profile",
1303
+ "required": false,
1304
+ "hasDynamicHelp": false,
1305
+ "multiple": false,
1306
+ "type": "option"
1307
+ },
1308
+ "workspace": {
1309
+ "char": "w",
1310
+ "description": "Workspace ID (optional if set in profile)",
1311
+ "name": "workspace",
1312
+ "required": false,
1313
+ "hasDynamicHelp": false,
1314
+ "multiple": false,
1315
+ "type": "option"
1316
+ },
1317
+ "output": {
1318
+ "char": "o",
1319
+ "description": "Output format",
1320
+ "name": "output",
1321
+ "required": false,
1322
+ "default": "summary",
1323
+ "hasDynamicHelp": false,
1324
+ "multiple": false,
1325
+ "options": [
1326
+ "summary",
1327
+ "json"
1328
+ ],
1329
+ "type": "option"
1330
+ },
1331
+ "page": {
1332
+ "description": "Page number for pagination",
1333
+ "name": "page",
1334
+ "required": false,
1335
+ "default": 1,
1336
+ "hasDynamicHelp": false,
1337
+ "multiple": false,
1338
+ "type": "option"
1339
+ },
1340
+ "per_page": {
1341
+ "description": "Number of results per page",
1342
+ "name": "per_page",
1343
+ "required": false,
1344
+ "default": 50,
1345
+ "hasDynamicHelp": false,
1346
+ "multiple": false,
1347
+ "type": "option"
1348
+ }
1349
+ },
1350
+ "hasDynamicHelp": false,
1351
+ "hiddenAliases": [],
1352
+ "id": "static_host:build:list",
1353
+ "pluginAlias": "@xano/cli",
1354
+ "pluginName": "@xano/cli",
1355
+ "pluginType": "core",
1356
+ "strict": true,
1357
+ "enableJsonFlag": false,
1358
+ "isESM": true,
1359
+ "relativePath": [
1360
+ "dist",
1361
+ "commands",
1362
+ "static_host",
1363
+ "build",
1364
+ "list",
1365
+ "index.js"
1366
+ ]
1367
+ }
1368
+ },
1369
+ "version": "0.0.2"
1370
+ }