@xano/cli 0.0.64 → 0.0.66
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 +25 -0
- package/dist/base-command.d.ts +25 -0
- package/dist/base-command.js +53 -11
- package/dist/commands/auth/index.d.ts +2 -0
- package/dist/commands/auth/index.js +23 -16
- package/dist/commands/function/edit/index.js +17 -18
- package/dist/commands/function/get/index.js +11 -11
- package/dist/commands/profile/create/index.d.ts +1 -0
- package/dist/commands/profile/create/index.js +10 -0
- package/dist/commands/profile/edit/index.d.ts +2 -0
- package/dist/commands/profile/edit/index.js +23 -1
- package/dist/commands/profile/list/index.js +3 -0
- package/dist/commands/profile/wizard/index.d.ts +2 -0
- package/dist/commands/profile/wizard/index.js +23 -12
- package/dist/commands/release/export/index.js +14 -13
- package/dist/commands/release/pull/index.d.ts +0 -6
- package/dist/commands/release/pull/index.js +15 -62
- package/dist/commands/release/push/index.js +16 -6
- package/dist/commands/tenant/backup/export/index.js +4 -2
- package/dist/commands/tenant/create/index.js +3 -0
- package/dist/commands/tenant/deploy_platform/index.js +1 -0
- package/dist/commands/tenant/deploy_release/index.js +1 -0
- package/dist/commands/tenant/pull/index.d.ts +0 -6
- package/dist/commands/tenant/pull/index.js +9 -56
- package/dist/commands/tenant/push/index.js +16 -6
- package/dist/commands/workspace/git/pull/index.js +9 -8
- package/dist/commands/workspace/pull/index.js +9 -6
- package/dist/commands/workspace/push/index.js +10 -1
- package/dist/utils/document-parser.d.ts +22 -0
- package/dist/utils/document-parser.js +54 -1
- package/oclif.manifest.json +992 -952
- package/package.json +1 -1
package/oclif.manifest.json
CHANGED
|
@@ -9,6 +9,13 @@
|
|
|
9
9
|
"$ xano auth --origin https://custom.xano.com\nOpening browser for Xano login at https://custom.xano.com..."
|
|
10
10
|
],
|
|
11
11
|
"flags": {
|
|
12
|
+
"insecure": {
|
|
13
|
+
"char": "k",
|
|
14
|
+
"description": "Skip TLS certificate verification (for self-signed certificates)",
|
|
15
|
+
"name": "insecure",
|
|
16
|
+
"allowNo": false,
|
|
17
|
+
"type": "boolean"
|
|
18
|
+
},
|
|
12
19
|
"origin": {
|
|
13
20
|
"char": "o",
|
|
14
21
|
"description": "Xano account origin URL",
|
|
@@ -193,20 +200,20 @@
|
|
|
193
200
|
"index.js"
|
|
194
201
|
]
|
|
195
202
|
},
|
|
196
|
-
"branch:
|
|
203
|
+
"branch:delete": {
|
|
197
204
|
"aliases": [],
|
|
198
205
|
"args": {
|
|
199
206
|
"branch_label": {
|
|
200
|
-
"description": "Branch label to
|
|
207
|
+
"description": "Branch label to delete (cannot delete \"v1\" or the live branch)",
|
|
201
208
|
"name": "branch_label",
|
|
202
209
|
"required": true
|
|
203
210
|
}
|
|
204
211
|
},
|
|
205
|
-
"description": "
|
|
212
|
+
"description": "Delete a branch (cannot delete \"v1\" or the live branch)",
|
|
206
213
|
"examples": [
|
|
207
|
-
"$ xano branch
|
|
208
|
-
"$ xano branch
|
|
209
|
-
"$ xano branch
|
|
214
|
+
"$ xano branch delete feature-old\nAre you sure you want to delete branch 'feature-old'? This action cannot be undone. (y/N) y\nDeleted branch: feature-old\n",
|
|
215
|
+
"$ xano branch delete dev --force\nDeleted branch: dev\n",
|
|
216
|
+
"$ xano branch delete staging -f -o json\n{\n \"deleted\": true,\n \"branch_label\": \"staging\"\n}\n"
|
|
210
217
|
],
|
|
211
218
|
"flags": {
|
|
212
219
|
"profile": {
|
|
@@ -228,32 +235,13 @@
|
|
|
228
235
|
"allowNo": false,
|
|
229
236
|
"type": "boolean"
|
|
230
237
|
},
|
|
231
|
-
"
|
|
232
|
-
"char": "
|
|
233
|
-
"description": "
|
|
234
|
-
"name": "
|
|
235
|
-
"required": false,
|
|
236
|
-
"hasDynamicHelp": false,
|
|
237
|
-
"multiple": false,
|
|
238
|
-
"type": "option"
|
|
239
|
-
},
|
|
240
|
-
"description": {
|
|
241
|
-
"char": "d",
|
|
242
|
-
"description": "New description for the branch",
|
|
243
|
-
"name": "description",
|
|
244
|
-
"required": false,
|
|
245
|
-
"hasDynamicHelp": false,
|
|
246
|
-
"multiple": false,
|
|
247
|
-
"type": "option"
|
|
248
|
-
},
|
|
249
|
-
"label": {
|
|
250
|
-
"char": "l",
|
|
251
|
-
"description": "New label for the branch",
|
|
252
|
-
"name": "label",
|
|
238
|
+
"force": {
|
|
239
|
+
"char": "f",
|
|
240
|
+
"description": "Skip confirmation prompt",
|
|
241
|
+
"name": "force",
|
|
253
242
|
"required": false,
|
|
254
|
-
"
|
|
255
|
-
"
|
|
256
|
-
"type": "option"
|
|
243
|
+
"allowNo": false,
|
|
244
|
+
"type": "boolean"
|
|
257
245
|
},
|
|
258
246
|
"output": {
|
|
259
247
|
"char": "o",
|
|
@@ -281,7 +269,7 @@
|
|
|
281
269
|
},
|
|
282
270
|
"hasDynamicHelp": false,
|
|
283
271
|
"hiddenAliases": [],
|
|
284
|
-
"id": "branch:
|
|
272
|
+
"id": "branch:delete",
|
|
285
273
|
"pluginAlias": "@xano/cli",
|
|
286
274
|
"pluginName": "@xano/cli",
|
|
287
275
|
"pluginType": "core",
|
|
@@ -292,24 +280,24 @@
|
|
|
292
280
|
"dist",
|
|
293
281
|
"commands",
|
|
294
282
|
"branch",
|
|
295
|
-
"
|
|
283
|
+
"delete",
|
|
296
284
|
"index.js"
|
|
297
285
|
]
|
|
298
286
|
},
|
|
299
|
-
"branch:
|
|
287
|
+
"branch:edit": {
|
|
300
288
|
"aliases": [],
|
|
301
289
|
"args": {
|
|
302
290
|
"branch_label": {
|
|
303
|
-
"description": "Branch label to
|
|
291
|
+
"description": "Branch label to edit (cannot edit \"v1\" label)",
|
|
304
292
|
"name": "branch_label",
|
|
305
293
|
"required": true
|
|
306
294
|
}
|
|
307
295
|
},
|
|
308
|
-
"description": "
|
|
296
|
+
"description": "Update an existing branch (cannot update \"v1\" label)",
|
|
309
297
|
"examples": [
|
|
310
|
-
"$ xano branch
|
|
311
|
-
"$ xano branch
|
|
312
|
-
"$ xano branch
|
|
298
|
+
"$ xano branch edit dev --label development\nUpdated branch: development\n",
|
|
299
|
+
"$ xano branch edit feature-auth -l feature-authentication --color \"#ff5733\"\nUpdated branch: feature-authentication\n Color: #ff5733\n",
|
|
300
|
+
"$ xano branch edit staging --description \"Staging environment\" -o json\n{\n \"created_at\": \"2024-02-10T09:15:00Z\",\n \"label\": \"staging\",\n \"backup\": false\n}\n"
|
|
313
301
|
],
|
|
314
302
|
"flags": {
|
|
315
303
|
"profile": {
|
|
@@ -331,13 +319,32 @@
|
|
|
331
319
|
"allowNo": false,
|
|
332
320
|
"type": "boolean"
|
|
333
321
|
},
|
|
334
|
-
"
|
|
335
|
-
"char": "
|
|
336
|
-
"description": "
|
|
337
|
-
"name": "
|
|
322
|
+
"color": {
|
|
323
|
+
"char": "c",
|
|
324
|
+
"description": "New color hex code for the branch (e.g., \"#ff5733\")",
|
|
325
|
+
"name": "color",
|
|
338
326
|
"required": false,
|
|
339
|
-
"
|
|
340
|
-
"
|
|
327
|
+
"hasDynamicHelp": false,
|
|
328
|
+
"multiple": false,
|
|
329
|
+
"type": "option"
|
|
330
|
+
},
|
|
331
|
+
"description": {
|
|
332
|
+
"char": "d",
|
|
333
|
+
"description": "New description for the branch",
|
|
334
|
+
"name": "description",
|
|
335
|
+
"required": false,
|
|
336
|
+
"hasDynamicHelp": false,
|
|
337
|
+
"multiple": false,
|
|
338
|
+
"type": "option"
|
|
339
|
+
},
|
|
340
|
+
"label": {
|
|
341
|
+
"char": "l",
|
|
342
|
+
"description": "New label for the branch",
|
|
343
|
+
"name": "label",
|
|
344
|
+
"required": false,
|
|
345
|
+
"hasDynamicHelp": false,
|
|
346
|
+
"multiple": false,
|
|
347
|
+
"type": "option"
|
|
341
348
|
},
|
|
342
349
|
"output": {
|
|
343
350
|
"char": "o",
|
|
@@ -365,7 +372,7 @@
|
|
|
365
372
|
},
|
|
366
373
|
"hasDynamicHelp": false,
|
|
367
374
|
"hiddenAliases": [],
|
|
368
|
-
"id": "branch:
|
|
375
|
+
"id": "branch:edit",
|
|
369
376
|
"pluginAlias": "@xano/cli",
|
|
370
377
|
"pluginName": "@xano/cli",
|
|
371
378
|
"pluginType": "core",
|
|
@@ -376,24 +383,24 @@
|
|
|
376
383
|
"dist",
|
|
377
384
|
"commands",
|
|
378
385
|
"branch",
|
|
379
|
-
"
|
|
386
|
+
"edit",
|
|
380
387
|
"index.js"
|
|
381
388
|
]
|
|
382
389
|
},
|
|
383
|
-
"branch:
|
|
390
|
+
"branch:list": {
|
|
384
391
|
"aliases": [],
|
|
385
392
|
"args": {
|
|
386
|
-
"
|
|
387
|
-
"description": "
|
|
388
|
-
"name": "
|
|
389
|
-
"required":
|
|
393
|
+
"workspace_id": {
|
|
394
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
395
|
+
"name": "workspace_id",
|
|
396
|
+
"required": false
|
|
390
397
|
}
|
|
391
398
|
},
|
|
392
|
-
"description": "
|
|
399
|
+
"description": "List all branches in a workspace",
|
|
393
400
|
"examples": [
|
|
394
|
-
"$ xano branch
|
|
395
|
-
"$ xano branch
|
|
396
|
-
"$ xano branch
|
|
401
|
+
"$ xano branch list\nAvailable branches:\n - v1 (live)\n - dev\n - staging\n",
|
|
402
|
+
"$ xano branch list 123\nAvailable branches:\n - v1 (live)\n - feature-auth\n",
|
|
403
|
+
"$ xano branch list --output json\n[\n {\n \"created_at\": \"2024-01-15T10:30:00Z\",\n \"label\": \"v1\",\n \"backup\": false,\n \"live\": true\n }\n]\n"
|
|
397
404
|
],
|
|
398
405
|
"flags": {
|
|
399
406
|
"profile": {
|
|
@@ -428,20 +435,11 @@
|
|
|
428
435
|
"json"
|
|
429
436
|
],
|
|
430
437
|
"type": "option"
|
|
431
|
-
},
|
|
432
|
-
"workspace": {
|
|
433
|
-
"char": "w",
|
|
434
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
435
|
-
"name": "workspace",
|
|
436
|
-
"required": false,
|
|
437
|
-
"hasDynamicHelp": false,
|
|
438
|
-
"multiple": false,
|
|
439
|
-
"type": "option"
|
|
440
438
|
}
|
|
441
439
|
},
|
|
442
440
|
"hasDynamicHelp": false,
|
|
443
441
|
"hiddenAliases": [],
|
|
444
|
-
"id": "branch:
|
|
442
|
+
"id": "branch:list",
|
|
445
443
|
"pluginAlias": "@xano/cli",
|
|
446
444
|
"pluginName": "@xano/cli",
|
|
447
445
|
"pluginType": "core",
|
|
@@ -452,24 +450,24 @@
|
|
|
452
450
|
"dist",
|
|
453
451
|
"commands",
|
|
454
452
|
"branch",
|
|
455
|
-
"
|
|
453
|
+
"list",
|
|
456
454
|
"index.js"
|
|
457
455
|
]
|
|
458
456
|
},
|
|
459
|
-
"branch:
|
|
457
|
+
"branch:set_live": {
|
|
460
458
|
"aliases": [],
|
|
461
459
|
"args": {
|
|
462
|
-
"
|
|
463
|
-
"description": "
|
|
464
|
-
"name": "
|
|
465
|
-
"required":
|
|
460
|
+
"branch_label": {
|
|
461
|
+
"description": "Branch label to set as live (use \"v1\" for default branch)",
|
|
462
|
+
"name": "branch_label",
|
|
463
|
+
"required": true
|
|
466
464
|
}
|
|
467
465
|
},
|
|
468
|
-
"description": "
|
|
466
|
+
"description": "Set a branch as the live (active) branch for API requests",
|
|
469
467
|
"examples": [
|
|
470
|
-
"$ xano branch
|
|
471
|
-
"$ xano branch
|
|
472
|
-
"$ xano branch
|
|
468
|
+
"$ xano branch set-live staging\nAre you sure you want to set 'staging' as the live branch? (y/N) y\nBranch 'staging' is now live\n",
|
|
469
|
+
"$ xano branch set-live v1 --force\nBranch 'v1' is now live\n",
|
|
470
|
+
"$ xano branch set-live production -f -o json\n{\n \"created_at\": \"2024-02-10T09:15:00Z\",\n \"label\": \"production\",\n \"backup\": false,\n \"live\": true\n}\n"
|
|
473
471
|
],
|
|
474
472
|
"flags": {
|
|
475
473
|
"profile": {
|
|
@@ -491,6 +489,14 @@
|
|
|
491
489
|
"allowNo": false,
|
|
492
490
|
"type": "boolean"
|
|
493
491
|
},
|
|
492
|
+
"force": {
|
|
493
|
+
"char": "f",
|
|
494
|
+
"description": "Skip confirmation prompt",
|
|
495
|
+
"name": "force",
|
|
496
|
+
"required": false,
|
|
497
|
+
"allowNo": false,
|
|
498
|
+
"type": "boolean"
|
|
499
|
+
},
|
|
494
500
|
"output": {
|
|
495
501
|
"char": "o",
|
|
496
502
|
"description": "Output format",
|
|
@@ -504,11 +510,20 @@
|
|
|
504
510
|
"json"
|
|
505
511
|
],
|
|
506
512
|
"type": "option"
|
|
513
|
+
},
|
|
514
|
+
"workspace": {
|
|
515
|
+
"char": "w",
|
|
516
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
517
|
+
"name": "workspace",
|
|
518
|
+
"required": false,
|
|
519
|
+
"hasDynamicHelp": false,
|
|
520
|
+
"multiple": false,
|
|
521
|
+
"type": "option"
|
|
507
522
|
}
|
|
508
523
|
},
|
|
509
524
|
"hasDynamicHelp": false,
|
|
510
525
|
"hiddenAliases": [],
|
|
511
|
-
"id": "branch:
|
|
526
|
+
"id": "branch:set_live",
|
|
512
527
|
"pluginAlias": "@xano/cli",
|
|
513
528
|
"pluginName": "@xano/cli",
|
|
514
529
|
"pluginType": "core",
|
|
@@ -519,7 +534,7 @@
|
|
|
519
534
|
"dist",
|
|
520
535
|
"commands",
|
|
521
536
|
"branch",
|
|
522
|
-
"
|
|
537
|
+
"set_live",
|
|
523
538
|
"index.js"
|
|
524
539
|
]
|
|
525
540
|
},
|
|
@@ -629,90 +644,6 @@
|
|
|
629
644
|
"index.js"
|
|
630
645
|
]
|
|
631
646
|
},
|
|
632
|
-
"branch:set_live": {
|
|
633
|
-
"aliases": [],
|
|
634
|
-
"args": {
|
|
635
|
-
"branch_label": {
|
|
636
|
-
"description": "Branch label to set as live (use \"v1\" for default branch)",
|
|
637
|
-
"name": "branch_label",
|
|
638
|
-
"required": true
|
|
639
|
-
}
|
|
640
|
-
},
|
|
641
|
-
"description": "Set a branch as the live (active) branch for API requests",
|
|
642
|
-
"examples": [
|
|
643
|
-
"$ xano branch set-live staging\nAre you sure you want to set 'staging' as the live branch? (y/N) y\nBranch 'staging' is now live\n",
|
|
644
|
-
"$ xano branch set-live v1 --force\nBranch 'v1' is now live\n",
|
|
645
|
-
"$ xano branch set-live production -f -o json\n{\n \"created_at\": \"2024-02-10T09:15:00Z\",\n \"label\": \"production\",\n \"backup\": false,\n \"live\": true\n}\n"
|
|
646
|
-
],
|
|
647
|
-
"flags": {
|
|
648
|
-
"profile": {
|
|
649
|
-
"char": "p",
|
|
650
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
651
|
-
"env": "XANO_PROFILE",
|
|
652
|
-
"name": "profile",
|
|
653
|
-
"required": false,
|
|
654
|
-
"hasDynamicHelp": false,
|
|
655
|
-
"multiple": false,
|
|
656
|
-
"type": "option"
|
|
657
|
-
},
|
|
658
|
-
"verbose": {
|
|
659
|
-
"char": "v",
|
|
660
|
-
"description": "Show detailed request/response information",
|
|
661
|
-
"env": "XANO_VERBOSE",
|
|
662
|
-
"name": "verbose",
|
|
663
|
-
"required": false,
|
|
664
|
-
"allowNo": false,
|
|
665
|
-
"type": "boolean"
|
|
666
|
-
},
|
|
667
|
-
"force": {
|
|
668
|
-
"char": "f",
|
|
669
|
-
"description": "Skip confirmation prompt",
|
|
670
|
-
"name": "force",
|
|
671
|
-
"required": false,
|
|
672
|
-
"allowNo": false,
|
|
673
|
-
"type": "boolean"
|
|
674
|
-
},
|
|
675
|
-
"output": {
|
|
676
|
-
"char": "o",
|
|
677
|
-
"description": "Output format",
|
|
678
|
-
"name": "output",
|
|
679
|
-
"required": false,
|
|
680
|
-
"default": "summary",
|
|
681
|
-
"hasDynamicHelp": false,
|
|
682
|
-
"multiple": false,
|
|
683
|
-
"options": [
|
|
684
|
-
"summary",
|
|
685
|
-
"json"
|
|
686
|
-
],
|
|
687
|
-
"type": "option"
|
|
688
|
-
},
|
|
689
|
-
"workspace": {
|
|
690
|
-
"char": "w",
|
|
691
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
692
|
-
"name": "workspace",
|
|
693
|
-
"required": false,
|
|
694
|
-
"hasDynamicHelp": false,
|
|
695
|
-
"multiple": false,
|
|
696
|
-
"type": "option"
|
|
697
|
-
}
|
|
698
|
-
},
|
|
699
|
-
"hasDynamicHelp": false,
|
|
700
|
-
"hiddenAliases": [],
|
|
701
|
-
"id": "branch:set_live",
|
|
702
|
-
"pluginAlias": "@xano/cli",
|
|
703
|
-
"pluginName": "@xano/cli",
|
|
704
|
-
"pluginType": "core",
|
|
705
|
-
"strict": true,
|
|
706
|
-
"enableJsonFlag": false,
|
|
707
|
-
"isESM": true,
|
|
708
|
-
"relativePath": [
|
|
709
|
-
"dist",
|
|
710
|
-
"commands",
|
|
711
|
-
"branch",
|
|
712
|
-
"set_live",
|
|
713
|
-
"index.js"
|
|
714
|
-
]
|
|
715
|
-
},
|
|
716
647
|
"function:edit": {
|
|
717
648
|
"aliases": [],
|
|
718
649
|
"args": {
|
|
@@ -832,15 +763,23 @@
|
|
|
832
763
|
"index.js"
|
|
833
764
|
]
|
|
834
765
|
},
|
|
835
|
-
"function:
|
|
766
|
+
"function:get": {
|
|
836
767
|
"aliases": [],
|
|
837
|
-
"args": {
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
768
|
+
"args": {
|
|
769
|
+
"function_id": {
|
|
770
|
+
"description": "Function ID",
|
|
771
|
+
"name": "function_id",
|
|
772
|
+
"required": false
|
|
773
|
+
}
|
|
774
|
+
},
|
|
775
|
+
"description": "Get a specific function from a workspace",
|
|
776
|
+
"examples": [
|
|
777
|
+
"$ xano function:get 145 -w 40\nFunction: yo (ID: 145)\nCreated: 2025-10-10 10:30:00\nDescription: Sample function\n",
|
|
778
|
+
"$ xano function:get 145 --profile production\nFunction: yo (ID: 145)\nCreated: 2025-10-10 10:30:00\n",
|
|
779
|
+
"$ xano function:get\nSelect a function:\n ❯ yo (ID: 145) - Sample function\n another-func (ID: 146)\n",
|
|
780
|
+
"$ xano function:get 145 -w 40 --output json\n{\n \"id\": 145,\n \"name\": \"yo\",\n \"description\": \"Sample function\"\n}\n",
|
|
781
|
+
"$ xano function:get 145 -p staging -o json --include_draft\n{\n \"id\": 145,\n \"name\": \"yo\"\n}\n",
|
|
782
|
+
"$ xano function:get 145 -p staging -o xs\nfunction yo {\n input {\n }\n stack {\n }\n response = null\n}\n"
|
|
844
783
|
],
|
|
845
784
|
"flags": {
|
|
846
785
|
"profile": {
|
|
@@ -863,7 +802,7 @@
|
|
|
863
802
|
"type": "boolean"
|
|
864
803
|
},
|
|
865
804
|
"include_draft": {
|
|
866
|
-
"description": "Include draft
|
|
805
|
+
"description": "Include draft version",
|
|
867
806
|
"name": "include_draft",
|
|
868
807
|
"required": false,
|
|
869
808
|
"allowNo": false,
|
|
@@ -876,19 +815,6 @@
|
|
|
876
815
|
"allowNo": false,
|
|
877
816
|
"type": "boolean"
|
|
878
817
|
},
|
|
879
|
-
"order": {
|
|
880
|
-
"description": "Sort order",
|
|
881
|
-
"name": "order",
|
|
882
|
-
"required": false,
|
|
883
|
-
"default": "desc",
|
|
884
|
-
"hasDynamicHelp": false,
|
|
885
|
-
"multiple": false,
|
|
886
|
-
"options": [
|
|
887
|
-
"asc",
|
|
888
|
-
"desc"
|
|
889
|
-
],
|
|
890
|
-
"type": "option"
|
|
891
|
-
},
|
|
892
818
|
"output": {
|
|
893
819
|
"char": "o",
|
|
894
820
|
"description": "Output format",
|
|
@@ -899,37 +825,11 @@
|
|
|
899
825
|
"multiple": false,
|
|
900
826
|
"options": [
|
|
901
827
|
"summary",
|
|
902
|
-
"json"
|
|
828
|
+
"json",
|
|
829
|
+
"xs"
|
|
903
830
|
],
|
|
904
831
|
"type": "option"
|
|
905
832
|
},
|
|
906
|
-
"page": {
|
|
907
|
-
"description": "Page number for pagination",
|
|
908
|
-
"name": "page",
|
|
909
|
-
"required": false,
|
|
910
|
-
"default": 1,
|
|
911
|
-
"hasDynamicHelp": false,
|
|
912
|
-
"multiple": false,
|
|
913
|
-
"type": "option"
|
|
914
|
-
},
|
|
915
|
-
"per_page": {
|
|
916
|
-
"description": "Number of results per page",
|
|
917
|
-
"name": "per_page",
|
|
918
|
-
"required": false,
|
|
919
|
-
"default": 50,
|
|
920
|
-
"hasDynamicHelp": false,
|
|
921
|
-
"multiple": false,
|
|
922
|
-
"type": "option"
|
|
923
|
-
},
|
|
924
|
-
"sort": {
|
|
925
|
-
"description": "Sort field",
|
|
926
|
-
"name": "sort",
|
|
927
|
-
"required": false,
|
|
928
|
-
"default": "created_at",
|
|
929
|
-
"hasDynamicHelp": false,
|
|
930
|
-
"multiple": false,
|
|
931
|
-
"type": "option"
|
|
932
|
-
},
|
|
933
833
|
"workspace": {
|
|
934
834
|
"char": "w",
|
|
935
835
|
"description": "Workspace ID (optional if set in profile)",
|
|
@@ -942,7 +842,7 @@
|
|
|
942
842
|
},
|
|
943
843
|
"hasDynamicHelp": false,
|
|
944
844
|
"hiddenAliases": [],
|
|
945
|
-
"id": "function:
|
|
845
|
+
"id": "function:get",
|
|
946
846
|
"pluginAlias": "@xano/cli",
|
|
947
847
|
"pluginName": "@xano/cli",
|
|
948
848
|
"pluginType": "core",
|
|
@@ -953,27 +853,19 @@
|
|
|
953
853
|
"dist",
|
|
954
854
|
"commands",
|
|
955
855
|
"function",
|
|
956
|
-
"
|
|
856
|
+
"get",
|
|
957
857
|
"index.js"
|
|
958
858
|
]
|
|
959
859
|
},
|
|
960
|
-
"function:
|
|
860
|
+
"function:list": {
|
|
961
861
|
"aliases": [],
|
|
962
|
-
"args": {
|
|
963
|
-
|
|
964
|
-
"description": "Function ID",
|
|
965
|
-
"name": "function_id",
|
|
966
|
-
"required": false
|
|
967
|
-
}
|
|
968
|
-
},
|
|
969
|
-
"description": "Get a specific function from a workspace",
|
|
862
|
+
"args": {},
|
|
863
|
+
"description": "List all functions in a workspace from the Xano Metadata API",
|
|
970
864
|
"examples": [
|
|
971
|
-
"$ xano function:
|
|
972
|
-
"$ xano function:
|
|
973
|
-
"$ xano function:
|
|
974
|
-
"$ xano function:
|
|
975
|
-
"$ xano function:get 145 -p staging -o json --include_draft\n{\n \"id\": 145,\n \"name\": \"yo\"\n}\n",
|
|
976
|
-
"$ xano function:get 145 -p staging -o xs\nfunction yo {\n input {\n }\n stack {\n }\n response = null\n}\n"
|
|
865
|
+
"$ xano function:list -w 40\nAvailable functions:\n - function-1 (ID: 1)\n - function-2 (ID: 2)\n - function-3 (ID: 3)\n",
|
|
866
|
+
"$ xano function:list --profile production\nAvailable functions:\n - my-function (ID: 1)\n - another-function (ID: 2)\n",
|
|
867
|
+
"$ xano function:list -w 40 --output json\n[\n {\n \"id\": 1,\n \"name\": \"function-1\"\n }\n]\n",
|
|
868
|
+
"$ xano function:list -p staging -o json --include_draft\n[\n {\n \"id\": 1,\n \"name\": \"function-1\"\n }\n]\n"
|
|
977
869
|
],
|
|
978
870
|
"flags": {
|
|
979
871
|
"profile": {
|
|
@@ -996,7 +888,7 @@
|
|
|
996
888
|
"type": "boolean"
|
|
997
889
|
},
|
|
998
890
|
"include_draft": {
|
|
999
|
-
"description": "Include draft
|
|
891
|
+
"description": "Include draft functions",
|
|
1000
892
|
"name": "include_draft",
|
|
1001
893
|
"required": false,
|
|
1002
894
|
"allowNo": false,
|
|
@@ -1009,6 +901,19 @@
|
|
|
1009
901
|
"allowNo": false,
|
|
1010
902
|
"type": "boolean"
|
|
1011
903
|
},
|
|
904
|
+
"order": {
|
|
905
|
+
"description": "Sort order",
|
|
906
|
+
"name": "order",
|
|
907
|
+
"required": false,
|
|
908
|
+
"default": "desc",
|
|
909
|
+
"hasDynamicHelp": false,
|
|
910
|
+
"multiple": false,
|
|
911
|
+
"options": [
|
|
912
|
+
"asc",
|
|
913
|
+
"desc"
|
|
914
|
+
],
|
|
915
|
+
"type": "option"
|
|
916
|
+
},
|
|
1012
917
|
"output": {
|
|
1013
918
|
"char": "o",
|
|
1014
919
|
"description": "Output format",
|
|
@@ -1019,11 +924,37 @@
|
|
|
1019
924
|
"multiple": false,
|
|
1020
925
|
"options": [
|
|
1021
926
|
"summary",
|
|
1022
|
-
"json"
|
|
1023
|
-
"xs"
|
|
927
|
+
"json"
|
|
1024
928
|
],
|
|
1025
929
|
"type": "option"
|
|
1026
930
|
},
|
|
931
|
+
"page": {
|
|
932
|
+
"description": "Page number for pagination",
|
|
933
|
+
"name": "page",
|
|
934
|
+
"required": false,
|
|
935
|
+
"default": 1,
|
|
936
|
+
"hasDynamicHelp": false,
|
|
937
|
+
"multiple": false,
|
|
938
|
+
"type": "option"
|
|
939
|
+
},
|
|
940
|
+
"per_page": {
|
|
941
|
+
"description": "Number of results per page",
|
|
942
|
+
"name": "per_page",
|
|
943
|
+
"required": false,
|
|
944
|
+
"default": 50,
|
|
945
|
+
"hasDynamicHelp": false,
|
|
946
|
+
"multiple": false,
|
|
947
|
+
"type": "option"
|
|
948
|
+
},
|
|
949
|
+
"sort": {
|
|
950
|
+
"description": "Sort field",
|
|
951
|
+
"name": "sort",
|
|
952
|
+
"required": false,
|
|
953
|
+
"default": "created_at",
|
|
954
|
+
"hasDynamicHelp": false,
|
|
955
|
+
"multiple": false,
|
|
956
|
+
"type": "option"
|
|
957
|
+
},
|
|
1027
958
|
"workspace": {
|
|
1028
959
|
"char": "w",
|
|
1029
960
|
"description": "Workspace ID (optional if set in profile)",
|
|
@@ -1036,7 +967,7 @@
|
|
|
1036
967
|
},
|
|
1037
968
|
"hasDynamicHelp": false,
|
|
1038
969
|
"hiddenAliases": [],
|
|
1039
|
-
"id": "function:
|
|
970
|
+
"id": "function:list",
|
|
1040
971
|
"pluginAlias": "@xano/cli",
|
|
1041
972
|
"pluginName": "@xano/cli",
|
|
1042
973
|
"pluginType": "core",
|
|
@@ -1047,7 +978,7 @@
|
|
|
1047
978
|
"dist",
|
|
1048
979
|
"commands",
|
|
1049
980
|
"function",
|
|
1050
|
-
"
|
|
981
|
+
"list",
|
|
1051
982
|
"index.js"
|
|
1052
983
|
]
|
|
1053
984
|
},
|
|
@@ -1191,7 +1122,8 @@
|
|
|
1191
1122
|
"$ 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",
|
|
1192
1123
|
"$ 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",
|
|
1193
1124
|
"$ 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",
|
|
1194
|
-
"$ 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"
|
|
1125
|
+
"$ 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",
|
|
1126
|
+
"$ xano profile:create selfhosted -i https://self-signed.example.com -t token123 --insecure\nProfile 'selfhosted' created successfully at ~/.xano/credentials.yaml\n"
|
|
1195
1127
|
],
|
|
1196
1128
|
"flags": {
|
|
1197
1129
|
"access_token": {
|
|
@@ -1228,6 +1160,14 @@
|
|
|
1228
1160
|
"allowNo": false,
|
|
1229
1161
|
"type": "boolean"
|
|
1230
1162
|
},
|
|
1163
|
+
"insecure": {
|
|
1164
|
+
"char": "k",
|
|
1165
|
+
"description": "Skip TLS certificate verification (for self-signed certificates)",
|
|
1166
|
+
"name": "insecure",
|
|
1167
|
+
"required": false,
|
|
1168
|
+
"allowNo": false,
|
|
1169
|
+
"type": "boolean"
|
|
1170
|
+
},
|
|
1231
1171
|
"instance_origin": {
|
|
1232
1172
|
"char": "i",
|
|
1233
1173
|
"description": "Instance origin URL",
|
|
@@ -1321,7 +1261,9 @@
|
|
|
1321
1261
|
"$ xano profile:edit production --access_token new_token123\nProfile 'production' updated successfully at ~/.xano/credentials.yaml\n",
|
|
1322
1262
|
"$ xano profile:edit staging -i https://new-staging-instance.xano.com -t new_token456\nProfile 'staging' updated successfully at ~/.xano/credentials.yaml\n",
|
|
1323
1263
|
"$ xano profile:edit -b new-branch\nProfile 'default' updated successfully at ~/.xano/credentials.yaml\n",
|
|
1324
|
-
"$ xano profile:edit --remove-branch\nProfile 'default' updated successfully at ~/.xano/credentials.yaml\n"
|
|
1264
|
+
"$ xano profile:edit --remove-branch\nProfile 'default' updated successfully at ~/.xano/credentials.yaml\n",
|
|
1265
|
+
"$ xano profile:edit --insecure\nProfile 'default' updated successfully at ~/.xano/credentials.yaml\n",
|
|
1266
|
+
"$ xano profile:edit --remove-insecure\nProfile 'default' updated successfully at ~/.xano/credentials.yaml\n"
|
|
1325
1267
|
],
|
|
1326
1268
|
"flags": {
|
|
1327
1269
|
"profile": {
|
|
@@ -1370,6 +1312,13 @@
|
|
|
1370
1312
|
"multiple": false,
|
|
1371
1313
|
"type": "option"
|
|
1372
1314
|
},
|
|
1315
|
+
"insecure": {
|
|
1316
|
+
"description": "Enable insecure mode (skip TLS certificate verification)",
|
|
1317
|
+
"name": "insecure",
|
|
1318
|
+
"required": false,
|
|
1319
|
+
"allowNo": false,
|
|
1320
|
+
"type": "boolean"
|
|
1321
|
+
},
|
|
1373
1322
|
"instance_origin": {
|
|
1374
1323
|
"char": "i",
|
|
1375
1324
|
"description": "Update instance origin URL",
|
|
@@ -1386,6 +1335,13 @@
|
|
|
1386
1335
|
"allowNo": false,
|
|
1387
1336
|
"type": "boolean"
|
|
1388
1337
|
},
|
|
1338
|
+
"remove-insecure": {
|
|
1339
|
+
"description": "Remove insecure mode from profile",
|
|
1340
|
+
"name": "remove-insecure",
|
|
1341
|
+
"required": false,
|
|
1342
|
+
"allowNo": false,
|
|
1343
|
+
"type": "boolean"
|
|
1344
|
+
},
|
|
1389
1345
|
"remove-workspace": {
|
|
1390
1346
|
"description": "Remove workspace from profile",
|
|
1391
1347
|
"name": "remove-workspace",
|
|
@@ -1445,6 +1401,118 @@
|
|
|
1445
1401
|
"index.js"
|
|
1446
1402
|
]
|
|
1447
1403
|
},
|
|
1404
|
+
"profile:list": {
|
|
1405
|
+
"aliases": [],
|
|
1406
|
+
"args": {},
|
|
1407
|
+
"description": "List all available profile configurations",
|
|
1408
|
+
"examples": [
|
|
1409
|
+
"$ xano profile:list\nAvailable profiles:\n - default\n - production\n - staging\n - development\n",
|
|
1410
|
+
"$ 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 Project: my-project\n\nProfile: production\n Account Origin: https://account.xano.com\n Instance Origin: https://prod-instance.xano.com\n Access Token: ***...***\n",
|
|
1411
|
+
"$ 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 Project: my-project\n"
|
|
1412
|
+
],
|
|
1413
|
+
"flags": {
|
|
1414
|
+
"details": {
|
|
1415
|
+
"char": "d",
|
|
1416
|
+
"description": "Show detailed information for each profile",
|
|
1417
|
+
"name": "details",
|
|
1418
|
+
"required": false,
|
|
1419
|
+
"allowNo": false,
|
|
1420
|
+
"type": "boolean"
|
|
1421
|
+
}
|
|
1422
|
+
},
|
|
1423
|
+
"hasDynamicHelp": false,
|
|
1424
|
+
"hiddenAliases": [],
|
|
1425
|
+
"id": "profile:list",
|
|
1426
|
+
"pluginAlias": "@xano/cli",
|
|
1427
|
+
"pluginName": "@xano/cli",
|
|
1428
|
+
"pluginType": "core",
|
|
1429
|
+
"strict": true,
|
|
1430
|
+
"enableJsonFlag": false,
|
|
1431
|
+
"isESM": true,
|
|
1432
|
+
"relativePath": [
|
|
1433
|
+
"dist",
|
|
1434
|
+
"commands",
|
|
1435
|
+
"profile",
|
|
1436
|
+
"list",
|
|
1437
|
+
"index.js"
|
|
1438
|
+
]
|
|
1439
|
+
},
|
|
1440
|
+
"branch:get": {
|
|
1441
|
+
"aliases": [],
|
|
1442
|
+
"args": {
|
|
1443
|
+
"branch_label": {
|
|
1444
|
+
"description": "Branch label (e.g., \"v1\", \"dev\")",
|
|
1445
|
+
"name": "branch_label",
|
|
1446
|
+
"required": true
|
|
1447
|
+
}
|
|
1448
|
+
},
|
|
1449
|
+
"description": "Get details for a specific branch",
|
|
1450
|
+
"examples": [
|
|
1451
|
+
"$ xano branch get v1\nBranch: v1 (live)\n Created: 2024-01-15\n",
|
|
1452
|
+
"$ xano branch get dev -w 123\nBranch: dev\n Created: 2024-02-01\n",
|
|
1453
|
+
"$ xano branch get staging --output json\n{\n \"created_at\": \"2024-02-10T09:15:00Z\",\n \"label\": \"staging\",\n \"backup\": false,\n \"live\": false\n}\n"
|
|
1454
|
+
],
|
|
1455
|
+
"flags": {
|
|
1456
|
+
"profile": {
|
|
1457
|
+
"char": "p",
|
|
1458
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
1459
|
+
"env": "XANO_PROFILE",
|
|
1460
|
+
"name": "profile",
|
|
1461
|
+
"required": false,
|
|
1462
|
+
"hasDynamicHelp": false,
|
|
1463
|
+
"multiple": false,
|
|
1464
|
+
"type": "option"
|
|
1465
|
+
},
|
|
1466
|
+
"verbose": {
|
|
1467
|
+
"char": "v",
|
|
1468
|
+
"description": "Show detailed request/response information",
|
|
1469
|
+
"env": "XANO_VERBOSE",
|
|
1470
|
+
"name": "verbose",
|
|
1471
|
+
"required": false,
|
|
1472
|
+
"allowNo": false,
|
|
1473
|
+
"type": "boolean"
|
|
1474
|
+
},
|
|
1475
|
+
"output": {
|
|
1476
|
+
"char": "o",
|
|
1477
|
+
"description": "Output format",
|
|
1478
|
+
"name": "output",
|
|
1479
|
+
"required": false,
|
|
1480
|
+
"default": "summary",
|
|
1481
|
+
"hasDynamicHelp": false,
|
|
1482
|
+
"multiple": false,
|
|
1483
|
+
"options": [
|
|
1484
|
+
"summary",
|
|
1485
|
+
"json"
|
|
1486
|
+
],
|
|
1487
|
+
"type": "option"
|
|
1488
|
+
},
|
|
1489
|
+
"workspace": {
|
|
1490
|
+
"char": "w",
|
|
1491
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
1492
|
+
"name": "workspace",
|
|
1493
|
+
"required": false,
|
|
1494
|
+
"hasDynamicHelp": false,
|
|
1495
|
+
"multiple": false,
|
|
1496
|
+
"type": "option"
|
|
1497
|
+
}
|
|
1498
|
+
},
|
|
1499
|
+
"hasDynamicHelp": false,
|
|
1500
|
+
"hiddenAliases": [],
|
|
1501
|
+
"id": "branch:get",
|
|
1502
|
+
"pluginAlias": "@xano/cli",
|
|
1503
|
+
"pluginName": "@xano/cli",
|
|
1504
|
+
"pluginType": "core",
|
|
1505
|
+
"strict": true,
|
|
1506
|
+
"enableJsonFlag": false,
|
|
1507
|
+
"isESM": true,
|
|
1508
|
+
"relativePath": [
|
|
1509
|
+
"dist",
|
|
1510
|
+
"commands",
|
|
1511
|
+
"branch",
|
|
1512
|
+
"get",
|
|
1513
|
+
"index.js"
|
|
1514
|
+
]
|
|
1515
|
+
},
|
|
1448
1516
|
"profile:me": {
|
|
1449
1517
|
"aliases": [],
|
|
1450
1518
|
"args": {},
|
|
@@ -1537,28 +1605,18 @@
|
|
|
1537
1605
|
"index.js"
|
|
1538
1606
|
]
|
|
1539
1607
|
},
|
|
1540
|
-
"profile:
|
|
1608
|
+
"profile:token": {
|
|
1541
1609
|
"aliases": [],
|
|
1542
1610
|
"args": {},
|
|
1543
|
-
"description": "
|
|
1611
|
+
"description": "Print the access token for the default profile",
|
|
1544
1612
|
"examples": [
|
|
1545
|
-
"$ xano profile:
|
|
1546
|
-
"$ xano profile:
|
|
1547
|
-
"$ 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 Project: my-project\n"
|
|
1613
|
+
"$ xano profile:token\neyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...\n",
|
|
1614
|
+
"$ xano profile:token | pbcopy\n# Copies the token to clipboard on macOS\n"
|
|
1548
1615
|
],
|
|
1549
|
-
"flags": {
|
|
1550
|
-
"details": {
|
|
1551
|
-
"char": "d",
|
|
1552
|
-
"description": "Show detailed information for each profile",
|
|
1553
|
-
"name": "details",
|
|
1554
|
-
"required": false,
|
|
1555
|
-
"allowNo": false,
|
|
1556
|
-
"type": "boolean"
|
|
1557
|
-
}
|
|
1558
|
-
},
|
|
1616
|
+
"flags": {},
|
|
1559
1617
|
"hasDynamicHelp": false,
|
|
1560
1618
|
"hiddenAliases": [],
|
|
1561
|
-
"id": "profile:
|
|
1619
|
+
"id": "profile:token",
|
|
1562
1620
|
"pluginAlias": "@xano/cli",
|
|
1563
1621
|
"pluginName": "@xano/cli",
|
|
1564
1622
|
"pluginType": "core",
|
|
@@ -1569,22 +1627,22 @@
|
|
|
1569
1627
|
"dist",
|
|
1570
1628
|
"commands",
|
|
1571
1629
|
"profile",
|
|
1572
|
-
"
|
|
1630
|
+
"token",
|
|
1573
1631
|
"index.js"
|
|
1574
1632
|
]
|
|
1575
1633
|
},
|
|
1576
|
-
"profile:
|
|
1634
|
+
"profile:workspace": {
|
|
1577
1635
|
"aliases": [],
|
|
1578
1636
|
"args": {},
|
|
1579
|
-
"description": "Print the
|
|
1637
|
+
"description": "Print the workspace ID for the default profile",
|
|
1580
1638
|
"examples": [
|
|
1581
|
-
"$ xano profile:
|
|
1582
|
-
"$ xano profile:
|
|
1639
|
+
"$ xano profile:workspace\nabc123-workspace-id\n",
|
|
1640
|
+
"$ xano profile:workspace | pbcopy\n# Copies the workspace ID to clipboard on macOS\n"
|
|
1583
1641
|
],
|
|
1584
1642
|
"flags": {},
|
|
1585
1643
|
"hasDynamicHelp": false,
|
|
1586
1644
|
"hiddenAliases": [],
|
|
1587
|
-
"id": "profile:
|
|
1645
|
+
"id": "profile:workspace",
|
|
1588
1646
|
"pluginAlias": "@xano/cli",
|
|
1589
1647
|
"pluginName": "@xano/cli",
|
|
1590
1648
|
"pluginType": "core",
|
|
@@ -1595,67 +1653,85 @@
|
|
|
1595
1653
|
"dist",
|
|
1596
1654
|
"commands",
|
|
1597
1655
|
"profile",
|
|
1598
|
-
"
|
|
1656
|
+
"workspace",
|
|
1599
1657
|
"index.js"
|
|
1600
1658
|
]
|
|
1601
1659
|
},
|
|
1602
|
-
"
|
|
1660
|
+
"static_host:list": {
|
|
1603
1661
|
"aliases": [],
|
|
1604
1662
|
"args": {},
|
|
1605
|
-
"description": "
|
|
1663
|
+
"description": "List all static hosts in a workspace from the Xano Metadata API",
|
|
1606
1664
|
"examples": [
|
|
1607
|
-
"$ xano
|
|
1665
|
+
"$ xano static_host:list -w 40\nAvailable static hosts:\n - my-static-host (ID: 1)\n - another-host (ID: 2)\n",
|
|
1666
|
+
"$ xano static_host:list --profile production\nAvailable static hosts:\n - my-static-host (ID: 1)\n - another-host (ID: 2)\n",
|
|
1667
|
+
"$ 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",
|
|
1668
|
+
"$ xano static_host:list -p staging -o json --page 2\n[\n {\n \"id\": 3,\n \"name\": \"static-host-3\"\n }\n]\n"
|
|
1608
1669
|
],
|
|
1609
1670
|
"flags": {
|
|
1610
|
-
"
|
|
1611
|
-
"char": "
|
|
1612
|
-
"description": "Profile
|
|
1613
|
-
"
|
|
1671
|
+
"profile": {
|
|
1672
|
+
"char": "p",
|
|
1673
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
1674
|
+
"env": "XANO_PROFILE",
|
|
1675
|
+
"name": "profile",
|
|
1614
1676
|
"required": false,
|
|
1615
1677
|
"hasDynamicHelp": false,
|
|
1616
1678
|
"multiple": false,
|
|
1617
1679
|
"type": "option"
|
|
1618
1680
|
},
|
|
1619
|
-
"
|
|
1681
|
+
"verbose": {
|
|
1682
|
+
"char": "v",
|
|
1683
|
+
"description": "Show detailed request/response information",
|
|
1684
|
+
"env": "XANO_VERBOSE",
|
|
1685
|
+
"name": "verbose",
|
|
1686
|
+
"required": false,
|
|
1687
|
+
"allowNo": false,
|
|
1688
|
+
"type": "boolean"
|
|
1689
|
+
},
|
|
1690
|
+
"output": {
|
|
1620
1691
|
"char": "o",
|
|
1621
|
-
"description": "
|
|
1622
|
-
"name": "
|
|
1692
|
+
"description": "Output format",
|
|
1693
|
+
"name": "output",
|
|
1623
1694
|
"required": false,
|
|
1624
|
-
"default": "
|
|
1695
|
+
"default": "summary",
|
|
1625
1696
|
"hasDynamicHelp": false,
|
|
1626
1697
|
"multiple": false,
|
|
1698
|
+
"options": [
|
|
1699
|
+
"summary",
|
|
1700
|
+
"json"
|
|
1701
|
+
],
|
|
1627
1702
|
"type": "option"
|
|
1628
|
-
}
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1703
|
+
},
|
|
1704
|
+
"page": {
|
|
1705
|
+
"description": "Page number for pagination",
|
|
1706
|
+
"name": "page",
|
|
1707
|
+
"required": false,
|
|
1708
|
+
"default": 1,
|
|
1709
|
+
"hasDynamicHelp": false,
|
|
1710
|
+
"multiple": false,
|
|
1711
|
+
"type": "option"
|
|
1712
|
+
},
|
|
1713
|
+
"per_page": {
|
|
1714
|
+
"description": "Number of results per page",
|
|
1715
|
+
"name": "per_page",
|
|
1716
|
+
"required": false,
|
|
1717
|
+
"default": 50,
|
|
1718
|
+
"hasDynamicHelp": false,
|
|
1719
|
+
"multiple": false,
|
|
1720
|
+
"type": "option"
|
|
1721
|
+
},
|
|
1722
|
+
"workspace": {
|
|
1723
|
+
"char": "w",
|
|
1724
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
1725
|
+
"name": "workspace",
|
|
1726
|
+
"required": false,
|
|
1727
|
+
"hasDynamicHelp": false,
|
|
1728
|
+
"multiple": false,
|
|
1729
|
+
"type": "option"
|
|
1730
|
+
}
|
|
1731
|
+
},
|
|
1656
1732
|
"hasDynamicHelp": false,
|
|
1657
1733
|
"hiddenAliases": [],
|
|
1658
|
-
"id": "
|
|
1734
|
+
"id": "static_host:list",
|
|
1659
1735
|
"pluginAlias": "@xano/cli",
|
|
1660
1736
|
"pluginName": "@xano/cli",
|
|
1661
1737
|
"pluginType": "core",
|
|
@@ -1665,8 +1741,8 @@
|
|
|
1665
1741
|
"relativePath": [
|
|
1666
1742
|
"dist",
|
|
1667
1743
|
"commands",
|
|
1668
|
-
"
|
|
1669
|
-
"
|
|
1744
|
+
"static_host",
|
|
1745
|
+
"list",
|
|
1670
1746
|
"index.js"
|
|
1671
1747
|
]
|
|
1672
1748
|
},
|
|
@@ -2042,62 +2118,37 @@
|
|
|
2042
2118
|
"index.js"
|
|
2043
2119
|
]
|
|
2044
2120
|
},
|
|
2045
|
-
"
|
|
2121
|
+
"profile:wizard": {
|
|
2046
2122
|
"aliases": [],
|
|
2047
2123
|
"args": {},
|
|
2048
|
-
"description": "
|
|
2124
|
+
"description": "Create a new profile configuration using an interactive wizard",
|
|
2049
2125
|
"examples": [
|
|
2050
|
-
"$ xano
|
|
2051
|
-
"$ xano release import --file ./my-release.tar.gz -o json"
|
|
2126
|
+
"$ 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"
|
|
2052
2127
|
],
|
|
2053
2128
|
"flags": {
|
|
2054
|
-
"
|
|
2055
|
-
"char": "
|
|
2056
|
-
"description": "
|
|
2057
|
-
"
|
|
2058
|
-
"name": "profile",
|
|
2059
|
-
"required": false,
|
|
2060
|
-
"hasDynamicHelp": false,
|
|
2061
|
-
"multiple": false,
|
|
2062
|
-
"type": "option"
|
|
2063
|
-
},
|
|
2064
|
-
"verbose": {
|
|
2065
|
-
"char": "v",
|
|
2066
|
-
"description": "Show detailed request/response information",
|
|
2067
|
-
"env": "XANO_VERBOSE",
|
|
2068
|
-
"name": "verbose",
|
|
2129
|
+
"insecure": {
|
|
2130
|
+
"char": "k",
|
|
2131
|
+
"description": "Skip TLS certificate verification (for self-signed certificates)",
|
|
2132
|
+
"name": "insecure",
|
|
2069
2133
|
"required": false,
|
|
2070
2134
|
"allowNo": false,
|
|
2071
2135
|
"type": "boolean"
|
|
2072
2136
|
},
|
|
2073
|
-
"
|
|
2074
|
-
"char": "
|
|
2075
|
-
"description": "
|
|
2076
|
-
"name": "
|
|
2077
|
-
"required": true,
|
|
2078
|
-
"hasDynamicHelp": false,
|
|
2079
|
-
"multiple": false,
|
|
2080
|
-
"type": "option"
|
|
2081
|
-
},
|
|
2082
|
-
"output": {
|
|
2083
|
-
"char": "o",
|
|
2084
|
-
"description": "Output format",
|
|
2085
|
-
"name": "output",
|
|
2137
|
+
"name": {
|
|
2138
|
+
"char": "n",
|
|
2139
|
+
"description": "Profile name (skip prompt if provided)",
|
|
2140
|
+
"name": "name",
|
|
2086
2141
|
"required": false,
|
|
2087
|
-
"default": "summary",
|
|
2088
2142
|
"hasDynamicHelp": false,
|
|
2089
2143
|
"multiple": false,
|
|
2090
|
-
"options": [
|
|
2091
|
-
"summary",
|
|
2092
|
-
"json"
|
|
2093
|
-
],
|
|
2094
2144
|
"type": "option"
|
|
2095
2145
|
},
|
|
2096
|
-
"
|
|
2097
|
-
"char": "
|
|
2098
|
-
"description": "
|
|
2099
|
-
"name": "
|
|
2146
|
+
"origin": {
|
|
2147
|
+
"char": "o",
|
|
2148
|
+
"description": "Xano instance origin URL",
|
|
2149
|
+
"name": "origin",
|
|
2100
2150
|
"required": false,
|
|
2151
|
+
"default": "https://app.xano.com",
|
|
2101
2152
|
"hasDynamicHelp": false,
|
|
2102
2153
|
"multiple": false,
|
|
2103
2154
|
"type": "option"
|
|
@@ -2105,7 +2156,7 @@
|
|
|
2105
2156
|
},
|
|
2106
2157
|
"hasDynamicHelp": false,
|
|
2107
2158
|
"hiddenAliases": [],
|
|
2108
|
-
"id": "
|
|
2159
|
+
"id": "profile:wizard",
|
|
2109
2160
|
"pluginAlias": "@xano/cli",
|
|
2110
2161
|
"pluginName": "@xano/cli",
|
|
2111
2162
|
"pluginType": "core",
|
|
@@ -2115,8 +2166,8 @@
|
|
|
2115
2166
|
"relativePath": [
|
|
2116
2167
|
"dist",
|
|
2117
2168
|
"commands",
|
|
2118
|
-
"
|
|
2119
|
-
"
|
|
2169
|
+
"profile",
|
|
2170
|
+
"wizard",
|
|
2120
2171
|
"index.js"
|
|
2121
2172
|
]
|
|
2122
2173
|
},
|
|
@@ -2195,13 +2246,13 @@
|
|
|
2195
2246
|
"index.js"
|
|
2196
2247
|
]
|
|
2197
2248
|
},
|
|
2198
|
-
"release:
|
|
2249
|
+
"release:import": {
|
|
2199
2250
|
"aliases": [],
|
|
2200
2251
|
"args": {},
|
|
2201
|
-
"description": "
|
|
2252
|
+
"description": "Import a release file into a workspace",
|
|
2202
2253
|
"examples": [
|
|
2203
|
-
"$ xano release
|
|
2204
|
-
"$ xano release
|
|
2254
|
+
"$ xano release import --file ./my-release.tar.gz\nImported release as #15\n",
|
|
2255
|
+
"$ xano release import --file ./my-release.tar.gz -o json"
|
|
2205
2256
|
],
|
|
2206
2257
|
"flags": {
|
|
2207
2258
|
"profile": {
|
|
@@ -2223,6 +2274,15 @@
|
|
|
2223
2274
|
"allowNo": false,
|
|
2224
2275
|
"type": "boolean"
|
|
2225
2276
|
},
|
|
2277
|
+
"file": {
|
|
2278
|
+
"char": "f",
|
|
2279
|
+
"description": "Path to the release file (.tar.gz)",
|
|
2280
|
+
"name": "file",
|
|
2281
|
+
"required": true,
|
|
2282
|
+
"hasDynamicHelp": false,
|
|
2283
|
+
"multiple": false,
|
|
2284
|
+
"type": "option"
|
|
2285
|
+
},
|
|
2226
2286
|
"output": {
|
|
2227
2287
|
"char": "o",
|
|
2228
2288
|
"description": "Output format",
|
|
@@ -2249,7 +2309,7 @@
|
|
|
2249
2309
|
},
|
|
2250
2310
|
"hasDynamicHelp": false,
|
|
2251
2311
|
"hiddenAliases": [],
|
|
2252
|
-
"id": "release:
|
|
2312
|
+
"id": "release:import",
|
|
2253
2313
|
"pluginAlias": "@xano/cli",
|
|
2254
2314
|
"pluginName": "@xano/cli",
|
|
2255
2315
|
"pluginType": "core",
|
|
@@ -2260,26 +2320,17 @@
|
|
|
2260
2320
|
"dist",
|
|
2261
2321
|
"commands",
|
|
2262
2322
|
"release",
|
|
2263
|
-
"
|
|
2323
|
+
"import",
|
|
2264
2324
|
"index.js"
|
|
2265
2325
|
]
|
|
2266
2326
|
},
|
|
2267
|
-
"release:
|
|
2327
|
+
"release:list": {
|
|
2268
2328
|
"aliases": [],
|
|
2269
|
-
"args": {
|
|
2270
|
-
|
|
2271
|
-
"description": "Directory containing .xs documents to create the release from",
|
|
2272
|
-
"name": "directory",
|
|
2273
|
-
"required": true
|
|
2274
|
-
}
|
|
2275
|
-
},
|
|
2276
|
-
"description": "Create a new release from local XanoScript files via the multidoc endpoint",
|
|
2329
|
+
"args": {},
|
|
2330
|
+
"description": "List all releases in a workspace",
|
|
2277
2331
|
"examples": [
|
|
2278
|
-
"$ xano release
|
|
2279
|
-
"$ xano release
|
|
2280
|
-
"$ xano release push ./backup -n \"v1.1-hotfix\" --hotfix --profile production\nCreated release: v1.1-hotfix - ID: 20\n",
|
|
2281
|
-
"$ xano release push ./my-release -n \"v1.0\" --no-records --no-env\nCreate release from schema only, skip records and environment variables\n",
|
|
2282
|
-
"$ xano release push ./my-release -n \"v1.0\" -o json\nOutput release details as JSON\n"
|
|
2332
|
+
"$ xano release list\nReleases in workspace 5:\n - v1.0 (ID: 10) - main\n - v1.1-hotfix (ID: 11) - main [hotfix]\n",
|
|
2333
|
+
"$ xano release list -w 5 --output json"
|
|
2283
2334
|
],
|
|
2284
2335
|
"flags": {
|
|
2285
2336
|
"profile": {
|
|
@@ -2301,39 +2352,6 @@
|
|
|
2301
2352
|
"allowNo": false,
|
|
2302
2353
|
"type": "boolean"
|
|
2303
2354
|
},
|
|
2304
|
-
"description": {
|
|
2305
|
-
"char": "d",
|
|
2306
|
-
"description": "Release description",
|
|
2307
|
-
"name": "description",
|
|
2308
|
-
"required": false,
|
|
2309
|
-
"default": "",
|
|
2310
|
-
"hasDynamicHelp": false,
|
|
2311
|
-
"multiple": false,
|
|
2312
|
-
"type": "option"
|
|
2313
|
-
},
|
|
2314
|
-
"env": {
|
|
2315
|
-
"description": "Include environment variables (default: true, use --no-env to exclude)",
|
|
2316
|
-
"name": "env",
|
|
2317
|
-
"required": false,
|
|
2318
|
-
"allowNo": true,
|
|
2319
|
-
"type": "boolean"
|
|
2320
|
-
},
|
|
2321
|
-
"hotfix": {
|
|
2322
|
-
"description": "Mark as a hotfix release",
|
|
2323
|
-
"name": "hotfix",
|
|
2324
|
-
"required": false,
|
|
2325
|
-
"allowNo": false,
|
|
2326
|
-
"type": "boolean"
|
|
2327
|
-
},
|
|
2328
|
-
"name": {
|
|
2329
|
-
"char": "n",
|
|
2330
|
-
"description": "Name for the release",
|
|
2331
|
-
"name": "name",
|
|
2332
|
-
"required": true,
|
|
2333
|
-
"hasDynamicHelp": false,
|
|
2334
|
-
"multiple": false,
|
|
2335
|
-
"type": "option"
|
|
2336
|
-
},
|
|
2337
2355
|
"output": {
|
|
2338
2356
|
"char": "o",
|
|
2339
2357
|
"description": "Output format",
|
|
@@ -2348,16 +2366,9 @@
|
|
|
2348
2366
|
],
|
|
2349
2367
|
"type": "option"
|
|
2350
2368
|
},
|
|
2351
|
-
"records": {
|
|
2352
|
-
"description": "Include records (default: true, use --no-records to exclude)",
|
|
2353
|
-
"name": "records",
|
|
2354
|
-
"required": false,
|
|
2355
|
-
"allowNo": true,
|
|
2356
|
-
"type": "boolean"
|
|
2357
|
-
},
|
|
2358
2369
|
"workspace": {
|
|
2359
2370
|
"char": "w",
|
|
2360
|
-
"description": "Workspace ID (
|
|
2371
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
2361
2372
|
"name": "workspace",
|
|
2362
2373
|
"required": false,
|
|
2363
2374
|
"hasDynamicHelp": false,
|
|
@@ -2367,7 +2378,7 @@
|
|
|
2367
2378
|
},
|
|
2368
2379
|
"hasDynamicHelp": false,
|
|
2369
2380
|
"hiddenAliases": [],
|
|
2370
|
-
"id": "release:
|
|
2381
|
+
"id": "release:list",
|
|
2371
2382
|
"pluginAlias": "@xano/cli",
|
|
2372
2383
|
"pluginName": "@xano/cli",
|
|
2373
2384
|
"pluginType": "core",
|
|
@@ -2378,104 +2389,26 @@
|
|
|
2378
2389
|
"dist",
|
|
2379
2390
|
"commands",
|
|
2380
2391
|
"release",
|
|
2381
|
-
"
|
|
2392
|
+
"list",
|
|
2382
2393
|
"index.js"
|
|
2383
2394
|
]
|
|
2384
2395
|
},
|
|
2385
|
-
"release:
|
|
2396
|
+
"release:push": {
|
|
2386
2397
|
"aliases": [],
|
|
2387
2398
|
"args": {
|
|
2388
2399
|
"directory": {
|
|
2389
|
-
"description": "
|
|
2400
|
+
"description": "Directory containing .xs documents to create the release from",
|
|
2390
2401
|
"name": "directory",
|
|
2391
2402
|
"required": true
|
|
2392
2403
|
}
|
|
2393
2404
|
},
|
|
2394
|
-
"description": "
|
|
2395
|
-
"examples": [
|
|
2396
|
-
"$ xano release pull ./my-release -r v1.0\nPulled 42 documents from release 'v1.0' to ./my-release\n",
|
|
2397
|
-
"$ xano release pull ./output -r v1.0 -w 40\nPulled 15 documents from release 'v1.0' to ./output\n",
|
|
2398
|
-
"$ xano release pull ./backup -r v1.0 --profile production --env --records\nPulled 58 documents from release 'v1.0' to ./backup\n"
|
|
2399
|
-
],
|
|
2400
|
-
"flags": {
|
|
2401
|
-
"profile": {
|
|
2402
|
-
"char": "p",
|
|
2403
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
2404
|
-
"env": "XANO_PROFILE",
|
|
2405
|
-
"name": "profile",
|
|
2406
|
-
"required": false,
|
|
2407
|
-
"hasDynamicHelp": false,
|
|
2408
|
-
"multiple": false,
|
|
2409
|
-
"type": "option"
|
|
2410
|
-
},
|
|
2411
|
-
"verbose": {
|
|
2412
|
-
"char": "v",
|
|
2413
|
-
"description": "Show detailed request/response information",
|
|
2414
|
-
"env": "XANO_VERBOSE",
|
|
2415
|
-
"name": "verbose",
|
|
2416
|
-
"required": false,
|
|
2417
|
-
"allowNo": false,
|
|
2418
|
-
"type": "boolean"
|
|
2419
|
-
},
|
|
2420
|
-
"env": {
|
|
2421
|
-
"description": "Include environment variables",
|
|
2422
|
-
"name": "env",
|
|
2423
|
-
"required": false,
|
|
2424
|
-
"allowNo": false,
|
|
2425
|
-
"type": "boolean"
|
|
2426
|
-
},
|
|
2427
|
-
"records": {
|
|
2428
|
-
"description": "Include records",
|
|
2429
|
-
"name": "records",
|
|
2430
|
-
"required": false,
|
|
2431
|
-
"allowNo": false,
|
|
2432
|
-
"type": "boolean"
|
|
2433
|
-
},
|
|
2434
|
-
"release": {
|
|
2435
|
-
"char": "r",
|
|
2436
|
-
"description": "Release name to pull from",
|
|
2437
|
-
"name": "release",
|
|
2438
|
-
"required": true,
|
|
2439
|
-
"hasDynamicHelp": false,
|
|
2440
|
-
"multiple": false,
|
|
2441
|
-
"type": "option"
|
|
2442
|
-
},
|
|
2443
|
-
"workspace": {
|
|
2444
|
-
"char": "w",
|
|
2445
|
-
"description": "Workspace ID (optional if set in profile)",
|
|
2446
|
-
"name": "workspace",
|
|
2447
|
-
"required": false,
|
|
2448
|
-
"hasDynamicHelp": false,
|
|
2449
|
-
"multiple": false,
|
|
2450
|
-
"type": "option"
|
|
2451
|
-
}
|
|
2452
|
-
},
|
|
2453
|
-
"hasDynamicHelp": false,
|
|
2454
|
-
"hiddenAliases": [],
|
|
2455
|
-
"id": "release:pull",
|
|
2456
|
-
"pluginAlias": "@xano/cli",
|
|
2457
|
-
"pluginName": "@xano/cli",
|
|
2458
|
-
"pluginType": "core",
|
|
2459
|
-
"strict": true,
|
|
2460
|
-
"enableJsonFlag": false,
|
|
2461
|
-
"isESM": true,
|
|
2462
|
-
"relativePath": [
|
|
2463
|
-
"dist",
|
|
2464
|
-
"commands",
|
|
2465
|
-
"release",
|
|
2466
|
-
"pull",
|
|
2467
|
-
"index.js"
|
|
2468
|
-
]
|
|
2469
|
-
},
|
|
2470
|
-
"static_host:list": {
|
|
2471
|
-
"aliases": [],
|
|
2472
|
-
"args": {},
|
|
2473
|
-
"description": "List all static hosts in a workspace from the Xano Metadata API",
|
|
2405
|
+
"description": "Create a new release from local XanoScript files via the multidoc endpoint",
|
|
2474
2406
|
"examples": [
|
|
2475
|
-
"$ xano
|
|
2476
|
-
"$ xano
|
|
2477
|
-
"$ xano
|
|
2478
|
-
"$ xano
|
|
2407
|
+
"$ xano release push ./my-release -n \"v1.0\"\nCreated release: v1.0 - ID: 10\n",
|
|
2408
|
+
"$ xano release push ./output -n \"v2.0\" -w 40 -d \"Major update\"\nCreated release: v2.0 - ID: 15\n",
|
|
2409
|
+
"$ xano release push ./backup -n \"v1.1-hotfix\" --hotfix --profile production\nCreated release: v1.1-hotfix - ID: 20\n",
|
|
2410
|
+
"$ xano release push ./my-release -n \"v1.0\" --no-records --no-env\nCreate release from schema only, skip records and environment variables\n",
|
|
2411
|
+
"$ xano release push ./my-release -n \"v1.0\" -o json\nOutput release details as JSON\n"
|
|
2479
2412
|
],
|
|
2480
2413
|
"flags": {
|
|
2481
2414
|
"profile": {
|
|
@@ -2497,6 +2430,39 @@
|
|
|
2497
2430
|
"allowNo": false,
|
|
2498
2431
|
"type": "boolean"
|
|
2499
2432
|
},
|
|
2433
|
+
"description": {
|
|
2434
|
+
"char": "d",
|
|
2435
|
+
"description": "Release description",
|
|
2436
|
+
"name": "description",
|
|
2437
|
+
"required": false,
|
|
2438
|
+
"default": "",
|
|
2439
|
+
"hasDynamicHelp": false,
|
|
2440
|
+
"multiple": false,
|
|
2441
|
+
"type": "option"
|
|
2442
|
+
},
|
|
2443
|
+
"env": {
|
|
2444
|
+
"description": "Include environment variables (default: true, use --no-env to exclude)",
|
|
2445
|
+
"name": "env",
|
|
2446
|
+
"required": false,
|
|
2447
|
+
"allowNo": true,
|
|
2448
|
+
"type": "boolean"
|
|
2449
|
+
},
|
|
2450
|
+
"hotfix": {
|
|
2451
|
+
"description": "Mark as a hotfix release",
|
|
2452
|
+
"name": "hotfix",
|
|
2453
|
+
"required": false,
|
|
2454
|
+
"allowNo": false,
|
|
2455
|
+
"type": "boolean"
|
|
2456
|
+
},
|
|
2457
|
+
"name": {
|
|
2458
|
+
"char": "n",
|
|
2459
|
+
"description": "Name for the release",
|
|
2460
|
+
"name": "name",
|
|
2461
|
+
"required": true,
|
|
2462
|
+
"hasDynamicHelp": false,
|
|
2463
|
+
"multiple": false,
|
|
2464
|
+
"type": "option"
|
|
2465
|
+
},
|
|
2500
2466
|
"output": {
|
|
2501
2467
|
"char": "o",
|
|
2502
2468
|
"description": "Output format",
|
|
@@ -2511,23 +2477,12 @@
|
|
|
2511
2477
|
],
|
|
2512
2478
|
"type": "option"
|
|
2513
2479
|
},
|
|
2514
|
-
"
|
|
2515
|
-
"description": "
|
|
2516
|
-
"name": "
|
|
2517
|
-
"required": false,
|
|
2518
|
-
"default": 1,
|
|
2519
|
-
"hasDynamicHelp": false,
|
|
2520
|
-
"multiple": false,
|
|
2521
|
-
"type": "option"
|
|
2522
|
-
},
|
|
2523
|
-
"per_page": {
|
|
2524
|
-
"description": "Number of results per page",
|
|
2525
|
-
"name": "per_page",
|
|
2480
|
+
"records": {
|
|
2481
|
+
"description": "Include records (default: true, use --no-records to exclude)",
|
|
2482
|
+
"name": "records",
|
|
2526
2483
|
"required": false,
|
|
2527
|
-
"
|
|
2528
|
-
"
|
|
2529
|
-
"multiple": false,
|
|
2530
|
-
"type": "option"
|
|
2484
|
+
"allowNo": true,
|
|
2485
|
+
"type": "boolean"
|
|
2531
2486
|
},
|
|
2532
2487
|
"workspace": {
|
|
2533
2488
|
"char": "w",
|
|
@@ -2541,7 +2496,7 @@
|
|
|
2541
2496
|
},
|
|
2542
2497
|
"hasDynamicHelp": false,
|
|
2543
2498
|
"hiddenAliases": [],
|
|
2544
|
-
"id": "
|
|
2499
|
+
"id": "release:push",
|
|
2545
2500
|
"pluginAlias": "@xano/cli",
|
|
2546
2501
|
"pluginName": "@xano/cli",
|
|
2547
2502
|
"pluginType": "core",
|
|
@@ -2551,8 +2506,8 @@
|
|
|
2551
2506
|
"relativePath": [
|
|
2552
2507
|
"dist",
|
|
2553
2508
|
"commands",
|
|
2554
|
-
"
|
|
2555
|
-
"
|
|
2509
|
+
"release",
|
|
2510
|
+
"push",
|
|
2556
2511
|
"index.js"
|
|
2557
2512
|
]
|
|
2558
2513
|
},
|
|
@@ -3234,13 +3189,20 @@
|
|
|
3234
3189
|
"index.js"
|
|
3235
3190
|
]
|
|
3236
3191
|
},
|
|
3237
|
-
"
|
|
3192
|
+
"release:pull": {
|
|
3238
3193
|
"aliases": [],
|
|
3239
|
-
"args": {
|
|
3240
|
-
|
|
3194
|
+
"args": {
|
|
3195
|
+
"directory": {
|
|
3196
|
+
"description": "Output directory for pulled documents",
|
|
3197
|
+
"name": "directory",
|
|
3198
|
+
"required": true
|
|
3199
|
+
}
|
|
3200
|
+
},
|
|
3201
|
+
"description": "Pull a release multidoc from the Xano Metadata API and split into individual files",
|
|
3241
3202
|
"examples": [
|
|
3242
|
-
"$ xano
|
|
3243
|
-
"$ xano
|
|
3203
|
+
"$ xano release pull ./my-release -r v1.0\nPulled 42 documents from release 'v1.0' to ./my-release\n",
|
|
3204
|
+
"$ xano release pull ./output -r v1.0 -w 40\nPulled 15 documents from release 'v1.0' to ./output\n",
|
|
3205
|
+
"$ xano release pull ./backup -r v1.0 --profile production --env --records\nPulled 58 documents from release 'v1.0' to ./backup\n"
|
|
3244
3206
|
],
|
|
3245
3207
|
"flags": {
|
|
3246
3208
|
"profile": {
|
|
@@ -3262,23 +3224,32 @@
|
|
|
3262
3224
|
"allowNo": false,
|
|
3263
3225
|
"type": "boolean"
|
|
3264
3226
|
},
|
|
3265
|
-
"
|
|
3266
|
-
"
|
|
3267
|
-
"
|
|
3268
|
-
"name": "output",
|
|
3227
|
+
"env": {
|
|
3228
|
+
"description": "Include environment variables",
|
|
3229
|
+
"name": "env",
|
|
3269
3230
|
"required": false,
|
|
3270
|
-
"
|
|
3231
|
+
"allowNo": false,
|
|
3232
|
+
"type": "boolean"
|
|
3233
|
+
},
|
|
3234
|
+
"records": {
|
|
3235
|
+
"description": "Include records",
|
|
3236
|
+
"name": "records",
|
|
3237
|
+
"required": false,
|
|
3238
|
+
"allowNo": false,
|
|
3239
|
+
"type": "boolean"
|
|
3240
|
+
},
|
|
3241
|
+
"release": {
|
|
3242
|
+
"char": "r",
|
|
3243
|
+
"description": "Release name to pull from",
|
|
3244
|
+
"name": "release",
|
|
3245
|
+
"required": true,
|
|
3271
3246
|
"hasDynamicHelp": false,
|
|
3272
3247
|
"multiple": false,
|
|
3273
|
-
"options": [
|
|
3274
|
-
"summary",
|
|
3275
|
-
"json"
|
|
3276
|
-
],
|
|
3277
3248
|
"type": "option"
|
|
3278
3249
|
},
|
|
3279
3250
|
"workspace": {
|
|
3280
3251
|
"char": "w",
|
|
3281
|
-
"description": "Workspace ID (
|
|
3252
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
3282
3253
|
"name": "workspace",
|
|
3283
3254
|
"required": false,
|
|
3284
3255
|
"hasDynamicHelp": false,
|
|
@@ -3288,7 +3259,7 @@
|
|
|
3288
3259
|
},
|
|
3289
3260
|
"hasDynamicHelp": false,
|
|
3290
3261
|
"hiddenAliases": [],
|
|
3291
|
-
"id": "
|
|
3262
|
+
"id": "release:pull",
|
|
3292
3263
|
"pluginAlias": "@xano/cli",
|
|
3293
3264
|
"pluginName": "@xano/cli",
|
|
3294
3265
|
"pluginType": "core",
|
|
@@ -3298,26 +3269,28 @@
|
|
|
3298
3269
|
"relativePath": [
|
|
3299
3270
|
"dist",
|
|
3300
3271
|
"commands",
|
|
3301
|
-
"
|
|
3302
|
-
"
|
|
3272
|
+
"release",
|
|
3273
|
+
"pull",
|
|
3303
3274
|
"index.js"
|
|
3304
3275
|
]
|
|
3305
3276
|
},
|
|
3306
|
-
"tenant:
|
|
3277
|
+
"tenant:push": {
|
|
3307
3278
|
"aliases": [],
|
|
3308
3279
|
"args": {
|
|
3309
3280
|
"directory": {
|
|
3310
|
-
"description": "
|
|
3281
|
+
"description": "Directory containing documents to push (as produced by tenant pull or workspace pull)",
|
|
3311
3282
|
"name": "directory",
|
|
3312
3283
|
"required": true
|
|
3313
3284
|
}
|
|
3314
3285
|
},
|
|
3315
|
-
"description": "
|
|
3286
|
+
"description": "Push local documents to a tenant via the Xano Metadata API multidoc endpoint",
|
|
3316
3287
|
"examples": [
|
|
3317
|
-
"$ xano tenant
|
|
3318
|
-
"$ xano tenant
|
|
3319
|
-
"$ xano tenant
|
|
3320
|
-
"$ xano tenant
|
|
3288
|
+
"$ xano tenant push ./my-workspace -t my-tenant\nPushed 42 documents to tenant my-tenant from ./my-workspace\n",
|
|
3289
|
+
"$ xano tenant push ./output -t my-tenant -w 40\nPushed 15 documents to tenant my-tenant from ./output\n",
|
|
3290
|
+
"$ xano tenant push ./backup -t my-tenant --profile production\nPushed 58 documents to tenant my-tenant from ./backup\n",
|
|
3291
|
+
"$ xano tenant push ./my-workspace -t my-tenant --no-records\nPush schema only, skip importing table records\n",
|
|
3292
|
+
"$ xano tenant push ./my-workspace -t my-tenant --no-env\nPush without overwriting environment variables\n",
|
|
3293
|
+
"$ xano tenant push ./my-workspace -t my-tenant --truncate\nTruncate all table records before importing\n"
|
|
3321
3294
|
],
|
|
3322
3295
|
"flags": {
|
|
3323
3296
|
"profile": {
|
|
@@ -3339,36 +3312,36 @@
|
|
|
3339
3312
|
"allowNo": false,
|
|
3340
3313
|
"type": "boolean"
|
|
3341
3314
|
},
|
|
3342
|
-
"draft": {
|
|
3343
|
-
"description": "Include draft versions",
|
|
3344
|
-
"name": "draft",
|
|
3345
|
-
"required": false,
|
|
3346
|
-
"allowNo": false,
|
|
3347
|
-
"type": "boolean"
|
|
3348
|
-
},
|
|
3349
3315
|
"env": {
|
|
3350
|
-
"description": "Include environment variables",
|
|
3316
|
+
"description": "Include environment variables in import (default: true, use --no-env to exclude)",
|
|
3351
3317
|
"name": "env",
|
|
3352
3318
|
"required": false,
|
|
3353
|
-
"allowNo":
|
|
3319
|
+
"allowNo": true,
|
|
3354
3320
|
"type": "boolean"
|
|
3355
3321
|
},
|
|
3356
3322
|
"records": {
|
|
3357
|
-
"description": "Include records",
|
|
3323
|
+
"description": "Include records in import (default: true, use --no-records to exclude)",
|
|
3358
3324
|
"name": "records",
|
|
3359
3325
|
"required": false,
|
|
3360
|
-
"allowNo":
|
|
3326
|
+
"allowNo": true,
|
|
3361
3327
|
"type": "boolean"
|
|
3362
3328
|
},
|
|
3363
3329
|
"tenant": {
|
|
3364
3330
|
"char": "t",
|
|
3365
|
-
"description": "Tenant name to
|
|
3331
|
+
"description": "Tenant name to push to",
|
|
3366
3332
|
"name": "tenant",
|
|
3367
3333
|
"required": true,
|
|
3368
3334
|
"hasDynamicHelp": false,
|
|
3369
3335
|
"multiple": false,
|
|
3370
3336
|
"type": "option"
|
|
3371
3337
|
},
|
|
3338
|
+
"truncate": {
|
|
3339
|
+
"description": "Truncate all table records before importing",
|
|
3340
|
+
"name": "truncate",
|
|
3341
|
+
"required": false,
|
|
3342
|
+
"allowNo": false,
|
|
3343
|
+
"type": "boolean"
|
|
3344
|
+
},
|
|
3372
3345
|
"workspace": {
|
|
3373
3346
|
"char": "w",
|
|
3374
3347
|
"description": "Workspace ID (optional if set in profile)",
|
|
@@ -3381,7 +3354,7 @@
|
|
|
3381
3354
|
},
|
|
3382
3355
|
"hasDynamicHelp": false,
|
|
3383
3356
|
"hiddenAliases": [],
|
|
3384
|
-
"id": "tenant:
|
|
3357
|
+
"id": "tenant:push",
|
|
3385
3358
|
"pluginAlias": "@xano/cli",
|
|
3386
3359
|
"pluginName": "@xano/cli",
|
|
3387
3360
|
"pluginType": "core",
|
|
@@ -3392,27 +3365,25 @@
|
|
|
3392
3365
|
"dist",
|
|
3393
3366
|
"commands",
|
|
3394
3367
|
"tenant",
|
|
3395
|
-
"
|
|
3368
|
+
"push",
|
|
3396
3369
|
"index.js"
|
|
3397
3370
|
]
|
|
3398
3371
|
},
|
|
3399
|
-
"tenant:
|
|
3372
|
+
"tenant:pull": {
|
|
3400
3373
|
"aliases": [],
|
|
3401
3374
|
"args": {
|
|
3402
3375
|
"directory": {
|
|
3403
|
-
"description": "
|
|
3376
|
+
"description": "Output directory for pulled documents",
|
|
3404
3377
|
"name": "directory",
|
|
3405
3378
|
"required": true
|
|
3406
3379
|
}
|
|
3407
3380
|
},
|
|
3408
|
-
"description": "
|
|
3381
|
+
"description": "Pull a tenant multidoc from the Xano Metadata API and split into individual files",
|
|
3409
3382
|
"examples": [
|
|
3410
|
-
"$ xano tenant
|
|
3411
|
-
"$ xano tenant
|
|
3412
|
-
"$ xano tenant
|
|
3413
|
-
"$ xano tenant
|
|
3414
|
-
"$ xano tenant push ./my-workspace -t my-tenant --no-env\nPush without overwriting environment variables\n",
|
|
3415
|
-
"$ xano tenant push ./my-workspace -t my-tenant --truncate\nTruncate all table records before importing\n"
|
|
3383
|
+
"$ xano tenant pull ./my-tenant -t my-tenant\nPulled 42 documents from tenant my-tenant to ./my-tenant\n",
|
|
3384
|
+
"$ xano tenant pull ./output -t my-tenant -w 40\nPulled 15 documents from tenant my-tenant to ./output\n",
|
|
3385
|
+
"$ xano tenant pull ./backup -t my-tenant --profile production --env --records\nPulled 58 documents from tenant my-tenant to ./backup\n",
|
|
3386
|
+
"$ xano tenant pull ./my-tenant -t my-tenant --draft\nPulled 42 documents from tenant my-tenant to ./my-tenant\n"
|
|
3416
3387
|
],
|
|
3417
3388
|
"flags": {
|
|
3418
3389
|
"profile": {
|
|
@@ -3434,39 +3405,108 @@
|
|
|
3434
3405
|
"allowNo": false,
|
|
3435
3406
|
"type": "boolean"
|
|
3436
3407
|
},
|
|
3408
|
+
"draft": {
|
|
3409
|
+
"description": "Include draft versions",
|
|
3410
|
+
"name": "draft",
|
|
3411
|
+
"required": false,
|
|
3412
|
+
"allowNo": false,
|
|
3413
|
+
"type": "boolean"
|
|
3414
|
+
},
|
|
3437
3415
|
"env": {
|
|
3438
|
-
"description": "Include environment variables
|
|
3416
|
+
"description": "Include environment variables",
|
|
3439
3417
|
"name": "env",
|
|
3440
3418
|
"required": false,
|
|
3441
|
-
"allowNo":
|
|
3419
|
+
"allowNo": false,
|
|
3442
3420
|
"type": "boolean"
|
|
3443
3421
|
},
|
|
3444
3422
|
"records": {
|
|
3445
|
-
"description": "Include records
|
|
3423
|
+
"description": "Include records",
|
|
3446
3424
|
"name": "records",
|
|
3447
3425
|
"required": false,
|
|
3448
|
-
"allowNo":
|
|
3426
|
+
"allowNo": false,
|
|
3449
3427
|
"type": "boolean"
|
|
3450
3428
|
},
|
|
3451
3429
|
"tenant": {
|
|
3452
3430
|
"char": "t",
|
|
3453
|
-
"description": "Tenant name to
|
|
3431
|
+
"description": "Tenant name to pull from",
|
|
3454
3432
|
"name": "tenant",
|
|
3455
3433
|
"required": true,
|
|
3456
3434
|
"hasDynamicHelp": false,
|
|
3457
3435
|
"multiple": false,
|
|
3458
3436
|
"type": "option"
|
|
3459
3437
|
},
|
|
3460
|
-
"
|
|
3461
|
-
"
|
|
3462
|
-
"
|
|
3438
|
+
"workspace": {
|
|
3439
|
+
"char": "w",
|
|
3440
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
3441
|
+
"name": "workspace",
|
|
3442
|
+
"required": false,
|
|
3443
|
+
"hasDynamicHelp": false,
|
|
3444
|
+
"multiple": false,
|
|
3445
|
+
"type": "option"
|
|
3446
|
+
}
|
|
3447
|
+
},
|
|
3448
|
+
"hasDynamicHelp": false,
|
|
3449
|
+
"hiddenAliases": [],
|
|
3450
|
+
"id": "tenant:pull",
|
|
3451
|
+
"pluginAlias": "@xano/cli",
|
|
3452
|
+
"pluginName": "@xano/cli",
|
|
3453
|
+
"pluginType": "core",
|
|
3454
|
+
"strict": true,
|
|
3455
|
+
"enableJsonFlag": false,
|
|
3456
|
+
"isESM": true,
|
|
3457
|
+
"relativePath": [
|
|
3458
|
+
"dist",
|
|
3459
|
+
"commands",
|
|
3460
|
+
"tenant",
|
|
3461
|
+
"pull",
|
|
3462
|
+
"index.js"
|
|
3463
|
+
]
|
|
3464
|
+
},
|
|
3465
|
+
"tenant:list": {
|
|
3466
|
+
"aliases": [],
|
|
3467
|
+
"args": {},
|
|
3468
|
+
"description": "List all tenants in a workspace",
|
|
3469
|
+
"examples": [
|
|
3470
|
+
"$ xano tenant list\nTenants in workspace 5:\n - My Tenant (my-tenant) [ok] - tier1\n - Staging (staging) [ok] - tier1\n",
|
|
3471
|
+
"$ xano tenant list -w 5 --output json"
|
|
3472
|
+
],
|
|
3473
|
+
"flags": {
|
|
3474
|
+
"profile": {
|
|
3475
|
+
"char": "p",
|
|
3476
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
3477
|
+
"env": "XANO_PROFILE",
|
|
3478
|
+
"name": "profile",
|
|
3479
|
+
"required": false,
|
|
3480
|
+
"hasDynamicHelp": false,
|
|
3481
|
+
"multiple": false,
|
|
3482
|
+
"type": "option"
|
|
3483
|
+
},
|
|
3484
|
+
"verbose": {
|
|
3485
|
+
"char": "v",
|
|
3486
|
+
"description": "Show detailed request/response information",
|
|
3487
|
+
"env": "XANO_VERBOSE",
|
|
3488
|
+
"name": "verbose",
|
|
3463
3489
|
"required": false,
|
|
3464
3490
|
"allowNo": false,
|
|
3465
3491
|
"type": "boolean"
|
|
3466
3492
|
},
|
|
3493
|
+
"output": {
|
|
3494
|
+
"char": "o",
|
|
3495
|
+
"description": "Output format",
|
|
3496
|
+
"name": "output",
|
|
3497
|
+
"required": false,
|
|
3498
|
+
"default": "summary",
|
|
3499
|
+
"hasDynamicHelp": false,
|
|
3500
|
+
"multiple": false,
|
|
3501
|
+
"options": [
|
|
3502
|
+
"summary",
|
|
3503
|
+
"json"
|
|
3504
|
+
],
|
|
3505
|
+
"type": "option"
|
|
3506
|
+
},
|
|
3467
3507
|
"workspace": {
|
|
3468
3508
|
"char": "w",
|
|
3469
|
-
"description": "Workspace ID (
|
|
3509
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
3470
3510
|
"name": "workspace",
|
|
3471
3511
|
"required": false,
|
|
3472
3512
|
"hasDynamicHelp": false,
|
|
@@ -3476,7 +3516,7 @@
|
|
|
3476
3516
|
},
|
|
3477
3517
|
"hasDynamicHelp": false,
|
|
3478
3518
|
"hiddenAliases": [],
|
|
3479
|
-
"id": "tenant:
|
|
3519
|
+
"id": "tenant:list",
|
|
3480
3520
|
"pluginAlias": "@xano/cli",
|
|
3481
3521
|
"pluginName": "@xano/cli",
|
|
3482
3522
|
"pluginType": "core",
|
|
@@ -3487,7 +3527,7 @@
|
|
|
3487
3527
|
"dist",
|
|
3488
3528
|
"commands",
|
|
3489
3529
|
"tenant",
|
|
3490
|
-
"
|
|
3530
|
+
"list",
|
|
3491
3531
|
"index.js"
|
|
3492
3532
|
]
|
|
3493
3533
|
},
|
|
@@ -3832,85 +3872,6 @@
|
|
|
3832
3872
|
"index.js"
|
|
3833
3873
|
]
|
|
3834
3874
|
},
|
|
3835
|
-
"workflow_test:list": {
|
|
3836
|
-
"aliases": [],
|
|
3837
|
-
"args": {},
|
|
3838
|
-
"description": "List all workflow tests in a workspace",
|
|
3839
|
-
"examples": [
|
|
3840
|
-
"$ xano workflow-test list\nWorkflow tests in workspace 5:\n - my-test (ID: 1)\n - auth-flow (ID: 2) - Validates auth endpoints\n",
|
|
3841
|
-
"$ xano workflow-test list -w 5 --output json",
|
|
3842
|
-
"$ xano workflow-test list --branch main"
|
|
3843
|
-
],
|
|
3844
|
-
"flags": {
|
|
3845
|
-
"profile": {
|
|
3846
|
-
"char": "p",
|
|
3847
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
3848
|
-
"env": "XANO_PROFILE",
|
|
3849
|
-
"name": "profile",
|
|
3850
|
-
"required": false,
|
|
3851
|
-
"hasDynamicHelp": false,
|
|
3852
|
-
"multiple": false,
|
|
3853
|
-
"type": "option"
|
|
3854
|
-
},
|
|
3855
|
-
"verbose": {
|
|
3856
|
-
"char": "v",
|
|
3857
|
-
"description": "Show detailed request/response information",
|
|
3858
|
-
"env": "XANO_VERBOSE",
|
|
3859
|
-
"name": "verbose",
|
|
3860
|
-
"required": false,
|
|
3861
|
-
"allowNo": false,
|
|
3862
|
-
"type": "boolean"
|
|
3863
|
-
},
|
|
3864
|
-
"branch": {
|
|
3865
|
-
"char": "b",
|
|
3866
|
-
"description": "Filter by branch name",
|
|
3867
|
-
"name": "branch",
|
|
3868
|
-
"required": false,
|
|
3869
|
-
"hasDynamicHelp": false,
|
|
3870
|
-
"multiple": false,
|
|
3871
|
-
"type": "option"
|
|
3872
|
-
},
|
|
3873
|
-
"output": {
|
|
3874
|
-
"char": "o",
|
|
3875
|
-
"description": "Output format",
|
|
3876
|
-
"name": "output",
|
|
3877
|
-
"required": false,
|
|
3878
|
-
"default": "summary",
|
|
3879
|
-
"hasDynamicHelp": false,
|
|
3880
|
-
"multiple": false,
|
|
3881
|
-
"options": [
|
|
3882
|
-
"summary",
|
|
3883
|
-
"json"
|
|
3884
|
-
],
|
|
3885
|
-
"type": "option"
|
|
3886
|
-
},
|
|
3887
|
-
"workspace": {
|
|
3888
|
-
"char": "w",
|
|
3889
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
3890
|
-
"name": "workspace",
|
|
3891
|
-
"required": false,
|
|
3892
|
-
"hasDynamicHelp": false,
|
|
3893
|
-
"multiple": false,
|
|
3894
|
-
"type": "option"
|
|
3895
|
-
}
|
|
3896
|
-
},
|
|
3897
|
-
"hasDynamicHelp": false,
|
|
3898
|
-
"hiddenAliases": [],
|
|
3899
|
-
"id": "workflow_test:list",
|
|
3900
|
-
"pluginAlias": "@xano/cli",
|
|
3901
|
-
"pluginName": "@xano/cli",
|
|
3902
|
-
"pluginType": "core",
|
|
3903
|
-
"strict": true,
|
|
3904
|
-
"enableJsonFlag": false,
|
|
3905
|
-
"isESM": true,
|
|
3906
|
-
"relativePath": [
|
|
3907
|
-
"dist",
|
|
3908
|
-
"commands",
|
|
3909
|
-
"workflow_test",
|
|
3910
|
-
"list",
|
|
3911
|
-
"index.js"
|
|
3912
|
-
]
|
|
3913
|
-
},
|
|
3914
3875
|
"workflow_test:get": {
|
|
3915
3876
|
"aliases": [],
|
|
3916
3877
|
"args": {
|
|
@@ -3995,13 +3956,14 @@
|
|
|
3995
3956
|
"index.js"
|
|
3996
3957
|
]
|
|
3997
3958
|
},
|
|
3998
|
-
"workflow_test:
|
|
3959
|
+
"workflow_test:list": {
|
|
3999
3960
|
"aliases": [],
|
|
4000
3961
|
"args": {},
|
|
4001
|
-
"description": "
|
|
3962
|
+
"description": "List all workflow tests in a workspace",
|
|
4002
3963
|
"examples": [
|
|
4003
|
-
"$ xano workflow-test
|
|
4004
|
-
"$ xano workflow-test
|
|
3964
|
+
"$ xano workflow-test list\nWorkflow tests in workspace 5:\n - my-test (ID: 1)\n - auth-flow (ID: 2) - Validates auth endpoints\n",
|
|
3965
|
+
"$ xano workflow-test list -w 5 --output json",
|
|
3966
|
+
"$ xano workflow-test list --branch main"
|
|
4005
3967
|
],
|
|
4006
3968
|
"flags": {
|
|
4007
3969
|
"profile": {
|
|
@@ -4058,7 +4020,7 @@
|
|
|
4058
4020
|
},
|
|
4059
4021
|
"hasDynamicHelp": false,
|
|
4060
4022
|
"hiddenAliases": [],
|
|
4061
|
-
"id": "workflow_test:
|
|
4023
|
+
"id": "workflow_test:list",
|
|
4062
4024
|
"pluginAlias": "@xano/cli",
|
|
4063
4025
|
"pluginName": "@xano/cli",
|
|
4064
4026
|
"pluginType": "core",
|
|
@@ -4069,24 +4031,17 @@
|
|
|
4069
4031
|
"dist",
|
|
4070
4032
|
"commands",
|
|
4071
4033
|
"workflow_test",
|
|
4072
|
-
"
|
|
4034
|
+
"list",
|
|
4073
4035
|
"index.js"
|
|
4074
4036
|
]
|
|
4075
4037
|
},
|
|
4076
|
-
"
|
|
4038
|
+
"workflow_test:run_all": {
|
|
4077
4039
|
"aliases": [],
|
|
4078
|
-
"args": {
|
|
4079
|
-
|
|
4080
|
-
"description": "Workspace ID to delete",
|
|
4081
|
-
"name": "workspace_id",
|
|
4082
|
-
"required": true
|
|
4083
|
-
}
|
|
4084
|
-
},
|
|
4085
|
-
"description": "Delete a workspace via the Xano Metadata API. Cannot delete workspaces with active tenants.",
|
|
4040
|
+
"args": {},
|
|
4041
|
+
"description": "Run all workflow tests in a workspace",
|
|
4086
4042
|
"examples": [
|
|
4087
|
-
"$ xano
|
|
4088
|
-
"$ xano
|
|
4089
|
-
"$ xano workspace delete 123 -f -o json\n{\n \"deleted\": true,\n \"workspace_id\": 123\n}\n"
|
|
4043
|
+
"$ xano workflow-test run-all\nRunning 3 workflow tests...\n\nPASS my-test (1.234s)\nPASS auth-flow (0.567s)\nFAIL data-validation (0.890s)\n Error: assertion failed at step 3\n\nResults: 2 passed, 1 failed (2.691s total)\n",
|
|
4044
|
+
"$ xano workflow-test run-all --branch main -o json"
|
|
4090
4045
|
],
|
|
4091
4046
|
"flags": {
|
|
4092
4047
|
"profile": {
|
|
@@ -4108,13 +4063,14 @@
|
|
|
4108
4063
|
"allowNo": false,
|
|
4109
4064
|
"type": "boolean"
|
|
4110
4065
|
},
|
|
4111
|
-
"
|
|
4112
|
-
"char": "
|
|
4113
|
-
"description": "
|
|
4114
|
-
"name": "
|
|
4066
|
+
"branch": {
|
|
4067
|
+
"char": "b",
|
|
4068
|
+
"description": "Filter by branch name",
|
|
4069
|
+
"name": "branch",
|
|
4115
4070
|
"required": false,
|
|
4116
|
-
"
|
|
4117
|
-
"
|
|
4071
|
+
"hasDynamicHelp": false,
|
|
4072
|
+
"multiple": false,
|
|
4073
|
+
"type": "option"
|
|
4118
4074
|
},
|
|
4119
4075
|
"output": {
|
|
4120
4076
|
"char": "o",
|
|
@@ -4129,11 +4085,20 @@
|
|
|
4129
4085
|
"json"
|
|
4130
4086
|
],
|
|
4131
4087
|
"type": "option"
|
|
4088
|
+
},
|
|
4089
|
+
"workspace": {
|
|
4090
|
+
"char": "w",
|
|
4091
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
4092
|
+
"name": "workspace",
|
|
4093
|
+
"required": false,
|
|
4094
|
+
"hasDynamicHelp": false,
|
|
4095
|
+
"multiple": false,
|
|
4096
|
+
"type": "option"
|
|
4132
4097
|
}
|
|
4133
4098
|
},
|
|
4134
4099
|
"hasDynamicHelp": false,
|
|
4135
4100
|
"hiddenAliases": [],
|
|
4136
|
-
"id": "
|
|
4101
|
+
"id": "workflow_test:run_all",
|
|
4137
4102
|
"pluginAlias": "@xano/cli",
|
|
4138
4103
|
"pluginName": "@xano/cli",
|
|
4139
4104
|
"pluginType": "core",
|
|
@@ -4143,8 +4108,8 @@
|
|
|
4143
4108
|
"relativePath": [
|
|
4144
4109
|
"dist",
|
|
4145
4110
|
"commands",
|
|
4146
|
-
"
|
|
4147
|
-
"
|
|
4111
|
+
"workflow_test",
|
|
4112
|
+
"run_all",
|
|
4148
4113
|
"index.js"
|
|
4149
4114
|
]
|
|
4150
4115
|
},
|
|
@@ -4224,19 +4189,20 @@
|
|
|
4224
4189
|
"index.js"
|
|
4225
4190
|
]
|
|
4226
4191
|
},
|
|
4227
|
-
"
|
|
4192
|
+
"workspace:delete": {
|
|
4228
4193
|
"aliases": [],
|
|
4229
4194
|
"args": {
|
|
4230
|
-
"
|
|
4231
|
-
"description": "ID
|
|
4232
|
-
"name": "
|
|
4195
|
+
"workspace_id": {
|
|
4196
|
+
"description": "Workspace ID to delete",
|
|
4197
|
+
"name": "workspace_id",
|
|
4233
4198
|
"required": true
|
|
4234
4199
|
}
|
|
4235
4200
|
},
|
|
4236
|
-
"description": "
|
|
4201
|
+
"description": "Delete a workspace via the Xano Metadata API. Cannot delete workspaces with active tenants.",
|
|
4237
4202
|
"examples": [
|
|
4238
|
-
"$ xano
|
|
4239
|
-
"$ xano
|
|
4203
|
+
"$ xano workspace delete 123\nAre you sure you want to delete workspace 123? This action cannot be undone. (y/N) y\nDeleted workspace 123\n",
|
|
4204
|
+
"$ xano workspace delete 123 --force\nDeleted workspace 123\n",
|
|
4205
|
+
"$ xano workspace delete 123 -f -o json\n{\n \"deleted\": true,\n \"workspace_id\": 123\n}\n"
|
|
4240
4206
|
],
|
|
4241
4207
|
"flags": {
|
|
4242
4208
|
"profile": {
|
|
@@ -4258,6 +4224,14 @@
|
|
|
4258
4224
|
"allowNo": false,
|
|
4259
4225
|
"type": "boolean"
|
|
4260
4226
|
},
|
|
4227
|
+
"force": {
|
|
4228
|
+
"char": "f",
|
|
4229
|
+
"description": "Skip confirmation prompt",
|
|
4230
|
+
"name": "force",
|
|
4231
|
+
"required": false,
|
|
4232
|
+
"allowNo": false,
|
|
4233
|
+
"type": "boolean"
|
|
4234
|
+
},
|
|
4261
4235
|
"output": {
|
|
4262
4236
|
"char": "o",
|
|
4263
4237
|
"description": "Output format",
|
|
@@ -4271,20 +4245,11 @@
|
|
|
4271
4245
|
"json"
|
|
4272
4246
|
],
|
|
4273
4247
|
"type": "option"
|
|
4274
|
-
},
|
|
4275
|
-
"workspace": {
|
|
4276
|
-
"char": "w",
|
|
4277
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
4278
|
-
"name": "workspace",
|
|
4279
|
-
"required": false,
|
|
4280
|
-
"hasDynamicHelp": false,
|
|
4281
|
-
"multiple": false,
|
|
4282
|
-
"type": "option"
|
|
4283
4248
|
}
|
|
4284
4249
|
},
|
|
4285
4250
|
"hasDynamicHelp": false,
|
|
4286
4251
|
"hiddenAliases": [],
|
|
4287
|
-
"id": "
|
|
4252
|
+
"id": "workspace:delete",
|
|
4288
4253
|
"pluginAlias": "@xano/cli",
|
|
4289
4254
|
"pluginName": "@xano/cli",
|
|
4290
4255
|
"pluginType": "core",
|
|
@@ -4294,8 +4259,8 @@
|
|
|
4294
4259
|
"relativePath": [
|
|
4295
4260
|
"dist",
|
|
4296
4261
|
"commands",
|
|
4297
|
-
"
|
|
4298
|
-
"
|
|
4262
|
+
"workspace",
|
|
4263
|
+
"delete",
|
|
4299
4264
|
"index.js"
|
|
4300
4265
|
]
|
|
4301
4266
|
},
|
|
@@ -4993,14 +4958,90 @@
|
|
|
4993
4958
|
"description": "Number of results per page",
|
|
4994
4959
|
"name": "per_page",
|
|
4995
4960
|
"required": false,
|
|
4996
|
-
"default": 50,
|
|
4961
|
+
"default": 50,
|
|
4962
|
+
"hasDynamicHelp": false,
|
|
4963
|
+
"multiple": false,
|
|
4964
|
+
"type": "option"
|
|
4965
|
+
},
|
|
4966
|
+
"workspace": {
|
|
4967
|
+
"char": "w",
|
|
4968
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
4969
|
+
"name": "workspace",
|
|
4970
|
+
"required": false,
|
|
4971
|
+
"hasDynamicHelp": false,
|
|
4972
|
+
"multiple": false,
|
|
4973
|
+
"type": "option"
|
|
4974
|
+
}
|
|
4975
|
+
},
|
|
4976
|
+
"hasDynamicHelp": false,
|
|
4977
|
+
"hiddenAliases": [],
|
|
4978
|
+
"id": "static_host:build:list",
|
|
4979
|
+
"pluginAlias": "@xano/cli",
|
|
4980
|
+
"pluginName": "@xano/cli",
|
|
4981
|
+
"pluginType": "core",
|
|
4982
|
+
"strict": true,
|
|
4983
|
+
"enableJsonFlag": false,
|
|
4984
|
+
"isESM": true,
|
|
4985
|
+
"relativePath": [
|
|
4986
|
+
"dist",
|
|
4987
|
+
"commands",
|
|
4988
|
+
"static_host",
|
|
4989
|
+
"build",
|
|
4990
|
+
"list",
|
|
4991
|
+
"index.js"
|
|
4992
|
+
]
|
|
4993
|
+
},
|
|
4994
|
+
"workflow_test:run": {
|
|
4995
|
+
"aliases": [],
|
|
4996
|
+
"args": {
|
|
4997
|
+
"workflow_test_id": {
|
|
4998
|
+
"description": "ID of the workflow test to run",
|
|
4999
|
+
"name": "workflow_test_id",
|
|
5000
|
+
"required": true
|
|
5001
|
+
}
|
|
5002
|
+
},
|
|
5003
|
+
"description": "Run a workflow test",
|
|
5004
|
+
"examples": [
|
|
5005
|
+
"$ xano workflow-test run 1\nRunning workflow test 1...\nResult: PASS (1.234s)\n",
|
|
5006
|
+
"$ xano workflow-test run 1 -o json"
|
|
5007
|
+
],
|
|
5008
|
+
"flags": {
|
|
5009
|
+
"profile": {
|
|
5010
|
+
"char": "p",
|
|
5011
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
5012
|
+
"env": "XANO_PROFILE",
|
|
5013
|
+
"name": "profile",
|
|
5014
|
+
"required": false,
|
|
5015
|
+
"hasDynamicHelp": false,
|
|
5016
|
+
"multiple": false,
|
|
5017
|
+
"type": "option"
|
|
5018
|
+
},
|
|
5019
|
+
"verbose": {
|
|
5020
|
+
"char": "v",
|
|
5021
|
+
"description": "Show detailed request/response information",
|
|
5022
|
+
"env": "XANO_VERBOSE",
|
|
5023
|
+
"name": "verbose",
|
|
5024
|
+
"required": false,
|
|
5025
|
+
"allowNo": false,
|
|
5026
|
+
"type": "boolean"
|
|
5027
|
+
},
|
|
5028
|
+
"output": {
|
|
5029
|
+
"char": "o",
|
|
5030
|
+
"description": "Output format",
|
|
5031
|
+
"name": "output",
|
|
5032
|
+
"required": false,
|
|
5033
|
+
"default": "summary",
|
|
4997
5034
|
"hasDynamicHelp": false,
|
|
4998
5035
|
"multiple": false,
|
|
5036
|
+
"options": [
|
|
5037
|
+
"summary",
|
|
5038
|
+
"json"
|
|
5039
|
+
],
|
|
4999
5040
|
"type": "option"
|
|
5000
5041
|
},
|
|
5001
5042
|
"workspace": {
|
|
5002
5043
|
"char": "w",
|
|
5003
|
-
"description": "Workspace ID (
|
|
5044
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
5004
5045
|
"name": "workspace",
|
|
5005
5046
|
"required": false,
|
|
5006
5047
|
"hasDynamicHelp": false,
|
|
@@ -5010,7 +5051,7 @@
|
|
|
5010
5051
|
},
|
|
5011
5052
|
"hasDynamicHelp": false,
|
|
5012
5053
|
"hiddenAliases": [],
|
|
5013
|
-
"id": "
|
|
5054
|
+
"id": "workflow_test:run",
|
|
5014
5055
|
"pluginAlias": "@xano/cli",
|
|
5015
5056
|
"pluginName": "@xano/cli",
|
|
5016
5057
|
"pluginType": "core",
|
|
@@ -5020,9 +5061,8 @@
|
|
|
5020
5061
|
"relativePath": [
|
|
5021
5062
|
"dist",
|
|
5022
5063
|
"commands",
|
|
5023
|
-
"
|
|
5024
|
-
"
|
|
5025
|
-
"list",
|
|
5064
|
+
"workflow_test",
|
|
5065
|
+
"run",
|
|
5026
5066
|
"index.js"
|
|
5027
5067
|
]
|
|
5028
5068
|
},
|
|
@@ -5112,20 +5152,20 @@
|
|
|
5112
5152
|
"index.js"
|
|
5113
5153
|
]
|
|
5114
5154
|
},
|
|
5115
|
-
"tenant:backup:
|
|
5155
|
+
"tenant:backup:delete": {
|
|
5116
5156
|
"aliases": [],
|
|
5117
5157
|
"args": {
|
|
5118
5158
|
"tenant_name": {
|
|
5119
|
-
"description": "Tenant name
|
|
5159
|
+
"description": "Tenant name that owns the backup",
|
|
5120
5160
|
"name": "tenant_name",
|
|
5121
5161
|
"required": true
|
|
5122
5162
|
}
|
|
5123
5163
|
},
|
|
5124
|
-
"description": "
|
|
5164
|
+
"description": "Delete a tenant backup permanently. This action cannot be undone.",
|
|
5125
5165
|
"examples": [
|
|
5126
|
-
"$ xano tenant backup
|
|
5127
|
-
"$ xano tenant backup
|
|
5128
|
-
"$ xano tenant backup
|
|
5166
|
+
"$ xano tenant backup delete t1234-abcd-xyz1 --backup_id 10\nAre you sure you want to delete backup #10? This action cannot be undone. (y/N) y\nDeleted backup #10\n",
|
|
5167
|
+
"$ xano tenant backup delete t1234-abcd-xyz1 --backup_id 10 --force",
|
|
5168
|
+
"$ xano tenant backup delete t1234-abcd-xyz1 --backup_id 10 -o json"
|
|
5129
5169
|
],
|
|
5130
5170
|
"flags": {
|
|
5131
5171
|
"profile": {
|
|
@@ -5148,17 +5188,25 @@
|
|
|
5148
5188
|
"type": "boolean"
|
|
5149
5189
|
},
|
|
5150
5190
|
"backup_id": {
|
|
5151
|
-
"description": "Backup ID to
|
|
5191
|
+
"description": "Backup ID to delete",
|
|
5152
5192
|
"name": "backup_id",
|
|
5153
5193
|
"required": true,
|
|
5154
5194
|
"hasDynamicHelp": false,
|
|
5155
5195
|
"multiple": false,
|
|
5156
5196
|
"type": "option"
|
|
5157
5197
|
},
|
|
5158
|
-
"
|
|
5198
|
+
"force": {
|
|
5199
|
+
"char": "f",
|
|
5200
|
+
"description": "Skip confirmation prompt",
|
|
5201
|
+
"name": "force",
|
|
5202
|
+
"required": false,
|
|
5203
|
+
"allowNo": false,
|
|
5204
|
+
"type": "boolean"
|
|
5205
|
+
},
|
|
5206
|
+
"output": {
|
|
5159
5207
|
"char": "o",
|
|
5160
5208
|
"description": "Output format",
|
|
5161
|
-
"name": "
|
|
5209
|
+
"name": "output",
|
|
5162
5210
|
"required": false,
|
|
5163
5211
|
"default": "summary",
|
|
5164
5212
|
"hasDynamicHelp": false,
|
|
@@ -5169,14 +5217,6 @@
|
|
|
5169
5217
|
],
|
|
5170
5218
|
"type": "option"
|
|
5171
5219
|
},
|
|
5172
|
-
"output": {
|
|
5173
|
-
"description": "Output file path (defaults to ./tenant-{name}-backup-{backup_id}.tar.gz)",
|
|
5174
|
-
"name": "output",
|
|
5175
|
-
"required": false,
|
|
5176
|
-
"hasDynamicHelp": false,
|
|
5177
|
-
"multiple": false,
|
|
5178
|
-
"type": "option"
|
|
5179
|
-
},
|
|
5180
5220
|
"workspace": {
|
|
5181
5221
|
"char": "w",
|
|
5182
5222
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -5189,7 +5229,7 @@
|
|
|
5189
5229
|
},
|
|
5190
5230
|
"hasDynamicHelp": false,
|
|
5191
5231
|
"hiddenAliases": [],
|
|
5192
|
-
"id": "tenant:backup:
|
|
5232
|
+
"id": "tenant:backup:delete",
|
|
5193
5233
|
"pluginAlias": "@xano/cli",
|
|
5194
5234
|
"pluginName": "@xano/cli",
|
|
5195
5235
|
"pluginType": "core",
|
|
@@ -5201,24 +5241,24 @@
|
|
|
5201
5241
|
"commands",
|
|
5202
5242
|
"tenant",
|
|
5203
5243
|
"backup",
|
|
5204
|
-
"
|
|
5244
|
+
"delete",
|
|
5205
5245
|
"index.js"
|
|
5206
5246
|
]
|
|
5207
5247
|
},
|
|
5208
|
-
"tenant:backup:
|
|
5248
|
+
"tenant:backup:export": {
|
|
5209
5249
|
"aliases": [],
|
|
5210
5250
|
"args": {
|
|
5211
5251
|
"tenant_name": {
|
|
5212
|
-
"description": "Tenant name
|
|
5252
|
+
"description": "Tenant name to export backup from",
|
|
5213
5253
|
"name": "tenant_name",
|
|
5214
5254
|
"required": true
|
|
5215
5255
|
}
|
|
5216
5256
|
},
|
|
5217
|
-
"description": "
|
|
5257
|
+
"description": "Export (download) a tenant backup to a local file",
|
|
5218
5258
|
"examples": [
|
|
5219
|
-
"$ xano tenant backup
|
|
5220
|
-
"$ xano tenant backup
|
|
5221
|
-
"$ xano tenant backup
|
|
5259
|
+
"$ xano tenant backup export t1234-abcd-xyz1 --backup_id 10\nDownloaded backup #10 to ./tenant-t1234-abcd-xyz1-backup-10.tar.gz\n",
|
|
5260
|
+
"$ xano tenant backup export t1234-abcd-xyz1 --backup_id 10 --output ./backups/my-backup.tar.gz",
|
|
5261
|
+
"$ xano tenant backup export t1234-abcd-xyz1 --backup_id 10 -o json"
|
|
5222
5262
|
],
|
|
5223
5263
|
"flags": {
|
|
5224
5264
|
"profile": {
|
|
@@ -5241,25 +5281,17 @@
|
|
|
5241
5281
|
"type": "boolean"
|
|
5242
5282
|
},
|
|
5243
5283
|
"backup_id": {
|
|
5244
|
-
"description": "Backup ID to
|
|
5284
|
+
"description": "Backup ID to export",
|
|
5245
5285
|
"name": "backup_id",
|
|
5246
5286
|
"required": true,
|
|
5247
5287
|
"hasDynamicHelp": false,
|
|
5248
5288
|
"multiple": false,
|
|
5249
5289
|
"type": "option"
|
|
5250
5290
|
},
|
|
5251
|
-
"
|
|
5252
|
-
"char": "f",
|
|
5253
|
-
"description": "Skip confirmation prompt",
|
|
5254
|
-
"name": "force",
|
|
5255
|
-
"required": false,
|
|
5256
|
-
"allowNo": false,
|
|
5257
|
-
"type": "boolean"
|
|
5258
|
-
},
|
|
5259
|
-
"output": {
|
|
5291
|
+
"format": {
|
|
5260
5292
|
"char": "o",
|
|
5261
5293
|
"description": "Output format",
|
|
5262
|
-
"name": "
|
|
5294
|
+
"name": "format",
|
|
5263
5295
|
"required": false,
|
|
5264
5296
|
"default": "summary",
|
|
5265
5297
|
"hasDynamicHelp": false,
|
|
@@ -5270,6 +5302,14 @@
|
|
|
5270
5302
|
],
|
|
5271
5303
|
"type": "option"
|
|
5272
5304
|
},
|
|
5305
|
+
"output": {
|
|
5306
|
+
"description": "Output file path (defaults to ./tenant-{name}-backup-{backup_id}.tar.gz)",
|
|
5307
|
+
"name": "output",
|
|
5308
|
+
"required": false,
|
|
5309
|
+
"hasDynamicHelp": false,
|
|
5310
|
+
"multiple": false,
|
|
5311
|
+
"type": "option"
|
|
5312
|
+
},
|
|
5273
5313
|
"workspace": {
|
|
5274
5314
|
"char": "w",
|
|
5275
5315
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -5282,7 +5322,7 @@
|
|
|
5282
5322
|
},
|
|
5283
5323
|
"hasDynamicHelp": false,
|
|
5284
5324
|
"hiddenAliases": [],
|
|
5285
|
-
"id": "tenant:backup:
|
|
5325
|
+
"id": "tenant:backup:export",
|
|
5286
5326
|
"pluginAlias": "@xano/cli",
|
|
5287
5327
|
"pluginName": "@xano/cli",
|
|
5288
5328
|
"pluginType": "core",
|
|
@@ -5294,7 +5334,7 @@
|
|
|
5294
5334
|
"commands",
|
|
5295
5335
|
"tenant",
|
|
5296
5336
|
"backup",
|
|
5297
|
-
"
|
|
5337
|
+
"export",
|
|
5298
5338
|
"index.js"
|
|
5299
5339
|
]
|
|
5300
5340
|
},
|
|
@@ -5946,170 +5986,7 @@
|
|
|
5946
5986
|
"description": "List all tenant clusters",
|
|
5947
5987
|
"examples": [
|
|
5948
5988
|
"$ xano tenant cluster list\nTenant clusters:\n - us-east-1 (standard) [ID: 1]\n - eu-west-1 (run) [ID: 2]\n",
|
|
5949
|
-
"$ xano tenant cluster list --output json"
|
|
5950
|
-
],
|
|
5951
|
-
"flags": {
|
|
5952
|
-
"profile": {
|
|
5953
|
-
"char": "p",
|
|
5954
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
5955
|
-
"env": "XANO_PROFILE",
|
|
5956
|
-
"name": "profile",
|
|
5957
|
-
"required": false,
|
|
5958
|
-
"hasDynamicHelp": false,
|
|
5959
|
-
"multiple": false,
|
|
5960
|
-
"type": "option"
|
|
5961
|
-
},
|
|
5962
|
-
"verbose": {
|
|
5963
|
-
"char": "v",
|
|
5964
|
-
"description": "Show detailed request/response information",
|
|
5965
|
-
"env": "XANO_VERBOSE",
|
|
5966
|
-
"name": "verbose",
|
|
5967
|
-
"required": false,
|
|
5968
|
-
"allowNo": false,
|
|
5969
|
-
"type": "boolean"
|
|
5970
|
-
},
|
|
5971
|
-
"output": {
|
|
5972
|
-
"char": "o",
|
|
5973
|
-
"description": "Output format",
|
|
5974
|
-
"name": "output",
|
|
5975
|
-
"required": false,
|
|
5976
|
-
"default": "summary",
|
|
5977
|
-
"hasDynamicHelp": false,
|
|
5978
|
-
"multiple": false,
|
|
5979
|
-
"options": [
|
|
5980
|
-
"summary",
|
|
5981
|
-
"json"
|
|
5982
|
-
],
|
|
5983
|
-
"type": "option"
|
|
5984
|
-
}
|
|
5985
|
-
},
|
|
5986
|
-
"hasDynamicHelp": false,
|
|
5987
|
-
"hiddenAliases": [],
|
|
5988
|
-
"id": "tenant:cluster:list",
|
|
5989
|
-
"pluginAlias": "@xano/cli",
|
|
5990
|
-
"pluginName": "@xano/cli",
|
|
5991
|
-
"pluginType": "core",
|
|
5992
|
-
"strict": true,
|
|
5993
|
-
"enableJsonFlag": false,
|
|
5994
|
-
"isESM": true,
|
|
5995
|
-
"relativePath": [
|
|
5996
|
-
"dist",
|
|
5997
|
-
"commands",
|
|
5998
|
-
"tenant",
|
|
5999
|
-
"cluster",
|
|
6000
|
-
"list",
|
|
6001
|
-
"index.js"
|
|
6002
|
-
]
|
|
6003
|
-
},
|
|
6004
|
-
"tenant:license:get": {
|
|
6005
|
-
"aliases": [],
|
|
6006
|
-
"args": {
|
|
6007
|
-
"tenant_name": {
|
|
6008
|
-
"description": "Tenant name",
|
|
6009
|
-
"name": "tenant_name",
|
|
6010
|
-
"required": true
|
|
6011
|
-
}
|
|
6012
|
-
},
|
|
6013
|
-
"description": "Get the license for a tenant",
|
|
6014
|
-
"examples": [
|
|
6015
|
-
"$ xano tenant license get my-tenant\nLicense saved to license_my-tenant.yaml\n",
|
|
6016
|
-
"$ xano tenant license get my-tenant --file ./my-license.yaml\nLicense saved to my-license.yaml\n",
|
|
6017
|
-
"$ xano tenant license get my-tenant --view",
|
|
6018
|
-
"$ xano tenant license get my-tenant -o json"
|
|
6019
|
-
],
|
|
6020
|
-
"flags": {
|
|
6021
|
-
"profile": {
|
|
6022
|
-
"char": "p",
|
|
6023
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
6024
|
-
"env": "XANO_PROFILE",
|
|
6025
|
-
"name": "profile",
|
|
6026
|
-
"required": false,
|
|
6027
|
-
"hasDynamicHelp": false,
|
|
6028
|
-
"multiple": false,
|
|
6029
|
-
"type": "option"
|
|
6030
|
-
},
|
|
6031
|
-
"verbose": {
|
|
6032
|
-
"char": "v",
|
|
6033
|
-
"description": "Show detailed request/response information",
|
|
6034
|
-
"env": "XANO_VERBOSE",
|
|
6035
|
-
"name": "verbose",
|
|
6036
|
-
"required": false,
|
|
6037
|
-
"allowNo": false,
|
|
6038
|
-
"type": "boolean"
|
|
6039
|
-
},
|
|
6040
|
-
"file": {
|
|
6041
|
-
"char": "f",
|
|
6042
|
-
"description": "Output file path (default: license_<tenant_name>.yaml)",
|
|
6043
|
-
"name": "file",
|
|
6044
|
-
"required": false,
|
|
6045
|
-
"hasDynamicHelp": false,
|
|
6046
|
-
"multiple": false,
|
|
6047
|
-
"type": "option"
|
|
6048
|
-
},
|
|
6049
|
-
"output": {
|
|
6050
|
-
"char": "o",
|
|
6051
|
-
"description": "Output format",
|
|
6052
|
-
"name": "output",
|
|
6053
|
-
"required": false,
|
|
6054
|
-
"default": "summary",
|
|
6055
|
-
"hasDynamicHelp": false,
|
|
6056
|
-
"multiple": false,
|
|
6057
|
-
"options": [
|
|
6058
|
-
"summary",
|
|
6059
|
-
"json"
|
|
6060
|
-
],
|
|
6061
|
-
"type": "option"
|
|
6062
|
-
},
|
|
6063
|
-
"view": {
|
|
6064
|
-
"description": "Print license to stdout instead of saving to file",
|
|
6065
|
-
"name": "view",
|
|
6066
|
-
"required": false,
|
|
6067
|
-
"allowNo": false,
|
|
6068
|
-
"type": "boolean"
|
|
6069
|
-
},
|
|
6070
|
-
"workspace": {
|
|
6071
|
-
"char": "w",
|
|
6072
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
6073
|
-
"name": "workspace",
|
|
6074
|
-
"required": false,
|
|
6075
|
-
"hasDynamicHelp": false,
|
|
6076
|
-
"multiple": false,
|
|
6077
|
-
"type": "option"
|
|
6078
|
-
}
|
|
6079
|
-
},
|
|
6080
|
-
"hasDynamicHelp": false,
|
|
6081
|
-
"hiddenAliases": [],
|
|
6082
|
-
"id": "tenant:license:get",
|
|
6083
|
-
"pluginAlias": "@xano/cli",
|
|
6084
|
-
"pluginName": "@xano/cli",
|
|
6085
|
-
"pluginType": "core",
|
|
6086
|
-
"strict": true,
|
|
6087
|
-
"enableJsonFlag": false,
|
|
6088
|
-
"isESM": true,
|
|
6089
|
-
"relativePath": [
|
|
6090
|
-
"dist",
|
|
6091
|
-
"commands",
|
|
6092
|
-
"tenant",
|
|
6093
|
-
"license",
|
|
6094
|
-
"get",
|
|
6095
|
-
"index.js"
|
|
6096
|
-
]
|
|
6097
|
-
},
|
|
6098
|
-
"tenant:license:set": {
|
|
6099
|
-
"aliases": [],
|
|
6100
|
-
"args": {
|
|
6101
|
-
"tenant_name": {
|
|
6102
|
-
"description": "Tenant name",
|
|
6103
|
-
"name": "tenant_name",
|
|
6104
|
-
"required": true
|
|
6105
|
-
}
|
|
6106
|
-
},
|
|
6107
|
-
"description": "Set/update the license for a tenant",
|
|
6108
|
-
"examples": [
|
|
6109
|
-
"$ xano tenant license set my-tenant\nReads from license_my-tenant.yaml\n",
|
|
6110
|
-
"$ xano tenant license set my-tenant --file ./license.yaml",
|
|
6111
|
-
"$ xano tenant license set my-tenant --value 'key: value'",
|
|
6112
|
-
"$ xano tenant license set my-tenant -o json"
|
|
5989
|
+
"$ xano tenant cluster list --output json"
|
|
6113
5990
|
],
|
|
6114
5991
|
"flags": {
|
|
6115
5992
|
"profile": {
|
|
@@ -6131,28 +6008,6 @@
|
|
|
6131
6008
|
"allowNo": false,
|
|
6132
6009
|
"type": "boolean"
|
|
6133
6010
|
},
|
|
6134
|
-
"clean": {
|
|
6135
|
-
"description": "Remove the source file after successful upload",
|
|
6136
|
-
"exclusive": [
|
|
6137
|
-
"value"
|
|
6138
|
-
],
|
|
6139
|
-
"name": "clean",
|
|
6140
|
-
"required": false,
|
|
6141
|
-
"allowNo": false,
|
|
6142
|
-
"type": "boolean"
|
|
6143
|
-
},
|
|
6144
|
-
"file": {
|
|
6145
|
-
"char": "f",
|
|
6146
|
-
"description": "Path to license file (default: license_<tenant_name>.yaml)",
|
|
6147
|
-
"exclusive": [
|
|
6148
|
-
"value"
|
|
6149
|
-
],
|
|
6150
|
-
"name": "file",
|
|
6151
|
-
"required": false,
|
|
6152
|
-
"hasDynamicHelp": false,
|
|
6153
|
-
"multiple": false,
|
|
6154
|
-
"type": "option"
|
|
6155
|
-
},
|
|
6156
6011
|
"output": {
|
|
6157
6012
|
"char": "o",
|
|
6158
6013
|
"description": "Output format",
|
|
@@ -6166,32 +6021,11 @@
|
|
|
6166
6021
|
"json"
|
|
6167
6022
|
],
|
|
6168
6023
|
"type": "option"
|
|
6169
|
-
},
|
|
6170
|
-
"value": {
|
|
6171
|
-
"description": "Inline license value",
|
|
6172
|
-
"exclusive": [
|
|
6173
|
-
"file",
|
|
6174
|
-
"clean"
|
|
6175
|
-
],
|
|
6176
|
-
"name": "value",
|
|
6177
|
-
"required": false,
|
|
6178
|
-
"hasDynamicHelp": false,
|
|
6179
|
-
"multiple": false,
|
|
6180
|
-
"type": "option"
|
|
6181
|
-
},
|
|
6182
|
-
"workspace": {
|
|
6183
|
-
"char": "w",
|
|
6184
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
6185
|
-
"name": "workspace",
|
|
6186
|
-
"required": false,
|
|
6187
|
-
"hasDynamicHelp": false,
|
|
6188
|
-
"multiple": false,
|
|
6189
|
-
"type": "option"
|
|
6190
6024
|
}
|
|
6191
6025
|
},
|
|
6192
6026
|
"hasDynamicHelp": false,
|
|
6193
6027
|
"hiddenAliases": [],
|
|
6194
|
-
"id": "tenant:
|
|
6028
|
+
"id": "tenant:cluster:list",
|
|
6195
6029
|
"pluginAlias": "@xano/cli",
|
|
6196
6030
|
"pluginName": "@xano/cli",
|
|
6197
6031
|
"pluginType": "core",
|
|
@@ -6202,8 +6036,8 @@
|
|
|
6202
6036
|
"dist",
|
|
6203
6037
|
"commands",
|
|
6204
6038
|
"tenant",
|
|
6205
|
-
"
|
|
6206
|
-
"
|
|
6039
|
+
"cluster",
|
|
6040
|
+
"list",
|
|
6207
6041
|
"index.js"
|
|
6208
6042
|
]
|
|
6209
6043
|
},
|
|
@@ -6742,6 +6576,100 @@
|
|
|
6742
6576
|
"index.js"
|
|
6743
6577
|
]
|
|
6744
6578
|
},
|
|
6579
|
+
"tenant:license:get": {
|
|
6580
|
+
"aliases": [],
|
|
6581
|
+
"args": {
|
|
6582
|
+
"tenant_name": {
|
|
6583
|
+
"description": "Tenant name",
|
|
6584
|
+
"name": "tenant_name",
|
|
6585
|
+
"required": true
|
|
6586
|
+
}
|
|
6587
|
+
},
|
|
6588
|
+
"description": "Get the license for a tenant",
|
|
6589
|
+
"examples": [
|
|
6590
|
+
"$ xano tenant license get my-tenant\nLicense saved to license_my-tenant.yaml\n",
|
|
6591
|
+
"$ xano tenant license get my-tenant --file ./my-license.yaml\nLicense saved to my-license.yaml\n",
|
|
6592
|
+
"$ xano tenant license get my-tenant --view",
|
|
6593
|
+
"$ xano tenant license get my-tenant -o json"
|
|
6594
|
+
],
|
|
6595
|
+
"flags": {
|
|
6596
|
+
"profile": {
|
|
6597
|
+
"char": "p",
|
|
6598
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
6599
|
+
"env": "XANO_PROFILE",
|
|
6600
|
+
"name": "profile",
|
|
6601
|
+
"required": false,
|
|
6602
|
+
"hasDynamicHelp": false,
|
|
6603
|
+
"multiple": false,
|
|
6604
|
+
"type": "option"
|
|
6605
|
+
},
|
|
6606
|
+
"verbose": {
|
|
6607
|
+
"char": "v",
|
|
6608
|
+
"description": "Show detailed request/response information",
|
|
6609
|
+
"env": "XANO_VERBOSE",
|
|
6610
|
+
"name": "verbose",
|
|
6611
|
+
"required": false,
|
|
6612
|
+
"allowNo": false,
|
|
6613
|
+
"type": "boolean"
|
|
6614
|
+
},
|
|
6615
|
+
"file": {
|
|
6616
|
+
"char": "f",
|
|
6617
|
+
"description": "Output file path (default: license_<tenant_name>.yaml)",
|
|
6618
|
+
"name": "file",
|
|
6619
|
+
"required": false,
|
|
6620
|
+
"hasDynamicHelp": false,
|
|
6621
|
+
"multiple": false,
|
|
6622
|
+
"type": "option"
|
|
6623
|
+
},
|
|
6624
|
+
"output": {
|
|
6625
|
+
"char": "o",
|
|
6626
|
+
"description": "Output format",
|
|
6627
|
+
"name": "output",
|
|
6628
|
+
"required": false,
|
|
6629
|
+
"default": "summary",
|
|
6630
|
+
"hasDynamicHelp": false,
|
|
6631
|
+
"multiple": false,
|
|
6632
|
+
"options": [
|
|
6633
|
+
"summary",
|
|
6634
|
+
"json"
|
|
6635
|
+
],
|
|
6636
|
+
"type": "option"
|
|
6637
|
+
},
|
|
6638
|
+
"view": {
|
|
6639
|
+
"description": "Print license to stdout instead of saving to file",
|
|
6640
|
+
"name": "view",
|
|
6641
|
+
"required": false,
|
|
6642
|
+
"allowNo": false,
|
|
6643
|
+
"type": "boolean"
|
|
6644
|
+
},
|
|
6645
|
+
"workspace": {
|
|
6646
|
+
"char": "w",
|
|
6647
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
6648
|
+
"name": "workspace",
|
|
6649
|
+
"required": false,
|
|
6650
|
+
"hasDynamicHelp": false,
|
|
6651
|
+
"multiple": false,
|
|
6652
|
+
"type": "option"
|
|
6653
|
+
}
|
|
6654
|
+
},
|
|
6655
|
+
"hasDynamicHelp": false,
|
|
6656
|
+
"hiddenAliases": [],
|
|
6657
|
+
"id": "tenant:license:get",
|
|
6658
|
+
"pluginAlias": "@xano/cli",
|
|
6659
|
+
"pluginName": "@xano/cli",
|
|
6660
|
+
"pluginType": "core",
|
|
6661
|
+
"strict": true,
|
|
6662
|
+
"enableJsonFlag": false,
|
|
6663
|
+
"isESM": true,
|
|
6664
|
+
"relativePath": [
|
|
6665
|
+
"dist",
|
|
6666
|
+
"commands",
|
|
6667
|
+
"tenant",
|
|
6668
|
+
"license",
|
|
6669
|
+
"get",
|
|
6670
|
+
"index.js"
|
|
6671
|
+
]
|
|
6672
|
+
},
|
|
6745
6673
|
"workspace:git:pull": {
|
|
6746
6674
|
"aliases": [],
|
|
6747
6675
|
"args": {
|
|
@@ -6836,6 +6764,118 @@
|
|
|
6836
6764
|
"index.js"
|
|
6837
6765
|
]
|
|
6838
6766
|
},
|
|
6767
|
+
"tenant:license:set": {
|
|
6768
|
+
"aliases": [],
|
|
6769
|
+
"args": {
|
|
6770
|
+
"tenant_name": {
|
|
6771
|
+
"description": "Tenant name",
|
|
6772
|
+
"name": "tenant_name",
|
|
6773
|
+
"required": true
|
|
6774
|
+
}
|
|
6775
|
+
},
|
|
6776
|
+
"description": "Set/update the license for a tenant",
|
|
6777
|
+
"examples": [
|
|
6778
|
+
"$ xano tenant license set my-tenant\nReads from license_my-tenant.yaml\n",
|
|
6779
|
+
"$ xano tenant license set my-tenant --file ./license.yaml",
|
|
6780
|
+
"$ xano tenant license set my-tenant --value 'key: value'",
|
|
6781
|
+
"$ xano tenant license set my-tenant -o json"
|
|
6782
|
+
],
|
|
6783
|
+
"flags": {
|
|
6784
|
+
"profile": {
|
|
6785
|
+
"char": "p",
|
|
6786
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
6787
|
+
"env": "XANO_PROFILE",
|
|
6788
|
+
"name": "profile",
|
|
6789
|
+
"required": false,
|
|
6790
|
+
"hasDynamicHelp": false,
|
|
6791
|
+
"multiple": false,
|
|
6792
|
+
"type": "option"
|
|
6793
|
+
},
|
|
6794
|
+
"verbose": {
|
|
6795
|
+
"char": "v",
|
|
6796
|
+
"description": "Show detailed request/response information",
|
|
6797
|
+
"env": "XANO_VERBOSE",
|
|
6798
|
+
"name": "verbose",
|
|
6799
|
+
"required": false,
|
|
6800
|
+
"allowNo": false,
|
|
6801
|
+
"type": "boolean"
|
|
6802
|
+
},
|
|
6803
|
+
"clean": {
|
|
6804
|
+
"description": "Remove the source file after successful upload",
|
|
6805
|
+
"exclusive": [
|
|
6806
|
+
"value"
|
|
6807
|
+
],
|
|
6808
|
+
"name": "clean",
|
|
6809
|
+
"required": false,
|
|
6810
|
+
"allowNo": false,
|
|
6811
|
+
"type": "boolean"
|
|
6812
|
+
},
|
|
6813
|
+
"file": {
|
|
6814
|
+
"char": "f",
|
|
6815
|
+
"description": "Path to license file (default: license_<tenant_name>.yaml)",
|
|
6816
|
+
"exclusive": [
|
|
6817
|
+
"value"
|
|
6818
|
+
],
|
|
6819
|
+
"name": "file",
|
|
6820
|
+
"required": false,
|
|
6821
|
+
"hasDynamicHelp": false,
|
|
6822
|
+
"multiple": false,
|
|
6823
|
+
"type": "option"
|
|
6824
|
+
},
|
|
6825
|
+
"output": {
|
|
6826
|
+
"char": "o",
|
|
6827
|
+
"description": "Output format",
|
|
6828
|
+
"name": "output",
|
|
6829
|
+
"required": false,
|
|
6830
|
+
"default": "summary",
|
|
6831
|
+
"hasDynamicHelp": false,
|
|
6832
|
+
"multiple": false,
|
|
6833
|
+
"options": [
|
|
6834
|
+
"summary",
|
|
6835
|
+
"json"
|
|
6836
|
+
],
|
|
6837
|
+
"type": "option"
|
|
6838
|
+
},
|
|
6839
|
+
"value": {
|
|
6840
|
+
"description": "Inline license value",
|
|
6841
|
+
"exclusive": [
|
|
6842
|
+
"file",
|
|
6843
|
+
"clean"
|
|
6844
|
+
],
|
|
6845
|
+
"name": "value",
|
|
6846
|
+
"required": false,
|
|
6847
|
+
"hasDynamicHelp": false,
|
|
6848
|
+
"multiple": false,
|
|
6849
|
+
"type": "option"
|
|
6850
|
+
},
|
|
6851
|
+
"workspace": {
|
|
6852
|
+
"char": "w",
|
|
6853
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
6854
|
+
"name": "workspace",
|
|
6855
|
+
"required": false,
|
|
6856
|
+
"hasDynamicHelp": false,
|
|
6857
|
+
"multiple": false,
|
|
6858
|
+
"type": "option"
|
|
6859
|
+
}
|
|
6860
|
+
},
|
|
6861
|
+
"hasDynamicHelp": false,
|
|
6862
|
+
"hiddenAliases": [],
|
|
6863
|
+
"id": "tenant:license:set",
|
|
6864
|
+
"pluginAlias": "@xano/cli",
|
|
6865
|
+
"pluginName": "@xano/cli",
|
|
6866
|
+
"pluginType": "core",
|
|
6867
|
+
"strict": true,
|
|
6868
|
+
"enableJsonFlag": false,
|
|
6869
|
+
"isESM": true,
|
|
6870
|
+
"relativePath": [
|
|
6871
|
+
"dist",
|
|
6872
|
+
"commands",
|
|
6873
|
+
"tenant",
|
|
6874
|
+
"license",
|
|
6875
|
+
"set",
|
|
6876
|
+
"index.js"
|
|
6877
|
+
]
|
|
6878
|
+
},
|
|
6839
6879
|
"tenant:cluster:license:get": {
|
|
6840
6880
|
"aliases": [],
|
|
6841
6881
|
"args": {
|
|
@@ -7027,5 +7067,5 @@
|
|
|
7027
7067
|
]
|
|
7028
7068
|
}
|
|
7029
7069
|
},
|
|
7030
|
-
"version": "0.0.
|
|
7070
|
+
"version": "0.0.66"
|
|
7031
7071
|
}
|