@xano/cli 0.0.65 → 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/tenant/backup/export/index.js +4 -2
- package/dist/commands/workspace/git/pull/index.js +2 -2
- package/oclif.manifest.json +1264 -1224
- 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",
|
|
@@ -277,20 +284,20 @@
|
|
|
277
284
|
"index.js"
|
|
278
285
|
]
|
|
279
286
|
},
|
|
280
|
-
"branch:
|
|
287
|
+
"branch:edit": {
|
|
281
288
|
"aliases": [],
|
|
282
289
|
"args": {
|
|
283
|
-
"
|
|
284
|
-
"description": "
|
|
285
|
-
"name": "
|
|
286
|
-
"required":
|
|
290
|
+
"branch_label": {
|
|
291
|
+
"description": "Branch label to edit (cannot edit \"v1\" label)",
|
|
292
|
+
"name": "branch_label",
|
|
293
|
+
"required": true
|
|
287
294
|
}
|
|
288
295
|
},
|
|
289
|
-
"description": "
|
|
296
|
+
"description": "Update an existing branch (cannot update \"v1\" label)",
|
|
290
297
|
"examples": [
|
|
291
|
-
"$ xano branch
|
|
292
|
-
"$ xano branch
|
|
293
|
-
"$ 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"
|
|
294
301
|
],
|
|
295
302
|
"flags": {
|
|
296
303
|
"profile": {
|
|
@@ -312,80 +319,32 @@
|
|
|
312
319
|
"allowNo": false,
|
|
313
320
|
"type": "boolean"
|
|
314
321
|
},
|
|
315
|
-
"
|
|
316
|
-
"char": "
|
|
317
|
-
"description": "
|
|
318
|
-
"name": "
|
|
322
|
+
"color": {
|
|
323
|
+
"char": "c",
|
|
324
|
+
"description": "New color hex code for the branch (e.g., \"#ff5733\")",
|
|
325
|
+
"name": "color",
|
|
319
326
|
"required": false,
|
|
320
|
-
"default": "summary",
|
|
321
327
|
"hasDynamicHelp": false,
|
|
322
328
|
"multiple": false,
|
|
323
|
-
"options": [
|
|
324
|
-
"summary",
|
|
325
|
-
"json"
|
|
326
|
-
],
|
|
327
329
|
"type": "option"
|
|
328
|
-
}
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
"pluginAlias": "@xano/cli",
|
|
334
|
-
"pluginName": "@xano/cli",
|
|
335
|
-
"pluginType": "core",
|
|
336
|
-
"strict": true,
|
|
337
|
-
"enableJsonFlag": false,
|
|
338
|
-
"isESM": true,
|
|
339
|
-
"relativePath": [
|
|
340
|
-
"dist",
|
|
341
|
-
"commands",
|
|
342
|
-
"branch",
|
|
343
|
-
"list",
|
|
344
|
-
"index.js"
|
|
345
|
-
]
|
|
346
|
-
},
|
|
347
|
-
"branch:set_live": {
|
|
348
|
-
"aliases": [],
|
|
349
|
-
"args": {
|
|
350
|
-
"branch_label": {
|
|
351
|
-
"description": "Branch label to set as live (use \"v1\" for default branch)",
|
|
352
|
-
"name": "branch_label",
|
|
353
|
-
"required": true
|
|
354
|
-
}
|
|
355
|
-
},
|
|
356
|
-
"description": "Set a branch as the live (active) branch for API requests",
|
|
357
|
-
"examples": [
|
|
358
|
-
"$ 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",
|
|
359
|
-
"$ xano branch set-live v1 --force\nBranch 'v1' is now live\n",
|
|
360
|
-
"$ 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"
|
|
361
|
-
],
|
|
362
|
-
"flags": {
|
|
363
|
-
"profile": {
|
|
364
|
-
"char": "p",
|
|
365
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
366
|
-
"env": "XANO_PROFILE",
|
|
367
|
-
"name": "profile",
|
|
330
|
+
},
|
|
331
|
+
"description": {
|
|
332
|
+
"char": "d",
|
|
333
|
+
"description": "New description for the branch",
|
|
334
|
+
"name": "description",
|
|
368
335
|
"required": false,
|
|
369
336
|
"hasDynamicHelp": false,
|
|
370
337
|
"multiple": false,
|
|
371
338
|
"type": "option"
|
|
372
339
|
},
|
|
373
|
-
"
|
|
374
|
-
"char": "
|
|
375
|
-
"description": "
|
|
376
|
-
"
|
|
377
|
-
"name": "verbose",
|
|
378
|
-
"required": false,
|
|
379
|
-
"allowNo": false,
|
|
380
|
-
"type": "boolean"
|
|
381
|
-
},
|
|
382
|
-
"force": {
|
|
383
|
-
"char": "f",
|
|
384
|
-
"description": "Skip confirmation prompt",
|
|
385
|
-
"name": "force",
|
|
340
|
+
"label": {
|
|
341
|
+
"char": "l",
|
|
342
|
+
"description": "New label for the branch",
|
|
343
|
+
"name": "label",
|
|
386
344
|
"required": false,
|
|
387
|
-
"
|
|
388
|
-
"
|
|
345
|
+
"hasDynamicHelp": false,
|
|
346
|
+
"multiple": false,
|
|
347
|
+
"type": "option"
|
|
389
348
|
},
|
|
390
349
|
"output": {
|
|
391
350
|
"char": "o",
|
|
@@ -413,7 +372,7 @@
|
|
|
413
372
|
},
|
|
414
373
|
"hasDynamicHelp": false,
|
|
415
374
|
"hiddenAliases": [],
|
|
416
|
-
"id": "branch:
|
|
375
|
+
"id": "branch:edit",
|
|
417
376
|
"pluginAlias": "@xano/cli",
|
|
418
377
|
"pluginName": "@xano/cli",
|
|
419
378
|
"pluginType": "core",
|
|
@@ -424,23 +383,24 @@
|
|
|
424
383
|
"dist",
|
|
425
384
|
"commands",
|
|
426
385
|
"branch",
|
|
427
|
-
"
|
|
386
|
+
"edit",
|
|
428
387
|
"index.js"
|
|
429
388
|
]
|
|
430
389
|
},
|
|
431
|
-
"
|
|
390
|
+
"branch:list": {
|
|
432
391
|
"aliases": [],
|
|
433
392
|
"args": {
|
|
434
|
-
"
|
|
435
|
-
"description": "
|
|
436
|
-
"name": "
|
|
437
|
-
"required":
|
|
393
|
+
"workspace_id": {
|
|
394
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
395
|
+
"name": "workspace_id",
|
|
396
|
+
"required": false
|
|
438
397
|
}
|
|
439
398
|
},
|
|
440
|
-
"description": "
|
|
399
|
+
"description": "List all branches in a workspace",
|
|
441
400
|
"examples": [
|
|
442
|
-
"$ xano
|
|
443
|
-
"$ xano
|
|
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"
|
|
444
404
|
],
|
|
445
405
|
"flags": {
|
|
446
406
|
"profile": {
|
|
@@ -479,7 +439,7 @@
|
|
|
479
439
|
},
|
|
480
440
|
"hasDynamicHelp": false,
|
|
481
441
|
"hiddenAliases": [],
|
|
482
|
-
"id": "
|
|
442
|
+
"id": "branch:list",
|
|
483
443
|
"pluginAlias": "@xano/cli",
|
|
484
444
|
"pluginName": "@xano/cli",
|
|
485
445
|
"pluginType": "core",
|
|
@@ -489,18 +449,25 @@
|
|
|
489
449
|
"relativePath": [
|
|
490
450
|
"dist",
|
|
491
451
|
"commands",
|
|
492
|
-
"
|
|
493
|
-
"
|
|
452
|
+
"branch",
|
|
453
|
+
"list",
|
|
494
454
|
"index.js"
|
|
495
455
|
]
|
|
496
456
|
},
|
|
497
|
-
"
|
|
457
|
+
"branch:set_live": {
|
|
498
458
|
"aliases": [],
|
|
499
|
-
"args": {
|
|
500
|
-
|
|
459
|
+
"args": {
|
|
460
|
+
"branch_label": {
|
|
461
|
+
"description": "Branch label to set as live (use \"v1\" for default branch)",
|
|
462
|
+
"name": "branch_label",
|
|
463
|
+
"required": true
|
|
464
|
+
}
|
|
465
|
+
},
|
|
466
|
+
"description": "Set a branch as the live (active) branch for API requests",
|
|
501
467
|
"examples": [
|
|
502
|
-
"$ xano
|
|
503
|
-
"$ xano
|
|
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"
|
|
504
471
|
],
|
|
505
472
|
"flags": {
|
|
506
473
|
"profile": {
|
|
@@ -522,6 +489,14 @@
|
|
|
522
489
|
"allowNo": false,
|
|
523
490
|
"type": "boolean"
|
|
524
491
|
},
|
|
492
|
+
"force": {
|
|
493
|
+
"char": "f",
|
|
494
|
+
"description": "Skip confirmation prompt",
|
|
495
|
+
"name": "force",
|
|
496
|
+
"required": false,
|
|
497
|
+
"allowNo": false,
|
|
498
|
+
"type": "boolean"
|
|
499
|
+
},
|
|
525
500
|
"output": {
|
|
526
501
|
"char": "o",
|
|
527
502
|
"description": "Output format",
|
|
@@ -535,11 +510,20 @@
|
|
|
535
510
|
"json"
|
|
536
511
|
],
|
|
537
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"
|
|
538
522
|
}
|
|
539
523
|
},
|
|
540
524
|
"hasDynamicHelp": false,
|
|
541
525
|
"hiddenAliases": [],
|
|
542
|
-
"id": "
|
|
526
|
+
"id": "branch:set_live",
|
|
543
527
|
"pluginAlias": "@xano/cli",
|
|
544
528
|
"pluginName": "@xano/cli",
|
|
545
529
|
"pluginType": "core",
|
|
@@ -549,8 +533,8 @@
|
|
|
549
533
|
"relativePath": [
|
|
550
534
|
"dist",
|
|
551
535
|
"commands",
|
|
552
|
-
"
|
|
553
|
-
"
|
|
536
|
+
"branch",
|
|
537
|
+
"set_live",
|
|
554
538
|
"index.js"
|
|
555
539
|
]
|
|
556
540
|
},
|
|
@@ -779,20 +763,23 @@
|
|
|
779
763
|
"index.js"
|
|
780
764
|
]
|
|
781
765
|
},
|
|
782
|
-
"
|
|
766
|
+
"function:get": {
|
|
783
767
|
"aliases": [],
|
|
784
768
|
"args": {
|
|
785
|
-
"
|
|
786
|
-
"description": "
|
|
787
|
-
"name": "
|
|
788
|
-
"required":
|
|
769
|
+
"function_id": {
|
|
770
|
+
"description": "Function ID",
|
|
771
|
+
"name": "function_id",
|
|
772
|
+
"required": false
|
|
789
773
|
}
|
|
790
774
|
},
|
|
791
|
-
"description": "
|
|
775
|
+
"description": "Get a specific function from a workspace",
|
|
792
776
|
"examples": [
|
|
793
|
-
"$ xano
|
|
794
|
-
"$ xano
|
|
795
|
-
"$ xano
|
|
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"
|
|
796
783
|
],
|
|
797
784
|
"flags": {
|
|
798
785
|
"profile": {
|
|
@@ -814,32 +801,19 @@
|
|
|
814
801
|
"allowNo": false,
|
|
815
802
|
"type": "boolean"
|
|
816
803
|
},
|
|
817
|
-
"
|
|
818
|
-
"
|
|
819
|
-
"
|
|
820
|
-
"name": "color",
|
|
821
|
-
"required": false,
|
|
822
|
-
"hasDynamicHelp": false,
|
|
823
|
-
"multiple": false,
|
|
824
|
-
"type": "option"
|
|
825
|
-
},
|
|
826
|
-
"description": {
|
|
827
|
-
"char": "d",
|
|
828
|
-
"description": "New description for the branch",
|
|
829
|
-
"name": "description",
|
|
804
|
+
"include_draft": {
|
|
805
|
+
"description": "Include draft version",
|
|
806
|
+
"name": "include_draft",
|
|
830
807
|
"required": false,
|
|
831
|
-
"
|
|
832
|
-
"
|
|
833
|
-
"type": "option"
|
|
808
|
+
"allowNo": false,
|
|
809
|
+
"type": "boolean"
|
|
834
810
|
},
|
|
835
|
-
"
|
|
836
|
-
"
|
|
837
|
-
"
|
|
838
|
-
"name": "label",
|
|
811
|
+
"include_xanoscript": {
|
|
812
|
+
"description": "Include XanoScript in response",
|
|
813
|
+
"name": "include_xanoscript",
|
|
839
814
|
"required": false,
|
|
840
|
-
"
|
|
841
|
-
"
|
|
842
|
-
"type": "option"
|
|
815
|
+
"allowNo": false,
|
|
816
|
+
"type": "boolean"
|
|
843
817
|
},
|
|
844
818
|
"output": {
|
|
845
819
|
"char": "o",
|
|
@@ -851,13 +825,14 @@
|
|
|
851
825
|
"multiple": false,
|
|
852
826
|
"options": [
|
|
853
827
|
"summary",
|
|
854
|
-
"json"
|
|
828
|
+
"json",
|
|
829
|
+
"xs"
|
|
855
830
|
],
|
|
856
831
|
"type": "option"
|
|
857
832
|
},
|
|
858
833
|
"workspace": {
|
|
859
834
|
"char": "w",
|
|
860
|
-
"description": "Workspace ID (
|
|
835
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
861
836
|
"name": "workspace",
|
|
862
837
|
"required": false,
|
|
863
838
|
"hasDynamicHelp": false,
|
|
@@ -867,7 +842,7 @@
|
|
|
867
842
|
},
|
|
868
843
|
"hasDynamicHelp": false,
|
|
869
844
|
"hiddenAliases": [],
|
|
870
|
-
"id": "
|
|
845
|
+
"id": "function:get",
|
|
871
846
|
"pluginAlias": "@xano/cli",
|
|
872
847
|
"pluginName": "@xano/cli",
|
|
873
848
|
"pluginType": "core",
|
|
@@ -877,96 +852,20 @@
|
|
|
877
852
|
"relativePath": [
|
|
878
853
|
"dist",
|
|
879
854
|
"commands",
|
|
880
|
-
"
|
|
881
|
-
"
|
|
855
|
+
"function",
|
|
856
|
+
"get",
|
|
882
857
|
"index.js"
|
|
883
858
|
]
|
|
884
859
|
},
|
|
885
|
-
"
|
|
860
|
+
"function:list": {
|
|
886
861
|
"aliases": [],
|
|
887
|
-
"args": {
|
|
888
|
-
|
|
889
|
-
"description": "Branch label (e.g., \"v1\", \"dev\")",
|
|
890
|
-
"name": "branch_label",
|
|
891
|
-
"required": true
|
|
892
|
-
}
|
|
893
|
-
},
|
|
894
|
-
"description": "Get details for a specific branch",
|
|
862
|
+
"args": {},
|
|
863
|
+
"description": "List all functions in a workspace from the Xano Metadata API",
|
|
895
864
|
"examples": [
|
|
896
|
-
"$ xano
|
|
897
|
-
"$ xano
|
|
898
|
-
"$ xano
|
|
899
|
-
|
|
900
|
-
"flags": {
|
|
901
|
-
"profile": {
|
|
902
|
-
"char": "p",
|
|
903
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
904
|
-
"env": "XANO_PROFILE",
|
|
905
|
-
"name": "profile",
|
|
906
|
-
"required": false,
|
|
907
|
-
"hasDynamicHelp": false,
|
|
908
|
-
"multiple": false,
|
|
909
|
-
"type": "option"
|
|
910
|
-
},
|
|
911
|
-
"verbose": {
|
|
912
|
-
"char": "v",
|
|
913
|
-
"description": "Show detailed request/response information",
|
|
914
|
-
"env": "XANO_VERBOSE",
|
|
915
|
-
"name": "verbose",
|
|
916
|
-
"required": false,
|
|
917
|
-
"allowNo": false,
|
|
918
|
-
"type": "boolean"
|
|
919
|
-
},
|
|
920
|
-
"output": {
|
|
921
|
-
"char": "o",
|
|
922
|
-
"description": "Output format",
|
|
923
|
-
"name": "output",
|
|
924
|
-
"required": false,
|
|
925
|
-
"default": "summary",
|
|
926
|
-
"hasDynamicHelp": false,
|
|
927
|
-
"multiple": false,
|
|
928
|
-
"options": [
|
|
929
|
-
"summary",
|
|
930
|
-
"json"
|
|
931
|
-
],
|
|
932
|
-
"type": "option"
|
|
933
|
-
},
|
|
934
|
-
"workspace": {
|
|
935
|
-
"char": "w",
|
|
936
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
937
|
-
"name": "workspace",
|
|
938
|
-
"required": false,
|
|
939
|
-
"hasDynamicHelp": false,
|
|
940
|
-
"multiple": false,
|
|
941
|
-
"type": "option"
|
|
942
|
-
}
|
|
943
|
-
},
|
|
944
|
-
"hasDynamicHelp": false,
|
|
945
|
-
"hiddenAliases": [],
|
|
946
|
-
"id": "branch:get",
|
|
947
|
-
"pluginAlias": "@xano/cli",
|
|
948
|
-
"pluginName": "@xano/cli",
|
|
949
|
-
"pluginType": "core",
|
|
950
|
-
"strict": true,
|
|
951
|
-
"enableJsonFlag": false,
|
|
952
|
-
"isESM": true,
|
|
953
|
-
"relativePath": [
|
|
954
|
-
"dist",
|
|
955
|
-
"commands",
|
|
956
|
-
"branch",
|
|
957
|
-
"get",
|
|
958
|
-
"index.js"
|
|
959
|
-
]
|
|
960
|
-
},
|
|
961
|
-
"function:list": {
|
|
962
|
-
"aliases": [],
|
|
963
|
-
"args": {},
|
|
964
|
-
"description": "List all functions in a workspace from the Xano Metadata API",
|
|
965
|
-
"examples": [
|
|
966
|
-
"$ xano function:list -w 40\nAvailable functions:\n - function-1 (ID: 1)\n - function-2 (ID: 2)\n - function-3 (ID: 3)\n",
|
|
967
|
-
"$ xano function:list --profile production\nAvailable functions:\n - my-function (ID: 1)\n - another-function (ID: 2)\n",
|
|
968
|
-
"$ xano function:list -w 40 --output json\n[\n {\n \"id\": 1,\n \"name\": \"function-1\"\n }\n]\n",
|
|
969
|
-
"$ xano function:list -p staging -o json --include_draft\n[\n {\n \"id\": 1,\n \"name\": \"function-1\"\n }\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"
|
|
970
869
|
],
|
|
971
870
|
"flags": {
|
|
972
871
|
"profile": {
|
|
@@ -1083,23 +982,19 @@
|
|
|
1083
982
|
"index.js"
|
|
1084
983
|
]
|
|
1085
984
|
},
|
|
1086
|
-
"
|
|
985
|
+
"platform:get": {
|
|
1087
986
|
"aliases": [],
|
|
1088
987
|
"args": {
|
|
1089
|
-
"
|
|
1090
|
-
"description": "
|
|
1091
|
-
"name": "
|
|
1092
|
-
"required":
|
|
988
|
+
"platform_id": {
|
|
989
|
+
"description": "Platform ID to retrieve",
|
|
990
|
+
"name": "platform_id",
|
|
991
|
+
"required": true
|
|
1093
992
|
}
|
|
1094
993
|
},
|
|
1095
|
-
"description": "Get a specific
|
|
994
|
+
"description": "Get details of a specific platform",
|
|
1096
995
|
"examples": [
|
|
1097
|
-
"$ xano
|
|
1098
|
-
"$ xano
|
|
1099
|
-
"$ xano function:get\nSelect a function:\n ❯ yo (ID: 145) - Sample function\n another-func (ID: 146)\n",
|
|
1100
|
-
"$ xano function:get 145 -w 40 --output json\n{\n \"id\": 145,\n \"name\": \"yo\",\n \"description\": \"Sample function\"\n}\n",
|
|
1101
|
-
"$ xano function:get 145 -p staging -o json --include_draft\n{\n \"id\": 145,\n \"name\": \"yo\"\n}\n",
|
|
1102
|
-
"$ xano function:get 145 -p staging -o xs\nfunction yo {\n input {\n }\n stack {\n }\n response = null\n}\n"
|
|
996
|
+
"$ xano platform get 23629\nPlatform ID: 23629\n Created: 2025-11-28\n Helm: 0.1.356\n Images:\n backend 0.0.2985\n frontend 0.1.3427\n database 0.1.6\n node 0.1.192\n deno 0.0.212\n redis 0.1.34\n realtime 0.1.149\n standalone 0.0.2456\n playwright 0.0.992\n static 0.0.10\n static-build 0.0.4\n backend-encoded 0.0.1396\n",
|
|
997
|
+
"$ xano platform get 23629 -o json"
|
|
1103
998
|
],
|
|
1104
999
|
"flags": {
|
|
1105
1000
|
"profile": {
|
|
@@ -1121,20 +1016,6 @@
|
|
|
1121
1016
|
"allowNo": false,
|
|
1122
1017
|
"type": "boolean"
|
|
1123
1018
|
},
|
|
1124
|
-
"include_draft": {
|
|
1125
|
-
"description": "Include draft version",
|
|
1126
|
-
"name": "include_draft",
|
|
1127
|
-
"required": false,
|
|
1128
|
-
"allowNo": false,
|
|
1129
|
-
"type": "boolean"
|
|
1130
|
-
},
|
|
1131
|
-
"include_xanoscript": {
|
|
1132
|
-
"description": "Include XanoScript in response",
|
|
1133
|
-
"name": "include_xanoscript",
|
|
1134
|
-
"required": false,
|
|
1135
|
-
"allowNo": false,
|
|
1136
|
-
"type": "boolean"
|
|
1137
|
-
},
|
|
1138
1019
|
"output": {
|
|
1139
1020
|
"char": "o",
|
|
1140
1021
|
"description": "Output format",
|
|
@@ -1145,24 +1026,14 @@
|
|
|
1145
1026
|
"multiple": false,
|
|
1146
1027
|
"options": [
|
|
1147
1028
|
"summary",
|
|
1148
|
-
"json"
|
|
1149
|
-
"xs"
|
|
1029
|
+
"json"
|
|
1150
1030
|
],
|
|
1151
1031
|
"type": "option"
|
|
1152
|
-
},
|
|
1153
|
-
"workspace": {
|
|
1154
|
-
"char": "w",
|
|
1155
|
-
"description": "Workspace ID (optional if set in profile)",
|
|
1156
|
-
"name": "workspace",
|
|
1157
|
-
"required": false,
|
|
1158
|
-
"hasDynamicHelp": false,
|
|
1159
|
-
"multiple": false,
|
|
1160
|
-
"type": "option"
|
|
1161
1032
|
}
|
|
1162
1033
|
},
|
|
1163
1034
|
"hasDynamicHelp": false,
|
|
1164
1035
|
"hiddenAliases": [],
|
|
1165
|
-
"id": "
|
|
1036
|
+
"id": "platform:get",
|
|
1166
1037
|
"pluginAlias": "@xano/cli",
|
|
1167
1038
|
"pluginName": "@xano/cli",
|
|
1168
1039
|
"pluginType": "core",
|
|
@@ -1172,22 +1043,57 @@
|
|
|
1172
1043
|
"relativePath": [
|
|
1173
1044
|
"dist",
|
|
1174
1045
|
"commands",
|
|
1175
|
-
"
|
|
1046
|
+
"platform",
|
|
1176
1047
|
"get",
|
|
1177
1048
|
"index.js"
|
|
1178
1049
|
]
|
|
1179
1050
|
},
|
|
1180
|
-
"
|
|
1051
|
+
"platform:list": {
|
|
1181
1052
|
"aliases": [],
|
|
1182
1053
|
"args": {},
|
|
1183
|
-
"description": "
|
|
1054
|
+
"description": "List all platforms",
|
|
1184
1055
|
"examples": [
|
|
1185
|
-
"$ xano
|
|
1056
|
+
"$ xano platform list\nPlatforms:\n ID: 23629 | Helm: 0.1.356 | Created: 2025-11-28\n",
|
|
1057
|
+
"$ xano platform list --output json"
|
|
1186
1058
|
],
|
|
1187
|
-
"flags": {
|
|
1059
|
+
"flags": {
|
|
1060
|
+
"profile": {
|
|
1061
|
+
"char": "p",
|
|
1062
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
1063
|
+
"env": "XANO_PROFILE",
|
|
1064
|
+
"name": "profile",
|
|
1065
|
+
"required": false,
|
|
1066
|
+
"hasDynamicHelp": false,
|
|
1067
|
+
"multiple": false,
|
|
1068
|
+
"type": "option"
|
|
1069
|
+
},
|
|
1070
|
+
"verbose": {
|
|
1071
|
+
"char": "v",
|
|
1072
|
+
"description": "Show detailed request/response information",
|
|
1073
|
+
"env": "XANO_VERBOSE",
|
|
1074
|
+
"name": "verbose",
|
|
1075
|
+
"required": false,
|
|
1076
|
+
"allowNo": false,
|
|
1077
|
+
"type": "boolean"
|
|
1078
|
+
},
|
|
1079
|
+
"output": {
|
|
1080
|
+
"char": "o",
|
|
1081
|
+
"description": "Output format",
|
|
1082
|
+
"name": "output",
|
|
1083
|
+
"required": false,
|
|
1084
|
+
"default": "summary",
|
|
1085
|
+
"hasDynamicHelp": false,
|
|
1086
|
+
"multiple": false,
|
|
1087
|
+
"options": [
|
|
1088
|
+
"summary",
|
|
1089
|
+
"json"
|
|
1090
|
+
],
|
|
1091
|
+
"type": "option"
|
|
1092
|
+
}
|
|
1093
|
+
},
|
|
1188
1094
|
"hasDynamicHelp": false,
|
|
1189
1095
|
"hiddenAliases": [],
|
|
1190
|
-
"id": "
|
|
1096
|
+
"id": "platform:list",
|
|
1191
1097
|
"pluginAlias": "@xano/cli",
|
|
1192
1098
|
"pluginName": "@xano/cli",
|
|
1193
1099
|
"pluginType": "core",
|
|
@@ -1197,60 +1103,41 @@
|
|
|
1197
1103
|
"relativePath": [
|
|
1198
1104
|
"dist",
|
|
1199
1105
|
"commands",
|
|
1200
|
-
"
|
|
1201
|
-
"
|
|
1106
|
+
"platform",
|
|
1107
|
+
"list",
|
|
1202
1108
|
"index.js"
|
|
1203
1109
|
]
|
|
1204
1110
|
},
|
|
1205
|
-
"profile:
|
|
1111
|
+
"profile:create": {
|
|
1206
1112
|
"aliases": [],
|
|
1207
1113
|
"args": {
|
|
1208
1114
|
"name": {
|
|
1209
|
-
"description": "Profile name
|
|
1115
|
+
"description": "Profile name",
|
|
1210
1116
|
"name": "name",
|
|
1211
|
-
"required":
|
|
1117
|
+
"required": true
|
|
1212
1118
|
}
|
|
1213
1119
|
},
|
|
1214
|
-
"description": "
|
|
1120
|
+
"description": "Create a new profile configuration",
|
|
1215
1121
|
"examples": [
|
|
1216
|
-
"$ xano profile:
|
|
1217
|
-
"$ xano profile:
|
|
1218
|
-
"$ xano profile:
|
|
1219
|
-
"$ xano profile:
|
|
1220
|
-
"$ xano profile:
|
|
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",
|
|
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",
|
|
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",
|
|
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"
|
|
1221
1127
|
],
|
|
1222
1128
|
"flags": {
|
|
1223
|
-
"profile": {
|
|
1224
|
-
"char": "p",
|
|
1225
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
1226
|
-
"env": "XANO_PROFILE",
|
|
1227
|
-
"name": "profile",
|
|
1228
|
-
"required": false,
|
|
1229
|
-
"hasDynamicHelp": false,
|
|
1230
|
-
"multiple": false,
|
|
1231
|
-
"type": "option"
|
|
1232
|
-
},
|
|
1233
|
-
"verbose": {
|
|
1234
|
-
"char": "v",
|
|
1235
|
-
"description": "Show detailed request/response information",
|
|
1236
|
-
"env": "XANO_VERBOSE",
|
|
1237
|
-
"name": "verbose",
|
|
1238
|
-
"required": false,
|
|
1239
|
-
"allowNo": false,
|
|
1240
|
-
"type": "boolean"
|
|
1241
|
-
},
|
|
1242
1129
|
"access_token": {
|
|
1243
1130
|
"char": "t",
|
|
1244
|
-
"description": "
|
|
1131
|
+
"description": "Access token for the Xano Metadata API",
|
|
1245
1132
|
"name": "access_token",
|
|
1246
|
-
"required":
|
|
1133
|
+
"required": true,
|
|
1247
1134
|
"hasDynamicHelp": false,
|
|
1248
1135
|
"multiple": false,
|
|
1249
1136
|
"type": "option"
|
|
1250
1137
|
},
|
|
1251
1138
|
"account_origin": {
|
|
1252
1139
|
"char": "a",
|
|
1253
|
-
"description": "
|
|
1140
|
+
"description": "Account origin URL. Optional for self hosted installs.",
|
|
1254
1141
|
"name": "account_origin",
|
|
1255
1142
|
"required": false,
|
|
1256
1143
|
"hasDynamicHelp": false,
|
|
@@ -1259,39 +1146,40 @@
|
|
|
1259
1146
|
},
|
|
1260
1147
|
"branch": {
|
|
1261
1148
|
"char": "b",
|
|
1262
|
-
"description": "
|
|
1149
|
+
"description": "Branch name",
|
|
1263
1150
|
"name": "branch",
|
|
1264
1151
|
"required": false,
|
|
1265
1152
|
"hasDynamicHelp": false,
|
|
1266
1153
|
"multiple": false,
|
|
1267
1154
|
"type": "option"
|
|
1268
1155
|
},
|
|
1269
|
-
"
|
|
1270
|
-
"
|
|
1271
|
-
"
|
|
1272
|
-
"name": "instance_origin",
|
|
1273
|
-
"required": false,
|
|
1274
|
-
"hasDynamicHelp": false,
|
|
1275
|
-
"multiple": false,
|
|
1276
|
-
"type": "option"
|
|
1277
|
-
},
|
|
1278
|
-
"remove-branch": {
|
|
1279
|
-
"description": "Remove branch from profile",
|
|
1280
|
-
"name": "remove-branch",
|
|
1156
|
+
"default": {
|
|
1157
|
+
"description": "Set this profile as the default",
|
|
1158
|
+
"name": "default",
|
|
1281
1159
|
"required": false,
|
|
1282
1160
|
"allowNo": false,
|
|
1283
1161
|
"type": "boolean"
|
|
1284
1162
|
},
|
|
1285
|
-
"
|
|
1286
|
-
"
|
|
1287
|
-
"
|
|
1163
|
+
"insecure": {
|
|
1164
|
+
"char": "k",
|
|
1165
|
+
"description": "Skip TLS certificate verification (for self-signed certificates)",
|
|
1166
|
+
"name": "insecure",
|
|
1288
1167
|
"required": false,
|
|
1289
1168
|
"allowNo": false,
|
|
1290
1169
|
"type": "boolean"
|
|
1291
1170
|
},
|
|
1171
|
+
"instance_origin": {
|
|
1172
|
+
"char": "i",
|
|
1173
|
+
"description": "Instance origin URL",
|
|
1174
|
+
"name": "instance_origin",
|
|
1175
|
+
"required": true,
|
|
1176
|
+
"hasDynamicHelp": false,
|
|
1177
|
+
"multiple": false,
|
|
1178
|
+
"type": "option"
|
|
1179
|
+
},
|
|
1292
1180
|
"workspace": {
|
|
1293
1181
|
"char": "w",
|
|
1294
|
-
"description": "
|
|
1182
|
+
"description": "Workspace name",
|
|
1295
1183
|
"name": "workspace",
|
|
1296
1184
|
"required": false,
|
|
1297
1185
|
"hasDynamicHelp": false,
|
|
@@ -1301,7 +1189,7 @@
|
|
|
1301
1189
|
},
|
|
1302
1190
|
"hasDynamicHelp": false,
|
|
1303
1191
|
"hiddenAliases": [],
|
|
1304
|
-
"id": "profile:
|
|
1192
|
+
"id": "profile:create",
|
|
1305
1193
|
"pluginAlias": "@xano/cli",
|
|
1306
1194
|
"pluginName": "@xano/cli",
|
|
1307
1195
|
"pluginType": "core",
|
|
@@ -1312,24 +1200,30 @@
|
|
|
1312
1200
|
"dist",
|
|
1313
1201
|
"commands",
|
|
1314
1202
|
"profile",
|
|
1315
|
-
"
|
|
1203
|
+
"create",
|
|
1316
1204
|
"index.js"
|
|
1317
1205
|
]
|
|
1318
1206
|
},
|
|
1319
|
-
"profile:
|
|
1207
|
+
"profile:delete": {
|
|
1320
1208
|
"aliases": [],
|
|
1321
|
-
"args": {
|
|
1322
|
-
|
|
1209
|
+
"args": {
|
|
1210
|
+
"name": {
|
|
1211
|
+
"description": "Profile name to delete",
|
|
1212
|
+
"name": "name",
|
|
1213
|
+
"required": true
|
|
1214
|
+
}
|
|
1215
|
+
},
|
|
1216
|
+
"description": "Delete a profile configuration",
|
|
1323
1217
|
"examples": [
|
|
1324
|
-
"$ xano profile:
|
|
1325
|
-
"$ xano profile:
|
|
1326
|
-
"$ xano profile:
|
|
1218
|
+
"$ xano profile:delete old-profile\nAre you sure you want to delete profile 'old-profile'? (y/n): y\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n",
|
|
1219
|
+
"$ xano profile:delete old-profile --force\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n",
|
|
1220
|
+
"$ xano profile:delete old-profile -f\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n"
|
|
1327
1221
|
],
|
|
1328
1222
|
"flags": {
|
|
1329
|
-
"
|
|
1330
|
-
"char": "
|
|
1331
|
-
"description": "
|
|
1332
|
-
"name": "
|
|
1223
|
+
"force": {
|
|
1224
|
+
"char": "f",
|
|
1225
|
+
"description": "Skip confirmation prompt",
|
|
1226
|
+
"name": "force",
|
|
1333
1227
|
"required": false,
|
|
1334
1228
|
"allowNo": false,
|
|
1335
1229
|
"type": "boolean"
|
|
@@ -1337,7 +1231,7 @@
|
|
|
1337
1231
|
},
|
|
1338
1232
|
"hasDynamicHelp": false,
|
|
1339
1233
|
"hiddenAliases": [],
|
|
1340
|
-
"id": "profile:
|
|
1234
|
+
"id": "profile:delete",
|
|
1341
1235
|
"pluginAlias": "@xano/cli",
|
|
1342
1236
|
"pluginName": "@xano/cli",
|
|
1343
1237
|
"pluginType": "core",
|
|
@@ -1348,18 +1242,28 @@
|
|
|
1348
1242
|
"dist",
|
|
1349
1243
|
"commands",
|
|
1350
1244
|
"profile",
|
|
1351
|
-
"
|
|
1245
|
+
"delete",
|
|
1352
1246
|
"index.js"
|
|
1353
1247
|
]
|
|
1354
1248
|
},
|
|
1355
|
-
"profile:
|
|
1249
|
+
"profile:edit": {
|
|
1356
1250
|
"aliases": [],
|
|
1357
|
-
"args": {
|
|
1358
|
-
|
|
1251
|
+
"args": {
|
|
1252
|
+
"name": {
|
|
1253
|
+
"description": "Profile name to edit (uses default profile if not specified)",
|
|
1254
|
+
"name": "name",
|
|
1255
|
+
"required": false
|
|
1256
|
+
}
|
|
1257
|
+
},
|
|
1258
|
+
"description": "Edit an existing profile configuration",
|
|
1359
1259
|
"examples": [
|
|
1360
|
-
"$ xano profile:
|
|
1361
|
-
"$ xano profile:
|
|
1362
|
-
"$ xano profile:
|
|
1260
|
+
"$ xano profile:edit --access_token new_token123\nProfile 'default' updated successfully at ~/.xano/credentials.yaml\n",
|
|
1261
|
+
"$ xano profile:edit production --access_token new_token123\nProfile 'production' updated successfully at ~/.xano/credentials.yaml\n",
|
|
1262
|
+
"$ xano profile:edit staging -i https://new-staging-instance.xano.com -t new_token456\nProfile 'staging' updated successfully at ~/.xano/credentials.yaml\n",
|
|
1263
|
+
"$ xano profile:edit -b new-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"
|
|
1363
1267
|
],
|
|
1364
1268
|
"flags": {
|
|
1365
1269
|
"profile": {
|
|
@@ -1381,166 +1285,18 @@
|
|
|
1381
1285
|
"allowNo": false,
|
|
1382
1286
|
"type": "boolean"
|
|
1383
1287
|
},
|
|
1384
|
-
"output": {
|
|
1385
|
-
"char": "o",
|
|
1386
|
-
"description": "Output format",
|
|
1387
|
-
"name": "output",
|
|
1388
|
-
"required": false,
|
|
1389
|
-
"default": "summary",
|
|
1390
|
-
"hasDynamicHelp": false,
|
|
1391
|
-
"multiple": false,
|
|
1392
|
-
"options": [
|
|
1393
|
-
"summary",
|
|
1394
|
-
"json"
|
|
1395
|
-
],
|
|
1396
|
-
"type": "option"
|
|
1397
|
-
}
|
|
1398
|
-
},
|
|
1399
|
-
"hasDynamicHelp": false,
|
|
1400
|
-
"hiddenAliases": [],
|
|
1401
|
-
"id": "profile:me",
|
|
1402
|
-
"pluginAlias": "@xano/cli",
|
|
1403
|
-
"pluginName": "@xano/cli",
|
|
1404
|
-
"pluginType": "core",
|
|
1405
|
-
"strict": true,
|
|
1406
|
-
"enableJsonFlag": false,
|
|
1407
|
-
"isESM": true,
|
|
1408
|
-
"relativePath": [
|
|
1409
|
-
"dist",
|
|
1410
|
-
"commands",
|
|
1411
|
-
"profile",
|
|
1412
|
-
"me",
|
|
1413
|
-
"index.js"
|
|
1414
|
-
]
|
|
1415
|
-
},
|
|
1416
|
-
"profile:set": {
|
|
1417
|
-
"aliases": [],
|
|
1418
|
-
"args": {
|
|
1419
|
-
"name": {
|
|
1420
|
-
"description": "Profile name to set as default",
|
|
1421
|
-
"name": "name",
|
|
1422
|
-
"required": true
|
|
1423
|
-
}
|
|
1424
|
-
},
|
|
1425
|
-
"description": "Set the default profile",
|
|
1426
|
-
"examples": [
|
|
1427
|
-
"$ xano profile set production\nDefault profile set to 'production'\n"
|
|
1428
|
-
],
|
|
1429
|
-
"flags": {},
|
|
1430
|
-
"hasDynamicHelp": false,
|
|
1431
|
-
"hiddenAliases": [],
|
|
1432
|
-
"id": "profile:set",
|
|
1433
|
-
"pluginAlias": "@xano/cli",
|
|
1434
|
-
"pluginName": "@xano/cli",
|
|
1435
|
-
"pluginType": "core",
|
|
1436
|
-
"strict": true,
|
|
1437
|
-
"enableJsonFlag": false,
|
|
1438
|
-
"isESM": true,
|
|
1439
|
-
"relativePath": [
|
|
1440
|
-
"dist",
|
|
1441
|
-
"commands",
|
|
1442
|
-
"profile",
|
|
1443
|
-
"set",
|
|
1444
|
-
"index.js"
|
|
1445
|
-
]
|
|
1446
|
-
},
|
|
1447
|
-
"profile:token": {
|
|
1448
|
-
"aliases": [],
|
|
1449
|
-
"args": {},
|
|
1450
|
-
"description": "Print the access token for the default profile",
|
|
1451
|
-
"examples": [
|
|
1452
|
-
"$ xano profile:token\neyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...\n",
|
|
1453
|
-
"$ xano profile:token | pbcopy\n# Copies the token to clipboard on macOS\n"
|
|
1454
|
-
],
|
|
1455
|
-
"flags": {},
|
|
1456
|
-
"hasDynamicHelp": false,
|
|
1457
|
-
"hiddenAliases": [],
|
|
1458
|
-
"id": "profile:token",
|
|
1459
|
-
"pluginAlias": "@xano/cli",
|
|
1460
|
-
"pluginName": "@xano/cli",
|
|
1461
|
-
"pluginType": "core",
|
|
1462
|
-
"strict": true,
|
|
1463
|
-
"enableJsonFlag": false,
|
|
1464
|
-
"isESM": true,
|
|
1465
|
-
"relativePath": [
|
|
1466
|
-
"dist",
|
|
1467
|
-
"commands",
|
|
1468
|
-
"profile",
|
|
1469
|
-
"token",
|
|
1470
|
-
"index.js"
|
|
1471
|
-
]
|
|
1472
|
-
},
|
|
1473
|
-
"profile:delete": {
|
|
1474
|
-
"aliases": [],
|
|
1475
|
-
"args": {
|
|
1476
|
-
"name": {
|
|
1477
|
-
"description": "Profile name to delete",
|
|
1478
|
-
"name": "name",
|
|
1479
|
-
"required": true
|
|
1480
|
-
}
|
|
1481
|
-
},
|
|
1482
|
-
"description": "Delete a profile configuration",
|
|
1483
|
-
"examples": [
|
|
1484
|
-
"$ xano profile:delete old-profile\nAre you sure you want to delete profile 'old-profile'? (y/n): y\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n",
|
|
1485
|
-
"$ xano profile:delete old-profile --force\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n",
|
|
1486
|
-
"$ xano profile:delete old-profile -f\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n"
|
|
1487
|
-
],
|
|
1488
|
-
"flags": {
|
|
1489
|
-
"force": {
|
|
1490
|
-
"char": "f",
|
|
1491
|
-
"description": "Skip confirmation prompt",
|
|
1492
|
-
"name": "force",
|
|
1493
|
-
"required": false,
|
|
1494
|
-
"allowNo": false,
|
|
1495
|
-
"type": "boolean"
|
|
1496
|
-
}
|
|
1497
|
-
},
|
|
1498
|
-
"hasDynamicHelp": false,
|
|
1499
|
-
"hiddenAliases": [],
|
|
1500
|
-
"id": "profile:delete",
|
|
1501
|
-
"pluginAlias": "@xano/cli",
|
|
1502
|
-
"pluginName": "@xano/cli",
|
|
1503
|
-
"pluginType": "core",
|
|
1504
|
-
"strict": true,
|
|
1505
|
-
"enableJsonFlag": false,
|
|
1506
|
-
"isESM": true,
|
|
1507
|
-
"relativePath": [
|
|
1508
|
-
"dist",
|
|
1509
|
-
"commands",
|
|
1510
|
-
"profile",
|
|
1511
|
-
"delete",
|
|
1512
|
-
"index.js"
|
|
1513
|
-
]
|
|
1514
|
-
},
|
|
1515
|
-
"profile:create": {
|
|
1516
|
-
"aliases": [],
|
|
1517
|
-
"args": {
|
|
1518
|
-
"name": {
|
|
1519
|
-
"description": "Profile name",
|
|
1520
|
-
"name": "name",
|
|
1521
|
-
"required": true
|
|
1522
|
-
}
|
|
1523
|
-
},
|
|
1524
|
-
"description": "Create a new profile configuration",
|
|
1525
|
-
"examples": [
|
|
1526
|
-
"$ 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",
|
|
1527
|
-
"$ 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",
|
|
1528
|
-
"$ 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",
|
|
1529
|
-
"$ 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"
|
|
1530
|
-
],
|
|
1531
|
-
"flags": {
|
|
1532
1288
|
"access_token": {
|
|
1533
1289
|
"char": "t",
|
|
1534
|
-
"description": "
|
|
1290
|
+
"description": "Update access token for the Xano Metadata API",
|
|
1535
1291
|
"name": "access_token",
|
|
1536
|
-
"required":
|
|
1292
|
+
"required": false,
|
|
1537
1293
|
"hasDynamicHelp": false,
|
|
1538
1294
|
"multiple": false,
|
|
1539
1295
|
"type": "option"
|
|
1540
1296
|
},
|
|
1541
1297
|
"account_origin": {
|
|
1542
1298
|
"char": "a",
|
|
1543
|
-
"description": "
|
|
1299
|
+
"description": "Update account origin URL",
|
|
1544
1300
|
"name": "account_origin",
|
|
1545
1301
|
"required": false,
|
|
1546
1302
|
"hasDynamicHelp": false,
|
|
@@ -1549,32 +1305,53 @@
|
|
|
1549
1305
|
},
|
|
1550
1306
|
"branch": {
|
|
1551
1307
|
"char": "b",
|
|
1552
|
-
"description": "
|
|
1308
|
+
"description": "Update branch name",
|
|
1553
1309
|
"name": "branch",
|
|
1554
1310
|
"required": false,
|
|
1555
1311
|
"hasDynamicHelp": false,
|
|
1556
1312
|
"multiple": false,
|
|
1557
1313
|
"type": "option"
|
|
1558
1314
|
},
|
|
1559
|
-
"
|
|
1560
|
-
"description": "
|
|
1561
|
-
"name": "
|
|
1315
|
+
"insecure": {
|
|
1316
|
+
"description": "Enable insecure mode (skip TLS certificate verification)",
|
|
1317
|
+
"name": "insecure",
|
|
1562
1318
|
"required": false,
|
|
1563
1319
|
"allowNo": false,
|
|
1564
1320
|
"type": "boolean"
|
|
1565
1321
|
},
|
|
1566
1322
|
"instance_origin": {
|
|
1567
1323
|
"char": "i",
|
|
1568
|
-
"description": "
|
|
1324
|
+
"description": "Update instance origin URL",
|
|
1569
1325
|
"name": "instance_origin",
|
|
1570
|
-
"required":
|
|
1326
|
+
"required": false,
|
|
1571
1327
|
"hasDynamicHelp": false,
|
|
1572
1328
|
"multiple": false,
|
|
1573
1329
|
"type": "option"
|
|
1574
1330
|
},
|
|
1331
|
+
"remove-branch": {
|
|
1332
|
+
"description": "Remove branch from profile",
|
|
1333
|
+
"name": "remove-branch",
|
|
1334
|
+
"required": false,
|
|
1335
|
+
"allowNo": false,
|
|
1336
|
+
"type": "boolean"
|
|
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
|
+
},
|
|
1345
|
+
"remove-workspace": {
|
|
1346
|
+
"description": "Remove workspace from profile",
|
|
1347
|
+
"name": "remove-workspace",
|
|
1348
|
+
"required": false,
|
|
1349
|
+
"allowNo": false,
|
|
1350
|
+
"type": "boolean"
|
|
1351
|
+
},
|
|
1575
1352
|
"workspace": {
|
|
1576
1353
|
"char": "w",
|
|
1577
|
-
"description": "
|
|
1354
|
+
"description": "Update workspace name",
|
|
1578
1355
|
"name": "workspace",
|
|
1579
1356
|
"required": false,
|
|
1580
1357
|
"hasDynamicHelp": false,
|
|
@@ -1584,7 +1361,7 @@
|
|
|
1584
1361
|
},
|
|
1585
1362
|
"hasDynamicHelp": false,
|
|
1586
1363
|
"hiddenAliases": [],
|
|
1587
|
-
"id": "profile:
|
|
1364
|
+
"id": "profile:edit",
|
|
1588
1365
|
"pluginAlias": "@xano/cli",
|
|
1589
1366
|
"pluginName": "@xano/cli",
|
|
1590
1367
|
"pluginType": "core",
|
|
@@ -1595,22 +1372,21 @@
|
|
|
1595
1372
|
"dist",
|
|
1596
1373
|
"commands",
|
|
1597
1374
|
"profile",
|
|
1598
|
-
"
|
|
1375
|
+
"edit",
|
|
1599
1376
|
"index.js"
|
|
1600
1377
|
]
|
|
1601
1378
|
},
|
|
1602
|
-
"profile:
|
|
1379
|
+
"profile:get": {
|
|
1603
1380
|
"aliases": [],
|
|
1604
1381
|
"args": {},
|
|
1605
|
-
"description": "
|
|
1382
|
+
"description": "Get the current default profile name",
|
|
1606
1383
|
"examples": [
|
|
1607
|
-
"$ xano profile
|
|
1608
|
-
"$ xano profile:workspace | pbcopy\n# Copies the workspace ID to clipboard on macOS\n"
|
|
1384
|
+
"$ xano profile get\nproduction\n"
|
|
1609
1385
|
],
|
|
1610
1386
|
"flags": {},
|
|
1611
1387
|
"hasDynamicHelp": false,
|
|
1612
1388
|
"hiddenAliases": [],
|
|
1613
|
-
"id": "profile:
|
|
1389
|
+
"id": "profile:get",
|
|
1614
1390
|
"pluginAlias": "@xano/cli",
|
|
1615
1391
|
"pluginName": "@xano/cli",
|
|
1616
1392
|
"pluginType": "core",
|
|
@@ -1621,41 +1397,32 @@
|
|
|
1621
1397
|
"dist",
|
|
1622
1398
|
"commands",
|
|
1623
1399
|
"profile",
|
|
1624
|
-
"
|
|
1400
|
+
"get",
|
|
1625
1401
|
"index.js"
|
|
1626
1402
|
]
|
|
1627
1403
|
},
|
|
1628
|
-
"profile:
|
|
1404
|
+
"profile:list": {
|
|
1629
1405
|
"aliases": [],
|
|
1630
1406
|
"args": {},
|
|
1631
|
-
"description": "
|
|
1407
|
+
"description": "List all available profile configurations",
|
|
1632
1408
|
"examples": [
|
|
1633
|
-
"$ xano profile:
|
|
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"
|
|
1634
1412
|
],
|
|
1635
1413
|
"flags": {
|
|
1636
|
-
"
|
|
1637
|
-
"char": "
|
|
1638
|
-
"description": "
|
|
1639
|
-
"name": "
|
|
1640
|
-
"required": false,
|
|
1641
|
-
"hasDynamicHelp": false,
|
|
1642
|
-
"multiple": false,
|
|
1643
|
-
"type": "option"
|
|
1644
|
-
},
|
|
1645
|
-
"origin": {
|
|
1646
|
-
"char": "o",
|
|
1647
|
-
"description": "Xano instance origin URL",
|
|
1648
|
-
"name": "origin",
|
|
1414
|
+
"details": {
|
|
1415
|
+
"char": "d",
|
|
1416
|
+
"description": "Show detailed information for each profile",
|
|
1417
|
+
"name": "details",
|
|
1649
1418
|
"required": false,
|
|
1650
|
-
"
|
|
1651
|
-
"
|
|
1652
|
-
"multiple": false,
|
|
1653
|
-
"type": "option"
|
|
1419
|
+
"allowNo": false,
|
|
1420
|
+
"type": "boolean"
|
|
1654
1421
|
}
|
|
1655
1422
|
},
|
|
1656
1423
|
"hasDynamicHelp": false,
|
|
1657
1424
|
"hiddenAliases": [],
|
|
1658
|
-
"id": "profile:
|
|
1425
|
+
"id": "profile:list",
|
|
1659
1426
|
"pluginAlias": "@xano/cli",
|
|
1660
1427
|
"pluginName": "@xano/cli",
|
|
1661
1428
|
"pluginType": "core",
|
|
@@ -1666,24 +1433,24 @@
|
|
|
1666
1433
|
"dist",
|
|
1667
1434
|
"commands",
|
|
1668
1435
|
"profile",
|
|
1669
|
-
"
|
|
1436
|
+
"list",
|
|
1670
1437
|
"index.js"
|
|
1671
1438
|
]
|
|
1672
1439
|
},
|
|
1673
|
-
"
|
|
1440
|
+
"branch:get": {
|
|
1674
1441
|
"aliases": [],
|
|
1675
1442
|
"args": {
|
|
1676
|
-
"
|
|
1677
|
-
"description": "
|
|
1678
|
-
"name": "
|
|
1443
|
+
"branch_label": {
|
|
1444
|
+
"description": "Branch label (e.g., \"v1\", \"dev\")",
|
|
1445
|
+
"name": "branch_label",
|
|
1679
1446
|
"required": true
|
|
1680
1447
|
}
|
|
1681
1448
|
},
|
|
1682
|
-
"description": "
|
|
1449
|
+
"description": "Get details for a specific branch",
|
|
1683
1450
|
"examples": [
|
|
1684
|
-
"$ xano
|
|
1685
|
-
"$ xano
|
|
1686
|
-
"$ xano
|
|
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"
|
|
1687
1454
|
],
|
|
1688
1455
|
"flags": {
|
|
1689
1456
|
"profile": {
|
|
@@ -1705,10 +1472,10 @@
|
|
|
1705
1472
|
"allowNo": false,
|
|
1706
1473
|
"type": "boolean"
|
|
1707
1474
|
},
|
|
1708
|
-
"
|
|
1475
|
+
"output": {
|
|
1709
1476
|
"char": "o",
|
|
1710
1477
|
"description": "Output format",
|
|
1711
|
-
"name": "
|
|
1478
|
+
"name": "output",
|
|
1712
1479
|
"required": false,
|
|
1713
1480
|
"default": "summary",
|
|
1714
1481
|
"hasDynamicHelp": false,
|
|
@@ -1719,27 +1486,163 @@
|
|
|
1719
1486
|
],
|
|
1720
1487
|
"type": "option"
|
|
1721
1488
|
},
|
|
1722
|
-
"
|
|
1723
|
-
"
|
|
1724
|
-
"
|
|
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
|
+
},
|
|
1516
|
+
"profile:me": {
|
|
1517
|
+
"aliases": [],
|
|
1518
|
+
"args": {},
|
|
1519
|
+
"description": "Get information about the currently authenticated user",
|
|
1520
|
+
"examples": [
|
|
1521
|
+
"$ xano profile:me\nUser Information:\n ID: 1\n Name: John Doe\n Email: john@example.com\n",
|
|
1522
|
+
"$ xano profile:me --profile production\nUser Information:\n ID: 42\n Name: Admin User\n Email: admin@example.com\n",
|
|
1523
|
+
"$ xano profile:me --output json\n{\n \"id\": 1,\n \"name\": \"John Doe\",\n \"email\": \"john@example.com\"\n}\n"
|
|
1524
|
+
],
|
|
1525
|
+
"flags": {
|
|
1526
|
+
"profile": {
|
|
1527
|
+
"char": "p",
|
|
1528
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
1529
|
+
"env": "XANO_PROFILE",
|
|
1530
|
+
"name": "profile",
|
|
1725
1531
|
"required": false,
|
|
1726
1532
|
"hasDynamicHelp": false,
|
|
1727
1533
|
"multiple": false,
|
|
1728
1534
|
"type": "option"
|
|
1729
1535
|
},
|
|
1730
|
-
"
|
|
1731
|
-
"char": "
|
|
1732
|
-
"description": "
|
|
1733
|
-
"
|
|
1536
|
+
"verbose": {
|
|
1537
|
+
"char": "v",
|
|
1538
|
+
"description": "Show detailed request/response information",
|
|
1539
|
+
"env": "XANO_VERBOSE",
|
|
1540
|
+
"name": "verbose",
|
|
1734
1541
|
"required": false,
|
|
1542
|
+
"allowNo": false,
|
|
1543
|
+
"type": "boolean"
|
|
1544
|
+
},
|
|
1545
|
+
"output": {
|
|
1546
|
+
"char": "o",
|
|
1547
|
+
"description": "Output format",
|
|
1548
|
+
"name": "output",
|
|
1549
|
+
"required": false,
|
|
1550
|
+
"default": "summary",
|
|
1735
1551
|
"hasDynamicHelp": false,
|
|
1736
1552
|
"multiple": false,
|
|
1553
|
+
"options": [
|
|
1554
|
+
"summary",
|
|
1555
|
+
"json"
|
|
1556
|
+
],
|
|
1737
1557
|
"type": "option"
|
|
1738
1558
|
}
|
|
1739
1559
|
},
|
|
1740
1560
|
"hasDynamicHelp": false,
|
|
1741
1561
|
"hiddenAliases": [],
|
|
1742
|
-
"id": "
|
|
1562
|
+
"id": "profile:me",
|
|
1563
|
+
"pluginAlias": "@xano/cli",
|
|
1564
|
+
"pluginName": "@xano/cli",
|
|
1565
|
+
"pluginType": "core",
|
|
1566
|
+
"strict": true,
|
|
1567
|
+
"enableJsonFlag": false,
|
|
1568
|
+
"isESM": true,
|
|
1569
|
+
"relativePath": [
|
|
1570
|
+
"dist",
|
|
1571
|
+
"commands",
|
|
1572
|
+
"profile",
|
|
1573
|
+
"me",
|
|
1574
|
+
"index.js"
|
|
1575
|
+
]
|
|
1576
|
+
},
|
|
1577
|
+
"profile:set": {
|
|
1578
|
+
"aliases": [],
|
|
1579
|
+
"args": {
|
|
1580
|
+
"name": {
|
|
1581
|
+
"description": "Profile name to set as default",
|
|
1582
|
+
"name": "name",
|
|
1583
|
+
"required": true
|
|
1584
|
+
}
|
|
1585
|
+
},
|
|
1586
|
+
"description": "Set the default profile",
|
|
1587
|
+
"examples": [
|
|
1588
|
+
"$ xano profile set production\nDefault profile set to 'production'\n"
|
|
1589
|
+
],
|
|
1590
|
+
"flags": {},
|
|
1591
|
+
"hasDynamicHelp": false,
|
|
1592
|
+
"hiddenAliases": [],
|
|
1593
|
+
"id": "profile:set",
|
|
1594
|
+
"pluginAlias": "@xano/cli",
|
|
1595
|
+
"pluginName": "@xano/cli",
|
|
1596
|
+
"pluginType": "core",
|
|
1597
|
+
"strict": true,
|
|
1598
|
+
"enableJsonFlag": false,
|
|
1599
|
+
"isESM": true,
|
|
1600
|
+
"relativePath": [
|
|
1601
|
+
"dist",
|
|
1602
|
+
"commands",
|
|
1603
|
+
"profile",
|
|
1604
|
+
"set",
|
|
1605
|
+
"index.js"
|
|
1606
|
+
]
|
|
1607
|
+
},
|
|
1608
|
+
"profile:token": {
|
|
1609
|
+
"aliases": [],
|
|
1610
|
+
"args": {},
|
|
1611
|
+
"description": "Print the access token for the default profile",
|
|
1612
|
+
"examples": [
|
|
1613
|
+
"$ xano profile:token\neyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...\n",
|
|
1614
|
+
"$ xano profile:token | pbcopy\n# Copies the token to clipboard on macOS\n"
|
|
1615
|
+
],
|
|
1616
|
+
"flags": {},
|
|
1617
|
+
"hasDynamicHelp": false,
|
|
1618
|
+
"hiddenAliases": [],
|
|
1619
|
+
"id": "profile:token",
|
|
1620
|
+
"pluginAlias": "@xano/cli",
|
|
1621
|
+
"pluginName": "@xano/cli",
|
|
1622
|
+
"pluginType": "core",
|
|
1623
|
+
"strict": true,
|
|
1624
|
+
"enableJsonFlag": false,
|
|
1625
|
+
"isESM": true,
|
|
1626
|
+
"relativePath": [
|
|
1627
|
+
"dist",
|
|
1628
|
+
"commands",
|
|
1629
|
+
"profile",
|
|
1630
|
+
"token",
|
|
1631
|
+
"index.js"
|
|
1632
|
+
]
|
|
1633
|
+
},
|
|
1634
|
+
"profile:workspace": {
|
|
1635
|
+
"aliases": [],
|
|
1636
|
+
"args": {},
|
|
1637
|
+
"description": "Print the workspace ID for the default profile",
|
|
1638
|
+
"examples": [
|
|
1639
|
+
"$ xano profile:workspace\nabc123-workspace-id\n",
|
|
1640
|
+
"$ xano profile:workspace | pbcopy\n# Copies the workspace ID to clipboard on macOS\n"
|
|
1641
|
+
],
|
|
1642
|
+
"flags": {},
|
|
1643
|
+
"hasDynamicHelp": false,
|
|
1644
|
+
"hiddenAliases": [],
|
|
1645
|
+
"id": "profile:workspace",
|
|
1743
1646
|
"pluginAlias": "@xano/cli",
|
|
1744
1647
|
"pluginName": "@xano/cli",
|
|
1745
1648
|
"pluginType": "core",
|
|
@@ -1749,24 +1652,20 @@
|
|
|
1749
1652
|
"relativePath": [
|
|
1750
1653
|
"dist",
|
|
1751
1654
|
"commands",
|
|
1752
|
-
"
|
|
1753
|
-
"
|
|
1655
|
+
"profile",
|
|
1656
|
+
"workspace",
|
|
1754
1657
|
"index.js"
|
|
1755
1658
|
]
|
|
1756
1659
|
},
|
|
1757
|
-
"
|
|
1660
|
+
"static_host:list": {
|
|
1758
1661
|
"aliases": [],
|
|
1759
|
-
"args": {
|
|
1760
|
-
|
|
1761
|
-
"description": "Release name to edit",
|
|
1762
|
-
"name": "release_name",
|
|
1763
|
-
"required": true
|
|
1764
|
-
}
|
|
1765
|
-
},
|
|
1766
|
-
"description": "Edit an existing release",
|
|
1662
|
+
"args": {},
|
|
1663
|
+
"description": "List all static hosts in a workspace from the Xano Metadata API",
|
|
1767
1664
|
"examples": [
|
|
1768
|
-
"$ xano
|
|
1769
|
-
"$ 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"
|
|
1770
1669
|
],
|
|
1771
1670
|
"flags": {
|
|
1772
1671
|
"profile": {
|
|
@@ -1788,41 +1687,41 @@
|
|
|
1788
1687
|
"allowNo": false,
|
|
1789
1688
|
"type": "boolean"
|
|
1790
1689
|
},
|
|
1791
|
-
"
|
|
1792
|
-
"char": "
|
|
1793
|
-
"description": "
|
|
1794
|
-
"name": "
|
|
1690
|
+
"output": {
|
|
1691
|
+
"char": "o",
|
|
1692
|
+
"description": "Output format",
|
|
1693
|
+
"name": "output",
|
|
1795
1694
|
"required": false,
|
|
1695
|
+
"default": "summary",
|
|
1796
1696
|
"hasDynamicHelp": false,
|
|
1797
1697
|
"multiple": false,
|
|
1698
|
+
"options": [
|
|
1699
|
+
"summary",
|
|
1700
|
+
"json"
|
|
1701
|
+
],
|
|
1798
1702
|
"type": "option"
|
|
1799
1703
|
},
|
|
1800
|
-
"
|
|
1801
|
-
"
|
|
1802
|
-
"
|
|
1803
|
-
"name": "name",
|
|
1704
|
+
"page": {
|
|
1705
|
+
"description": "Page number for pagination",
|
|
1706
|
+
"name": "page",
|
|
1804
1707
|
"required": false,
|
|
1708
|
+
"default": 1,
|
|
1805
1709
|
"hasDynamicHelp": false,
|
|
1806
1710
|
"multiple": false,
|
|
1807
1711
|
"type": "option"
|
|
1808
1712
|
},
|
|
1809
|
-
"
|
|
1810
|
-
"
|
|
1811
|
-
"
|
|
1812
|
-
"name": "output",
|
|
1713
|
+
"per_page": {
|
|
1714
|
+
"description": "Number of results per page",
|
|
1715
|
+
"name": "per_page",
|
|
1813
1716
|
"required": false,
|
|
1814
|
-
"default":
|
|
1717
|
+
"default": 50,
|
|
1815
1718
|
"hasDynamicHelp": false,
|
|
1816
1719
|
"multiple": false,
|
|
1817
|
-
"options": [
|
|
1818
|
-
"summary",
|
|
1819
|
-
"json"
|
|
1820
|
-
],
|
|
1821
1720
|
"type": "option"
|
|
1822
1721
|
},
|
|
1823
1722
|
"workspace": {
|
|
1824
1723
|
"char": "w",
|
|
1825
|
-
"description": "Workspace ID (
|
|
1724
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
1826
1725
|
"name": "workspace",
|
|
1827
1726
|
"required": false,
|
|
1828
1727
|
"hasDynamicHelp": false,
|
|
@@ -1832,7 +1731,7 @@
|
|
|
1832
1731
|
},
|
|
1833
1732
|
"hasDynamicHelp": false,
|
|
1834
1733
|
"hiddenAliases": [],
|
|
1835
|
-
"id": "
|
|
1734
|
+
"id": "static_host:list",
|
|
1836
1735
|
"pluginAlias": "@xano/cli",
|
|
1837
1736
|
"pluginName": "@xano/cli",
|
|
1838
1737
|
"pluginType": "core",
|
|
@@ -1842,8 +1741,8 @@
|
|
|
1842
1741
|
"relativePath": [
|
|
1843
1742
|
"dist",
|
|
1844
1743
|
"commands",
|
|
1845
|
-
"
|
|
1846
|
-
"
|
|
1744
|
+
"static_host",
|
|
1745
|
+
"list",
|
|
1847
1746
|
"index.js"
|
|
1848
1747
|
]
|
|
1849
1748
|
},
|
|
@@ -2042,19 +1941,19 @@
|
|
|
2042
1941
|
"index.js"
|
|
2043
1942
|
]
|
|
2044
1943
|
},
|
|
2045
|
-
"release:
|
|
1944
|
+
"release:edit": {
|
|
2046
1945
|
"aliases": [],
|
|
2047
1946
|
"args": {
|
|
2048
1947
|
"release_name": {
|
|
2049
|
-
"description": "Release name to
|
|
1948
|
+
"description": "Release name to edit",
|
|
2050
1949
|
"name": "release_name",
|
|
2051
1950
|
"required": true
|
|
2052
1951
|
}
|
|
2053
1952
|
},
|
|
2054
|
-
"description": "
|
|
1953
|
+
"description": "Edit an existing release",
|
|
2055
1954
|
"examples": [
|
|
2056
|
-
"$ xano release
|
|
2057
|
-
"$ xano release
|
|
1955
|
+
"$ xano release edit v1.0 --name \"v1.0-final\" --description \"Updated description\"\nUpdated release: v1.0-final - ID: 10\n",
|
|
1956
|
+
"$ xano release edit v1.0 --description \"New description\" -o json"
|
|
2058
1957
|
],
|
|
2059
1958
|
"flags": {
|
|
2060
1959
|
"profile": {
|
|
@@ -2076,6 +1975,24 @@
|
|
|
2076
1975
|
"allowNo": false,
|
|
2077
1976
|
"type": "boolean"
|
|
2078
1977
|
},
|
|
1978
|
+
"description": {
|
|
1979
|
+
"char": "d",
|
|
1980
|
+
"description": "New description",
|
|
1981
|
+
"name": "description",
|
|
1982
|
+
"required": false,
|
|
1983
|
+
"hasDynamicHelp": false,
|
|
1984
|
+
"multiple": false,
|
|
1985
|
+
"type": "option"
|
|
1986
|
+
},
|
|
1987
|
+
"name": {
|
|
1988
|
+
"char": "n",
|
|
1989
|
+
"description": "New name for the release",
|
|
1990
|
+
"name": "name",
|
|
1991
|
+
"required": false,
|
|
1992
|
+
"hasDynamicHelp": false,
|
|
1993
|
+
"multiple": false,
|
|
1994
|
+
"type": "option"
|
|
1995
|
+
},
|
|
2079
1996
|
"output": {
|
|
2080
1997
|
"char": "o",
|
|
2081
1998
|
"description": "Output format",
|
|
@@ -2102,7 +2019,7 @@
|
|
|
2102
2019
|
},
|
|
2103
2020
|
"hasDynamicHelp": false,
|
|
2104
2021
|
"hiddenAliases": [],
|
|
2105
|
-
"id": "release:
|
|
2022
|
+
"id": "release:edit",
|
|
2106
2023
|
"pluginAlias": "@xano/cli",
|
|
2107
2024
|
"pluginName": "@xano/cli",
|
|
2108
2025
|
"pluginType": "core",
|
|
@@ -2113,17 +2030,24 @@
|
|
|
2113
2030
|
"dist",
|
|
2114
2031
|
"commands",
|
|
2115
2032
|
"release",
|
|
2116
|
-
"
|
|
2033
|
+
"edit",
|
|
2117
2034
|
"index.js"
|
|
2118
2035
|
]
|
|
2119
2036
|
},
|
|
2120
|
-
"release:
|
|
2037
|
+
"release:export": {
|
|
2121
2038
|
"aliases": [],
|
|
2122
|
-
"args": {
|
|
2123
|
-
|
|
2039
|
+
"args": {
|
|
2040
|
+
"release_name": {
|
|
2041
|
+
"description": "Release name to export",
|
|
2042
|
+
"name": "release_name",
|
|
2043
|
+
"required": true
|
|
2044
|
+
}
|
|
2045
|
+
},
|
|
2046
|
+
"description": "Export (download) a release to a local file",
|
|
2124
2047
|
"examples": [
|
|
2125
|
-
"$ xano release
|
|
2126
|
-
"$ xano release
|
|
2048
|
+
"$ xano release export v1.0\nDownloaded release 'v1.0' to ./release-v1.0.tar.gz\n",
|
|
2049
|
+
"$ xano release export v1.0 --output ./backups/my-release.tar.gz",
|
|
2050
|
+
"$ xano release export v1.0 -o json"
|
|
2127
2051
|
],
|
|
2128
2052
|
"flags": {
|
|
2129
2053
|
"profile": {
|
|
@@ -2145,19 +2069,10 @@
|
|
|
2145
2069
|
"allowNo": false,
|
|
2146
2070
|
"type": "boolean"
|
|
2147
2071
|
},
|
|
2148
|
-
"
|
|
2149
|
-
"char": "f",
|
|
2150
|
-
"description": "Path to the release file (.tar.gz)",
|
|
2151
|
-
"name": "file",
|
|
2152
|
-
"required": true,
|
|
2153
|
-
"hasDynamicHelp": false,
|
|
2154
|
-
"multiple": false,
|
|
2155
|
-
"type": "option"
|
|
2156
|
-
},
|
|
2157
|
-
"output": {
|
|
2072
|
+
"format": {
|
|
2158
2073
|
"char": "o",
|
|
2159
2074
|
"description": "Output format",
|
|
2160
|
-
"name": "
|
|
2075
|
+
"name": "format",
|
|
2161
2076
|
"required": false,
|
|
2162
2077
|
"default": "summary",
|
|
2163
2078
|
"hasDynamicHelp": false,
|
|
@@ -2168,6 +2083,14 @@
|
|
|
2168
2083
|
],
|
|
2169
2084
|
"type": "option"
|
|
2170
2085
|
},
|
|
2086
|
+
"output": {
|
|
2087
|
+
"description": "Output file path (defaults to ./release-{name}.tar.gz)",
|
|
2088
|
+
"name": "output",
|
|
2089
|
+
"required": false,
|
|
2090
|
+
"hasDynamicHelp": false,
|
|
2091
|
+
"multiple": false,
|
|
2092
|
+
"type": "option"
|
|
2093
|
+
},
|
|
2171
2094
|
"workspace": {
|
|
2172
2095
|
"char": "w",
|
|
2173
2096
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -2180,7 +2103,7 @@
|
|
|
2180
2103
|
},
|
|
2181
2104
|
"hasDynamicHelp": false,
|
|
2182
2105
|
"hiddenAliases": [],
|
|
2183
|
-
"id": "release:
|
|
2106
|
+
"id": "release:export",
|
|
2184
2107
|
"pluginAlias": "@xano/cli",
|
|
2185
2108
|
"pluginName": "@xano/cli",
|
|
2186
2109
|
"pluginType": "core",
|
|
@@ -2191,80 +2114,97 @@
|
|
|
2191
2114
|
"dist",
|
|
2192
2115
|
"commands",
|
|
2193
2116
|
"release",
|
|
2194
|
-
"
|
|
2117
|
+
"export",
|
|
2195
2118
|
"index.js"
|
|
2196
2119
|
]
|
|
2197
2120
|
},
|
|
2198
|
-
"
|
|
2121
|
+
"profile:wizard": {
|
|
2199
2122
|
"aliases": [],
|
|
2200
|
-
"args": {
|
|
2201
|
-
|
|
2202
|
-
"description": "Directory containing .xs documents to create the release from",
|
|
2203
|
-
"name": "directory",
|
|
2204
|
-
"required": true
|
|
2205
|
-
}
|
|
2206
|
-
},
|
|
2207
|
-
"description": "Create a new release from local XanoScript files via the multidoc endpoint",
|
|
2123
|
+
"args": {},
|
|
2124
|
+
"description": "Create a new profile configuration using an interactive wizard",
|
|
2208
2125
|
"examples": [
|
|
2209
|
-
"$ xano
|
|
2210
|
-
"$ xano release push ./output -n \"v2.0\" -w 40 -d \"Major update\"\nCreated release: v2.0 - ID: 15\n",
|
|
2211
|
-
"$ xano release push ./backup -n \"v1.1-hotfix\" --hotfix --profile production\nCreated release: v1.1-hotfix - ID: 20\n",
|
|
2212
|
-
"$ xano release push ./my-release -n \"v1.0\" --no-records --no-env\nCreate release from schema only, skip records and environment variables\n",
|
|
2213
|
-
"$ xano release push ./my-release -n \"v1.0\" -o json\nOutput release details as JSON\n"
|
|
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"
|
|
2214
2127
|
],
|
|
2215
2128
|
"flags": {
|
|
2216
|
-
"
|
|
2217
|
-
"char": "
|
|
2218
|
-
"description": "
|
|
2219
|
-
"
|
|
2220
|
-
"name": "profile",
|
|
2221
|
-
"required": false,
|
|
2222
|
-
"hasDynamicHelp": false,
|
|
2223
|
-
"multiple": false,
|
|
2224
|
-
"type": "option"
|
|
2225
|
-
},
|
|
2226
|
-
"verbose": {
|
|
2227
|
-
"char": "v",
|
|
2228
|
-
"description": "Show detailed request/response information",
|
|
2229
|
-
"env": "XANO_VERBOSE",
|
|
2230
|
-
"name": "verbose",
|
|
2129
|
+
"insecure": {
|
|
2130
|
+
"char": "k",
|
|
2131
|
+
"description": "Skip TLS certificate verification (for self-signed certificates)",
|
|
2132
|
+
"name": "insecure",
|
|
2231
2133
|
"required": false,
|
|
2232
2134
|
"allowNo": false,
|
|
2233
2135
|
"type": "boolean"
|
|
2234
2136
|
},
|
|
2235
|
-
"
|
|
2236
|
-
"char": "
|
|
2237
|
-
"description": "
|
|
2238
|
-
"name": "
|
|
2137
|
+
"name": {
|
|
2138
|
+
"char": "n",
|
|
2139
|
+
"description": "Profile name (skip prompt if provided)",
|
|
2140
|
+
"name": "name",
|
|
2239
2141
|
"required": false,
|
|
2240
|
-
"default": "",
|
|
2241
2142
|
"hasDynamicHelp": false,
|
|
2242
2143
|
"multiple": false,
|
|
2243
2144
|
"type": "option"
|
|
2244
2145
|
},
|
|
2245
|
-
"
|
|
2246
|
-
"
|
|
2247
|
-
"
|
|
2146
|
+
"origin": {
|
|
2147
|
+
"char": "o",
|
|
2148
|
+
"description": "Xano instance origin URL",
|
|
2149
|
+
"name": "origin",
|
|
2150
|
+
"required": false,
|
|
2151
|
+
"default": "https://app.xano.com",
|
|
2152
|
+
"hasDynamicHelp": false,
|
|
2153
|
+
"multiple": false,
|
|
2154
|
+
"type": "option"
|
|
2155
|
+
}
|
|
2156
|
+
},
|
|
2157
|
+
"hasDynamicHelp": false,
|
|
2158
|
+
"hiddenAliases": [],
|
|
2159
|
+
"id": "profile:wizard",
|
|
2160
|
+
"pluginAlias": "@xano/cli",
|
|
2161
|
+
"pluginName": "@xano/cli",
|
|
2162
|
+
"pluginType": "core",
|
|
2163
|
+
"strict": true,
|
|
2164
|
+
"enableJsonFlag": false,
|
|
2165
|
+
"isESM": true,
|
|
2166
|
+
"relativePath": [
|
|
2167
|
+
"dist",
|
|
2168
|
+
"commands",
|
|
2169
|
+
"profile",
|
|
2170
|
+
"wizard",
|
|
2171
|
+
"index.js"
|
|
2172
|
+
]
|
|
2173
|
+
},
|
|
2174
|
+
"release:get": {
|
|
2175
|
+
"aliases": [],
|
|
2176
|
+
"args": {
|
|
2177
|
+
"release_name": {
|
|
2178
|
+
"description": "Release name to retrieve",
|
|
2179
|
+
"name": "release_name",
|
|
2180
|
+
"required": true
|
|
2181
|
+
}
|
|
2182
|
+
},
|
|
2183
|
+
"description": "Get details of a specific release",
|
|
2184
|
+
"examples": [
|
|
2185
|
+
"$ xano release get v1.0\nRelease: v1.0 - ID: 10\n Branch: main\n Description: Initial release\n Hotfix: false\n",
|
|
2186
|
+
"$ xano release get v1.0 -w 5 -o json"
|
|
2187
|
+
],
|
|
2188
|
+
"flags": {
|
|
2189
|
+
"profile": {
|
|
2190
|
+
"char": "p",
|
|
2191
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
2192
|
+
"env": "XANO_PROFILE",
|
|
2193
|
+
"name": "profile",
|
|
2248
2194
|
"required": false,
|
|
2249
|
-
"
|
|
2250
|
-
"
|
|
2195
|
+
"hasDynamicHelp": false,
|
|
2196
|
+
"multiple": false,
|
|
2197
|
+
"type": "option"
|
|
2251
2198
|
},
|
|
2252
|
-
"
|
|
2253
|
-
"
|
|
2254
|
-
"
|
|
2199
|
+
"verbose": {
|
|
2200
|
+
"char": "v",
|
|
2201
|
+
"description": "Show detailed request/response information",
|
|
2202
|
+
"env": "XANO_VERBOSE",
|
|
2203
|
+
"name": "verbose",
|
|
2255
2204
|
"required": false,
|
|
2256
2205
|
"allowNo": false,
|
|
2257
2206
|
"type": "boolean"
|
|
2258
2207
|
},
|
|
2259
|
-
"name": {
|
|
2260
|
-
"char": "n",
|
|
2261
|
-
"description": "Name for the release",
|
|
2262
|
-
"name": "name",
|
|
2263
|
-
"required": true,
|
|
2264
|
-
"hasDynamicHelp": false,
|
|
2265
|
-
"multiple": false,
|
|
2266
|
-
"type": "option"
|
|
2267
|
-
},
|
|
2268
2208
|
"output": {
|
|
2269
2209
|
"char": "o",
|
|
2270
2210
|
"description": "Output format",
|
|
@@ -2279,16 +2219,9 @@
|
|
|
2279
2219
|
],
|
|
2280
2220
|
"type": "option"
|
|
2281
2221
|
},
|
|
2282
|
-
"records": {
|
|
2283
|
-
"description": "Include records (default: true, use --no-records to exclude)",
|
|
2284
|
-
"name": "records",
|
|
2285
|
-
"required": false,
|
|
2286
|
-
"allowNo": true,
|
|
2287
|
-
"type": "boolean"
|
|
2288
|
-
},
|
|
2289
2222
|
"workspace": {
|
|
2290
2223
|
"char": "w",
|
|
2291
|
-
"description": "Workspace ID (
|
|
2224
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
2292
2225
|
"name": "workspace",
|
|
2293
2226
|
"required": false,
|
|
2294
2227
|
"hasDynamicHelp": false,
|
|
@@ -2298,7 +2231,7 @@
|
|
|
2298
2231
|
},
|
|
2299
2232
|
"hasDynamicHelp": false,
|
|
2300
2233
|
"hiddenAliases": [],
|
|
2301
|
-
"id": "release:
|
|
2234
|
+
"id": "release:get",
|
|
2302
2235
|
"pluginAlias": "@xano/cli",
|
|
2303
2236
|
"pluginName": "@xano/cli",
|
|
2304
2237
|
"pluginType": "core",
|
|
@@ -2309,24 +2242,17 @@
|
|
|
2309
2242
|
"dist",
|
|
2310
2243
|
"commands",
|
|
2311
2244
|
"release",
|
|
2312
|
-
"
|
|
2245
|
+
"get",
|
|
2313
2246
|
"index.js"
|
|
2314
2247
|
]
|
|
2315
2248
|
},
|
|
2316
|
-
"release:
|
|
2249
|
+
"release:import": {
|
|
2317
2250
|
"aliases": [],
|
|
2318
|
-
"args": {
|
|
2319
|
-
|
|
2320
|
-
"description": "Output directory for pulled documents",
|
|
2321
|
-
"name": "directory",
|
|
2322
|
-
"required": true
|
|
2323
|
-
}
|
|
2324
|
-
},
|
|
2325
|
-
"description": "Pull a release multidoc from the Xano Metadata API and split into individual files",
|
|
2251
|
+
"args": {},
|
|
2252
|
+
"description": "Import a release file into a workspace",
|
|
2326
2253
|
"examples": [
|
|
2327
|
-
"$ xano release
|
|
2328
|
-
"$ xano release
|
|
2329
|
-
"$ xano release pull ./backup -r v1.0 --profile production --env --records\nPulled 58 documents from release 'v1.0' to ./backup\n"
|
|
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"
|
|
2330
2256
|
],
|
|
2331
2257
|
"flags": {
|
|
2332
2258
|
"profile": {
|
|
@@ -2348,32 +2274,32 @@
|
|
|
2348
2274
|
"allowNo": false,
|
|
2349
2275
|
"type": "boolean"
|
|
2350
2276
|
},
|
|
2351
|
-
"
|
|
2352
|
-
"
|
|
2353
|
-
"
|
|
2354
|
-
"
|
|
2355
|
-
"
|
|
2356
|
-
"
|
|
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"
|
|
2357
2285
|
},
|
|
2358
|
-
"
|
|
2359
|
-
"
|
|
2360
|
-
"
|
|
2286
|
+
"output": {
|
|
2287
|
+
"char": "o",
|
|
2288
|
+
"description": "Output format",
|
|
2289
|
+
"name": "output",
|
|
2361
2290
|
"required": false,
|
|
2362
|
-
"
|
|
2363
|
-
"type": "boolean"
|
|
2364
|
-
},
|
|
2365
|
-
"release": {
|
|
2366
|
-
"char": "r",
|
|
2367
|
-
"description": "Release name to pull from",
|
|
2368
|
-
"name": "release",
|
|
2369
|
-
"required": true,
|
|
2291
|
+
"default": "summary",
|
|
2370
2292
|
"hasDynamicHelp": false,
|
|
2371
2293
|
"multiple": false,
|
|
2294
|
+
"options": [
|
|
2295
|
+
"summary",
|
|
2296
|
+
"json"
|
|
2297
|
+
],
|
|
2372
2298
|
"type": "option"
|
|
2373
2299
|
},
|
|
2374
2300
|
"workspace": {
|
|
2375
2301
|
"char": "w",
|
|
2376
|
-
"description": "Workspace ID (
|
|
2302
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
2377
2303
|
"name": "workspace",
|
|
2378
2304
|
"required": false,
|
|
2379
2305
|
"hasDynamicHelp": false,
|
|
@@ -2383,7 +2309,7 @@
|
|
|
2383
2309
|
},
|
|
2384
2310
|
"hasDynamicHelp": false,
|
|
2385
2311
|
"hiddenAliases": [],
|
|
2386
|
-
"id": "release:
|
|
2312
|
+
"id": "release:import",
|
|
2387
2313
|
"pluginAlias": "@xano/cli",
|
|
2388
2314
|
"pluginName": "@xano/cli",
|
|
2389
2315
|
"pluginType": "core",
|
|
@@ -2394,19 +2320,17 @@
|
|
|
2394
2320
|
"dist",
|
|
2395
2321
|
"commands",
|
|
2396
2322
|
"release",
|
|
2397
|
-
"
|
|
2323
|
+
"import",
|
|
2398
2324
|
"index.js"
|
|
2399
2325
|
]
|
|
2400
2326
|
},
|
|
2401
|
-
"
|
|
2327
|
+
"release:list": {
|
|
2402
2328
|
"aliases": [],
|
|
2403
2329
|
"args": {},
|
|
2404
|
-
"description": "List all
|
|
2330
|
+
"description": "List all releases in a workspace",
|
|
2405
2331
|
"examples": [
|
|
2406
|
-
"$ xano
|
|
2407
|
-
"$ xano
|
|
2408
|
-
"$ 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",
|
|
2409
|
-
"$ xano static_host:list -p staging -o json --page 2\n[\n {\n \"id\": 3,\n \"name\": \"static-host-3\"\n }\n]\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"
|
|
2410
2334
|
],
|
|
2411
2335
|
"flags": {
|
|
2412
2336
|
"profile": {
|
|
@@ -2442,27 +2366,9 @@
|
|
|
2442
2366
|
],
|
|
2443
2367
|
"type": "option"
|
|
2444
2368
|
},
|
|
2445
|
-
"page": {
|
|
2446
|
-
"description": "Page number for pagination",
|
|
2447
|
-
"name": "page",
|
|
2448
|
-
"required": false,
|
|
2449
|
-
"default": 1,
|
|
2450
|
-
"hasDynamicHelp": false,
|
|
2451
|
-
"multiple": false,
|
|
2452
|
-
"type": "option"
|
|
2453
|
-
},
|
|
2454
|
-
"per_page": {
|
|
2455
|
-
"description": "Number of results per page",
|
|
2456
|
-
"name": "per_page",
|
|
2457
|
-
"required": false,
|
|
2458
|
-
"default": 50,
|
|
2459
|
-
"hasDynamicHelp": false,
|
|
2460
|
-
"multiple": false,
|
|
2461
|
-
"type": "option"
|
|
2462
|
-
},
|
|
2463
2369
|
"workspace": {
|
|
2464
2370
|
"char": "w",
|
|
2465
|
-
"description": "Workspace ID (
|
|
2371
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
2466
2372
|
"name": "workspace",
|
|
2467
2373
|
"required": false,
|
|
2468
2374
|
"hasDynamicHelp": false,
|
|
@@ -2472,7 +2378,7 @@
|
|
|
2472
2378
|
},
|
|
2473
2379
|
"hasDynamicHelp": false,
|
|
2474
2380
|
"hiddenAliases": [],
|
|
2475
|
-
"id": "
|
|
2381
|
+
"id": "release:list",
|
|
2476
2382
|
"pluginAlias": "@xano/cli",
|
|
2477
2383
|
"pluginName": "@xano/cli",
|
|
2478
2384
|
"pluginType": "core",
|
|
@@ -2482,18 +2388,27 @@
|
|
|
2482
2388
|
"relativePath": [
|
|
2483
2389
|
"dist",
|
|
2484
2390
|
"commands",
|
|
2485
|
-
"
|
|
2391
|
+
"release",
|
|
2486
2392
|
"list",
|
|
2487
2393
|
"index.js"
|
|
2488
2394
|
]
|
|
2489
2395
|
},
|
|
2490
|
-
"release:
|
|
2396
|
+
"release:push": {
|
|
2491
2397
|
"aliases": [],
|
|
2492
|
-
"args": {
|
|
2493
|
-
|
|
2398
|
+
"args": {
|
|
2399
|
+
"directory": {
|
|
2400
|
+
"description": "Directory containing .xs documents to create the release from",
|
|
2401
|
+
"name": "directory",
|
|
2402
|
+
"required": true
|
|
2403
|
+
}
|
|
2404
|
+
},
|
|
2405
|
+
"description": "Create a new release from local XanoScript files via the multidoc endpoint",
|
|
2494
2406
|
"examples": [
|
|
2495
|
-
"$ xano release
|
|
2496
|
-
"$ xano release
|
|
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"
|
|
2497
2412
|
],
|
|
2498
2413
|
"flags": {
|
|
2499
2414
|
"profile": {
|
|
@@ -2515,6 +2430,39 @@
|
|
|
2515
2430
|
"allowNo": false,
|
|
2516
2431
|
"type": "boolean"
|
|
2517
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
|
+
},
|
|
2518
2466
|
"output": {
|
|
2519
2467
|
"char": "o",
|
|
2520
2468
|
"description": "Output format",
|
|
@@ -2529,9 +2477,16 @@
|
|
|
2529
2477
|
],
|
|
2530
2478
|
"type": "option"
|
|
2531
2479
|
},
|
|
2480
|
+
"records": {
|
|
2481
|
+
"description": "Include records (default: true, use --no-records to exclude)",
|
|
2482
|
+
"name": "records",
|
|
2483
|
+
"required": false,
|
|
2484
|
+
"allowNo": true,
|
|
2485
|
+
"type": "boolean"
|
|
2486
|
+
},
|
|
2532
2487
|
"workspace": {
|
|
2533
2488
|
"char": "w",
|
|
2534
|
-
"description": "Workspace ID (
|
|
2489
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
2535
2490
|
"name": "workspace",
|
|
2536
2491
|
"required": false,
|
|
2537
2492
|
"hasDynamicHelp": false,
|
|
@@ -2541,7 +2496,7 @@
|
|
|
2541
2496
|
},
|
|
2542
2497
|
"hasDynamicHelp": false,
|
|
2543
2498
|
"hiddenAliases": [],
|
|
2544
|
-
"id": "release:
|
|
2499
|
+
"id": "release:push",
|
|
2545
2500
|
"pluginAlias": "@xano/cli",
|
|
2546
2501
|
"pluginName": "@xano/cli",
|
|
2547
2502
|
"pluginType": "core",
|
|
@@ -2552,7 +2507,7 @@
|
|
|
2552
2507
|
"dist",
|
|
2553
2508
|
"commands",
|
|
2554
2509
|
"release",
|
|
2555
|
-
"
|
|
2510
|
+
"push",
|
|
2556
2511
|
"index.js"
|
|
2557
2512
|
]
|
|
2558
2513
|
},
|
|
@@ -2780,7 +2735,7 @@
|
|
|
2780
2735
|
"index.js"
|
|
2781
2736
|
]
|
|
2782
2737
|
},
|
|
2783
|
-
"tenant:
|
|
2738
|
+
"tenant:deploy_platform": {
|
|
2784
2739
|
"aliases": [],
|
|
2785
2740
|
"args": {
|
|
2786
2741
|
"tenant_name": {
|
|
@@ -2789,10 +2744,10 @@
|
|
|
2789
2744
|
"required": true
|
|
2790
2745
|
}
|
|
2791
2746
|
},
|
|
2792
|
-
"description": "Deploy a
|
|
2747
|
+
"description": "Deploy a platform version to a tenant",
|
|
2793
2748
|
"examples": [
|
|
2794
|
-
"$ xano tenant
|
|
2795
|
-
"$ xano tenant
|
|
2749
|
+
"$ xano tenant deploy_platform t1234-abcd-xyz1 --platform_id 5\nDeployed platform 5 to tenant: My Tenant (my-tenant)\n",
|
|
2750
|
+
"$ xano tenant deploy_platform t1234-abcd-xyz1 --platform_id 5 -o json"
|
|
2796
2751
|
],
|
|
2797
2752
|
"flags": {
|
|
2798
2753
|
"profile": {
|
|
@@ -2828,10 +2783,9 @@
|
|
|
2828
2783
|
],
|
|
2829
2784
|
"type": "option"
|
|
2830
2785
|
},
|
|
2831
|
-
"
|
|
2832
|
-
"
|
|
2833
|
-
"
|
|
2834
|
-
"name": "release",
|
|
2786
|
+
"platform_id": {
|
|
2787
|
+
"description": "Platform ID to deploy",
|
|
2788
|
+
"name": "platform_id",
|
|
2835
2789
|
"required": true,
|
|
2836
2790
|
"hasDynamicHelp": false,
|
|
2837
2791
|
"multiple": false,
|
|
@@ -2849,7 +2803,7 @@
|
|
|
2849
2803
|
},
|
|
2850
2804
|
"hasDynamicHelp": false,
|
|
2851
2805
|
"hiddenAliases": [],
|
|
2852
|
-
"id": "tenant:
|
|
2806
|
+
"id": "tenant:deploy_platform",
|
|
2853
2807
|
"pluginAlias": "@xano/cli",
|
|
2854
2808
|
"pluginName": "@xano/cli",
|
|
2855
2809
|
"pluginType": "core",
|
|
@@ -2860,7 +2814,7 @@
|
|
|
2860
2814
|
"dist",
|
|
2861
2815
|
"commands",
|
|
2862
2816
|
"tenant",
|
|
2863
|
-
"
|
|
2817
|
+
"deploy_platform",
|
|
2864
2818
|
"index.js"
|
|
2865
2819
|
]
|
|
2866
2820
|
},
|
|
@@ -2993,19 +2947,19 @@
|
|
|
2993
2947
|
"index.js"
|
|
2994
2948
|
]
|
|
2995
2949
|
},
|
|
2996
|
-
"tenant:
|
|
2950
|
+
"tenant:deploy_release": {
|
|
2997
2951
|
"aliases": [],
|
|
2998
2952
|
"args": {
|
|
2999
2953
|
"tenant_name": {
|
|
3000
|
-
"description": "Tenant name to
|
|
2954
|
+
"description": "Tenant name to deploy to",
|
|
3001
2955
|
"name": "tenant_name",
|
|
3002
2956
|
"required": true
|
|
3003
2957
|
}
|
|
3004
2958
|
},
|
|
3005
|
-
"description": "
|
|
2959
|
+
"description": "Deploy a release to a tenant",
|
|
3006
2960
|
"examples": [
|
|
3007
|
-
"$ xano tenant
|
|
3008
|
-
"$ xano tenant
|
|
2961
|
+
"$ xano tenant deploy_release t1234-abcd-xyz1 --release v1.0\nDeployed release \"v1.0\" to tenant: My Tenant (my-tenant)\n",
|
|
2962
|
+
"$ xano tenant deploy_release t1234-abcd-xyz1 --release v1.0 -o json"
|
|
3009
2963
|
],
|
|
3010
2964
|
"flags": {
|
|
3011
2965
|
"profile": {
|
|
@@ -3041,6 +2995,15 @@
|
|
|
3041
2995
|
],
|
|
3042
2996
|
"type": "option"
|
|
3043
2997
|
},
|
|
2998
|
+
"release": {
|
|
2999
|
+
"char": "r",
|
|
3000
|
+
"description": "Release name to deploy",
|
|
3001
|
+
"name": "release",
|
|
3002
|
+
"required": true,
|
|
3003
|
+
"hasDynamicHelp": false,
|
|
3004
|
+
"multiple": false,
|
|
3005
|
+
"type": "option"
|
|
3006
|
+
},
|
|
3044
3007
|
"workspace": {
|
|
3045
3008
|
"char": "w",
|
|
3046
3009
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -3053,7 +3016,7 @@
|
|
|
3053
3016
|
},
|
|
3054
3017
|
"hasDynamicHelp": false,
|
|
3055
3018
|
"hiddenAliases": [],
|
|
3056
|
-
"id": "tenant:
|
|
3019
|
+
"id": "tenant:deploy_release",
|
|
3057
3020
|
"pluginAlias": "@xano/cli",
|
|
3058
3021
|
"pluginName": "@xano/cli",
|
|
3059
3022
|
"pluginType": "core",
|
|
@@ -3064,23 +3027,23 @@
|
|
|
3064
3027
|
"dist",
|
|
3065
3028
|
"commands",
|
|
3066
3029
|
"tenant",
|
|
3067
|
-
"
|
|
3030
|
+
"deploy_release",
|
|
3068
3031
|
"index.js"
|
|
3069
3032
|
]
|
|
3070
3033
|
},
|
|
3071
|
-
"tenant:
|
|
3034
|
+
"tenant:get": {
|
|
3072
3035
|
"aliases": [],
|
|
3073
3036
|
"args": {
|
|
3074
3037
|
"tenant_name": {
|
|
3075
|
-
"description": "Tenant name to
|
|
3038
|
+
"description": "Tenant name to retrieve",
|
|
3076
3039
|
"name": "tenant_name",
|
|
3077
3040
|
"required": true
|
|
3078
3041
|
}
|
|
3079
3042
|
},
|
|
3080
|
-
"description": "
|
|
3043
|
+
"description": "Get details of a specific tenant",
|
|
3081
3044
|
"examples": [
|
|
3082
|
-
"$ xano tenant
|
|
3083
|
-
"$ xano tenant
|
|
3045
|
+
"$ xano tenant get t1234-abcd-xyz1\nTenant: My Tenant (my-tenant)\n State: ok\n License: tier1\n Domain: my-tenant.xano.io\n Cluster: default\n Release: v1.0\n",
|
|
3046
|
+
"$ xano tenant get t1234-abcd-xyz1 -w 5 -o json"
|
|
3084
3047
|
],
|
|
3085
3048
|
"flags": {
|
|
3086
3049
|
"profile": {
|
|
@@ -3110,19 +3073,11 @@
|
|
|
3110
3073
|
"default": "summary",
|
|
3111
3074
|
"hasDynamicHelp": false,
|
|
3112
3075
|
"multiple": false,
|
|
3113
|
-
"options": [
|
|
3114
|
-
"summary",
|
|
3115
|
-
"json"
|
|
3116
|
-
],
|
|
3117
|
-
"type": "option"
|
|
3118
|
-
},
|
|
3119
|
-
"url-only": {
|
|
3120
|
-
"char": "u",
|
|
3121
|
-
"description": "Print the URL without opening the browser",
|
|
3122
|
-
"name": "url-only",
|
|
3123
|
-
"required": false,
|
|
3124
|
-
"allowNo": false,
|
|
3125
|
-
"type": "boolean"
|
|
3076
|
+
"options": [
|
|
3077
|
+
"summary",
|
|
3078
|
+
"json"
|
|
3079
|
+
],
|
|
3080
|
+
"type": "option"
|
|
3126
3081
|
},
|
|
3127
3082
|
"workspace": {
|
|
3128
3083
|
"char": "w",
|
|
@@ -3136,7 +3091,7 @@
|
|
|
3136
3091
|
},
|
|
3137
3092
|
"hasDynamicHelp": false,
|
|
3138
3093
|
"hiddenAliases": [],
|
|
3139
|
-
"id": "tenant:
|
|
3094
|
+
"id": "tenant:get",
|
|
3140
3095
|
"pluginAlias": "@xano/cli",
|
|
3141
3096
|
"pluginName": "@xano/cli",
|
|
3142
3097
|
"pluginType": "core",
|
|
@@ -3147,17 +3102,23 @@
|
|
|
3147
3102
|
"dist",
|
|
3148
3103
|
"commands",
|
|
3149
3104
|
"tenant",
|
|
3150
|
-
"
|
|
3105
|
+
"get",
|
|
3151
3106
|
"index.js"
|
|
3152
3107
|
]
|
|
3153
3108
|
},
|
|
3154
|
-
"tenant:
|
|
3109
|
+
"tenant:impersonate": {
|
|
3155
3110
|
"aliases": [],
|
|
3156
|
-
"args": {
|
|
3157
|
-
|
|
3111
|
+
"args": {
|
|
3112
|
+
"tenant_name": {
|
|
3113
|
+
"description": "Tenant name to impersonate",
|
|
3114
|
+
"name": "tenant_name",
|
|
3115
|
+
"required": true
|
|
3116
|
+
}
|
|
3117
|
+
},
|
|
3118
|
+
"description": "Impersonate a tenant and open it in the browser",
|
|
3158
3119
|
"examples": [
|
|
3159
|
-
"$ xano tenant
|
|
3160
|
-
"$ xano tenant
|
|
3120
|
+
"$ xano tenant impersonate my-tenant\nOpening browser...\nImpersonation successful!\n",
|
|
3121
|
+
"$ xano tenant impersonate my-tenant -o json"
|
|
3161
3122
|
],
|
|
3162
3123
|
"flags": {
|
|
3163
3124
|
"profile": {
|
|
@@ -3193,6 +3154,14 @@
|
|
|
3193
3154
|
],
|
|
3194
3155
|
"type": "option"
|
|
3195
3156
|
},
|
|
3157
|
+
"url-only": {
|
|
3158
|
+
"char": "u",
|
|
3159
|
+
"description": "Print the URL without opening the browser",
|
|
3160
|
+
"name": "url-only",
|
|
3161
|
+
"required": false,
|
|
3162
|
+
"allowNo": false,
|
|
3163
|
+
"type": "boolean"
|
|
3164
|
+
},
|
|
3196
3165
|
"workspace": {
|
|
3197
3166
|
"char": "w",
|
|
3198
3167
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -3205,7 +3174,7 @@
|
|
|
3205
3174
|
},
|
|
3206
3175
|
"hasDynamicHelp": false,
|
|
3207
3176
|
"hiddenAliases": [],
|
|
3208
|
-
"id": "tenant:
|
|
3177
|
+
"id": "tenant:impersonate",
|
|
3209
3178
|
"pluginAlias": "@xano/cli",
|
|
3210
3179
|
"pluginName": "@xano/cli",
|
|
3211
3180
|
"pluginType": "core",
|
|
@@ -3216,23 +3185,24 @@
|
|
|
3216
3185
|
"dist",
|
|
3217
3186
|
"commands",
|
|
3218
3187
|
"tenant",
|
|
3219
|
-
"
|
|
3188
|
+
"impersonate",
|
|
3220
3189
|
"index.js"
|
|
3221
3190
|
]
|
|
3222
3191
|
},
|
|
3223
|
-
"
|
|
3192
|
+
"release:pull": {
|
|
3224
3193
|
"aliases": [],
|
|
3225
3194
|
"args": {
|
|
3226
|
-
"
|
|
3227
|
-
"description": "
|
|
3228
|
-
"name": "
|
|
3195
|
+
"directory": {
|
|
3196
|
+
"description": "Output directory for pulled documents",
|
|
3197
|
+
"name": "directory",
|
|
3229
3198
|
"required": true
|
|
3230
3199
|
}
|
|
3231
3200
|
},
|
|
3232
|
-
"description": "
|
|
3201
|
+
"description": "Pull a release multidoc from the Xano Metadata API and split into individual files",
|
|
3233
3202
|
"examples": [
|
|
3234
|
-
"$ xano
|
|
3235
|
-
"$ 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"
|
|
3236
3206
|
],
|
|
3237
3207
|
"flags": {
|
|
3238
3208
|
"profile": {
|
|
@@ -3254,23 +3224,24 @@
|
|
|
3254
3224
|
"allowNo": false,
|
|
3255
3225
|
"type": "boolean"
|
|
3256
3226
|
},
|
|
3257
|
-
"
|
|
3258
|
-
"
|
|
3259
|
-
"
|
|
3260
|
-
"name": "output",
|
|
3227
|
+
"env": {
|
|
3228
|
+
"description": "Include environment variables",
|
|
3229
|
+
"name": "env",
|
|
3261
3230
|
"required": false,
|
|
3262
|
-
"
|
|
3263
|
-
"
|
|
3264
|
-
"multiple": false,
|
|
3265
|
-
"options": [
|
|
3266
|
-
"summary",
|
|
3267
|
-
"json"
|
|
3268
|
-
],
|
|
3269
|
-
"type": "option"
|
|
3231
|
+
"allowNo": false,
|
|
3232
|
+
"type": "boolean"
|
|
3270
3233
|
},
|
|
3271
|
-
"
|
|
3272
|
-
"description": "
|
|
3273
|
-
"name": "
|
|
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",
|
|
3274
3245
|
"required": true,
|
|
3275
3246
|
"hasDynamicHelp": false,
|
|
3276
3247
|
"multiple": false,
|
|
@@ -3278,7 +3249,7 @@
|
|
|
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,8 +3269,8 @@
|
|
|
3298
3269
|
"relativePath": [
|
|
3299
3270
|
"dist",
|
|
3300
3271
|
"commands",
|
|
3301
|
-
"
|
|
3302
|
-
"
|
|
3272
|
+
"release",
|
|
3273
|
+
"pull",
|
|
3303
3274
|
"index.js"
|
|
3304
3275
|
]
|
|
3305
3276
|
},
|
|
@@ -3491,6 +3462,75 @@
|
|
|
3491
3462
|
"index.js"
|
|
3492
3463
|
]
|
|
3493
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",
|
|
3489
|
+
"required": false,
|
|
3490
|
+
"allowNo": false,
|
|
3491
|
+
"type": "boolean"
|
|
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
|
+
},
|
|
3507
|
+
"workspace": {
|
|
3508
|
+
"char": "w",
|
|
3509
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
3510
|
+
"name": "workspace",
|
|
3511
|
+
"required": false,
|
|
3512
|
+
"hasDynamicHelp": false,
|
|
3513
|
+
"multiple": false,
|
|
3514
|
+
"type": "option"
|
|
3515
|
+
}
|
|
3516
|
+
},
|
|
3517
|
+
"hasDynamicHelp": false,
|
|
3518
|
+
"hiddenAliases": [],
|
|
3519
|
+
"id": "tenant:list",
|
|
3520
|
+
"pluginAlias": "@xano/cli",
|
|
3521
|
+
"pluginName": "@xano/cli",
|
|
3522
|
+
"pluginType": "core",
|
|
3523
|
+
"strict": true,
|
|
3524
|
+
"enableJsonFlag": false,
|
|
3525
|
+
"isESM": true,
|
|
3526
|
+
"relativePath": [
|
|
3527
|
+
"dist",
|
|
3528
|
+
"commands",
|
|
3529
|
+
"tenant",
|
|
3530
|
+
"list",
|
|
3531
|
+
"index.js"
|
|
3532
|
+
]
|
|
3533
|
+
},
|
|
3494
3534
|
"unit_test:list": {
|
|
3495
3535
|
"aliases": [],
|
|
3496
3536
|
"args": {},
|
|
@@ -3583,19 +3623,19 @@
|
|
|
3583
3623
|
"index.js"
|
|
3584
3624
|
]
|
|
3585
3625
|
},
|
|
3586
|
-
"
|
|
3626
|
+
"unit_test:run": {
|
|
3587
3627
|
"aliases": [],
|
|
3588
3628
|
"args": {
|
|
3589
|
-
"
|
|
3590
|
-
"description": "ID of the
|
|
3591
|
-
"name": "
|
|
3629
|
+
"unit_test_id": {
|
|
3630
|
+
"description": "ID of the unit test to run",
|
|
3631
|
+
"name": "unit_test_id",
|
|
3592
3632
|
"required": true
|
|
3593
3633
|
}
|
|
3594
3634
|
},
|
|
3595
|
-
"description": "
|
|
3635
|
+
"description": "Run a unit test",
|
|
3596
3636
|
"examples": [
|
|
3597
|
-
"$ xano
|
|
3598
|
-
"$ xano
|
|
3637
|
+
"$ xano unit-test run abc-123\nRunning unit test abc-123...\nResult: PASS\n",
|
|
3638
|
+
"$ xano unit-test run abc-123 -o json"
|
|
3599
3639
|
],
|
|
3600
3640
|
"flags": {
|
|
3601
3641
|
"profile": {
|
|
@@ -3617,14 +3657,6 @@
|
|
|
3617
3657
|
"allowNo": false,
|
|
3618
3658
|
"type": "boolean"
|
|
3619
3659
|
},
|
|
3620
|
-
"force": {
|
|
3621
|
-
"char": "f",
|
|
3622
|
-
"description": "Skip confirmation prompt",
|
|
3623
|
-
"name": "force",
|
|
3624
|
-
"required": false,
|
|
3625
|
-
"allowNo": false,
|
|
3626
|
-
"type": "boolean"
|
|
3627
|
-
},
|
|
3628
3660
|
"output": {
|
|
3629
3661
|
"char": "o",
|
|
3630
3662
|
"description": "Output format",
|
|
@@ -3651,7 +3683,7 @@
|
|
|
3651
3683
|
},
|
|
3652
3684
|
"hasDynamicHelp": false,
|
|
3653
3685
|
"hiddenAliases": [],
|
|
3654
|
-
"id": "
|
|
3686
|
+
"id": "unit_test:run",
|
|
3655
3687
|
"pluginAlias": "@xano/cli",
|
|
3656
3688
|
"pluginName": "@xano/cli",
|
|
3657
3689
|
"pluginType": "core",
|
|
@@ -3661,8 +3693,8 @@
|
|
|
3661
3693
|
"relativePath": [
|
|
3662
3694
|
"dist",
|
|
3663
3695
|
"commands",
|
|
3664
|
-
"
|
|
3665
|
-
"
|
|
3696
|
+
"unit_test",
|
|
3697
|
+
"run",
|
|
3666
3698
|
"index.js"
|
|
3667
3699
|
]
|
|
3668
3700
|
},
|
|
@@ -3757,20 +3789,19 @@
|
|
|
3757
3789
|
"index.js"
|
|
3758
3790
|
]
|
|
3759
3791
|
},
|
|
3760
|
-
"workflow_test:
|
|
3792
|
+
"workflow_test:delete": {
|
|
3761
3793
|
"aliases": [],
|
|
3762
3794
|
"args": {
|
|
3763
3795
|
"workflow_test_id": {
|
|
3764
|
-
"description": "ID of the workflow test",
|
|
3796
|
+
"description": "ID of the workflow test to delete",
|
|
3765
3797
|
"name": "workflow_test_id",
|
|
3766
3798
|
"required": true
|
|
3767
3799
|
}
|
|
3768
3800
|
},
|
|
3769
|
-
"description": "
|
|
3801
|
+
"description": "Delete a workflow test",
|
|
3770
3802
|
"examples": [
|
|
3771
|
-
"$ xano workflow-test
|
|
3772
|
-
"$ xano workflow-test
|
|
3773
|
-
"$ xano workflow-test get 1 -o json"
|
|
3803
|
+
"$ xano workflow-test delete 1\nAre you sure you want to delete workflow test 1? (y/N) y\nDeleted workflow test 1\n",
|
|
3804
|
+
"$ xano workflow-test delete 1 --force"
|
|
3774
3805
|
],
|
|
3775
3806
|
"flags": {
|
|
3776
3807
|
"profile": {
|
|
@@ -3792,9 +3823,10 @@
|
|
|
3792
3823
|
"allowNo": false,
|
|
3793
3824
|
"type": "boolean"
|
|
3794
3825
|
},
|
|
3795
|
-
"
|
|
3796
|
-
"
|
|
3797
|
-
"
|
|
3826
|
+
"force": {
|
|
3827
|
+
"char": "f",
|
|
3828
|
+
"description": "Skip confirmation prompt",
|
|
3829
|
+
"name": "force",
|
|
3798
3830
|
"required": false,
|
|
3799
3831
|
"allowNo": false,
|
|
3800
3832
|
"type": "boolean"
|
|
@@ -3809,8 +3841,7 @@
|
|
|
3809
3841
|
"multiple": false,
|
|
3810
3842
|
"options": [
|
|
3811
3843
|
"summary",
|
|
3812
|
-
"json"
|
|
3813
|
-
"xs"
|
|
3844
|
+
"json"
|
|
3814
3845
|
],
|
|
3815
3846
|
"type": "option"
|
|
3816
3847
|
},
|
|
@@ -3826,7 +3857,7 @@
|
|
|
3826
3857
|
},
|
|
3827
3858
|
"hasDynamicHelp": false,
|
|
3828
3859
|
"hiddenAliases": [],
|
|
3829
|
-
"id": "workflow_test:
|
|
3860
|
+
"id": "workflow_test:delete",
|
|
3830
3861
|
"pluginAlias": "@xano/cli",
|
|
3831
3862
|
"pluginName": "@xano/cli",
|
|
3832
3863
|
"pluginType": "core",
|
|
@@ -3837,23 +3868,24 @@
|
|
|
3837
3868
|
"dist",
|
|
3838
3869
|
"commands",
|
|
3839
3870
|
"workflow_test",
|
|
3840
|
-
"
|
|
3871
|
+
"delete",
|
|
3841
3872
|
"index.js"
|
|
3842
3873
|
]
|
|
3843
3874
|
},
|
|
3844
|
-
"
|
|
3875
|
+
"workflow_test:get": {
|
|
3845
3876
|
"aliases": [],
|
|
3846
3877
|
"args": {
|
|
3847
|
-
"
|
|
3848
|
-
"description": "ID of the
|
|
3849
|
-
"name": "
|
|
3878
|
+
"workflow_test_id": {
|
|
3879
|
+
"description": "ID of the workflow test",
|
|
3880
|
+
"name": "workflow_test_id",
|
|
3850
3881
|
"required": true
|
|
3851
3882
|
}
|
|
3852
3883
|
},
|
|
3853
|
-
"description": "
|
|
3884
|
+
"description": "Get a specific workflow test",
|
|
3854
3885
|
"examples": [
|
|
3855
|
-
"$ xano
|
|
3856
|
-
"$ xano
|
|
3886
|
+
"$ xano workflow-test get 1\nWorkflow Test: my-test (ID: 1)\n Description: Validates auth endpoints\n Branch: main\n",
|
|
3887
|
+
"$ xano workflow-test get 1 -o xs",
|
|
3888
|
+
"$ xano workflow-test get 1 -o json"
|
|
3857
3889
|
],
|
|
3858
3890
|
"flags": {
|
|
3859
3891
|
"profile": {
|
|
@@ -3875,6 +3907,13 @@
|
|
|
3875
3907
|
"allowNo": false,
|
|
3876
3908
|
"type": "boolean"
|
|
3877
3909
|
},
|
|
3910
|
+
"include-draft": {
|
|
3911
|
+
"description": "Include draft version",
|
|
3912
|
+
"name": "include-draft",
|
|
3913
|
+
"required": false,
|
|
3914
|
+
"allowNo": false,
|
|
3915
|
+
"type": "boolean"
|
|
3916
|
+
},
|
|
3878
3917
|
"output": {
|
|
3879
3918
|
"char": "o",
|
|
3880
3919
|
"description": "Output format",
|
|
@@ -3885,7 +3924,8 @@
|
|
|
3885
3924
|
"multiple": false,
|
|
3886
3925
|
"options": [
|
|
3887
3926
|
"summary",
|
|
3888
|
-
"json"
|
|
3927
|
+
"json",
|
|
3928
|
+
"xs"
|
|
3889
3929
|
],
|
|
3890
3930
|
"type": "option"
|
|
3891
3931
|
},
|
|
@@ -3901,7 +3941,7 @@
|
|
|
3901
3941
|
},
|
|
3902
3942
|
"hasDynamicHelp": false,
|
|
3903
3943
|
"hiddenAliases": [],
|
|
3904
|
-
"id": "
|
|
3944
|
+
"id": "workflow_test:get",
|
|
3905
3945
|
"pluginAlias": "@xano/cli",
|
|
3906
3946
|
"pluginName": "@xano/cli",
|
|
3907
3947
|
"pluginType": "core",
|
|
@@ -3911,24 +3951,19 @@
|
|
|
3911
3951
|
"relativePath": [
|
|
3912
3952
|
"dist",
|
|
3913
3953
|
"commands",
|
|
3914
|
-
"
|
|
3915
|
-
"
|
|
3954
|
+
"workflow_test",
|
|
3955
|
+
"get",
|
|
3916
3956
|
"index.js"
|
|
3917
3957
|
]
|
|
3918
3958
|
},
|
|
3919
|
-
"workflow_test:
|
|
3959
|
+
"workflow_test:list": {
|
|
3920
3960
|
"aliases": [],
|
|
3921
|
-
"args": {
|
|
3922
|
-
|
|
3923
|
-
"description": "ID of the workflow test to run",
|
|
3924
|
-
"name": "workflow_test_id",
|
|
3925
|
-
"required": true
|
|
3926
|
-
}
|
|
3927
|
-
},
|
|
3928
|
-
"description": "Run a workflow test",
|
|
3961
|
+
"args": {},
|
|
3962
|
+
"description": "List all workflow tests in a workspace",
|
|
3929
3963
|
"examples": [
|
|
3930
|
-
"$ xano workflow-test
|
|
3931
|
-
"$ 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"
|
|
3932
3967
|
],
|
|
3933
3968
|
"flags": {
|
|
3934
3969
|
"profile": {
|
|
@@ -3950,6 +3985,15 @@
|
|
|
3950
3985
|
"allowNo": false,
|
|
3951
3986
|
"type": "boolean"
|
|
3952
3987
|
},
|
|
3988
|
+
"branch": {
|
|
3989
|
+
"char": "b",
|
|
3990
|
+
"description": "Filter by branch name",
|
|
3991
|
+
"name": "branch",
|
|
3992
|
+
"required": false,
|
|
3993
|
+
"hasDynamicHelp": false,
|
|
3994
|
+
"multiple": false,
|
|
3995
|
+
"type": "option"
|
|
3996
|
+
},
|
|
3953
3997
|
"output": {
|
|
3954
3998
|
"char": "o",
|
|
3955
3999
|
"description": "Output format",
|
|
@@ -3976,7 +4020,7 @@
|
|
|
3976
4020
|
},
|
|
3977
4021
|
"hasDynamicHelp": false,
|
|
3978
4022
|
"hiddenAliases": [],
|
|
3979
|
-
"id": "workflow_test:
|
|
4023
|
+
"id": "workflow_test:list",
|
|
3980
4024
|
"pluginAlias": "@xano/cli",
|
|
3981
4025
|
"pluginName": "@xano/cli",
|
|
3982
4026
|
"pluginType": "core",
|
|
@@ -3987,7 +4031,7 @@
|
|
|
3987
4031
|
"dist",
|
|
3988
4032
|
"commands",
|
|
3989
4033
|
"workflow_test",
|
|
3990
|
-
"
|
|
4034
|
+
"list",
|
|
3991
4035
|
"index.js"
|
|
3992
4036
|
]
|
|
3993
4037
|
},
|
|
@@ -4069,14 +4113,20 @@
|
|
|
4069
4113
|
"index.js"
|
|
4070
4114
|
]
|
|
4071
4115
|
},
|
|
4072
|
-
"
|
|
4116
|
+
"workspace:create": {
|
|
4073
4117
|
"aliases": [],
|
|
4074
|
-
"args": {
|
|
4075
|
-
|
|
4118
|
+
"args": {
|
|
4119
|
+
"name": {
|
|
4120
|
+
"description": "Name of the workspace",
|
|
4121
|
+
"name": "name",
|
|
4122
|
+
"required": true
|
|
4123
|
+
}
|
|
4124
|
+
},
|
|
4125
|
+
"description": "Create a new workspace via the Xano Metadata API",
|
|
4076
4126
|
"examples": [
|
|
4077
|
-
"$ xano
|
|
4078
|
-
"$ xano
|
|
4079
|
-
"$ xano
|
|
4127
|
+
"$ xano workspace create my-workspace\nCreated workspace: my-workspace (ID: 123)\n",
|
|
4128
|
+
"$ xano workspace create my-app --description \"My application workspace\"\nCreated workspace: my-app (ID: 456)\n Description: My application workspace\n",
|
|
4129
|
+
"$ xano workspace create new-project -d \"New project workspace\" -o json\n{\n \"id\": 789,\n \"name\": \"new-project\",\n \"description\": \"New project workspace\"\n}\n"
|
|
4080
4130
|
],
|
|
4081
4131
|
"flags": {
|
|
4082
4132
|
"profile": {
|
|
@@ -4098,10 +4148,10 @@
|
|
|
4098
4148
|
"allowNo": false,
|
|
4099
4149
|
"type": "boolean"
|
|
4100
4150
|
},
|
|
4101
|
-
"
|
|
4102
|
-
"char": "
|
|
4103
|
-
"description": "
|
|
4104
|
-
"name": "
|
|
4151
|
+
"description": {
|
|
4152
|
+
"char": "d",
|
|
4153
|
+
"description": "Description for the workspace",
|
|
4154
|
+
"name": "description",
|
|
4105
4155
|
"required": false,
|
|
4106
4156
|
"hasDynamicHelp": false,
|
|
4107
4157
|
"multiple": false,
|
|
@@ -4120,20 +4170,11 @@
|
|
|
4120
4170
|
"json"
|
|
4121
4171
|
],
|
|
4122
4172
|
"type": "option"
|
|
4123
|
-
},
|
|
4124
|
-
"workspace": {
|
|
4125
|
-
"char": "w",
|
|
4126
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
4127
|
-
"name": "workspace",
|
|
4128
|
-
"required": false,
|
|
4129
|
-
"hasDynamicHelp": false,
|
|
4130
|
-
"multiple": false,
|
|
4131
|
-
"type": "option"
|
|
4132
4173
|
}
|
|
4133
4174
|
},
|
|
4134
4175
|
"hasDynamicHelp": false,
|
|
4135
4176
|
"hiddenAliases": [],
|
|
4136
|
-
"id": "
|
|
4177
|
+
"id": "workspace:create",
|
|
4137
4178
|
"pluginAlias": "@xano/cli",
|
|
4138
4179
|
"pluginName": "@xano/cli",
|
|
4139
4180
|
"pluginType": "core",
|
|
@@ -4143,8 +4184,8 @@
|
|
|
4143
4184
|
"relativePath": [
|
|
4144
4185
|
"dist",
|
|
4145
4186
|
"commands",
|
|
4146
|
-
"
|
|
4147
|
-
"
|
|
4187
|
+
"workspace",
|
|
4188
|
+
"create",
|
|
4148
4189
|
"index.js"
|
|
4149
4190
|
]
|
|
4150
4191
|
},
|
|
@@ -4390,20 +4431,15 @@
|
|
|
4390
4431
|
"index.js"
|
|
4391
4432
|
]
|
|
4392
4433
|
},
|
|
4393
|
-
"workspace:
|
|
4434
|
+
"workspace:list": {
|
|
4394
4435
|
"aliases": [],
|
|
4395
|
-
"args": {
|
|
4396
|
-
|
|
4397
|
-
"description": "Name of the workspace",
|
|
4398
|
-
"name": "name",
|
|
4399
|
-
"required": true
|
|
4400
|
-
}
|
|
4401
|
-
},
|
|
4402
|
-
"description": "Create a new workspace via the Xano Metadata API",
|
|
4436
|
+
"args": {},
|
|
4437
|
+
"description": "List all workspaces from the Xano Metadata API",
|
|
4403
4438
|
"examples": [
|
|
4404
|
-
"$ xano workspace
|
|
4405
|
-
"$ xano workspace
|
|
4406
|
-
"$ xano workspace
|
|
4439
|
+
"$ xano workspace:list\nAvailable workspaces:\n - workspace-1 (ID: 1)\n - workspace-2 (ID: 2)\n - workspace-3 (ID: 3)\n",
|
|
4440
|
+
"$ xano workspace:list --profile production\nAvailable workspaces:\n - my-app (ID: 1)\n - staging-env (ID: 2)\n",
|
|
4441
|
+
"$ xano workspace:list --output json\n{\n \"workspaces\": [\n {\n \"id\": 1,\n \"name\": \"workspace-1\"\n },\n {\n \"id\": 2,\n \"name\": \"workspace-2\"\n }\n ]\n}\n",
|
|
4442
|
+
"$ xano workspace:list -p staging -o json\n{\n \"workspaces\": [\n {\n \"id\": 1,\n \"name\": \"my-app\"\n }\n ]\n}\n"
|
|
4407
4443
|
],
|
|
4408
4444
|
"flags": {
|
|
4409
4445
|
"profile": {
|
|
@@ -4425,15 +4461,6 @@
|
|
|
4425
4461
|
"allowNo": false,
|
|
4426
4462
|
"type": "boolean"
|
|
4427
4463
|
},
|
|
4428
|
-
"description": {
|
|
4429
|
-
"char": "d",
|
|
4430
|
-
"description": "Description for the workspace",
|
|
4431
|
-
"name": "description",
|
|
4432
|
-
"required": false,
|
|
4433
|
-
"hasDynamicHelp": false,
|
|
4434
|
-
"multiple": false,
|
|
4435
|
-
"type": "option"
|
|
4436
|
-
},
|
|
4437
4464
|
"output": {
|
|
4438
4465
|
"char": "o",
|
|
4439
4466
|
"description": "Output format",
|
|
@@ -4451,7 +4478,7 @@
|
|
|
4451
4478
|
},
|
|
4452
4479
|
"hasDynamicHelp": false,
|
|
4453
4480
|
"hiddenAliases": [],
|
|
4454
|
-
"id": "workspace:
|
|
4481
|
+
"id": "workspace:list",
|
|
4455
4482
|
"pluginAlias": "@xano/cli",
|
|
4456
4483
|
"pluginName": "@xano/cli",
|
|
4457
4484
|
"pluginType": "core",
|
|
@@ -4462,7 +4489,7 @@
|
|
|
4462
4489
|
"dist",
|
|
4463
4490
|
"commands",
|
|
4464
4491
|
"workspace",
|
|
4465
|
-
"
|
|
4492
|
+
"list",
|
|
4466
4493
|
"index.js"
|
|
4467
4494
|
]
|
|
4468
4495
|
},
|
|
@@ -4560,68 +4587,6 @@
|
|
|
4560
4587
|
"index.js"
|
|
4561
4588
|
]
|
|
4562
4589
|
},
|
|
4563
|
-
"workspace:list": {
|
|
4564
|
-
"aliases": [],
|
|
4565
|
-
"args": {},
|
|
4566
|
-
"description": "List all workspaces from the Xano Metadata API",
|
|
4567
|
-
"examples": [
|
|
4568
|
-
"$ xano workspace:list\nAvailable workspaces:\n - workspace-1 (ID: 1)\n - workspace-2 (ID: 2)\n - workspace-3 (ID: 3)\n",
|
|
4569
|
-
"$ xano workspace:list --profile production\nAvailable workspaces:\n - my-app (ID: 1)\n - staging-env (ID: 2)\n",
|
|
4570
|
-
"$ xano workspace:list --output json\n{\n \"workspaces\": [\n {\n \"id\": 1,\n \"name\": \"workspace-1\"\n },\n {\n \"id\": 2,\n \"name\": \"workspace-2\"\n }\n ]\n}\n",
|
|
4571
|
-
"$ xano workspace:list -p staging -o json\n{\n \"workspaces\": [\n {\n \"id\": 1,\n \"name\": \"my-app\"\n }\n ]\n}\n"
|
|
4572
|
-
],
|
|
4573
|
-
"flags": {
|
|
4574
|
-
"profile": {
|
|
4575
|
-
"char": "p",
|
|
4576
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
4577
|
-
"env": "XANO_PROFILE",
|
|
4578
|
-
"name": "profile",
|
|
4579
|
-
"required": false,
|
|
4580
|
-
"hasDynamicHelp": false,
|
|
4581
|
-
"multiple": false,
|
|
4582
|
-
"type": "option"
|
|
4583
|
-
},
|
|
4584
|
-
"verbose": {
|
|
4585
|
-
"char": "v",
|
|
4586
|
-
"description": "Show detailed request/response information",
|
|
4587
|
-
"env": "XANO_VERBOSE",
|
|
4588
|
-
"name": "verbose",
|
|
4589
|
-
"required": false,
|
|
4590
|
-
"allowNo": false,
|
|
4591
|
-
"type": "boolean"
|
|
4592
|
-
},
|
|
4593
|
-
"output": {
|
|
4594
|
-
"char": "o",
|
|
4595
|
-
"description": "Output format",
|
|
4596
|
-
"name": "output",
|
|
4597
|
-
"required": false,
|
|
4598
|
-
"default": "summary",
|
|
4599
|
-
"hasDynamicHelp": false,
|
|
4600
|
-
"multiple": false,
|
|
4601
|
-
"options": [
|
|
4602
|
-
"summary",
|
|
4603
|
-
"json"
|
|
4604
|
-
],
|
|
4605
|
-
"type": "option"
|
|
4606
|
-
}
|
|
4607
|
-
},
|
|
4608
|
-
"hasDynamicHelp": false,
|
|
4609
|
-
"hiddenAliases": [],
|
|
4610
|
-
"id": "workspace:list",
|
|
4611
|
-
"pluginAlias": "@xano/cli",
|
|
4612
|
-
"pluginName": "@xano/cli",
|
|
4613
|
-
"pluginType": "core",
|
|
4614
|
-
"strict": true,
|
|
4615
|
-
"enableJsonFlag": false,
|
|
4616
|
-
"isESM": true,
|
|
4617
|
-
"relativePath": [
|
|
4618
|
-
"dist",
|
|
4619
|
-
"commands",
|
|
4620
|
-
"workspace",
|
|
4621
|
-
"list",
|
|
4622
|
-
"index.js"
|
|
4623
|
-
]
|
|
4624
|
-
},
|
|
4625
4590
|
"workspace:push": {
|
|
4626
4591
|
"aliases": [],
|
|
4627
4592
|
"args": {
|
|
@@ -4728,7 +4693,110 @@
|
|
|
4728
4693
|
},
|
|
4729
4694
|
"hasDynamicHelp": false,
|
|
4730
4695
|
"hiddenAliases": [],
|
|
4731
|
-
"id": "workspace:push",
|
|
4696
|
+
"id": "workspace:push",
|
|
4697
|
+
"pluginAlias": "@xano/cli",
|
|
4698
|
+
"pluginName": "@xano/cli",
|
|
4699
|
+
"pluginType": "core",
|
|
4700
|
+
"strict": true,
|
|
4701
|
+
"enableJsonFlag": false,
|
|
4702
|
+
"isESM": true,
|
|
4703
|
+
"relativePath": [
|
|
4704
|
+
"dist",
|
|
4705
|
+
"commands",
|
|
4706
|
+
"workspace",
|
|
4707
|
+
"push",
|
|
4708
|
+
"index.js"
|
|
4709
|
+
]
|
|
4710
|
+
},
|
|
4711
|
+
"static_host:build:create": {
|
|
4712
|
+
"aliases": [],
|
|
4713
|
+
"args": {
|
|
4714
|
+
"static_host": {
|
|
4715
|
+
"description": "Static Host name",
|
|
4716
|
+
"name": "static_host",
|
|
4717
|
+
"required": true
|
|
4718
|
+
}
|
|
4719
|
+
},
|
|
4720
|
+
"description": "Create a new build for a static host",
|
|
4721
|
+
"examples": [
|
|
4722
|
+
"$ xano static_host:build:create default -f ./build.zip -n \"v1.0.0\"\nBuild created successfully!\nID: 123\nName: v1.0.0\nStatus: pending\n",
|
|
4723
|
+
"$ xano static_host:build:create default -w 40 -f ./dist.zip -n \"production\" -d \"Production build\"\nBuild created successfully!\nID: 124\nName: production\nDescription: Production build\n",
|
|
4724
|
+
"$ xano static_host:build:create myhost -f ./app.zip -n \"release-1.2\" -o json\n{\n \"id\": 125,\n \"name\": \"release-1.2\",\n \"status\": \"pending\"\n}\n"
|
|
4725
|
+
],
|
|
4726
|
+
"flags": {
|
|
4727
|
+
"profile": {
|
|
4728
|
+
"char": "p",
|
|
4729
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
4730
|
+
"env": "XANO_PROFILE",
|
|
4731
|
+
"name": "profile",
|
|
4732
|
+
"required": false,
|
|
4733
|
+
"hasDynamicHelp": false,
|
|
4734
|
+
"multiple": false,
|
|
4735
|
+
"type": "option"
|
|
4736
|
+
},
|
|
4737
|
+
"verbose": {
|
|
4738
|
+
"char": "v",
|
|
4739
|
+
"description": "Show detailed request/response information",
|
|
4740
|
+
"env": "XANO_VERBOSE",
|
|
4741
|
+
"name": "verbose",
|
|
4742
|
+
"required": false,
|
|
4743
|
+
"allowNo": false,
|
|
4744
|
+
"type": "boolean"
|
|
4745
|
+
},
|
|
4746
|
+
"description": {
|
|
4747
|
+
"char": "d",
|
|
4748
|
+
"description": "Build description",
|
|
4749
|
+
"name": "description",
|
|
4750
|
+
"required": false,
|
|
4751
|
+
"hasDynamicHelp": false,
|
|
4752
|
+
"multiple": false,
|
|
4753
|
+
"type": "option"
|
|
4754
|
+
},
|
|
4755
|
+
"file": {
|
|
4756
|
+
"char": "f",
|
|
4757
|
+
"description": "Path to zip file to upload",
|
|
4758
|
+
"name": "file",
|
|
4759
|
+
"required": true,
|
|
4760
|
+
"hasDynamicHelp": false,
|
|
4761
|
+
"multiple": false,
|
|
4762
|
+
"type": "option"
|
|
4763
|
+
},
|
|
4764
|
+
"name": {
|
|
4765
|
+
"char": "n",
|
|
4766
|
+
"description": "Build name",
|
|
4767
|
+
"name": "name",
|
|
4768
|
+
"required": true,
|
|
4769
|
+
"hasDynamicHelp": false,
|
|
4770
|
+
"multiple": false,
|
|
4771
|
+
"type": "option"
|
|
4772
|
+
},
|
|
4773
|
+
"output": {
|
|
4774
|
+
"char": "o",
|
|
4775
|
+
"description": "Output format",
|
|
4776
|
+
"name": "output",
|
|
4777
|
+
"required": false,
|
|
4778
|
+
"default": "summary",
|
|
4779
|
+
"hasDynamicHelp": false,
|
|
4780
|
+
"multiple": false,
|
|
4781
|
+
"options": [
|
|
4782
|
+
"summary",
|
|
4783
|
+
"json"
|
|
4784
|
+
],
|
|
4785
|
+
"type": "option"
|
|
4786
|
+
},
|
|
4787
|
+
"workspace": {
|
|
4788
|
+
"char": "w",
|
|
4789
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
4790
|
+
"name": "workspace",
|
|
4791
|
+
"required": false,
|
|
4792
|
+
"hasDynamicHelp": false,
|
|
4793
|
+
"multiple": false,
|
|
4794
|
+
"type": "option"
|
|
4795
|
+
}
|
|
4796
|
+
},
|
|
4797
|
+
"hasDynamicHelp": false,
|
|
4798
|
+
"hiddenAliases": [],
|
|
4799
|
+
"id": "static_host:build:create",
|
|
4732
4800
|
"pluginAlias": "@xano/cli",
|
|
4733
4801
|
"pluginName": "@xano/cli",
|
|
4734
4802
|
"pluginType": "core",
|
|
@@ -4738,8 +4806,9 @@
|
|
|
4738
4806
|
"relativePath": [
|
|
4739
4807
|
"dist",
|
|
4740
4808
|
"commands",
|
|
4741
|
-
"
|
|
4742
|
-
"
|
|
4809
|
+
"static_host",
|
|
4810
|
+
"build",
|
|
4811
|
+
"create",
|
|
4743
4812
|
"index.js"
|
|
4744
4813
|
]
|
|
4745
4814
|
},
|
|
@@ -4922,6 +4991,81 @@
|
|
|
4922
4991
|
"index.js"
|
|
4923
4992
|
]
|
|
4924
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",
|
|
5034
|
+
"hasDynamicHelp": false,
|
|
5035
|
+
"multiple": false,
|
|
5036
|
+
"options": [
|
|
5037
|
+
"summary",
|
|
5038
|
+
"json"
|
|
5039
|
+
],
|
|
5040
|
+
"type": "option"
|
|
5041
|
+
},
|
|
5042
|
+
"workspace": {
|
|
5043
|
+
"char": "w",
|
|
5044
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
5045
|
+
"name": "workspace",
|
|
5046
|
+
"required": false,
|
|
5047
|
+
"hasDynamicHelp": false,
|
|
5048
|
+
"multiple": false,
|
|
5049
|
+
"type": "option"
|
|
5050
|
+
}
|
|
5051
|
+
},
|
|
5052
|
+
"hasDynamicHelp": false,
|
|
5053
|
+
"hiddenAliases": [],
|
|
5054
|
+
"id": "workflow_test:run",
|
|
5055
|
+
"pluginAlias": "@xano/cli",
|
|
5056
|
+
"pluginName": "@xano/cli",
|
|
5057
|
+
"pluginType": "core",
|
|
5058
|
+
"strict": true,
|
|
5059
|
+
"enableJsonFlag": false,
|
|
5060
|
+
"isESM": true,
|
|
5061
|
+
"relativePath": [
|
|
5062
|
+
"dist",
|
|
5063
|
+
"commands",
|
|
5064
|
+
"workflow_test",
|
|
5065
|
+
"run",
|
|
5066
|
+
"index.js"
|
|
5067
|
+
]
|
|
5068
|
+
},
|
|
4925
5069
|
"tenant:backup:create": {
|
|
4926
5070
|
"aliases": [],
|
|
4927
5071
|
"args": {
|
|
@@ -5289,110 +5433,6 @@
|
|
|
5289
5433
|
"index.js"
|
|
5290
5434
|
]
|
|
5291
5435
|
},
|
|
5292
|
-
"static_host:build:create": {
|
|
5293
|
-
"aliases": [],
|
|
5294
|
-
"args": {
|
|
5295
|
-
"static_host": {
|
|
5296
|
-
"description": "Static Host name",
|
|
5297
|
-
"name": "static_host",
|
|
5298
|
-
"required": true
|
|
5299
|
-
}
|
|
5300
|
-
},
|
|
5301
|
-
"description": "Create a new build for a static host",
|
|
5302
|
-
"examples": [
|
|
5303
|
-
"$ xano static_host:build:create default -f ./build.zip -n \"v1.0.0\"\nBuild created successfully!\nID: 123\nName: v1.0.0\nStatus: pending\n",
|
|
5304
|
-
"$ xano static_host:build:create default -w 40 -f ./dist.zip -n \"production\" -d \"Production build\"\nBuild created successfully!\nID: 124\nName: production\nDescription: Production build\n",
|
|
5305
|
-
"$ xano static_host:build:create myhost -f ./app.zip -n \"release-1.2\" -o json\n{\n \"id\": 125,\n \"name\": \"release-1.2\",\n \"status\": \"pending\"\n}\n"
|
|
5306
|
-
],
|
|
5307
|
-
"flags": {
|
|
5308
|
-
"profile": {
|
|
5309
|
-
"char": "p",
|
|
5310
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
5311
|
-
"env": "XANO_PROFILE",
|
|
5312
|
-
"name": "profile",
|
|
5313
|
-
"required": false,
|
|
5314
|
-
"hasDynamicHelp": false,
|
|
5315
|
-
"multiple": false,
|
|
5316
|
-
"type": "option"
|
|
5317
|
-
},
|
|
5318
|
-
"verbose": {
|
|
5319
|
-
"char": "v",
|
|
5320
|
-
"description": "Show detailed request/response information",
|
|
5321
|
-
"env": "XANO_VERBOSE",
|
|
5322
|
-
"name": "verbose",
|
|
5323
|
-
"required": false,
|
|
5324
|
-
"allowNo": false,
|
|
5325
|
-
"type": "boolean"
|
|
5326
|
-
},
|
|
5327
|
-
"description": {
|
|
5328
|
-
"char": "d",
|
|
5329
|
-
"description": "Build description",
|
|
5330
|
-
"name": "description",
|
|
5331
|
-
"required": false,
|
|
5332
|
-
"hasDynamicHelp": false,
|
|
5333
|
-
"multiple": false,
|
|
5334
|
-
"type": "option"
|
|
5335
|
-
},
|
|
5336
|
-
"file": {
|
|
5337
|
-
"char": "f",
|
|
5338
|
-
"description": "Path to zip file to upload",
|
|
5339
|
-
"name": "file",
|
|
5340
|
-
"required": true,
|
|
5341
|
-
"hasDynamicHelp": false,
|
|
5342
|
-
"multiple": false,
|
|
5343
|
-
"type": "option"
|
|
5344
|
-
},
|
|
5345
|
-
"name": {
|
|
5346
|
-
"char": "n",
|
|
5347
|
-
"description": "Build name",
|
|
5348
|
-
"name": "name",
|
|
5349
|
-
"required": true,
|
|
5350
|
-
"hasDynamicHelp": false,
|
|
5351
|
-
"multiple": false,
|
|
5352
|
-
"type": "option"
|
|
5353
|
-
},
|
|
5354
|
-
"output": {
|
|
5355
|
-
"char": "o",
|
|
5356
|
-
"description": "Output format",
|
|
5357
|
-
"name": "output",
|
|
5358
|
-
"required": false,
|
|
5359
|
-
"default": "summary",
|
|
5360
|
-
"hasDynamicHelp": false,
|
|
5361
|
-
"multiple": false,
|
|
5362
|
-
"options": [
|
|
5363
|
-
"summary",
|
|
5364
|
-
"json"
|
|
5365
|
-
],
|
|
5366
|
-
"type": "option"
|
|
5367
|
-
},
|
|
5368
|
-
"workspace": {
|
|
5369
|
-
"char": "w",
|
|
5370
|
-
"description": "Workspace ID (optional if set in profile)",
|
|
5371
|
-
"name": "workspace",
|
|
5372
|
-
"required": false,
|
|
5373
|
-
"hasDynamicHelp": false,
|
|
5374
|
-
"multiple": false,
|
|
5375
|
-
"type": "option"
|
|
5376
|
-
}
|
|
5377
|
-
},
|
|
5378
|
-
"hasDynamicHelp": false,
|
|
5379
|
-
"hiddenAliases": [],
|
|
5380
|
-
"id": "static_host:build:create",
|
|
5381
|
-
"pluginAlias": "@xano/cli",
|
|
5382
|
-
"pluginName": "@xano/cli",
|
|
5383
|
-
"pluginType": "core",
|
|
5384
|
-
"strict": true,
|
|
5385
|
-
"enableJsonFlag": false,
|
|
5386
|
-
"isESM": true,
|
|
5387
|
-
"relativePath": [
|
|
5388
|
-
"dist",
|
|
5389
|
-
"commands",
|
|
5390
|
-
"static_host",
|
|
5391
|
-
"build",
|
|
5392
|
-
"create",
|
|
5393
|
-
"index.js"
|
|
5394
|
-
]
|
|
5395
|
-
},
|
|
5396
5436
|
"tenant:backup:list": {
|
|
5397
5437
|
"aliases": [],
|
|
5398
5438
|
"args": {
|
|
@@ -5692,19 +5732,20 @@
|
|
|
5692
5732
|
"index.js"
|
|
5693
5733
|
]
|
|
5694
5734
|
},
|
|
5695
|
-
"tenant:cluster:
|
|
5735
|
+
"tenant:cluster:delete": {
|
|
5696
5736
|
"aliases": [],
|
|
5697
5737
|
"args": {
|
|
5698
5738
|
"cluster_id": {
|
|
5699
|
-
"description": "Cluster ID to
|
|
5739
|
+
"description": "Cluster ID to delete",
|
|
5700
5740
|
"name": "cluster_id",
|
|
5701
5741
|
"required": true
|
|
5702
5742
|
}
|
|
5703
5743
|
},
|
|
5704
|
-
"description": "
|
|
5744
|
+
"description": "Delete a tenant cluster. This action cannot be undone.",
|
|
5705
5745
|
"examples": [
|
|
5706
|
-
"$ xano tenant cluster
|
|
5707
|
-
"$ xano tenant cluster
|
|
5746
|
+
"$ xano tenant cluster delete 3\nAre you sure you want to delete tenant cluster 3? This action cannot be undone. (y/N) y\nTenant cluster 3 deleted successfully\n",
|
|
5747
|
+
"$ xano tenant cluster delete 3 --force\nTenant cluster 3 deleted successfully\n",
|
|
5748
|
+
"$ xano tenant cluster delete 3 -f -o json"
|
|
5708
5749
|
],
|
|
5709
5750
|
"flags": {
|
|
5710
5751
|
"profile": {
|
|
@@ -5726,6 +5767,14 @@
|
|
|
5726
5767
|
"allowNo": false,
|
|
5727
5768
|
"type": "boolean"
|
|
5728
5769
|
},
|
|
5770
|
+
"force": {
|
|
5771
|
+
"char": "f",
|
|
5772
|
+
"description": "Skip confirmation prompt",
|
|
5773
|
+
"name": "force",
|
|
5774
|
+
"required": false,
|
|
5775
|
+
"allowNo": false,
|
|
5776
|
+
"type": "boolean"
|
|
5777
|
+
},
|
|
5729
5778
|
"output": {
|
|
5730
5779
|
"char": "o",
|
|
5731
5780
|
"description": "Output format",
|
|
@@ -5743,7 +5792,7 @@
|
|
|
5743
5792
|
},
|
|
5744
5793
|
"hasDynamicHelp": false,
|
|
5745
5794
|
"hiddenAliases": [],
|
|
5746
|
-
"id": "tenant:cluster:
|
|
5795
|
+
"id": "tenant:cluster:delete",
|
|
5747
5796
|
"pluginAlias": "@xano/cli",
|
|
5748
5797
|
"pluginName": "@xano/cli",
|
|
5749
5798
|
"pluginType": "core",
|
|
@@ -5755,7 +5804,7 @@
|
|
|
5755
5804
|
"commands",
|
|
5756
5805
|
"tenant",
|
|
5757
5806
|
"cluster",
|
|
5758
|
-
"
|
|
5807
|
+
"delete",
|
|
5759
5808
|
"index.js"
|
|
5760
5809
|
]
|
|
5761
5810
|
},
|
|
@@ -5864,13 +5913,19 @@
|
|
|
5864
5913
|
"index.js"
|
|
5865
5914
|
]
|
|
5866
5915
|
},
|
|
5867
|
-
"tenant:cluster:
|
|
5916
|
+
"tenant:cluster:get": {
|
|
5868
5917
|
"aliases": [],
|
|
5869
|
-
"args": {
|
|
5870
|
-
|
|
5918
|
+
"args": {
|
|
5919
|
+
"cluster_id": {
|
|
5920
|
+
"description": "Cluster ID to retrieve",
|
|
5921
|
+
"name": "cluster_id",
|
|
5922
|
+
"required": true
|
|
5923
|
+
}
|
|
5924
|
+
},
|
|
5925
|
+
"description": "Get details of a specific tenant cluster",
|
|
5871
5926
|
"examples": [
|
|
5872
|
-
"$ xano tenant cluster
|
|
5873
|
-
"$ xano tenant cluster
|
|
5927
|
+
"$ xano tenant cluster get 1\nCluster: us-east-1\n ID: 1\n Type: standard\n Domain: us-east-1.xano.io\n",
|
|
5928
|
+
"$ xano tenant cluster get 1 -o json"
|
|
5874
5929
|
],
|
|
5875
5930
|
"flags": {
|
|
5876
5931
|
"profile": {
|
|
@@ -5909,7 +5964,7 @@
|
|
|
5909
5964
|
},
|
|
5910
5965
|
"hasDynamicHelp": false,
|
|
5911
5966
|
"hiddenAliases": [],
|
|
5912
|
-
"id": "tenant:cluster:
|
|
5967
|
+
"id": "tenant:cluster:get",
|
|
5913
5968
|
"pluginAlias": "@xano/cli",
|
|
5914
5969
|
"pluginName": "@xano/cli",
|
|
5915
5970
|
"pluginType": "core",
|
|
@@ -5921,24 +5976,17 @@
|
|
|
5921
5976
|
"commands",
|
|
5922
5977
|
"tenant",
|
|
5923
5978
|
"cluster",
|
|
5924
|
-
"
|
|
5979
|
+
"get",
|
|
5925
5980
|
"index.js"
|
|
5926
5981
|
]
|
|
5927
5982
|
},
|
|
5928
|
-
"tenant:cluster:
|
|
5983
|
+
"tenant:cluster:list": {
|
|
5929
5984
|
"aliases": [],
|
|
5930
|
-
"args": {
|
|
5931
|
-
|
|
5932
|
-
"description": "Cluster ID to delete",
|
|
5933
|
-
"name": "cluster_id",
|
|
5934
|
-
"required": true
|
|
5935
|
-
}
|
|
5936
|
-
},
|
|
5937
|
-
"description": "Delete a tenant cluster. This action cannot be undone.",
|
|
5985
|
+
"args": {},
|
|
5986
|
+
"description": "List all tenant clusters",
|
|
5938
5987
|
"examples": [
|
|
5939
|
-
"$ xano tenant cluster
|
|
5940
|
-
"$ xano tenant cluster
|
|
5941
|
-
"$ xano tenant cluster delete 3 -f -o json"
|
|
5988
|
+
"$ xano tenant cluster list\nTenant clusters:\n - us-east-1 (standard) [ID: 1]\n - eu-west-1 (run) [ID: 2]\n",
|
|
5989
|
+
"$ xano tenant cluster list --output json"
|
|
5942
5990
|
],
|
|
5943
5991
|
"flags": {
|
|
5944
5992
|
"profile": {
|
|
@@ -5960,14 +6008,6 @@
|
|
|
5960
6008
|
"allowNo": false,
|
|
5961
6009
|
"type": "boolean"
|
|
5962
6010
|
},
|
|
5963
|
-
"force": {
|
|
5964
|
-
"char": "f",
|
|
5965
|
-
"description": "Skip confirmation prompt",
|
|
5966
|
-
"name": "force",
|
|
5967
|
-
"required": false,
|
|
5968
|
-
"allowNo": false,
|
|
5969
|
-
"type": "boolean"
|
|
5970
|
-
},
|
|
5971
6011
|
"output": {
|
|
5972
6012
|
"char": "o",
|
|
5973
6013
|
"description": "Output format",
|
|
@@ -5985,7 +6025,7 @@
|
|
|
5985
6025
|
},
|
|
5986
6026
|
"hasDynamicHelp": false,
|
|
5987
6027
|
"hiddenAliases": [],
|
|
5988
|
-
"id": "tenant:cluster:
|
|
6028
|
+
"id": "tenant:cluster:list",
|
|
5989
6029
|
"pluginAlias": "@xano/cli",
|
|
5990
6030
|
"pluginName": "@xano/cli",
|
|
5991
6031
|
"pluginType": "core",
|
|
@@ -5997,7 +6037,7 @@
|
|
|
5997
6037
|
"commands",
|
|
5998
6038
|
"tenant",
|
|
5999
6039
|
"cluster",
|
|
6000
|
-
"
|
|
6040
|
+
"list",
|
|
6001
6041
|
"index.js"
|
|
6002
6042
|
]
|
|
6003
6043
|
},
|
|
@@ -6274,7 +6314,7 @@
|
|
|
6274
6314
|
"index.js"
|
|
6275
6315
|
]
|
|
6276
6316
|
},
|
|
6277
|
-
"tenant:env:
|
|
6317
|
+
"tenant:env:list": {
|
|
6278
6318
|
"aliases": [],
|
|
6279
6319
|
"args": {
|
|
6280
6320
|
"tenant_name": {
|
|
@@ -6283,10 +6323,10 @@
|
|
|
6283
6323
|
"required": true
|
|
6284
6324
|
}
|
|
6285
6325
|
},
|
|
6286
|
-
"description": "
|
|
6326
|
+
"description": "List environment variable keys for a tenant",
|
|
6287
6327
|
"examples": [
|
|
6288
|
-
"$ xano tenant env
|
|
6289
|
-
"$ xano tenant env
|
|
6328
|
+
"$ xano tenant env list my-tenant\nEnvironment variables for tenant my-tenant:\n - DATABASE_URL\n - API_KEY\n - SECRET_TOKEN\n",
|
|
6329
|
+
"$ xano tenant env list my-tenant -w 5 -o json"
|
|
6290
6330
|
],
|
|
6291
6331
|
"flags": {
|
|
6292
6332
|
"profile": {
|
|
@@ -6308,15 +6348,6 @@
|
|
|
6308
6348
|
"allowNo": false,
|
|
6309
6349
|
"type": "boolean"
|
|
6310
6350
|
},
|
|
6311
|
-
"name": {
|
|
6312
|
-
"char": "n",
|
|
6313
|
-
"description": "Environment variable name",
|
|
6314
|
-
"name": "name",
|
|
6315
|
-
"required": true,
|
|
6316
|
-
"hasDynamicHelp": false,
|
|
6317
|
-
"multiple": false,
|
|
6318
|
-
"type": "option"
|
|
6319
|
-
},
|
|
6320
6351
|
"output": {
|
|
6321
6352
|
"char": "o",
|
|
6322
6353
|
"description": "Output format",
|
|
@@ -6331,14 +6362,6 @@
|
|
|
6331
6362
|
],
|
|
6332
6363
|
"type": "option"
|
|
6333
6364
|
},
|
|
6334
|
-
"value": {
|
|
6335
|
-
"description": "Environment variable value",
|
|
6336
|
-
"name": "value",
|
|
6337
|
-
"required": true,
|
|
6338
|
-
"hasDynamicHelp": false,
|
|
6339
|
-
"multiple": false,
|
|
6340
|
-
"type": "option"
|
|
6341
|
-
},
|
|
6342
6365
|
"workspace": {
|
|
6343
6366
|
"char": "w",
|
|
6344
6367
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -6351,7 +6374,7 @@
|
|
|
6351
6374
|
},
|
|
6352
6375
|
"hasDynamicHelp": false,
|
|
6353
6376
|
"hiddenAliases": [],
|
|
6354
|
-
"id": "tenant:env:
|
|
6377
|
+
"id": "tenant:env:list",
|
|
6355
6378
|
"pluginAlias": "@xano/cli",
|
|
6356
6379
|
"pluginName": "@xano/cli",
|
|
6357
6380
|
"pluginType": "core",
|
|
@@ -6363,11 +6386,11 @@
|
|
|
6363
6386
|
"commands",
|
|
6364
6387
|
"tenant",
|
|
6365
6388
|
"env",
|
|
6366
|
-
"
|
|
6389
|
+
"list",
|
|
6367
6390
|
"index.js"
|
|
6368
6391
|
]
|
|
6369
6392
|
},
|
|
6370
|
-
"tenant:env:
|
|
6393
|
+
"tenant:env:set": {
|
|
6371
6394
|
"aliases": [],
|
|
6372
6395
|
"args": {
|
|
6373
6396
|
"tenant_name": {
|
|
@@ -6376,11 +6399,10 @@
|
|
|
6376
6399
|
"required": true
|
|
6377
6400
|
}
|
|
6378
6401
|
},
|
|
6379
|
-
"description": "Set
|
|
6402
|
+
"description": "Set (create or update) an environment variable for a tenant",
|
|
6380
6403
|
"examples": [
|
|
6381
|
-
"$ xano tenant env
|
|
6382
|
-
"$ xano tenant env
|
|
6383
|
-
"$ xano tenant env set_all my-tenant -o json"
|
|
6404
|
+
"$ xano tenant env set my-tenant --name DATABASE_URL --value postgres://localhost:5432/mydb\nEnvironment variable 'DATABASE_URL' set for tenant my-tenant\n",
|
|
6405
|
+
"$ xano tenant env set my-tenant --name DATABASE_URL --value postgres://localhost:5432/mydb -w 5 -o json"
|
|
6384
6406
|
],
|
|
6385
6407
|
"flags": {
|
|
6386
6408
|
"profile": {
|
|
@@ -6402,18 +6424,11 @@
|
|
|
6402
6424
|
"allowNo": false,
|
|
6403
6425
|
"type": "boolean"
|
|
6404
6426
|
},
|
|
6405
|
-
"
|
|
6406
|
-
"
|
|
6407
|
-
"
|
|
6408
|
-
"
|
|
6409
|
-
"
|
|
6410
|
-
"type": "boolean"
|
|
6411
|
-
},
|
|
6412
|
-
"file": {
|
|
6413
|
-
"char": "f",
|
|
6414
|
-
"description": "Path to env file (default: env_<tenant_name>.yaml)",
|
|
6415
|
-
"name": "file",
|
|
6416
|
-
"required": false,
|
|
6427
|
+
"name": {
|
|
6428
|
+
"char": "n",
|
|
6429
|
+
"description": "Environment variable name",
|
|
6430
|
+
"name": "name",
|
|
6431
|
+
"required": true,
|
|
6417
6432
|
"hasDynamicHelp": false,
|
|
6418
6433
|
"multiple": false,
|
|
6419
6434
|
"type": "option"
|
|
@@ -6432,6 +6447,14 @@
|
|
|
6432
6447
|
],
|
|
6433
6448
|
"type": "option"
|
|
6434
6449
|
},
|
|
6450
|
+
"value": {
|
|
6451
|
+
"description": "Environment variable value",
|
|
6452
|
+
"name": "value",
|
|
6453
|
+
"required": true,
|
|
6454
|
+
"hasDynamicHelp": false,
|
|
6455
|
+
"multiple": false,
|
|
6456
|
+
"type": "option"
|
|
6457
|
+
},
|
|
6435
6458
|
"workspace": {
|
|
6436
6459
|
"char": "w",
|
|
6437
6460
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -6444,7 +6467,7 @@
|
|
|
6444
6467
|
},
|
|
6445
6468
|
"hasDynamicHelp": false,
|
|
6446
6469
|
"hiddenAliases": [],
|
|
6447
|
-
"id": "tenant:env:
|
|
6470
|
+
"id": "tenant:env:set",
|
|
6448
6471
|
"pluginAlias": "@xano/cli",
|
|
6449
6472
|
"pluginName": "@xano/cli",
|
|
6450
6473
|
"pluginType": "core",
|
|
@@ -6456,11 +6479,11 @@
|
|
|
6456
6479
|
"commands",
|
|
6457
6480
|
"tenant",
|
|
6458
6481
|
"env",
|
|
6459
|
-
"
|
|
6482
|
+
"set",
|
|
6460
6483
|
"index.js"
|
|
6461
6484
|
]
|
|
6462
6485
|
},
|
|
6463
|
-
"tenant:
|
|
6486
|
+
"tenant:env:set_all": {
|
|
6464
6487
|
"aliases": [],
|
|
6465
6488
|
"args": {
|
|
6466
6489
|
"tenant_name": {
|
|
@@ -6469,12 +6492,11 @@
|
|
|
6469
6492
|
"required": true
|
|
6470
6493
|
}
|
|
6471
6494
|
},
|
|
6472
|
-
"description": "Set
|
|
6495
|
+
"description": "Set all environment variables for a tenant from a YAML file (replaces all existing)",
|
|
6473
6496
|
"examples": [
|
|
6474
|
-
"$ xano tenant
|
|
6475
|
-
"$ xano tenant
|
|
6476
|
-
"$ xano tenant
|
|
6477
|
-
"$ xano tenant license set my-tenant -o json"
|
|
6497
|
+
"$ xano tenant env set_all my-tenant\nReads from env_my-tenant.yaml\n",
|
|
6498
|
+
"$ xano tenant env set_all my-tenant --file ./my-env.yaml",
|
|
6499
|
+
"$ xano tenant env set_all my-tenant -o json"
|
|
6478
6500
|
],
|
|
6479
6501
|
"flags": {
|
|
6480
6502
|
"profile": {
|
|
@@ -6498,9 +6520,6 @@
|
|
|
6498
6520
|
},
|
|
6499
6521
|
"clean": {
|
|
6500
6522
|
"description": "Remove the source file after successful upload",
|
|
6501
|
-
"exclusive": [
|
|
6502
|
-
"value"
|
|
6503
|
-
],
|
|
6504
6523
|
"name": "clean",
|
|
6505
6524
|
"required": false,
|
|
6506
6525
|
"allowNo": false,
|
|
@@ -6508,10 +6527,7 @@
|
|
|
6508
6527
|
},
|
|
6509
6528
|
"file": {
|
|
6510
6529
|
"char": "f",
|
|
6511
|
-
"description": "Path to
|
|
6512
|
-
"exclusive": [
|
|
6513
|
-
"value"
|
|
6514
|
-
],
|
|
6530
|
+
"description": "Path to env file (default: env_<tenant_name>.yaml)",
|
|
6515
6531
|
"name": "file",
|
|
6516
6532
|
"required": false,
|
|
6517
6533
|
"hasDynamicHelp": false,
|
|
@@ -6532,18 +6548,6 @@
|
|
|
6532
6548
|
],
|
|
6533
6549
|
"type": "option"
|
|
6534
6550
|
},
|
|
6535
|
-
"value": {
|
|
6536
|
-
"description": "Inline license value",
|
|
6537
|
-
"exclusive": [
|
|
6538
|
-
"file",
|
|
6539
|
-
"clean"
|
|
6540
|
-
],
|
|
6541
|
-
"name": "value",
|
|
6542
|
-
"required": false,
|
|
6543
|
-
"hasDynamicHelp": false,
|
|
6544
|
-
"multiple": false,
|
|
6545
|
-
"type": "option"
|
|
6546
|
-
},
|
|
6547
6551
|
"workspace": {
|
|
6548
6552
|
"char": "w",
|
|
6549
6553
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -6556,7 +6560,7 @@
|
|
|
6556
6560
|
},
|
|
6557
6561
|
"hasDynamicHelp": false,
|
|
6558
6562
|
"hiddenAliases": [],
|
|
6559
|
-
"id": "tenant:
|
|
6563
|
+
"id": "tenant:env:set_all",
|
|
6560
6564
|
"pluginAlias": "@xano/cli",
|
|
6561
6565
|
"pluginName": "@xano/cli",
|
|
6562
6566
|
"pluginType": "core",
|
|
@@ -6567,8 +6571,8 @@
|
|
|
6567
6571
|
"dist",
|
|
6568
6572
|
"commands",
|
|
6569
6573
|
"tenant",
|
|
6570
|
-
"
|
|
6571
|
-
"
|
|
6574
|
+
"env",
|
|
6575
|
+
"set_all",
|
|
6572
6576
|
"index.js"
|
|
6573
6577
|
]
|
|
6574
6578
|
},
|
|
@@ -6666,19 +6670,24 @@
|
|
|
6666
6670
|
"index.js"
|
|
6667
6671
|
]
|
|
6668
6672
|
},
|
|
6669
|
-
"
|
|
6673
|
+
"workspace:git:pull": {
|
|
6670
6674
|
"aliases": [],
|
|
6671
6675
|
"args": {
|
|
6672
|
-
"
|
|
6673
|
-
"description": "
|
|
6674
|
-
"name": "
|
|
6676
|
+
"directory": {
|
|
6677
|
+
"description": "Output directory for imported files",
|
|
6678
|
+
"name": "directory",
|
|
6675
6679
|
"required": true
|
|
6676
6680
|
}
|
|
6677
6681
|
},
|
|
6678
|
-
"description": "
|
|
6682
|
+
"description": "Pull XanoScript files from a git repository into a local directory",
|
|
6679
6683
|
"examples": [
|
|
6680
|
-
"$ xano
|
|
6681
|
-
"$ xano
|
|
6684
|
+
"$ xano workspace git pull ./output -r https://github.com/owner/repo",
|
|
6685
|
+
"$ xano workspace git pull ./output -r https://github.com/owner/repo/tree/main/path/to/dir",
|
|
6686
|
+
"$ xano workspace git pull ./output -r https://github.com/owner/repo/blob/main/path/to/file.xs",
|
|
6687
|
+
"$ xano workspace git pull ./output -r git@github.com:owner/repo.git",
|
|
6688
|
+
"$ xano workspace git pull ./output -r https://github.com/owner/private-repo -t ghp_xxx",
|
|
6689
|
+
"$ xano workspace git pull ./output -r https://gitlab.com/owner/repo/-/tree/master/path",
|
|
6690
|
+
"$ xano workspace git pull ./output -r https://gitlab.com/owner/repo -b main"
|
|
6682
6691
|
],
|
|
6683
6692
|
"flags": {
|
|
6684
6693
|
"profile": {
|
|
@@ -6700,24 +6709,37 @@
|
|
|
6700
6709
|
"allowNo": false,
|
|
6701
6710
|
"type": "boolean"
|
|
6702
6711
|
},
|
|
6703
|
-
"
|
|
6704
|
-
"char": "
|
|
6705
|
-
"description": "
|
|
6706
|
-
"name": "
|
|
6712
|
+
"branch": {
|
|
6713
|
+
"char": "b",
|
|
6714
|
+
"description": "Branch, tag, or ref to fetch (defaults to repository default branch)",
|
|
6715
|
+
"name": "branch",
|
|
6707
6716
|
"required": false,
|
|
6708
|
-
"default": "summary",
|
|
6709
6717
|
"hasDynamicHelp": false,
|
|
6710
6718
|
"multiple": false,
|
|
6711
|
-
"options": [
|
|
6712
|
-
"summary",
|
|
6713
|
-
"json"
|
|
6714
|
-
],
|
|
6715
6719
|
"type": "option"
|
|
6716
6720
|
},
|
|
6717
|
-
"
|
|
6718
|
-
"
|
|
6719
|
-
"
|
|
6720
|
-
"
|
|
6721
|
+
"path": {
|
|
6722
|
+
"description": "Subdirectory within the repo to import from",
|
|
6723
|
+
"name": "path",
|
|
6724
|
+
"required": false,
|
|
6725
|
+
"hasDynamicHelp": false,
|
|
6726
|
+
"multiple": false,
|
|
6727
|
+
"type": "option"
|
|
6728
|
+
},
|
|
6729
|
+
"repo": {
|
|
6730
|
+
"char": "r",
|
|
6731
|
+
"description": "Git repository URL (GitHub HTTPS, SSH, or any git URL)",
|
|
6732
|
+
"name": "repo",
|
|
6733
|
+
"required": true,
|
|
6734
|
+
"hasDynamicHelp": false,
|
|
6735
|
+
"multiple": false,
|
|
6736
|
+
"type": "option"
|
|
6737
|
+
},
|
|
6738
|
+
"token": {
|
|
6739
|
+
"char": "t",
|
|
6740
|
+
"description": "Personal access token for private repos (falls back to GITHUB_TOKEN env var)",
|
|
6741
|
+
"env": "GITHUB_TOKEN",
|
|
6742
|
+
"name": "token",
|
|
6721
6743
|
"required": false,
|
|
6722
6744
|
"hasDynamicHelp": false,
|
|
6723
6745
|
"multiple": false,
|
|
@@ -6726,7 +6748,7 @@
|
|
|
6726
6748
|
},
|
|
6727
6749
|
"hasDynamicHelp": false,
|
|
6728
6750
|
"hiddenAliases": [],
|
|
6729
|
-
"id": "
|
|
6751
|
+
"id": "workspace:git:pull",
|
|
6730
6752
|
"pluginAlias": "@xano/cli",
|
|
6731
6753
|
"pluginName": "@xano/cli",
|
|
6732
6754
|
"pluginType": "core",
|
|
@@ -6736,30 +6758,27 @@
|
|
|
6736
6758
|
"relativePath": [
|
|
6737
6759
|
"dist",
|
|
6738
6760
|
"commands",
|
|
6739
|
-
"
|
|
6740
|
-
"
|
|
6741
|
-
"
|
|
6761
|
+
"workspace",
|
|
6762
|
+
"git",
|
|
6763
|
+
"pull",
|
|
6742
6764
|
"index.js"
|
|
6743
6765
|
]
|
|
6744
6766
|
},
|
|
6745
|
-
"
|
|
6767
|
+
"tenant:license:set": {
|
|
6746
6768
|
"aliases": [],
|
|
6747
6769
|
"args": {
|
|
6748
|
-
"
|
|
6749
|
-
"description": "
|
|
6750
|
-
"name": "
|
|
6770
|
+
"tenant_name": {
|
|
6771
|
+
"description": "Tenant name",
|
|
6772
|
+
"name": "tenant_name",
|
|
6751
6773
|
"required": true
|
|
6752
6774
|
}
|
|
6753
6775
|
},
|
|
6754
|
-
"description": "
|
|
6776
|
+
"description": "Set/update the license for a tenant",
|
|
6755
6777
|
"examples": [
|
|
6756
|
-
"$ xano
|
|
6757
|
-
"$ xano
|
|
6758
|
-
"$ xano
|
|
6759
|
-
"$ xano
|
|
6760
|
-
"$ xano workspace git pull ./output -r https://github.com/owner/private-repo -t ghp_xxx",
|
|
6761
|
-
"$ xano workspace git pull ./output -r https://gitlab.com/owner/repo/-/tree/master/path",
|
|
6762
|
-
"$ xano workspace git pull ./output -r https://gitlab.com/owner/repo -b main"
|
|
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"
|
|
6763
6782
|
],
|
|
6764
6783
|
"flags": {
|
|
6765
6784
|
"profile": {
|
|
@@ -6781,37 +6800,58 @@
|
|
|
6781
6800
|
"allowNo": false,
|
|
6782
6801
|
"type": "boolean"
|
|
6783
6802
|
},
|
|
6784
|
-
"
|
|
6785
|
-
"
|
|
6786
|
-
"
|
|
6787
|
-
|
|
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",
|
|
6788
6820
|
"required": false,
|
|
6789
6821
|
"hasDynamicHelp": false,
|
|
6790
6822
|
"multiple": false,
|
|
6791
6823
|
"type": "option"
|
|
6792
6824
|
},
|
|
6793
|
-
"
|
|
6794
|
-
"
|
|
6795
|
-
"
|
|
6825
|
+
"output": {
|
|
6826
|
+
"char": "o",
|
|
6827
|
+
"description": "Output format",
|
|
6828
|
+
"name": "output",
|
|
6796
6829
|
"required": false,
|
|
6830
|
+
"default": "summary",
|
|
6797
6831
|
"hasDynamicHelp": false,
|
|
6798
6832
|
"multiple": false,
|
|
6833
|
+
"options": [
|
|
6834
|
+
"summary",
|
|
6835
|
+
"json"
|
|
6836
|
+
],
|
|
6799
6837
|
"type": "option"
|
|
6800
6838
|
},
|
|
6801
|
-
"
|
|
6802
|
-
"
|
|
6803
|
-
"
|
|
6804
|
-
|
|
6805
|
-
|
|
6839
|
+
"value": {
|
|
6840
|
+
"description": "Inline license value",
|
|
6841
|
+
"exclusive": [
|
|
6842
|
+
"file",
|
|
6843
|
+
"clean"
|
|
6844
|
+
],
|
|
6845
|
+
"name": "value",
|
|
6846
|
+
"required": false,
|
|
6806
6847
|
"hasDynamicHelp": false,
|
|
6807
6848
|
"multiple": false,
|
|
6808
6849
|
"type": "option"
|
|
6809
6850
|
},
|
|
6810
|
-
"
|
|
6811
|
-
"char": "
|
|
6812
|
-
"description": "
|
|
6813
|
-
"
|
|
6814
|
-
"name": "token",
|
|
6851
|
+
"workspace": {
|
|
6852
|
+
"char": "w",
|
|
6853
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
6854
|
+
"name": "workspace",
|
|
6815
6855
|
"required": false,
|
|
6816
6856
|
"hasDynamicHelp": false,
|
|
6817
6857
|
"multiple": false,
|
|
@@ -6820,7 +6860,7 @@
|
|
|
6820
6860
|
},
|
|
6821
6861
|
"hasDynamicHelp": false,
|
|
6822
6862
|
"hiddenAliases": [],
|
|
6823
|
-
"id": "
|
|
6863
|
+
"id": "tenant:license:set",
|
|
6824
6864
|
"pluginAlias": "@xano/cli",
|
|
6825
6865
|
"pluginName": "@xano/cli",
|
|
6826
6866
|
"pluginType": "core",
|
|
@@ -6830,9 +6870,9 @@
|
|
|
6830
6870
|
"relativePath": [
|
|
6831
6871
|
"dist",
|
|
6832
6872
|
"commands",
|
|
6833
|
-
"
|
|
6834
|
-
"
|
|
6835
|
-
"
|
|
6873
|
+
"tenant",
|
|
6874
|
+
"license",
|
|
6875
|
+
"set",
|
|
6836
6876
|
"index.js"
|
|
6837
6877
|
]
|
|
6838
6878
|
},
|
|
@@ -7027,5 +7067,5 @@
|
|
|
7027
7067
|
]
|
|
7028
7068
|
}
|
|
7029
7069
|
},
|
|
7030
|
-
"version": "0.0.
|
|
7070
|
+
"version": "0.0.66"
|
|
7031
7071
|
}
|