@xano/cli 0.0.86 → 0.0.88
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/oclif.manifest.json
CHANGED
|
@@ -291,6 +291,82 @@
|
|
|
291
291
|
"index.js"
|
|
292
292
|
]
|
|
293
293
|
},
|
|
294
|
+
"branch:get": {
|
|
295
|
+
"aliases": [],
|
|
296
|
+
"args": {
|
|
297
|
+
"branch_label": {
|
|
298
|
+
"description": "Branch label (e.g., \"v1\", \"dev\")",
|
|
299
|
+
"name": "branch_label",
|
|
300
|
+
"required": true
|
|
301
|
+
}
|
|
302
|
+
},
|
|
303
|
+
"description": "Get details for a specific branch",
|
|
304
|
+
"examples": [
|
|
305
|
+
"$ xano branch get v1\nBranch: v1 (live)\n Created: 2024-01-15\n",
|
|
306
|
+
"$ xano branch get dev -w 123\nBranch: dev\n Created: 2024-02-01\n",
|
|
307
|
+
"$ 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"
|
|
308
|
+
],
|
|
309
|
+
"flags": {
|
|
310
|
+
"profile": {
|
|
311
|
+
"char": "p",
|
|
312
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
313
|
+
"env": "XANO_PROFILE",
|
|
314
|
+
"name": "profile",
|
|
315
|
+
"required": false,
|
|
316
|
+
"hasDynamicHelp": false,
|
|
317
|
+
"multiple": false,
|
|
318
|
+
"type": "option"
|
|
319
|
+
},
|
|
320
|
+
"verbose": {
|
|
321
|
+
"char": "v",
|
|
322
|
+
"description": "Show detailed request/response information",
|
|
323
|
+
"env": "XANO_VERBOSE",
|
|
324
|
+
"name": "verbose",
|
|
325
|
+
"required": false,
|
|
326
|
+
"allowNo": false,
|
|
327
|
+
"type": "boolean"
|
|
328
|
+
},
|
|
329
|
+
"output": {
|
|
330
|
+
"char": "o",
|
|
331
|
+
"description": "Output format",
|
|
332
|
+
"name": "output",
|
|
333
|
+
"required": false,
|
|
334
|
+
"default": "summary",
|
|
335
|
+
"hasDynamicHelp": false,
|
|
336
|
+
"multiple": false,
|
|
337
|
+
"options": [
|
|
338
|
+
"summary",
|
|
339
|
+
"json"
|
|
340
|
+
],
|
|
341
|
+
"type": "option"
|
|
342
|
+
},
|
|
343
|
+
"workspace": {
|
|
344
|
+
"char": "w",
|
|
345
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
346
|
+
"name": "workspace",
|
|
347
|
+
"required": false,
|
|
348
|
+
"hasDynamicHelp": false,
|
|
349
|
+
"multiple": false,
|
|
350
|
+
"type": "option"
|
|
351
|
+
}
|
|
352
|
+
},
|
|
353
|
+
"hasDynamicHelp": false,
|
|
354
|
+
"hiddenAliases": [],
|
|
355
|
+
"id": "branch:get",
|
|
356
|
+
"pluginAlias": "@xano/cli",
|
|
357
|
+
"pluginName": "@xano/cli",
|
|
358
|
+
"pluginType": "core",
|
|
359
|
+
"strict": true,
|
|
360
|
+
"enableJsonFlag": false,
|
|
361
|
+
"isESM": true,
|
|
362
|
+
"relativePath": [
|
|
363
|
+
"dist",
|
|
364
|
+
"commands",
|
|
365
|
+
"branch",
|
|
366
|
+
"get",
|
|
367
|
+
"index.js"
|
|
368
|
+
]
|
|
369
|
+
},
|
|
294
370
|
"branch:edit": {
|
|
295
371
|
"aliases": [],
|
|
296
372
|
"args": {
|
|
@@ -461,16 +537,19 @@
|
|
|
461
537
|
"index.js"
|
|
462
538
|
]
|
|
463
539
|
},
|
|
464
|
-
"
|
|
540
|
+
"platform:get": {
|
|
465
541
|
"aliases": [],
|
|
466
|
-
"args": {
|
|
467
|
-
|
|
542
|
+
"args": {
|
|
543
|
+
"platform_id": {
|
|
544
|
+
"description": "Platform ID to retrieve",
|
|
545
|
+
"name": "platform_id",
|
|
546
|
+
"required": true
|
|
547
|
+
}
|
|
548
|
+
},
|
|
549
|
+
"description": "Get details of a specific platform",
|
|
468
550
|
"examples": [
|
|
469
|
-
"$ xano
|
|
470
|
-
"$ xano
|
|
471
|
-
"$ xano function:create -w 40 -f function.xs --edit\n# Opens function.xs in $EDITOR, then creates function with edited content\nFunction created successfully!\nID: 123\nName: my_function\n",
|
|
472
|
-
"$ cat function.xs | xano function:create -w 40 --stdin\nFunction created successfully!\nID: 123\nName: my_function\n",
|
|
473
|
-
"$ xano function:create -w 40 -f function.xs -o json\n{\n \"id\": 123,\n \"name\": \"my_function\",\n ...\n}\n"
|
|
551
|
+
"$ 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",
|
|
552
|
+
"$ xano platform get 23629 -o json"
|
|
474
553
|
],
|
|
475
554
|
"flags": {
|
|
476
555
|
"profile": {
|
|
@@ -492,29 +571,6 @@
|
|
|
492
571
|
"allowNo": false,
|
|
493
572
|
"type": "boolean"
|
|
494
573
|
},
|
|
495
|
-
"edit": {
|
|
496
|
-
"char": "e",
|
|
497
|
-
"dependsOn": [
|
|
498
|
-
"file"
|
|
499
|
-
],
|
|
500
|
-
"description": "Open file in editor before creating function (requires --file)",
|
|
501
|
-
"name": "edit",
|
|
502
|
-
"required": false,
|
|
503
|
-
"allowNo": false,
|
|
504
|
-
"type": "boolean"
|
|
505
|
-
},
|
|
506
|
-
"file": {
|
|
507
|
-
"char": "f",
|
|
508
|
-
"description": "Path to file containing XanoScript code",
|
|
509
|
-
"exclusive": [
|
|
510
|
-
"stdin"
|
|
511
|
-
],
|
|
512
|
-
"name": "file",
|
|
513
|
-
"required": false,
|
|
514
|
-
"hasDynamicHelp": false,
|
|
515
|
-
"multiple": false,
|
|
516
|
-
"type": "option"
|
|
517
|
-
},
|
|
518
574
|
"output": {
|
|
519
575
|
"char": "o",
|
|
520
576
|
"description": "Output format",
|
|
@@ -528,31 +584,71 @@
|
|
|
528
584
|
"json"
|
|
529
585
|
],
|
|
530
586
|
"type": "option"
|
|
587
|
+
}
|
|
588
|
+
},
|
|
589
|
+
"hasDynamicHelp": false,
|
|
590
|
+
"hiddenAliases": [],
|
|
591
|
+
"id": "platform:get",
|
|
592
|
+
"pluginAlias": "@xano/cli",
|
|
593
|
+
"pluginName": "@xano/cli",
|
|
594
|
+
"pluginType": "core",
|
|
595
|
+
"strict": true,
|
|
596
|
+
"enableJsonFlag": false,
|
|
597
|
+
"isESM": true,
|
|
598
|
+
"relativePath": [
|
|
599
|
+
"dist",
|
|
600
|
+
"commands",
|
|
601
|
+
"platform",
|
|
602
|
+
"get",
|
|
603
|
+
"index.js"
|
|
604
|
+
]
|
|
605
|
+
},
|
|
606
|
+
"platform:list": {
|
|
607
|
+
"aliases": [],
|
|
608
|
+
"args": {},
|
|
609
|
+
"description": "List all platforms",
|
|
610
|
+
"examples": [
|
|
611
|
+
"$ xano platform list\nPlatforms:\n ID: 23629 | Helm: 0.1.356 | Created: 2025-11-28\n",
|
|
612
|
+
"$ xano platform list --output json"
|
|
613
|
+
],
|
|
614
|
+
"flags": {
|
|
615
|
+
"profile": {
|
|
616
|
+
"char": "p",
|
|
617
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
618
|
+
"env": "XANO_PROFILE",
|
|
619
|
+
"name": "profile",
|
|
620
|
+
"required": false,
|
|
621
|
+
"hasDynamicHelp": false,
|
|
622
|
+
"multiple": false,
|
|
623
|
+
"type": "option"
|
|
531
624
|
},
|
|
532
|
-
"
|
|
533
|
-
"char": "
|
|
534
|
-
"description": "
|
|
535
|
-
"
|
|
536
|
-
|
|
537
|
-
],
|
|
538
|
-
"name": "stdin",
|
|
625
|
+
"verbose": {
|
|
626
|
+
"char": "v",
|
|
627
|
+
"description": "Show detailed request/response information",
|
|
628
|
+
"env": "XANO_VERBOSE",
|
|
629
|
+
"name": "verbose",
|
|
539
630
|
"required": false,
|
|
540
631
|
"allowNo": false,
|
|
541
632
|
"type": "boolean"
|
|
542
633
|
},
|
|
543
|
-
"
|
|
544
|
-
"char": "
|
|
545
|
-
"description": "
|
|
546
|
-
"name": "
|
|
634
|
+
"output": {
|
|
635
|
+
"char": "o",
|
|
636
|
+
"description": "Output format",
|
|
637
|
+
"name": "output",
|
|
547
638
|
"required": false,
|
|
639
|
+
"default": "summary",
|
|
548
640
|
"hasDynamicHelp": false,
|
|
549
641
|
"multiple": false,
|
|
642
|
+
"options": [
|
|
643
|
+
"summary",
|
|
644
|
+
"json"
|
|
645
|
+
],
|
|
550
646
|
"type": "option"
|
|
551
647
|
}
|
|
552
648
|
},
|
|
553
649
|
"hasDynamicHelp": false,
|
|
554
650
|
"hiddenAliases": [],
|
|
555
|
-
"id": "
|
|
651
|
+
"id": "platform:list",
|
|
556
652
|
"pluginAlias": "@xano/cli",
|
|
557
653
|
"pluginName": "@xano/cli",
|
|
558
654
|
"pluginType": "core",
|
|
@@ -562,25 +658,21 @@
|
|
|
562
658
|
"relativePath": [
|
|
563
659
|
"dist",
|
|
564
660
|
"commands",
|
|
565
|
-
"
|
|
566
|
-
"
|
|
661
|
+
"platform",
|
|
662
|
+
"list",
|
|
567
663
|
"index.js"
|
|
568
664
|
]
|
|
569
665
|
},
|
|
570
|
-
"
|
|
666
|
+
"function:create": {
|
|
571
667
|
"aliases": [],
|
|
572
|
-
"args": {
|
|
573
|
-
|
|
574
|
-
"description": "Branch label to set as live (use \"v1\" for default branch)",
|
|
575
|
-
"name": "branch_label",
|
|
576
|
-
"required": true
|
|
577
|
-
}
|
|
578
|
-
},
|
|
579
|
-
"description": "Set a branch as the live (active) branch for API requests",
|
|
668
|
+
"args": {},
|
|
669
|
+
"description": "Create a new function in a workspace",
|
|
580
670
|
"examples": [
|
|
581
|
-
"$ xano
|
|
582
|
-
"$ xano
|
|
583
|
-
"$ xano
|
|
671
|
+
"$ xano function:create -w 40 -f function.xs\nFunction created successfully!\nID: 123\nName: my_function\n",
|
|
672
|
+
"$ xano function:create -f function.xs\nFunction created successfully!\nID: 123\nName: my_function\n",
|
|
673
|
+
"$ xano function:create -w 40 -f function.xs --edit\n# Opens function.xs in $EDITOR, then creates function with edited content\nFunction created successfully!\nID: 123\nName: my_function\n",
|
|
674
|
+
"$ cat function.xs | xano function:create -w 40 --stdin\nFunction created successfully!\nID: 123\nName: my_function\n",
|
|
675
|
+
"$ xano function:create -w 40 -f function.xs -o json\n{\n \"id\": 123,\n \"name\": \"my_function\",\n ...\n}\n"
|
|
584
676
|
],
|
|
585
677
|
"flags": {
|
|
586
678
|
"profile": {
|
|
@@ -602,14 +694,29 @@
|
|
|
602
694
|
"allowNo": false,
|
|
603
695
|
"type": "boolean"
|
|
604
696
|
},
|
|
605
|
-
"
|
|
606
|
-
"char": "
|
|
607
|
-
"
|
|
608
|
-
|
|
697
|
+
"edit": {
|
|
698
|
+
"char": "e",
|
|
699
|
+
"dependsOn": [
|
|
700
|
+
"file"
|
|
701
|
+
],
|
|
702
|
+
"description": "Open file in editor before creating function (requires --file)",
|
|
703
|
+
"name": "edit",
|
|
609
704
|
"required": false,
|
|
610
705
|
"allowNo": false,
|
|
611
706
|
"type": "boolean"
|
|
612
707
|
},
|
|
708
|
+
"file": {
|
|
709
|
+
"char": "f",
|
|
710
|
+
"description": "Path to file containing XanoScript code",
|
|
711
|
+
"exclusive": [
|
|
712
|
+
"stdin"
|
|
713
|
+
],
|
|
714
|
+
"name": "file",
|
|
715
|
+
"required": false,
|
|
716
|
+
"hasDynamicHelp": false,
|
|
717
|
+
"multiple": false,
|
|
718
|
+
"type": "option"
|
|
719
|
+
},
|
|
613
720
|
"output": {
|
|
614
721
|
"char": "o",
|
|
615
722
|
"description": "Output format",
|
|
@@ -624,9 +731,20 @@
|
|
|
624
731
|
],
|
|
625
732
|
"type": "option"
|
|
626
733
|
},
|
|
734
|
+
"stdin": {
|
|
735
|
+
"char": "s",
|
|
736
|
+
"description": "Read XanoScript code from stdin",
|
|
737
|
+
"exclusive": [
|
|
738
|
+
"file"
|
|
739
|
+
],
|
|
740
|
+
"name": "stdin",
|
|
741
|
+
"required": false,
|
|
742
|
+
"allowNo": false,
|
|
743
|
+
"type": "boolean"
|
|
744
|
+
},
|
|
627
745
|
"workspace": {
|
|
628
746
|
"char": "w",
|
|
629
|
-
"description": "Workspace ID (
|
|
747
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
630
748
|
"name": "workspace",
|
|
631
749
|
"required": false,
|
|
632
750
|
"hasDynamicHelp": false,
|
|
@@ -636,7 +754,7 @@
|
|
|
636
754
|
},
|
|
637
755
|
"hasDynamicHelp": false,
|
|
638
756
|
"hiddenAliases": [],
|
|
639
|
-
"id": "
|
|
757
|
+
"id": "function:create",
|
|
640
758
|
"pluginAlias": "@xano/cli",
|
|
641
759
|
"pluginName": "@xano/cli",
|
|
642
760
|
"pluginType": "core",
|
|
@@ -646,8 +764,8 @@
|
|
|
646
764
|
"relativePath": [
|
|
647
765
|
"dist",
|
|
648
766
|
"commands",
|
|
649
|
-
"
|
|
650
|
-
"
|
|
767
|
+
"function",
|
|
768
|
+
"create",
|
|
651
769
|
"index.js"
|
|
652
770
|
]
|
|
653
771
|
},
|
|
@@ -989,19 +1107,61 @@
|
|
|
989
1107
|
"index.js"
|
|
990
1108
|
]
|
|
991
1109
|
},
|
|
992
|
-
"profile:
|
|
1110
|
+
"profile:delete": {
|
|
993
1111
|
"aliases": [],
|
|
994
1112
|
"args": {
|
|
995
1113
|
"name": {
|
|
996
|
-
"description": "Profile name",
|
|
1114
|
+
"description": "Profile name to delete",
|
|
997
1115
|
"name": "name",
|
|
998
1116
|
"required": true
|
|
999
1117
|
}
|
|
1000
1118
|
},
|
|
1001
|
-
"description": "
|
|
1119
|
+
"description": "Delete a profile configuration",
|
|
1002
1120
|
"examples": [
|
|
1003
|
-
"$ xano profile:
|
|
1004
|
-
"$ xano profile:
|
|
1121
|
+
"$ 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",
|
|
1122
|
+
"$ xano profile:delete old-profile --force\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n",
|
|
1123
|
+
"$ xano profile:delete old-profile -f\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n"
|
|
1124
|
+
],
|
|
1125
|
+
"flags": {
|
|
1126
|
+
"force": {
|
|
1127
|
+
"char": "f",
|
|
1128
|
+
"description": "Skip confirmation prompt",
|
|
1129
|
+
"name": "force",
|
|
1130
|
+
"required": false,
|
|
1131
|
+
"allowNo": false,
|
|
1132
|
+
"type": "boolean"
|
|
1133
|
+
}
|
|
1134
|
+
},
|
|
1135
|
+
"hasDynamicHelp": false,
|
|
1136
|
+
"hiddenAliases": [],
|
|
1137
|
+
"id": "profile:delete",
|
|
1138
|
+
"pluginAlias": "@xano/cli",
|
|
1139
|
+
"pluginName": "@xano/cli",
|
|
1140
|
+
"pluginType": "core",
|
|
1141
|
+
"strict": true,
|
|
1142
|
+
"enableJsonFlag": false,
|
|
1143
|
+
"isESM": true,
|
|
1144
|
+
"relativePath": [
|
|
1145
|
+
"dist",
|
|
1146
|
+
"commands",
|
|
1147
|
+
"profile",
|
|
1148
|
+
"delete",
|
|
1149
|
+
"index.js"
|
|
1150
|
+
]
|
|
1151
|
+
},
|
|
1152
|
+
"profile:create": {
|
|
1153
|
+
"aliases": [],
|
|
1154
|
+
"args": {
|
|
1155
|
+
"name": {
|
|
1156
|
+
"description": "Profile name",
|
|
1157
|
+
"name": "name",
|
|
1158
|
+
"required": true
|
|
1159
|
+
}
|
|
1160
|
+
},
|
|
1161
|
+
"description": "Create a new profile configuration",
|
|
1162
|
+
"examples": [
|
|
1163
|
+
"$ 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",
|
|
1164
|
+
"$ 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",
|
|
1005
1165
|
"$ 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",
|
|
1006
1166
|
"$ 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",
|
|
1007
1167
|
"$ xano profile:create selfhosted -i https://self-signed.example.com -t token123 --insecure\nProfile 'selfhosted' created successfully at ~/.xano/credentials.yaml\n"
|
|
@@ -1085,250 +1245,6 @@
|
|
|
1085
1245
|
"index.js"
|
|
1086
1246
|
]
|
|
1087
1247
|
},
|
|
1088
|
-
"platform:get": {
|
|
1089
|
-
"aliases": [],
|
|
1090
|
-
"args": {
|
|
1091
|
-
"platform_id": {
|
|
1092
|
-
"description": "Platform ID to retrieve",
|
|
1093
|
-
"name": "platform_id",
|
|
1094
|
-
"required": true
|
|
1095
|
-
}
|
|
1096
|
-
},
|
|
1097
|
-
"description": "Get details of a specific platform",
|
|
1098
|
-
"examples": [
|
|
1099
|
-
"$ 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",
|
|
1100
|
-
"$ xano platform get 23629 -o json"
|
|
1101
|
-
],
|
|
1102
|
-
"flags": {
|
|
1103
|
-
"profile": {
|
|
1104
|
-
"char": "p",
|
|
1105
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
1106
|
-
"env": "XANO_PROFILE",
|
|
1107
|
-
"name": "profile",
|
|
1108
|
-
"required": false,
|
|
1109
|
-
"hasDynamicHelp": false,
|
|
1110
|
-
"multiple": false,
|
|
1111
|
-
"type": "option"
|
|
1112
|
-
},
|
|
1113
|
-
"verbose": {
|
|
1114
|
-
"char": "v",
|
|
1115
|
-
"description": "Show detailed request/response information",
|
|
1116
|
-
"env": "XANO_VERBOSE",
|
|
1117
|
-
"name": "verbose",
|
|
1118
|
-
"required": false,
|
|
1119
|
-
"allowNo": false,
|
|
1120
|
-
"type": "boolean"
|
|
1121
|
-
},
|
|
1122
|
-
"output": {
|
|
1123
|
-
"char": "o",
|
|
1124
|
-
"description": "Output format",
|
|
1125
|
-
"name": "output",
|
|
1126
|
-
"required": false,
|
|
1127
|
-
"default": "summary",
|
|
1128
|
-
"hasDynamicHelp": false,
|
|
1129
|
-
"multiple": false,
|
|
1130
|
-
"options": [
|
|
1131
|
-
"summary",
|
|
1132
|
-
"json"
|
|
1133
|
-
],
|
|
1134
|
-
"type": "option"
|
|
1135
|
-
}
|
|
1136
|
-
},
|
|
1137
|
-
"hasDynamicHelp": false,
|
|
1138
|
-
"hiddenAliases": [],
|
|
1139
|
-
"id": "platform:get",
|
|
1140
|
-
"pluginAlias": "@xano/cli",
|
|
1141
|
-
"pluginName": "@xano/cli",
|
|
1142
|
-
"pluginType": "core",
|
|
1143
|
-
"strict": true,
|
|
1144
|
-
"enableJsonFlag": false,
|
|
1145
|
-
"isESM": true,
|
|
1146
|
-
"relativePath": [
|
|
1147
|
-
"dist",
|
|
1148
|
-
"commands",
|
|
1149
|
-
"platform",
|
|
1150
|
-
"get",
|
|
1151
|
-
"index.js"
|
|
1152
|
-
]
|
|
1153
|
-
},
|
|
1154
|
-
"platform:list": {
|
|
1155
|
-
"aliases": [],
|
|
1156
|
-
"args": {},
|
|
1157
|
-
"description": "List all platforms",
|
|
1158
|
-
"examples": [
|
|
1159
|
-
"$ xano platform list\nPlatforms:\n ID: 23629 | Helm: 0.1.356 | Created: 2025-11-28\n",
|
|
1160
|
-
"$ xano platform list --output json"
|
|
1161
|
-
],
|
|
1162
|
-
"flags": {
|
|
1163
|
-
"profile": {
|
|
1164
|
-
"char": "p",
|
|
1165
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
1166
|
-
"env": "XANO_PROFILE",
|
|
1167
|
-
"name": "profile",
|
|
1168
|
-
"required": false,
|
|
1169
|
-
"hasDynamicHelp": false,
|
|
1170
|
-
"multiple": false,
|
|
1171
|
-
"type": "option"
|
|
1172
|
-
},
|
|
1173
|
-
"verbose": {
|
|
1174
|
-
"char": "v",
|
|
1175
|
-
"description": "Show detailed request/response information",
|
|
1176
|
-
"env": "XANO_VERBOSE",
|
|
1177
|
-
"name": "verbose",
|
|
1178
|
-
"required": false,
|
|
1179
|
-
"allowNo": false,
|
|
1180
|
-
"type": "boolean"
|
|
1181
|
-
},
|
|
1182
|
-
"output": {
|
|
1183
|
-
"char": "o",
|
|
1184
|
-
"description": "Output format",
|
|
1185
|
-
"name": "output",
|
|
1186
|
-
"required": false,
|
|
1187
|
-
"default": "summary",
|
|
1188
|
-
"hasDynamicHelp": false,
|
|
1189
|
-
"multiple": false,
|
|
1190
|
-
"options": [
|
|
1191
|
-
"summary",
|
|
1192
|
-
"json"
|
|
1193
|
-
],
|
|
1194
|
-
"type": "option"
|
|
1195
|
-
}
|
|
1196
|
-
},
|
|
1197
|
-
"hasDynamicHelp": false,
|
|
1198
|
-
"hiddenAliases": [],
|
|
1199
|
-
"id": "platform:list",
|
|
1200
|
-
"pluginAlias": "@xano/cli",
|
|
1201
|
-
"pluginName": "@xano/cli",
|
|
1202
|
-
"pluginType": "core",
|
|
1203
|
-
"strict": true,
|
|
1204
|
-
"enableJsonFlag": false,
|
|
1205
|
-
"isESM": true,
|
|
1206
|
-
"relativePath": [
|
|
1207
|
-
"dist",
|
|
1208
|
-
"commands",
|
|
1209
|
-
"platform",
|
|
1210
|
-
"list",
|
|
1211
|
-
"index.js"
|
|
1212
|
-
]
|
|
1213
|
-
},
|
|
1214
|
-
"branch:get": {
|
|
1215
|
-
"aliases": [],
|
|
1216
|
-
"args": {
|
|
1217
|
-
"branch_label": {
|
|
1218
|
-
"description": "Branch label (e.g., \"v1\", \"dev\")",
|
|
1219
|
-
"name": "branch_label",
|
|
1220
|
-
"required": true
|
|
1221
|
-
}
|
|
1222
|
-
},
|
|
1223
|
-
"description": "Get details for a specific branch",
|
|
1224
|
-
"examples": [
|
|
1225
|
-
"$ xano branch get v1\nBranch: v1 (live)\n Created: 2024-01-15\n",
|
|
1226
|
-
"$ xano branch get dev -w 123\nBranch: dev\n Created: 2024-02-01\n",
|
|
1227
|
-
"$ 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"
|
|
1228
|
-
],
|
|
1229
|
-
"flags": {
|
|
1230
|
-
"profile": {
|
|
1231
|
-
"char": "p",
|
|
1232
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
1233
|
-
"env": "XANO_PROFILE",
|
|
1234
|
-
"name": "profile",
|
|
1235
|
-
"required": false,
|
|
1236
|
-
"hasDynamicHelp": false,
|
|
1237
|
-
"multiple": false,
|
|
1238
|
-
"type": "option"
|
|
1239
|
-
},
|
|
1240
|
-
"verbose": {
|
|
1241
|
-
"char": "v",
|
|
1242
|
-
"description": "Show detailed request/response information",
|
|
1243
|
-
"env": "XANO_VERBOSE",
|
|
1244
|
-
"name": "verbose",
|
|
1245
|
-
"required": false,
|
|
1246
|
-
"allowNo": false,
|
|
1247
|
-
"type": "boolean"
|
|
1248
|
-
},
|
|
1249
|
-
"output": {
|
|
1250
|
-
"char": "o",
|
|
1251
|
-
"description": "Output format",
|
|
1252
|
-
"name": "output",
|
|
1253
|
-
"required": false,
|
|
1254
|
-
"default": "summary",
|
|
1255
|
-
"hasDynamicHelp": false,
|
|
1256
|
-
"multiple": false,
|
|
1257
|
-
"options": [
|
|
1258
|
-
"summary",
|
|
1259
|
-
"json"
|
|
1260
|
-
],
|
|
1261
|
-
"type": "option"
|
|
1262
|
-
},
|
|
1263
|
-
"workspace": {
|
|
1264
|
-
"char": "w",
|
|
1265
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
1266
|
-
"name": "workspace",
|
|
1267
|
-
"required": false,
|
|
1268
|
-
"hasDynamicHelp": false,
|
|
1269
|
-
"multiple": false,
|
|
1270
|
-
"type": "option"
|
|
1271
|
-
}
|
|
1272
|
-
},
|
|
1273
|
-
"hasDynamicHelp": false,
|
|
1274
|
-
"hiddenAliases": [],
|
|
1275
|
-
"id": "branch:get",
|
|
1276
|
-
"pluginAlias": "@xano/cli",
|
|
1277
|
-
"pluginName": "@xano/cli",
|
|
1278
|
-
"pluginType": "core",
|
|
1279
|
-
"strict": true,
|
|
1280
|
-
"enableJsonFlag": false,
|
|
1281
|
-
"isESM": true,
|
|
1282
|
-
"relativePath": [
|
|
1283
|
-
"dist",
|
|
1284
|
-
"commands",
|
|
1285
|
-
"branch",
|
|
1286
|
-
"get",
|
|
1287
|
-
"index.js"
|
|
1288
|
-
]
|
|
1289
|
-
},
|
|
1290
|
-
"profile:delete": {
|
|
1291
|
-
"aliases": [],
|
|
1292
|
-
"args": {
|
|
1293
|
-
"name": {
|
|
1294
|
-
"description": "Profile name to delete",
|
|
1295
|
-
"name": "name",
|
|
1296
|
-
"required": true
|
|
1297
|
-
}
|
|
1298
|
-
},
|
|
1299
|
-
"description": "Delete a profile configuration",
|
|
1300
|
-
"examples": [
|
|
1301
|
-
"$ 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",
|
|
1302
|
-
"$ xano profile:delete old-profile --force\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n",
|
|
1303
|
-
"$ xano profile:delete old-profile -f\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n"
|
|
1304
|
-
],
|
|
1305
|
-
"flags": {
|
|
1306
|
-
"force": {
|
|
1307
|
-
"char": "f",
|
|
1308
|
-
"description": "Skip confirmation prompt",
|
|
1309
|
-
"name": "force",
|
|
1310
|
-
"required": false,
|
|
1311
|
-
"allowNo": false,
|
|
1312
|
-
"type": "boolean"
|
|
1313
|
-
}
|
|
1314
|
-
},
|
|
1315
|
-
"hasDynamicHelp": false,
|
|
1316
|
-
"hiddenAliases": [],
|
|
1317
|
-
"id": "profile:delete",
|
|
1318
|
-
"pluginAlias": "@xano/cli",
|
|
1319
|
-
"pluginName": "@xano/cli",
|
|
1320
|
-
"pluginType": "core",
|
|
1321
|
-
"strict": true,
|
|
1322
|
-
"enableJsonFlag": false,
|
|
1323
|
-
"isESM": true,
|
|
1324
|
-
"relativePath": [
|
|
1325
|
-
"dist",
|
|
1326
|
-
"commands",
|
|
1327
|
-
"profile",
|
|
1328
|
-
"delete",
|
|
1329
|
-
"index.js"
|
|
1330
|
-
]
|
|
1331
|
-
},
|
|
1332
1248
|
"profile:edit": {
|
|
1333
1249
|
"aliases": [],
|
|
1334
1250
|
"args": {
|
|
@@ -1459,6 +1375,42 @@
|
|
|
1459
1375
|
"index.js"
|
|
1460
1376
|
]
|
|
1461
1377
|
},
|
|
1378
|
+
"profile:list": {
|
|
1379
|
+
"aliases": [],
|
|
1380
|
+
"args": {},
|
|
1381
|
+
"description": "List all available profile configurations",
|
|
1382
|
+
"examples": [
|
|
1383
|
+
"$ xano profile:list\nAvailable profiles:\n - default\n - production\n - staging\n - development\n",
|
|
1384
|
+
"$ 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",
|
|
1385
|
+
"$ 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"
|
|
1386
|
+
],
|
|
1387
|
+
"flags": {
|
|
1388
|
+
"details": {
|
|
1389
|
+
"char": "d",
|
|
1390
|
+
"description": "Show detailed information for each profile",
|
|
1391
|
+
"name": "details",
|
|
1392
|
+
"required": false,
|
|
1393
|
+
"allowNo": false,
|
|
1394
|
+
"type": "boolean"
|
|
1395
|
+
}
|
|
1396
|
+
},
|
|
1397
|
+
"hasDynamicHelp": false,
|
|
1398
|
+
"hiddenAliases": [],
|
|
1399
|
+
"id": "profile:list",
|
|
1400
|
+
"pluginAlias": "@xano/cli",
|
|
1401
|
+
"pluginName": "@xano/cli",
|
|
1402
|
+
"pluginType": "core",
|
|
1403
|
+
"strict": true,
|
|
1404
|
+
"enableJsonFlag": false,
|
|
1405
|
+
"isESM": true,
|
|
1406
|
+
"relativePath": [
|
|
1407
|
+
"dist",
|
|
1408
|
+
"commands",
|
|
1409
|
+
"profile",
|
|
1410
|
+
"list",
|
|
1411
|
+
"index.js"
|
|
1412
|
+
]
|
|
1413
|
+
},
|
|
1462
1414
|
"profile:get": {
|
|
1463
1415
|
"aliases": [],
|
|
1464
1416
|
"args": {},
|
|
@@ -1576,18 +1528,45 @@
|
|
|
1576
1528
|
"index.js"
|
|
1577
1529
|
]
|
|
1578
1530
|
},
|
|
1579
|
-
"profile:
|
|
1531
|
+
"profile:wizard": {
|
|
1580
1532
|
"aliases": [],
|
|
1581
1533
|
"args": {},
|
|
1582
|
-
"description": "
|
|
1534
|
+
"description": "Create a new profile configuration using an interactive wizard",
|
|
1583
1535
|
"examples": [
|
|
1584
|
-
"$ xano profile:token\
|
|
1585
|
-
"$ xano profile:token | pbcopy\n# Copies the token to clipboard on macOS\n"
|
|
1536
|
+
"$ 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"
|
|
1586
1537
|
],
|
|
1587
|
-
"flags": {
|
|
1538
|
+
"flags": {
|
|
1539
|
+
"insecure": {
|
|
1540
|
+
"char": "k",
|
|
1541
|
+
"description": "Skip TLS certificate verification (for self-signed certificates)",
|
|
1542
|
+
"name": "insecure",
|
|
1543
|
+
"required": false,
|
|
1544
|
+
"allowNo": false,
|
|
1545
|
+
"type": "boolean"
|
|
1546
|
+
},
|
|
1547
|
+
"name": {
|
|
1548
|
+
"char": "n",
|
|
1549
|
+
"description": "Profile name (skip prompt if provided)",
|
|
1550
|
+
"name": "name",
|
|
1551
|
+
"required": false,
|
|
1552
|
+
"hasDynamicHelp": false,
|
|
1553
|
+
"multiple": false,
|
|
1554
|
+
"type": "option"
|
|
1555
|
+
},
|
|
1556
|
+
"origin": {
|
|
1557
|
+
"char": "o",
|
|
1558
|
+
"description": "Xano instance origin URL",
|
|
1559
|
+
"name": "origin",
|
|
1560
|
+
"required": false,
|
|
1561
|
+
"default": "https://app.xano.com",
|
|
1562
|
+
"hasDynamicHelp": false,
|
|
1563
|
+
"multiple": false,
|
|
1564
|
+
"type": "option"
|
|
1565
|
+
}
|
|
1566
|
+
},
|
|
1588
1567
|
"hasDynamicHelp": false,
|
|
1589
1568
|
"hiddenAliases": [],
|
|
1590
|
-
"id": "profile:
|
|
1569
|
+
"id": "profile:wizard",
|
|
1591
1570
|
"pluginAlias": "@xano/cli",
|
|
1592
1571
|
"pluginName": "@xano/cli",
|
|
1593
1572
|
"pluginType": "core",
|
|
@@ -1598,32 +1577,22 @@
|
|
|
1598
1577
|
"dist",
|
|
1599
1578
|
"commands",
|
|
1600
1579
|
"profile",
|
|
1601
|
-
"
|
|
1580
|
+
"wizard",
|
|
1602
1581
|
"index.js"
|
|
1603
1582
|
]
|
|
1604
1583
|
},
|
|
1605
|
-
"profile:
|
|
1584
|
+
"profile:token": {
|
|
1606
1585
|
"aliases": [],
|
|
1607
1586
|
"args": {},
|
|
1608
|
-
"description": "
|
|
1587
|
+
"description": "Print the access token for the default profile",
|
|
1609
1588
|
"examples": [
|
|
1610
|
-
"$ xano profile:
|
|
1611
|
-
"$ xano profile:
|
|
1612
|
-
"$ 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"
|
|
1589
|
+
"$ xano profile:token\neyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...\n",
|
|
1590
|
+
"$ xano profile:token | pbcopy\n# Copies the token to clipboard on macOS\n"
|
|
1613
1591
|
],
|
|
1614
|
-
"flags": {
|
|
1615
|
-
"details": {
|
|
1616
|
-
"char": "d",
|
|
1617
|
-
"description": "Show detailed information for each profile",
|
|
1618
|
-
"name": "details",
|
|
1619
|
-
"required": false,
|
|
1620
|
-
"allowNo": false,
|
|
1621
|
-
"type": "boolean"
|
|
1622
|
-
}
|
|
1623
|
-
},
|
|
1592
|
+
"flags": {},
|
|
1624
1593
|
"hasDynamicHelp": false,
|
|
1625
1594
|
"hiddenAliases": [],
|
|
1626
|
-
"id": "profile:
|
|
1595
|
+
"id": "profile:token",
|
|
1627
1596
|
"pluginAlias": "@xano/cli",
|
|
1628
1597
|
"pluginName": "@xano/cli",
|
|
1629
1598
|
"pluginType": "core",
|
|
@@ -1634,49 +1603,22 @@
|
|
|
1634
1603
|
"dist",
|
|
1635
1604
|
"commands",
|
|
1636
1605
|
"profile",
|
|
1637
|
-
"
|
|
1606
|
+
"token",
|
|
1638
1607
|
"index.js"
|
|
1639
1608
|
]
|
|
1640
1609
|
},
|
|
1641
|
-
"profile:
|
|
1610
|
+
"profile:workspace": {
|
|
1642
1611
|
"aliases": [],
|
|
1643
1612
|
"args": {},
|
|
1644
|
-
"description": "
|
|
1613
|
+
"description": "Print the workspace ID for the default profile",
|
|
1645
1614
|
"examples": [
|
|
1646
|
-
"$ xano profile:
|
|
1615
|
+
"$ xano profile:workspace\nabc123-workspace-id\n",
|
|
1616
|
+
"$ xano profile:workspace | pbcopy\n# Copies the workspace ID to clipboard on macOS\n"
|
|
1647
1617
|
],
|
|
1648
|
-
"flags": {
|
|
1649
|
-
"insecure": {
|
|
1650
|
-
"char": "k",
|
|
1651
|
-
"description": "Skip TLS certificate verification (for self-signed certificates)",
|
|
1652
|
-
"name": "insecure",
|
|
1653
|
-
"required": false,
|
|
1654
|
-
"allowNo": false,
|
|
1655
|
-
"type": "boolean"
|
|
1656
|
-
},
|
|
1657
|
-
"name": {
|
|
1658
|
-
"char": "n",
|
|
1659
|
-
"description": "Profile name (skip prompt if provided)",
|
|
1660
|
-
"name": "name",
|
|
1661
|
-
"required": false,
|
|
1662
|
-
"hasDynamicHelp": false,
|
|
1663
|
-
"multiple": false,
|
|
1664
|
-
"type": "option"
|
|
1665
|
-
},
|
|
1666
|
-
"origin": {
|
|
1667
|
-
"char": "o",
|
|
1668
|
-
"description": "Xano instance origin URL",
|
|
1669
|
-
"name": "origin",
|
|
1670
|
-
"required": false,
|
|
1671
|
-
"default": "https://app.xano.com",
|
|
1672
|
-
"hasDynamicHelp": false,
|
|
1673
|
-
"multiple": false,
|
|
1674
|
-
"type": "option"
|
|
1675
|
-
}
|
|
1676
|
-
},
|
|
1618
|
+
"flags": {},
|
|
1677
1619
|
"hasDynamicHelp": false,
|
|
1678
1620
|
"hiddenAliases": [],
|
|
1679
|
-
"id": "profile:
|
|
1621
|
+
"id": "profile:workspace",
|
|
1680
1622
|
"pluginAlias": "@xano/cli",
|
|
1681
1623
|
"pluginName": "@xano/cli",
|
|
1682
1624
|
"pluginType": "core",
|
|
@@ -1687,7 +1629,7 @@
|
|
|
1687
1629
|
"dist",
|
|
1688
1630
|
"commands",
|
|
1689
1631
|
"profile",
|
|
1690
|
-
"
|
|
1632
|
+
"workspace",
|
|
1691
1633
|
"index.js"
|
|
1692
1634
|
]
|
|
1693
1635
|
},
|
|
@@ -1773,47 +1715,21 @@
|
|
|
1773
1715
|
"required": false,
|
|
1774
1716
|
"hasDynamicHelp": false,
|
|
1775
1717
|
"multiple": false,
|
|
1776
|
-
"type": "option"
|
|
1777
|
-
},
|
|
1778
|
-
"workspace": {
|
|
1779
|
-
"char": "w",
|
|
1780
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
1781
|
-
"name": "workspace",
|
|
1782
|
-
"required": false,
|
|
1783
|
-
"hasDynamicHelp": false,
|
|
1784
|
-
"multiple": false,
|
|
1785
|
-
"type": "option"
|
|
1786
|
-
}
|
|
1787
|
-
},
|
|
1788
|
-
"hasDynamicHelp": false,
|
|
1789
|
-
"hiddenAliases": [],
|
|
1790
|
-
"id": "release:create",
|
|
1791
|
-
"pluginAlias": "@xano/cli",
|
|
1792
|
-
"pluginName": "@xano/cli",
|
|
1793
|
-
"pluginType": "core",
|
|
1794
|
-
"strict": true,
|
|
1795
|
-
"enableJsonFlag": false,
|
|
1796
|
-
"isESM": true,
|
|
1797
|
-
"relativePath": [
|
|
1798
|
-
"dist",
|
|
1799
|
-
"commands",
|
|
1800
|
-
"release",
|
|
1801
|
-
"create",
|
|
1802
|
-
"index.js"
|
|
1803
|
-
]
|
|
1804
|
-
},
|
|
1805
|
-
"profile:workspace": {
|
|
1806
|
-
"aliases": [],
|
|
1807
|
-
"args": {},
|
|
1808
|
-
"description": "Print the workspace ID for the default profile",
|
|
1809
|
-
"examples": [
|
|
1810
|
-
"$ xano profile:workspace\nabc123-workspace-id\n",
|
|
1811
|
-
"$ xano profile:workspace | pbcopy\n# Copies the workspace ID to clipboard on macOS\n"
|
|
1812
|
-
],
|
|
1813
|
-
"flags": {},
|
|
1718
|
+
"type": "option"
|
|
1719
|
+
},
|
|
1720
|
+
"workspace": {
|
|
1721
|
+
"char": "w",
|
|
1722
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
1723
|
+
"name": "workspace",
|
|
1724
|
+
"required": false,
|
|
1725
|
+
"hasDynamicHelp": false,
|
|
1726
|
+
"multiple": false,
|
|
1727
|
+
"type": "option"
|
|
1728
|
+
}
|
|
1729
|
+
},
|
|
1814
1730
|
"hasDynamicHelp": false,
|
|
1815
1731
|
"hiddenAliases": [],
|
|
1816
|
-
"id": "
|
|
1732
|
+
"id": "release:create",
|
|
1817
1733
|
"pluginAlias": "@xano/cli",
|
|
1818
1734
|
"pluginName": "@xano/cli",
|
|
1819
1735
|
"pluginType": "core",
|
|
@@ -1823,24 +1739,25 @@
|
|
|
1823
1739
|
"relativePath": [
|
|
1824
1740
|
"dist",
|
|
1825
1741
|
"commands",
|
|
1826
|
-
"
|
|
1827
|
-
"
|
|
1742
|
+
"release",
|
|
1743
|
+
"create",
|
|
1828
1744
|
"index.js"
|
|
1829
1745
|
]
|
|
1830
1746
|
},
|
|
1831
|
-
"release:
|
|
1747
|
+
"release:delete": {
|
|
1832
1748
|
"aliases": [],
|
|
1833
1749
|
"args": {
|
|
1834
1750
|
"release_name": {
|
|
1835
|
-
"description": "Release name to
|
|
1751
|
+
"description": "Release name to delete",
|
|
1836
1752
|
"name": "release_name",
|
|
1837
1753
|
"required": true
|
|
1838
1754
|
}
|
|
1839
1755
|
},
|
|
1840
|
-
"description": "
|
|
1756
|
+
"description": "Delete a release permanently. This action cannot be undone.",
|
|
1841
1757
|
"examples": [
|
|
1842
|
-
"$ xano release
|
|
1843
|
-
"$ xano release
|
|
1758
|
+
"$ xano release delete v1.0\nAre you sure you want to delete release 'v1.0'? This action cannot be undone. (y/N) y\nDeleted release 'v1.0'\n",
|
|
1759
|
+
"$ xano release delete v1.0 --force\nDeleted release 'v1.0'\n",
|
|
1760
|
+
"$ xano release delete v1.0 -f -o json"
|
|
1844
1761
|
],
|
|
1845
1762
|
"flags": {
|
|
1846
1763
|
"profile": {
|
|
@@ -1862,6 +1779,14 @@
|
|
|
1862
1779
|
"allowNo": false,
|
|
1863
1780
|
"type": "boolean"
|
|
1864
1781
|
},
|
|
1782
|
+
"force": {
|
|
1783
|
+
"char": "f",
|
|
1784
|
+
"description": "Skip confirmation prompt",
|
|
1785
|
+
"name": "force",
|
|
1786
|
+
"required": false,
|
|
1787
|
+
"allowNo": false,
|
|
1788
|
+
"type": "boolean"
|
|
1789
|
+
},
|
|
1865
1790
|
"output": {
|
|
1866
1791
|
"char": "o",
|
|
1867
1792
|
"description": "Output format",
|
|
@@ -1888,7 +1813,7 @@
|
|
|
1888
1813
|
},
|
|
1889
1814
|
"hasDynamicHelp": false,
|
|
1890
1815
|
"hiddenAliases": [],
|
|
1891
|
-
"id": "release:
|
|
1816
|
+
"id": "release:delete",
|
|
1892
1817
|
"pluginAlias": "@xano/cli",
|
|
1893
1818
|
"pluginName": "@xano/cli",
|
|
1894
1819
|
"pluginType": "core",
|
|
@@ -1899,7 +1824,7 @@
|
|
|
1899
1824
|
"dist",
|
|
1900
1825
|
"commands",
|
|
1901
1826
|
"release",
|
|
1902
|
-
"
|
|
1827
|
+
"delete",
|
|
1903
1828
|
"index.js"
|
|
1904
1829
|
]
|
|
1905
1830
|
},
|
|
@@ -2080,20 +2005,19 @@
|
|
|
2080
2005
|
"index.js"
|
|
2081
2006
|
]
|
|
2082
2007
|
},
|
|
2083
|
-
"release:
|
|
2008
|
+
"release:get": {
|
|
2084
2009
|
"aliases": [],
|
|
2085
2010
|
"args": {
|
|
2086
2011
|
"release_name": {
|
|
2087
|
-
"description": "Release name to
|
|
2012
|
+
"description": "Release name to retrieve",
|
|
2088
2013
|
"name": "release_name",
|
|
2089
2014
|
"required": true
|
|
2090
2015
|
}
|
|
2091
2016
|
},
|
|
2092
|
-
"description": "
|
|
2017
|
+
"description": "Get details of a specific release",
|
|
2093
2018
|
"examples": [
|
|
2094
|
-
"$ xano release
|
|
2095
|
-
"$ xano release
|
|
2096
|
-
"$ xano release delete v1.0 -f -o json"
|
|
2019
|
+
"$ xano release get v1.0\nRelease: v1.0 - ID: 10\n Branch: main\n Description: Initial release\n Hotfix: false\n",
|
|
2020
|
+
"$ xano release get v1.0 -w 5 -o json"
|
|
2097
2021
|
],
|
|
2098
2022
|
"flags": {
|
|
2099
2023
|
"profile": {
|
|
@@ -2115,14 +2039,6 @@
|
|
|
2115
2039
|
"allowNo": false,
|
|
2116
2040
|
"type": "boolean"
|
|
2117
2041
|
},
|
|
2118
|
-
"force": {
|
|
2119
|
-
"char": "f",
|
|
2120
|
-
"description": "Skip confirmation prompt",
|
|
2121
|
-
"name": "force",
|
|
2122
|
-
"required": false,
|
|
2123
|
-
"allowNo": false,
|
|
2124
|
-
"type": "boolean"
|
|
2125
|
-
},
|
|
2126
2042
|
"output": {
|
|
2127
2043
|
"char": "o",
|
|
2128
2044
|
"description": "Output format",
|
|
@@ -2149,7 +2065,7 @@
|
|
|
2149
2065
|
},
|
|
2150
2066
|
"hasDynamicHelp": false,
|
|
2151
2067
|
"hiddenAliases": [],
|
|
2152
|
-
"id": "release:
|
|
2068
|
+
"id": "release:get",
|
|
2153
2069
|
"pluginAlias": "@xano/cli",
|
|
2154
2070
|
"pluginName": "@xano/cli",
|
|
2155
2071
|
"pluginType": "core",
|
|
@@ -2160,17 +2076,17 @@
|
|
|
2160
2076
|
"dist",
|
|
2161
2077
|
"commands",
|
|
2162
2078
|
"release",
|
|
2163
|
-
"
|
|
2079
|
+
"get",
|
|
2164
2080
|
"index.js"
|
|
2165
2081
|
]
|
|
2166
2082
|
},
|
|
2167
|
-
"release:
|
|
2083
|
+
"release:import": {
|
|
2168
2084
|
"aliases": [],
|
|
2169
2085
|
"args": {},
|
|
2170
|
-
"description": "
|
|
2086
|
+
"description": "Import a release file into a workspace",
|
|
2171
2087
|
"examples": [
|
|
2172
|
-
"$ xano release
|
|
2173
|
-
"$ xano release
|
|
2088
|
+
"$ xano release import --file ./my-release.tar.gz\nImported release as #15\n",
|
|
2089
|
+
"$ xano release import --file ./my-release.tar.gz -o json"
|
|
2174
2090
|
],
|
|
2175
2091
|
"flags": {
|
|
2176
2092
|
"profile": {
|
|
@@ -2192,6 +2108,15 @@
|
|
|
2192
2108
|
"allowNo": false,
|
|
2193
2109
|
"type": "boolean"
|
|
2194
2110
|
},
|
|
2111
|
+
"file": {
|
|
2112
|
+
"char": "f",
|
|
2113
|
+
"description": "Path to the release file (.tar.gz)",
|
|
2114
|
+
"name": "file",
|
|
2115
|
+
"required": true,
|
|
2116
|
+
"hasDynamicHelp": false,
|
|
2117
|
+
"multiple": false,
|
|
2118
|
+
"type": "option"
|
|
2119
|
+
},
|
|
2195
2120
|
"output": {
|
|
2196
2121
|
"char": "o",
|
|
2197
2122
|
"description": "Output format",
|
|
@@ -2218,7 +2143,7 @@
|
|
|
2218
2143
|
},
|
|
2219
2144
|
"hasDynamicHelp": false,
|
|
2220
2145
|
"hiddenAliases": [],
|
|
2221
|
-
"id": "release:
|
|
2146
|
+
"id": "release:import",
|
|
2222
2147
|
"pluginAlias": "@xano/cli",
|
|
2223
2148
|
"pluginName": "@xano/cli",
|
|
2224
2149
|
"pluginType": "core",
|
|
@@ -2229,17 +2154,17 @@
|
|
|
2229
2154
|
"dist",
|
|
2230
2155
|
"commands",
|
|
2231
2156
|
"release",
|
|
2232
|
-
"
|
|
2157
|
+
"import",
|
|
2233
2158
|
"index.js"
|
|
2234
2159
|
]
|
|
2235
2160
|
},
|
|
2236
|
-
"release:
|
|
2161
|
+
"release:list": {
|
|
2237
2162
|
"aliases": [],
|
|
2238
2163
|
"args": {},
|
|
2239
|
-
"description": "
|
|
2164
|
+
"description": "List all releases in a workspace",
|
|
2240
2165
|
"examples": [
|
|
2241
|
-
"$ xano release
|
|
2242
|
-
"$ xano release
|
|
2166
|
+
"$ xano release list\nReleases in workspace 5:\n - v1.0 (ID: 10) - main\n - v1.1-hotfix (ID: 11) - main [hotfix]\n",
|
|
2167
|
+
"$ xano release list -w 5 --output json"
|
|
2243
2168
|
],
|
|
2244
2169
|
"flags": {
|
|
2245
2170
|
"profile": {
|
|
@@ -2261,15 +2186,6 @@
|
|
|
2261
2186
|
"allowNo": false,
|
|
2262
2187
|
"type": "boolean"
|
|
2263
2188
|
},
|
|
2264
|
-
"file": {
|
|
2265
|
-
"char": "f",
|
|
2266
|
-
"description": "Path to the release file (.tar.gz)",
|
|
2267
|
-
"name": "file",
|
|
2268
|
-
"required": true,
|
|
2269
|
-
"hasDynamicHelp": false,
|
|
2270
|
-
"multiple": false,
|
|
2271
|
-
"type": "option"
|
|
2272
|
-
},
|
|
2273
2189
|
"output": {
|
|
2274
2190
|
"char": "o",
|
|
2275
2191
|
"description": "Output format",
|
|
@@ -2296,7 +2212,7 @@
|
|
|
2296
2212
|
},
|
|
2297
2213
|
"hasDynamicHelp": false,
|
|
2298
2214
|
"hiddenAliases": [],
|
|
2299
|
-
"id": "release:
|
|
2215
|
+
"id": "release:list",
|
|
2300
2216
|
"pluginAlias": "@xano/cli",
|
|
2301
2217
|
"pluginName": "@xano/cli",
|
|
2302
2218
|
"pluginType": "core",
|
|
@@ -2307,7 +2223,7 @@
|
|
|
2307
2223
|
"dist",
|
|
2308
2224
|
"commands",
|
|
2309
2225
|
"release",
|
|
2310
|
-
"
|
|
2226
|
+
"list",
|
|
2311
2227
|
"index.js"
|
|
2312
2228
|
]
|
|
2313
2229
|
},
|
|
@@ -2396,15 +2312,22 @@
|
|
|
2396
2312
|
"index.js"
|
|
2397
2313
|
]
|
|
2398
2314
|
},
|
|
2399
|
-
"
|
|
2315
|
+
"release:push": {
|
|
2400
2316
|
"aliases": [],
|
|
2401
|
-
"args": {
|
|
2402
|
-
|
|
2317
|
+
"args": {
|
|
2318
|
+
"directory": {
|
|
2319
|
+
"description": "Directory containing .xs documents to create the release from",
|
|
2320
|
+
"name": "directory",
|
|
2321
|
+
"required": true
|
|
2322
|
+
}
|
|
2323
|
+
},
|
|
2324
|
+
"description": "Create a new release from local XanoScript files via the multidoc endpoint",
|
|
2403
2325
|
"examples": [
|
|
2404
|
-
"$ xano
|
|
2405
|
-
"$ xano
|
|
2406
|
-
"$ xano
|
|
2407
|
-
"$ xano
|
|
2326
|
+
"$ xano release push ./my-release -n \"v1.0\"\nCreated release: v1.0 - ID: 10\n",
|
|
2327
|
+
"$ xano release push ./output -n \"v2.0\" -w 40 -d \"Major update\"\nCreated release: v2.0 - ID: 15\n",
|
|
2328
|
+
"$ xano release push ./backup -n \"v1.1-hotfix\" --hotfix --profile production\nCreated release: v1.1-hotfix - ID: 20\n",
|
|
2329
|
+
"$ xano release push ./my-release -n \"v1.0\" --no-records --no-env\nCreate release from schema only, skip records and environment variables\n",
|
|
2330
|
+
"$ xano release push ./my-release -n \"v1.0\" -o json\nOutput release details as JSON\n"
|
|
2408
2331
|
],
|
|
2409
2332
|
"flags": {
|
|
2410
2333
|
"profile": {
|
|
@@ -2426,6 +2349,39 @@
|
|
|
2426
2349
|
"allowNo": false,
|
|
2427
2350
|
"type": "boolean"
|
|
2428
2351
|
},
|
|
2352
|
+
"description": {
|
|
2353
|
+
"char": "d",
|
|
2354
|
+
"description": "Release description",
|
|
2355
|
+
"name": "description",
|
|
2356
|
+
"required": false,
|
|
2357
|
+
"default": "",
|
|
2358
|
+
"hasDynamicHelp": false,
|
|
2359
|
+
"multiple": false,
|
|
2360
|
+
"type": "option"
|
|
2361
|
+
},
|
|
2362
|
+
"env": {
|
|
2363
|
+
"description": "Include environment variables (default: true, use --no-env to exclude)",
|
|
2364
|
+
"name": "env",
|
|
2365
|
+
"required": false,
|
|
2366
|
+
"allowNo": true,
|
|
2367
|
+
"type": "boolean"
|
|
2368
|
+
},
|
|
2369
|
+
"hotfix": {
|
|
2370
|
+
"description": "Mark as a hotfix release",
|
|
2371
|
+
"name": "hotfix",
|
|
2372
|
+
"required": false,
|
|
2373
|
+
"allowNo": false,
|
|
2374
|
+
"type": "boolean"
|
|
2375
|
+
},
|
|
2376
|
+
"name": {
|
|
2377
|
+
"char": "n",
|
|
2378
|
+
"description": "Name for the release",
|
|
2379
|
+
"name": "name",
|
|
2380
|
+
"required": true,
|
|
2381
|
+
"hasDynamicHelp": false,
|
|
2382
|
+
"multiple": false,
|
|
2383
|
+
"type": "option"
|
|
2384
|
+
},
|
|
2429
2385
|
"output": {
|
|
2430
2386
|
"char": "o",
|
|
2431
2387
|
"description": "Output format",
|
|
@@ -2440,23 +2396,12 @@
|
|
|
2440
2396
|
],
|
|
2441
2397
|
"type": "option"
|
|
2442
2398
|
},
|
|
2443
|
-
"
|
|
2444
|
-
"description": "
|
|
2445
|
-
"name": "
|
|
2446
|
-
"required": false,
|
|
2447
|
-
"default": 1,
|
|
2448
|
-
"hasDynamicHelp": false,
|
|
2449
|
-
"multiple": false,
|
|
2450
|
-
"type": "option"
|
|
2451
|
-
},
|
|
2452
|
-
"per_page": {
|
|
2453
|
-
"description": "Number of results per page",
|
|
2454
|
-
"name": "per_page",
|
|
2399
|
+
"records": {
|
|
2400
|
+
"description": "Include records (default: true, use --no-records to exclude)",
|
|
2401
|
+
"name": "records",
|
|
2455
2402
|
"required": false,
|
|
2456
|
-
"
|
|
2457
|
-
"
|
|
2458
|
-
"multiple": false,
|
|
2459
|
-
"type": "option"
|
|
2403
|
+
"allowNo": true,
|
|
2404
|
+
"type": "boolean"
|
|
2460
2405
|
},
|
|
2461
2406
|
"workspace": {
|
|
2462
2407
|
"char": "w",
|
|
@@ -2470,7 +2415,7 @@
|
|
|
2470
2415
|
},
|
|
2471
2416
|
"hasDynamicHelp": false,
|
|
2472
2417
|
"hiddenAliases": [],
|
|
2473
|
-
"id": "
|
|
2418
|
+
"id": "release:push",
|
|
2474
2419
|
"pluginAlias": "@xano/cli",
|
|
2475
2420
|
"pluginName": "@xano/cli",
|
|
2476
2421
|
"pluginType": "core",
|
|
@@ -2480,27 +2425,20 @@
|
|
|
2480
2425
|
"relativePath": [
|
|
2481
2426
|
"dist",
|
|
2482
2427
|
"commands",
|
|
2483
|
-
"
|
|
2484
|
-
"
|
|
2428
|
+
"release",
|
|
2429
|
+
"push",
|
|
2485
2430
|
"index.js"
|
|
2486
2431
|
]
|
|
2487
2432
|
},
|
|
2488
|
-
"
|
|
2433
|
+
"static_host:list": {
|
|
2489
2434
|
"aliases": [],
|
|
2490
|
-
"args": {
|
|
2491
|
-
|
|
2492
|
-
"description": "Directory containing .xs documents to create the release from",
|
|
2493
|
-
"name": "directory",
|
|
2494
|
-
"required": true
|
|
2495
|
-
}
|
|
2496
|
-
},
|
|
2497
|
-
"description": "Create a new release from local XanoScript files via the multidoc endpoint",
|
|
2435
|
+
"args": {},
|
|
2436
|
+
"description": "List all static hosts in a workspace from the Xano Metadata API",
|
|
2498
2437
|
"examples": [
|
|
2499
|
-
"$ xano
|
|
2500
|
-
"$ xano
|
|
2501
|
-
"$ xano
|
|
2502
|
-
"$ xano
|
|
2503
|
-
"$ xano release push ./my-release -n \"v1.0\" -o json\nOutput release details as JSON\n"
|
|
2438
|
+
"$ xano static_host:list -w 40\nAvailable static hosts:\n - my-static-host (ID: 1)\n - another-host (ID: 2)\n",
|
|
2439
|
+
"$ xano static_host:list --profile production\nAvailable static hosts:\n - my-static-host (ID: 1)\n - another-host (ID: 2)\n",
|
|
2440
|
+
"$ 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",
|
|
2441
|
+
"$ xano static_host:list -p staging -o json --page 2\n[\n {\n \"id\": 3,\n \"name\": \"static-host-3\"\n }\n]\n"
|
|
2504
2442
|
],
|
|
2505
2443
|
"flags": {
|
|
2506
2444
|
"profile": {
|
|
@@ -2522,39 +2460,6 @@
|
|
|
2522
2460
|
"allowNo": false,
|
|
2523
2461
|
"type": "boolean"
|
|
2524
2462
|
},
|
|
2525
|
-
"description": {
|
|
2526
|
-
"char": "d",
|
|
2527
|
-
"description": "Release description",
|
|
2528
|
-
"name": "description",
|
|
2529
|
-
"required": false,
|
|
2530
|
-
"default": "",
|
|
2531
|
-
"hasDynamicHelp": false,
|
|
2532
|
-
"multiple": false,
|
|
2533
|
-
"type": "option"
|
|
2534
|
-
},
|
|
2535
|
-
"env": {
|
|
2536
|
-
"description": "Include environment variables (default: true, use --no-env to exclude)",
|
|
2537
|
-
"name": "env",
|
|
2538
|
-
"required": false,
|
|
2539
|
-
"allowNo": true,
|
|
2540
|
-
"type": "boolean"
|
|
2541
|
-
},
|
|
2542
|
-
"hotfix": {
|
|
2543
|
-
"description": "Mark as a hotfix release",
|
|
2544
|
-
"name": "hotfix",
|
|
2545
|
-
"required": false,
|
|
2546
|
-
"allowNo": false,
|
|
2547
|
-
"type": "boolean"
|
|
2548
|
-
},
|
|
2549
|
-
"name": {
|
|
2550
|
-
"char": "n",
|
|
2551
|
-
"description": "Name for the release",
|
|
2552
|
-
"name": "name",
|
|
2553
|
-
"required": true,
|
|
2554
|
-
"hasDynamicHelp": false,
|
|
2555
|
-
"multiple": false,
|
|
2556
|
-
"type": "option"
|
|
2557
|
-
},
|
|
2558
2463
|
"output": {
|
|
2559
2464
|
"char": "o",
|
|
2560
2465
|
"description": "Output format",
|
|
@@ -2569,12 +2474,23 @@
|
|
|
2569
2474
|
],
|
|
2570
2475
|
"type": "option"
|
|
2571
2476
|
},
|
|
2572
|
-
"
|
|
2573
|
-
"description": "
|
|
2574
|
-
"name": "
|
|
2477
|
+
"page": {
|
|
2478
|
+
"description": "Page number for pagination",
|
|
2479
|
+
"name": "page",
|
|
2480
|
+
"required": false,
|
|
2481
|
+
"default": 1,
|
|
2482
|
+
"hasDynamicHelp": false,
|
|
2483
|
+
"multiple": false,
|
|
2484
|
+
"type": "option"
|
|
2485
|
+
},
|
|
2486
|
+
"per_page": {
|
|
2487
|
+
"description": "Number of results per page",
|
|
2488
|
+
"name": "per_page",
|
|
2575
2489
|
"required": false,
|
|
2576
|
-
"
|
|
2577
|
-
"
|
|
2490
|
+
"default": 50,
|
|
2491
|
+
"hasDynamicHelp": false,
|
|
2492
|
+
"multiple": false,
|
|
2493
|
+
"type": "option"
|
|
2578
2494
|
},
|
|
2579
2495
|
"workspace": {
|
|
2580
2496
|
"char": "w",
|
|
@@ -2588,7 +2504,7 @@
|
|
|
2588
2504
|
},
|
|
2589
2505
|
"hasDynamicHelp": false,
|
|
2590
2506
|
"hiddenAliases": [],
|
|
2591
|
-
"id": "
|
|
2507
|
+
"id": "static_host:list",
|
|
2592
2508
|
"pluginAlias": "@xano/cli",
|
|
2593
2509
|
"pluginName": "@xano/cli",
|
|
2594
2510
|
"pluginType": "core",
|
|
@@ -2598,8 +2514,8 @@
|
|
|
2598
2514
|
"relativePath": [
|
|
2599
2515
|
"dist",
|
|
2600
2516
|
"commands",
|
|
2601
|
-
"
|
|
2602
|
-
"
|
|
2517
|
+
"static_host",
|
|
2518
|
+
"list",
|
|
2603
2519
|
"index.js"
|
|
2604
2520
|
]
|
|
2605
2521
|
},
|
|
@@ -2827,19 +2743,20 @@
|
|
|
2827
2743
|
"index.js"
|
|
2828
2744
|
]
|
|
2829
2745
|
},
|
|
2830
|
-
"tenant:
|
|
2746
|
+
"tenant:deploy_platform": {
|
|
2831
2747
|
"aliases": [],
|
|
2832
2748
|
"args": {
|
|
2833
2749
|
"tenant_name": {
|
|
2834
|
-
"description": "Tenant name to
|
|
2750
|
+
"description": "Tenant name to deploy to",
|
|
2835
2751
|
"name": "tenant_name",
|
|
2836
2752
|
"required": true
|
|
2837
2753
|
}
|
|
2838
2754
|
},
|
|
2839
|
-
"description": "
|
|
2755
|
+
"description": "Deploy a platform version to a tenant",
|
|
2840
2756
|
"examples": [
|
|
2841
|
-
"$ xano tenant
|
|
2842
|
-
"$ xano tenant
|
|
2757
|
+
"$ xano tenant deploy_platform t1234-abcd-xyz1 --platform_id 5\nDeployed platform 5 to tenant: My Tenant (my-tenant)\n",
|
|
2758
|
+
"$ xano tenant deploy_platform t1234-abcd-xyz1 --platform_id 5 -o json",
|
|
2759
|
+
"$ xano tenant deploy_platform t1234-abcd-xyz1 --platform_id 5 --license ./license.yaml"
|
|
2843
2760
|
],
|
|
2844
2761
|
"flags": {
|
|
2845
2762
|
"profile": {
|
|
@@ -2861,38 +2778,15 @@
|
|
|
2861
2778
|
"allowNo": false,
|
|
2862
2779
|
"type": "boolean"
|
|
2863
2780
|
},
|
|
2864
|
-
"
|
|
2865
|
-
"char": "
|
|
2866
|
-
"description": "
|
|
2867
|
-
"name": "
|
|
2868
|
-
"required": false,
|
|
2869
|
-
"hasDynamicHelp": false,
|
|
2870
|
-
"multiple": false,
|
|
2871
|
-
"type": "option"
|
|
2872
|
-
},
|
|
2873
|
-
"display": {
|
|
2874
|
-
"description": "New display name",
|
|
2875
|
-
"name": "display",
|
|
2876
|
-
"required": false,
|
|
2877
|
-
"hasDynamicHelp": false,
|
|
2878
|
-
"multiple": false,
|
|
2879
|
-
"type": "option"
|
|
2880
|
-
},
|
|
2881
|
-
"domain": {
|
|
2882
|
-
"description": "Custom domain",
|
|
2883
|
-
"name": "domain",
|
|
2781
|
+
"license": {
|
|
2782
|
+
"char": "l",
|
|
2783
|
+
"description": "Path to a license override file to apply after deploy",
|
|
2784
|
+
"name": "license",
|
|
2884
2785
|
"required": false,
|
|
2885
2786
|
"hasDynamicHelp": false,
|
|
2886
2787
|
"multiple": false,
|
|
2887
2788
|
"type": "option"
|
|
2888
2789
|
},
|
|
2889
|
-
"ingress": {
|
|
2890
|
-
"description": "Enable/disable ingress",
|
|
2891
|
-
"name": "ingress",
|
|
2892
|
-
"required": false,
|
|
2893
|
-
"allowNo": true,
|
|
2894
|
-
"type": "boolean"
|
|
2895
|
-
},
|
|
2896
2790
|
"output": {
|
|
2897
2791
|
"char": "o",
|
|
2898
2792
|
"description": "Output format",
|
|
@@ -2907,28 +2801,14 @@
|
|
|
2907
2801
|
],
|
|
2908
2802
|
"type": "option"
|
|
2909
2803
|
},
|
|
2910
|
-
"
|
|
2911
|
-
"description": "
|
|
2912
|
-
"name": "
|
|
2913
|
-
"required":
|
|
2804
|
+
"platform_id": {
|
|
2805
|
+
"description": "Platform ID to deploy",
|
|
2806
|
+
"name": "platform_id",
|
|
2807
|
+
"required": true,
|
|
2914
2808
|
"hasDynamicHelp": false,
|
|
2915
2809
|
"multiple": false,
|
|
2916
2810
|
"type": "option"
|
|
2917
2811
|
},
|
|
2918
|
-
"rbac": {
|
|
2919
|
-
"description": "Enable/disable RBAC",
|
|
2920
|
-
"name": "rbac",
|
|
2921
|
-
"required": false,
|
|
2922
|
-
"allowNo": true,
|
|
2923
|
-
"type": "boolean"
|
|
2924
|
-
},
|
|
2925
|
-
"tasks": {
|
|
2926
|
-
"description": "Enable/disable background tasks",
|
|
2927
|
-
"name": "tasks",
|
|
2928
|
-
"required": false,
|
|
2929
|
-
"allowNo": true,
|
|
2930
|
-
"type": "boolean"
|
|
2931
|
-
},
|
|
2932
2812
|
"workspace": {
|
|
2933
2813
|
"char": "w",
|
|
2934
2814
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -2941,7 +2821,7 @@
|
|
|
2941
2821
|
},
|
|
2942
2822
|
"hasDynamicHelp": false,
|
|
2943
2823
|
"hiddenAliases": [],
|
|
2944
|
-
"id": "tenant:
|
|
2824
|
+
"id": "tenant:deploy_platform",
|
|
2945
2825
|
"pluginAlias": "@xano/cli",
|
|
2946
2826
|
"pluginName": "@xano/cli",
|
|
2947
2827
|
"pluginType": "core",
|
|
@@ -2952,7 +2832,7 @@
|
|
|
2952
2832
|
"dist",
|
|
2953
2833
|
"commands",
|
|
2954
2834
|
"tenant",
|
|
2955
|
-
"
|
|
2835
|
+
"deploy_platform",
|
|
2956
2836
|
"index.js"
|
|
2957
2837
|
]
|
|
2958
2838
|
},
|
|
@@ -3040,20 +2920,19 @@
|
|
|
3040
2920
|
"index.js"
|
|
3041
2921
|
]
|
|
3042
2922
|
},
|
|
3043
|
-
"tenant:
|
|
2923
|
+
"tenant:edit": {
|
|
3044
2924
|
"aliases": [],
|
|
3045
2925
|
"args": {
|
|
3046
2926
|
"tenant_name": {
|
|
3047
|
-
"description": "Tenant name to
|
|
2927
|
+
"description": "Tenant name to edit",
|
|
3048
2928
|
"name": "tenant_name",
|
|
3049
2929
|
"required": true
|
|
3050
2930
|
}
|
|
3051
2931
|
},
|
|
3052
|
-
"description": "
|
|
2932
|
+
"description": "Edit an existing tenant",
|
|
3053
2933
|
"examples": [
|
|
3054
|
-
"$ xano tenant
|
|
3055
|
-
"$ xano tenant
|
|
3056
|
-
"$ xano tenant deploy_platform t1234-abcd-xyz1 --platform_id 5 --license ./license.yaml"
|
|
2934
|
+
"$ xano tenant edit t1234-abcd-xyz1 --display \"New Name\" --description \"Updated description\"\nUpdated tenant: New Name (my-tenant) - ID: 42\n",
|
|
2935
|
+
"$ xano tenant edit t1234-abcd-xyz1 --no-tasks --no-ingress -o json"
|
|
3057
2936
|
],
|
|
3058
2937
|
"flags": {
|
|
3059
2938
|
"profile": {
|
|
@@ -3075,15 +2954,38 @@
|
|
|
3075
2954
|
"allowNo": false,
|
|
3076
2955
|
"type": "boolean"
|
|
3077
2956
|
},
|
|
3078
|
-
"
|
|
3079
|
-
"char": "
|
|
3080
|
-
"description": "
|
|
3081
|
-
"name": "
|
|
2957
|
+
"description": {
|
|
2958
|
+
"char": "d",
|
|
2959
|
+
"description": "New description",
|
|
2960
|
+
"name": "description",
|
|
2961
|
+
"required": false,
|
|
2962
|
+
"hasDynamicHelp": false,
|
|
2963
|
+
"multiple": false,
|
|
2964
|
+
"type": "option"
|
|
2965
|
+
},
|
|
2966
|
+
"display": {
|
|
2967
|
+
"description": "New display name",
|
|
2968
|
+
"name": "display",
|
|
2969
|
+
"required": false,
|
|
2970
|
+
"hasDynamicHelp": false,
|
|
2971
|
+
"multiple": false,
|
|
2972
|
+
"type": "option"
|
|
2973
|
+
},
|
|
2974
|
+
"domain": {
|
|
2975
|
+
"description": "Custom domain",
|
|
2976
|
+
"name": "domain",
|
|
3082
2977
|
"required": false,
|
|
3083
2978
|
"hasDynamicHelp": false,
|
|
3084
2979
|
"multiple": false,
|
|
3085
2980
|
"type": "option"
|
|
3086
2981
|
},
|
|
2982
|
+
"ingress": {
|
|
2983
|
+
"description": "Enable/disable ingress",
|
|
2984
|
+
"name": "ingress",
|
|
2985
|
+
"required": false,
|
|
2986
|
+
"allowNo": true,
|
|
2987
|
+
"type": "boolean"
|
|
2988
|
+
},
|
|
3087
2989
|
"output": {
|
|
3088
2990
|
"char": "o",
|
|
3089
2991
|
"description": "Output format",
|
|
@@ -3098,14 +3000,28 @@
|
|
|
3098
3000
|
],
|
|
3099
3001
|
"type": "option"
|
|
3100
3002
|
},
|
|
3101
|
-
"
|
|
3102
|
-
"description": "
|
|
3103
|
-
"name": "
|
|
3104
|
-
"required":
|
|
3003
|
+
"proxy": {
|
|
3004
|
+
"description": "Proxy URL",
|
|
3005
|
+
"name": "proxy",
|
|
3006
|
+
"required": false,
|
|
3105
3007
|
"hasDynamicHelp": false,
|
|
3106
3008
|
"multiple": false,
|
|
3107
3009
|
"type": "option"
|
|
3108
3010
|
},
|
|
3011
|
+
"rbac": {
|
|
3012
|
+
"description": "Enable/disable RBAC",
|
|
3013
|
+
"name": "rbac",
|
|
3014
|
+
"required": false,
|
|
3015
|
+
"allowNo": true,
|
|
3016
|
+
"type": "boolean"
|
|
3017
|
+
},
|
|
3018
|
+
"tasks": {
|
|
3019
|
+
"description": "Enable/disable background tasks",
|
|
3020
|
+
"name": "tasks",
|
|
3021
|
+
"required": false,
|
|
3022
|
+
"allowNo": true,
|
|
3023
|
+
"type": "boolean"
|
|
3024
|
+
},
|
|
3109
3025
|
"workspace": {
|
|
3110
3026
|
"char": "w",
|
|
3111
3027
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -3118,7 +3034,7 @@
|
|
|
3118
3034
|
},
|
|
3119
3035
|
"hasDynamicHelp": false,
|
|
3120
3036
|
"hiddenAliases": [],
|
|
3121
|
-
"id": "tenant:
|
|
3037
|
+
"id": "tenant:edit",
|
|
3122
3038
|
"pluginAlias": "@xano/cli",
|
|
3123
3039
|
"pluginName": "@xano/cli",
|
|
3124
3040
|
"pluginType": "core",
|
|
@@ -3129,7 +3045,7 @@
|
|
|
3129
3045
|
"dist",
|
|
3130
3046
|
"commands",
|
|
3131
3047
|
"tenant",
|
|
3132
|
-
"
|
|
3048
|
+
"edit",
|
|
3133
3049
|
"index.js"
|
|
3134
3050
|
]
|
|
3135
3051
|
},
|
|
@@ -3360,6 +3276,99 @@
|
|
|
3360
3276
|
"index.js"
|
|
3361
3277
|
]
|
|
3362
3278
|
},
|
|
3279
|
+
"tenant:pull": {
|
|
3280
|
+
"aliases": [],
|
|
3281
|
+
"args": {
|
|
3282
|
+
"directory": {
|
|
3283
|
+
"description": "Output directory for pulled documents",
|
|
3284
|
+
"name": "directory",
|
|
3285
|
+
"required": true
|
|
3286
|
+
}
|
|
3287
|
+
},
|
|
3288
|
+
"description": "Pull a tenant multidoc from the Xano Metadata API and split into individual files",
|
|
3289
|
+
"examples": [
|
|
3290
|
+
"$ xano tenant pull ./my-tenant -t my-tenant\nPulled 42 documents from tenant my-tenant to ./my-tenant\n",
|
|
3291
|
+
"$ xano tenant pull ./output -t my-tenant -w 40\nPulled 15 documents from tenant my-tenant to ./output\n",
|
|
3292
|
+
"$ xano tenant pull ./backup -t my-tenant --profile production --env --records\nPulled 58 documents from tenant my-tenant to ./backup\n",
|
|
3293
|
+
"$ xano tenant pull ./my-tenant -t my-tenant --draft\nPulled 42 documents from tenant my-tenant to ./my-tenant\n"
|
|
3294
|
+
],
|
|
3295
|
+
"flags": {
|
|
3296
|
+
"profile": {
|
|
3297
|
+
"char": "p",
|
|
3298
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
3299
|
+
"env": "XANO_PROFILE",
|
|
3300
|
+
"name": "profile",
|
|
3301
|
+
"required": false,
|
|
3302
|
+
"hasDynamicHelp": false,
|
|
3303
|
+
"multiple": false,
|
|
3304
|
+
"type": "option"
|
|
3305
|
+
},
|
|
3306
|
+
"verbose": {
|
|
3307
|
+
"char": "v",
|
|
3308
|
+
"description": "Show detailed request/response information",
|
|
3309
|
+
"env": "XANO_VERBOSE",
|
|
3310
|
+
"name": "verbose",
|
|
3311
|
+
"required": false,
|
|
3312
|
+
"allowNo": false,
|
|
3313
|
+
"type": "boolean"
|
|
3314
|
+
},
|
|
3315
|
+
"draft": {
|
|
3316
|
+
"description": "Include draft versions",
|
|
3317
|
+
"name": "draft",
|
|
3318
|
+
"required": false,
|
|
3319
|
+
"allowNo": false,
|
|
3320
|
+
"type": "boolean"
|
|
3321
|
+
},
|
|
3322
|
+
"env": {
|
|
3323
|
+
"description": "Include environment variables",
|
|
3324
|
+
"name": "env",
|
|
3325
|
+
"required": false,
|
|
3326
|
+
"allowNo": false,
|
|
3327
|
+
"type": "boolean"
|
|
3328
|
+
},
|
|
3329
|
+
"records": {
|
|
3330
|
+
"description": "Include records",
|
|
3331
|
+
"name": "records",
|
|
3332
|
+
"required": false,
|
|
3333
|
+
"allowNo": false,
|
|
3334
|
+
"type": "boolean"
|
|
3335
|
+
},
|
|
3336
|
+
"tenant": {
|
|
3337
|
+
"char": "t",
|
|
3338
|
+
"description": "Tenant name to pull from",
|
|
3339
|
+
"name": "tenant",
|
|
3340
|
+
"required": true,
|
|
3341
|
+
"hasDynamicHelp": false,
|
|
3342
|
+
"multiple": false,
|
|
3343
|
+
"type": "option"
|
|
3344
|
+
},
|
|
3345
|
+
"workspace": {
|
|
3346
|
+
"char": "w",
|
|
3347
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
3348
|
+
"name": "workspace",
|
|
3349
|
+
"required": false,
|
|
3350
|
+
"hasDynamicHelp": false,
|
|
3351
|
+
"multiple": false,
|
|
3352
|
+
"type": "option"
|
|
3353
|
+
}
|
|
3354
|
+
},
|
|
3355
|
+
"hasDynamicHelp": false,
|
|
3356
|
+
"hiddenAliases": [],
|
|
3357
|
+
"id": "tenant:pull",
|
|
3358
|
+
"pluginAlias": "@xano/cli",
|
|
3359
|
+
"pluginName": "@xano/cli",
|
|
3360
|
+
"pluginType": "core",
|
|
3361
|
+
"strict": true,
|
|
3362
|
+
"enableJsonFlag": false,
|
|
3363
|
+
"isESM": true,
|
|
3364
|
+
"relativePath": [
|
|
3365
|
+
"dist",
|
|
3366
|
+
"commands",
|
|
3367
|
+
"tenant",
|
|
3368
|
+
"pull",
|
|
3369
|
+
"index.js"
|
|
3370
|
+
]
|
|
3371
|
+
},
|
|
3363
3372
|
"tenant:push": {
|
|
3364
3373
|
"aliases": [],
|
|
3365
3374
|
"args": {
|
|
@@ -3462,21 +3471,14 @@
|
|
|
3462
3471
|
"index.js"
|
|
3463
3472
|
]
|
|
3464
3473
|
},
|
|
3465
|
-
"
|
|
3474
|
+
"unit_test:list": {
|
|
3466
3475
|
"aliases": [],
|
|
3467
|
-
"args": {
|
|
3468
|
-
|
|
3469
|
-
|
|
3470
|
-
|
|
3471
|
-
|
|
3472
|
-
|
|
3473
|
-
},
|
|
3474
|
-
"description": "Pull a tenant multidoc from the Xano Metadata API and split into individual files",
|
|
3475
|
-
"examples": [
|
|
3476
|
-
"$ xano tenant pull ./my-tenant -t my-tenant\nPulled 42 documents from tenant my-tenant to ./my-tenant\n",
|
|
3477
|
-
"$ xano tenant pull ./output -t my-tenant -w 40\nPulled 15 documents from tenant my-tenant to ./output\n",
|
|
3478
|
-
"$ xano tenant pull ./backup -t my-tenant --profile production --env --records\nPulled 58 documents from tenant my-tenant to ./backup\n",
|
|
3479
|
-
"$ xano tenant pull ./my-tenant -t my-tenant --draft\nPulled 42 documents from tenant my-tenant to ./my-tenant\n"
|
|
3476
|
+
"args": {},
|
|
3477
|
+
"description": "List all unit tests in a workspace",
|
|
3478
|
+
"examples": [
|
|
3479
|
+
"$ xano unit-test list\nUnit tests in workspace 5:\n - my-test (ID: abc-123) [function: math]\n - auth-check (ID: def-456) [query: /user/login]\n",
|
|
3480
|
+
"$ xano unit-test list -w 5 --output json",
|
|
3481
|
+
"$ xano unit-test list --obj-type function"
|
|
3480
3482
|
],
|
|
3481
3483
|
"flags": {
|
|
3482
3484
|
"profile": {
|
|
@@ -3498,39 +3500,45 @@
|
|
|
3498
3500
|
"allowNo": false,
|
|
3499
3501
|
"type": "boolean"
|
|
3500
3502
|
},
|
|
3501
|
-
"
|
|
3502
|
-
"
|
|
3503
|
-
"
|
|
3503
|
+
"branch": {
|
|
3504
|
+
"char": "b",
|
|
3505
|
+
"description": "Filter by branch name",
|
|
3506
|
+
"name": "branch",
|
|
3504
3507
|
"required": false,
|
|
3505
|
-
"
|
|
3506
|
-
"
|
|
3508
|
+
"hasDynamicHelp": false,
|
|
3509
|
+
"multiple": false,
|
|
3510
|
+
"type": "option"
|
|
3507
3511
|
},
|
|
3508
|
-
"
|
|
3509
|
-
"description": "
|
|
3510
|
-
"name": "
|
|
3512
|
+
"obj-type": {
|
|
3513
|
+
"description": "Filter by object type",
|
|
3514
|
+
"name": "obj-type",
|
|
3511
3515
|
"required": false,
|
|
3512
|
-
"
|
|
3513
|
-
"
|
|
3516
|
+
"hasDynamicHelp": false,
|
|
3517
|
+
"multiple": false,
|
|
3518
|
+
"options": [
|
|
3519
|
+
"function",
|
|
3520
|
+
"query",
|
|
3521
|
+
"middleware"
|
|
3522
|
+
],
|
|
3523
|
+
"type": "option"
|
|
3514
3524
|
},
|
|
3515
|
-
"
|
|
3516
|
-
"
|
|
3517
|
-
"
|
|
3525
|
+
"output": {
|
|
3526
|
+
"char": "o",
|
|
3527
|
+
"description": "Output format",
|
|
3528
|
+
"name": "output",
|
|
3518
3529
|
"required": false,
|
|
3519
|
-
"
|
|
3520
|
-
"type": "boolean"
|
|
3521
|
-
},
|
|
3522
|
-
"tenant": {
|
|
3523
|
-
"char": "t",
|
|
3524
|
-
"description": "Tenant name to pull from",
|
|
3525
|
-
"name": "tenant",
|
|
3526
|
-
"required": true,
|
|
3530
|
+
"default": "summary",
|
|
3527
3531
|
"hasDynamicHelp": false,
|
|
3528
3532
|
"multiple": false,
|
|
3533
|
+
"options": [
|
|
3534
|
+
"summary",
|
|
3535
|
+
"json"
|
|
3536
|
+
],
|
|
3529
3537
|
"type": "option"
|
|
3530
3538
|
},
|
|
3531
3539
|
"workspace": {
|
|
3532
3540
|
"char": "w",
|
|
3533
|
-
"description": "Workspace ID (
|
|
3541
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
3534
3542
|
"name": "workspace",
|
|
3535
3543
|
"required": false,
|
|
3536
3544
|
"hasDynamicHelp": false,
|
|
@@ -3540,7 +3548,7 @@
|
|
|
3540
3548
|
},
|
|
3541
3549
|
"hasDynamicHelp": false,
|
|
3542
3550
|
"hiddenAliases": [],
|
|
3543
|
-
"id": "
|
|
3551
|
+
"id": "unit_test:list",
|
|
3544
3552
|
"pluginAlias": "@xano/cli",
|
|
3545
3553
|
"pluginName": "@xano/cli",
|
|
3546
3554
|
"pluginType": "core",
|
|
@@ -3550,8 +3558,8 @@
|
|
|
3550
3558
|
"relativePath": [
|
|
3551
3559
|
"dist",
|
|
3552
3560
|
"commands",
|
|
3553
|
-
"
|
|
3554
|
-
"
|
|
3561
|
+
"unit_test",
|
|
3562
|
+
"list",
|
|
3555
3563
|
"index.js"
|
|
3556
3564
|
]
|
|
3557
3565
|
},
|
|
@@ -3721,20 +3729,19 @@
|
|
|
3721
3729
|
"index.js"
|
|
3722
3730
|
]
|
|
3723
3731
|
},
|
|
3724
|
-
"workflow_test:
|
|
3732
|
+
"workflow_test:delete": {
|
|
3725
3733
|
"aliases": [],
|
|
3726
3734
|
"args": {
|
|
3727
3735
|
"workflow_test_id": {
|
|
3728
|
-
"description": "ID of the workflow test",
|
|
3736
|
+
"description": "ID of the workflow test to delete",
|
|
3729
3737
|
"name": "workflow_test_id",
|
|
3730
3738
|
"required": true
|
|
3731
3739
|
}
|
|
3732
3740
|
},
|
|
3733
|
-
"description": "
|
|
3741
|
+
"description": "Delete a workflow test",
|
|
3734
3742
|
"examples": [
|
|
3735
|
-
"$ xano workflow-test
|
|
3736
|
-
"$ xano workflow-test
|
|
3737
|
-
"$ xano workflow-test get 1 -o json"
|
|
3743
|
+
"$ xano workflow-test delete 1\nAre you sure you want to delete workflow test 1? (y/N) y\nDeleted workflow test 1\n",
|
|
3744
|
+
"$ xano workflow-test delete 1 --force"
|
|
3738
3745
|
],
|
|
3739
3746
|
"flags": {
|
|
3740
3747
|
"profile": {
|
|
@@ -3756,9 +3763,10 @@
|
|
|
3756
3763
|
"allowNo": false,
|
|
3757
3764
|
"type": "boolean"
|
|
3758
3765
|
},
|
|
3759
|
-
"
|
|
3760
|
-
"
|
|
3761
|
-
"
|
|
3766
|
+
"force": {
|
|
3767
|
+
"char": "f",
|
|
3768
|
+
"description": "Skip confirmation prompt",
|
|
3769
|
+
"name": "force",
|
|
3762
3770
|
"required": false,
|
|
3763
3771
|
"allowNo": false,
|
|
3764
3772
|
"type": "boolean"
|
|
@@ -3773,8 +3781,7 @@
|
|
|
3773
3781
|
"multiple": false,
|
|
3774
3782
|
"options": [
|
|
3775
3783
|
"summary",
|
|
3776
|
-
"json"
|
|
3777
|
-
"xs"
|
|
3784
|
+
"json"
|
|
3778
3785
|
],
|
|
3779
3786
|
"type": "option"
|
|
3780
3787
|
},
|
|
@@ -3790,7 +3797,7 @@
|
|
|
3790
3797
|
},
|
|
3791
3798
|
"hasDynamicHelp": false,
|
|
3792
3799
|
"hiddenAliases": [],
|
|
3793
|
-
"id": "workflow_test:
|
|
3800
|
+
"id": "workflow_test:delete",
|
|
3794
3801
|
"pluginAlias": "@xano/cli",
|
|
3795
3802
|
"pluginName": "@xano/cli",
|
|
3796
3803
|
"pluginType": "core",
|
|
@@ -3801,23 +3808,24 @@
|
|
|
3801
3808
|
"dist",
|
|
3802
3809
|
"commands",
|
|
3803
3810
|
"workflow_test",
|
|
3804
|
-
"
|
|
3811
|
+
"delete",
|
|
3805
3812
|
"index.js"
|
|
3806
3813
|
]
|
|
3807
3814
|
},
|
|
3808
|
-
"workflow_test:
|
|
3815
|
+
"workflow_test:get": {
|
|
3809
3816
|
"aliases": [],
|
|
3810
3817
|
"args": {
|
|
3811
3818
|
"workflow_test_id": {
|
|
3812
|
-
"description": "ID of the workflow test
|
|
3819
|
+
"description": "ID of the workflow test",
|
|
3813
3820
|
"name": "workflow_test_id",
|
|
3814
3821
|
"required": true
|
|
3815
3822
|
}
|
|
3816
3823
|
},
|
|
3817
|
-
"description": "
|
|
3824
|
+
"description": "Get a specific workflow test",
|
|
3818
3825
|
"examples": [
|
|
3819
|
-
"$ xano workflow-test
|
|
3820
|
-
"$ xano workflow-test
|
|
3826
|
+
"$ xano workflow-test get 1\nWorkflow Test: my-test (ID: 1)\n Description: Validates auth endpoints\n Branch: main\n",
|
|
3827
|
+
"$ xano workflow-test get 1 -o xs",
|
|
3828
|
+
"$ xano workflow-test get 1 -o json"
|
|
3821
3829
|
],
|
|
3822
3830
|
"flags": {
|
|
3823
3831
|
"profile": {
|
|
@@ -3839,10 +3847,9 @@
|
|
|
3839
3847
|
"allowNo": false,
|
|
3840
3848
|
"type": "boolean"
|
|
3841
3849
|
},
|
|
3842
|
-
"
|
|
3843
|
-
"
|
|
3844
|
-
"
|
|
3845
|
-
"name": "force",
|
|
3850
|
+
"include-draft": {
|
|
3851
|
+
"description": "Include draft version",
|
|
3852
|
+
"name": "include-draft",
|
|
3846
3853
|
"required": false,
|
|
3847
3854
|
"allowNo": false,
|
|
3848
3855
|
"type": "boolean"
|
|
@@ -3857,7 +3864,8 @@
|
|
|
3857
3864
|
"multiple": false,
|
|
3858
3865
|
"options": [
|
|
3859
3866
|
"summary",
|
|
3860
|
-
"json"
|
|
3867
|
+
"json",
|
|
3868
|
+
"xs"
|
|
3861
3869
|
],
|
|
3862
3870
|
"type": "option"
|
|
3863
3871
|
},
|
|
@@ -3873,7 +3881,7 @@
|
|
|
3873
3881
|
},
|
|
3874
3882
|
"hasDynamicHelp": false,
|
|
3875
3883
|
"hiddenAliases": [],
|
|
3876
|
-
"id": "workflow_test:
|
|
3884
|
+
"id": "workflow_test:get",
|
|
3877
3885
|
"pluginAlias": "@xano/cli",
|
|
3878
3886
|
"pluginName": "@xano/cli",
|
|
3879
3887
|
"pluginType": "core",
|
|
@@ -3884,7 +3892,7 @@
|
|
|
3884
3892
|
"dist",
|
|
3885
3893
|
"commands",
|
|
3886
3894
|
"workflow_test",
|
|
3887
|
-
"
|
|
3895
|
+
"get",
|
|
3888
3896
|
"index.js"
|
|
3889
3897
|
]
|
|
3890
3898
|
},
|
|
@@ -3967,98 +3975,6 @@
|
|
|
3967
3975
|
"index.js"
|
|
3968
3976
|
]
|
|
3969
3977
|
},
|
|
3970
|
-
"unit_test:list": {
|
|
3971
|
-
"aliases": [],
|
|
3972
|
-
"args": {},
|
|
3973
|
-
"description": "List all unit tests in a workspace",
|
|
3974
|
-
"examples": [
|
|
3975
|
-
"$ xano unit-test list\nUnit tests in workspace 5:\n - my-test (ID: abc-123) [function: math]\n - auth-check (ID: def-456) [query: /user/login]\n",
|
|
3976
|
-
"$ xano unit-test list -w 5 --output json",
|
|
3977
|
-
"$ xano unit-test list --obj-type function"
|
|
3978
|
-
],
|
|
3979
|
-
"flags": {
|
|
3980
|
-
"profile": {
|
|
3981
|
-
"char": "p",
|
|
3982
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
3983
|
-
"env": "XANO_PROFILE",
|
|
3984
|
-
"name": "profile",
|
|
3985
|
-
"required": false,
|
|
3986
|
-
"hasDynamicHelp": false,
|
|
3987
|
-
"multiple": false,
|
|
3988
|
-
"type": "option"
|
|
3989
|
-
},
|
|
3990
|
-
"verbose": {
|
|
3991
|
-
"char": "v",
|
|
3992
|
-
"description": "Show detailed request/response information",
|
|
3993
|
-
"env": "XANO_VERBOSE",
|
|
3994
|
-
"name": "verbose",
|
|
3995
|
-
"required": false,
|
|
3996
|
-
"allowNo": false,
|
|
3997
|
-
"type": "boolean"
|
|
3998
|
-
},
|
|
3999
|
-
"branch": {
|
|
4000
|
-
"char": "b",
|
|
4001
|
-
"description": "Filter by branch name",
|
|
4002
|
-
"name": "branch",
|
|
4003
|
-
"required": false,
|
|
4004
|
-
"hasDynamicHelp": false,
|
|
4005
|
-
"multiple": false,
|
|
4006
|
-
"type": "option"
|
|
4007
|
-
},
|
|
4008
|
-
"obj-type": {
|
|
4009
|
-
"description": "Filter by object type",
|
|
4010
|
-
"name": "obj-type",
|
|
4011
|
-
"required": false,
|
|
4012
|
-
"hasDynamicHelp": false,
|
|
4013
|
-
"multiple": false,
|
|
4014
|
-
"options": [
|
|
4015
|
-
"function",
|
|
4016
|
-
"query",
|
|
4017
|
-
"middleware"
|
|
4018
|
-
],
|
|
4019
|
-
"type": "option"
|
|
4020
|
-
},
|
|
4021
|
-
"output": {
|
|
4022
|
-
"char": "o",
|
|
4023
|
-
"description": "Output format",
|
|
4024
|
-
"name": "output",
|
|
4025
|
-
"required": false,
|
|
4026
|
-
"default": "summary",
|
|
4027
|
-
"hasDynamicHelp": false,
|
|
4028
|
-
"multiple": false,
|
|
4029
|
-
"options": [
|
|
4030
|
-
"summary",
|
|
4031
|
-
"json"
|
|
4032
|
-
],
|
|
4033
|
-
"type": "option"
|
|
4034
|
-
},
|
|
4035
|
-
"workspace": {
|
|
4036
|
-
"char": "w",
|
|
4037
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
4038
|
-
"name": "workspace",
|
|
4039
|
-
"required": false,
|
|
4040
|
-
"hasDynamicHelp": false,
|
|
4041
|
-
"multiple": false,
|
|
4042
|
-
"type": "option"
|
|
4043
|
-
}
|
|
4044
|
-
},
|
|
4045
|
-
"hasDynamicHelp": false,
|
|
4046
|
-
"hiddenAliases": [],
|
|
4047
|
-
"id": "unit_test:list",
|
|
4048
|
-
"pluginAlias": "@xano/cli",
|
|
4049
|
-
"pluginName": "@xano/cli",
|
|
4050
|
-
"pluginType": "core",
|
|
4051
|
-
"strict": true,
|
|
4052
|
-
"enableJsonFlag": false,
|
|
4053
|
-
"isESM": true,
|
|
4054
|
-
"relativePath": [
|
|
4055
|
-
"dist",
|
|
4056
|
-
"commands",
|
|
4057
|
-
"unit_test",
|
|
4058
|
-
"list",
|
|
4059
|
-
"index.js"
|
|
4060
|
-
]
|
|
4061
|
-
},
|
|
4062
3978
|
"workflow_test:run": {
|
|
4063
3979
|
"aliases": [],
|
|
4064
3980
|
"args": {
|
|
@@ -4212,21 +4128,20 @@
|
|
|
4212
4128
|
"index.js"
|
|
4213
4129
|
]
|
|
4214
4130
|
},
|
|
4215
|
-
"workspace:
|
|
4131
|
+
"workspace:create": {
|
|
4216
4132
|
"aliases": [],
|
|
4217
4133
|
"args": {
|
|
4218
|
-
"
|
|
4219
|
-
"description": "
|
|
4220
|
-
"name": "
|
|
4221
|
-
"required":
|
|
4134
|
+
"name": {
|
|
4135
|
+
"description": "Name of the workspace",
|
|
4136
|
+
"name": "name",
|
|
4137
|
+
"required": true
|
|
4222
4138
|
}
|
|
4223
4139
|
},
|
|
4224
|
-
"description": "
|
|
4140
|
+
"description": "Create a new workspace via the Xano Metadata API",
|
|
4225
4141
|
"examples": [
|
|
4226
|
-
"$ xano workspace
|
|
4227
|
-
"$ xano workspace
|
|
4228
|
-
"$ xano workspace
|
|
4229
|
-
"$ xano workspace edit 123 --no-swagger -o json\n{\n \"id\": 123,\n \"name\": \"my-workspace\",\n \"swagger\": false\n}\n"
|
|
4142
|
+
"$ xano workspace create my-workspace\nCreated workspace: my-workspace (ID: 123)\n",
|
|
4143
|
+
"$ xano workspace create my-app --description \"My application workspace\"\nCreated workspace: my-app (ID: 456)\n Description: My application workspace\n",
|
|
4144
|
+
"$ 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"
|
|
4230
4145
|
],
|
|
4231
4146
|
"flags": {
|
|
4232
4147
|
"profile": {
|
|
@@ -4250,54 +4165,31 @@
|
|
|
4250
4165
|
},
|
|
4251
4166
|
"description": {
|
|
4252
4167
|
"char": "d",
|
|
4253
|
-
"description": "
|
|
4168
|
+
"description": "Description for the workspace",
|
|
4254
4169
|
"name": "description",
|
|
4255
4170
|
"required": false,
|
|
4256
4171
|
"hasDynamicHelp": false,
|
|
4257
4172
|
"multiple": false,
|
|
4258
4173
|
"type": "option"
|
|
4259
4174
|
},
|
|
4260
|
-
"name": {
|
|
4261
|
-
"char": "n",
|
|
4262
|
-
"description": "New name for the workspace",
|
|
4263
|
-
"name": "name",
|
|
4264
|
-
"required": false,
|
|
4265
|
-
"hasDynamicHelp": false,
|
|
4266
|
-
"multiple": false,
|
|
4267
|
-
"type": "option"
|
|
4268
|
-
},
|
|
4269
4175
|
"output": {
|
|
4270
4176
|
"char": "o",
|
|
4271
4177
|
"description": "Output format",
|
|
4272
4178
|
"name": "output",
|
|
4273
4179
|
"required": false,
|
|
4274
|
-
"default": "summary",
|
|
4275
|
-
"hasDynamicHelp": false,
|
|
4276
|
-
"multiple": false,
|
|
4277
|
-
"options": [
|
|
4278
|
-
"summary",
|
|
4279
|
-
"json"
|
|
4280
|
-
],
|
|
4281
|
-
"type": "option"
|
|
4282
|
-
},
|
|
4283
|
-
"require-token": {
|
|
4284
|
-
"description": "Whether to require a token for documentation access",
|
|
4285
|
-
"name": "require-token",
|
|
4286
|
-
"required": false,
|
|
4287
|
-
"allowNo": true,
|
|
4288
|
-
"type": "boolean"
|
|
4289
|
-
},
|
|
4290
|
-
"swagger": {
|
|
4291
|
-
"description": "Enable or disable swagger documentation",
|
|
4292
|
-
"name": "swagger",
|
|
4293
|
-
"required": false,
|
|
4294
|
-
"allowNo": true,
|
|
4295
|
-
"type": "boolean"
|
|
4180
|
+
"default": "summary",
|
|
4181
|
+
"hasDynamicHelp": false,
|
|
4182
|
+
"multiple": false,
|
|
4183
|
+
"options": [
|
|
4184
|
+
"summary",
|
|
4185
|
+
"json"
|
|
4186
|
+
],
|
|
4187
|
+
"type": "option"
|
|
4296
4188
|
}
|
|
4297
4189
|
},
|
|
4298
4190
|
"hasDynamicHelp": false,
|
|
4299
4191
|
"hiddenAliases": [],
|
|
4300
|
-
"id": "workspace:
|
|
4192
|
+
"id": "workspace:create",
|
|
4301
4193
|
"pluginAlias": "@xano/cli",
|
|
4302
4194
|
"pluginName": "@xano/cli",
|
|
4303
4195
|
"pluginType": "core",
|
|
@@ -4308,7 +4200,7 @@
|
|
|
4308
4200
|
"dist",
|
|
4309
4201
|
"commands",
|
|
4310
4202
|
"workspace",
|
|
4311
|
-
"
|
|
4203
|
+
"create",
|
|
4312
4204
|
"index.js"
|
|
4313
4205
|
]
|
|
4314
4206
|
},
|
|
@@ -4387,20 +4279,21 @@
|
|
|
4387
4279
|
"index.js"
|
|
4388
4280
|
]
|
|
4389
4281
|
},
|
|
4390
|
-
"workspace:
|
|
4282
|
+
"workspace:edit": {
|
|
4391
4283
|
"aliases": [],
|
|
4392
4284
|
"args": {
|
|
4393
4285
|
"workspace_id": {
|
|
4394
|
-
"description": "Workspace ID to
|
|
4286
|
+
"description": "Workspace ID to edit (uses profile workspace if not provided)",
|
|
4395
4287
|
"name": "workspace_id",
|
|
4396
4288
|
"required": false
|
|
4397
4289
|
}
|
|
4398
4290
|
},
|
|
4399
|
-
"description": "
|
|
4291
|
+
"description": "Edit an existing workspace via the Xano Metadata API",
|
|
4400
4292
|
"examples": [
|
|
4401
|
-
"$ xano workspace
|
|
4402
|
-
"$ xano workspace
|
|
4403
|
-
"$ xano workspace
|
|
4293
|
+
"$ xano workspace edit 123 --name \"new-name\"\nUpdated workspace: new-name (ID: 123)\n",
|
|
4294
|
+
"$ xano workspace edit --name \"updated-workspace\" --description \"Updated description\"\nUpdated workspace: updated-workspace (ID: 123)\n Description: Updated description\n",
|
|
4295
|
+
"$ xano workspace edit 123 --swagger --require-token\nUpdated workspace: my-workspace (ID: 123)\n Swagger: enabled\n Require Token: true\n",
|
|
4296
|
+
"$ xano workspace edit 123 --no-swagger -o json\n{\n \"id\": 123,\n \"name\": \"my-workspace\",\n \"swagger\": false\n}\n"
|
|
4404
4297
|
],
|
|
4405
4298
|
"flags": {
|
|
4406
4299
|
"profile": {
|
|
@@ -4422,6 +4315,24 @@
|
|
|
4422
4315
|
"allowNo": false,
|
|
4423
4316
|
"type": "boolean"
|
|
4424
4317
|
},
|
|
4318
|
+
"description": {
|
|
4319
|
+
"char": "d",
|
|
4320
|
+
"description": "New description for the workspace",
|
|
4321
|
+
"name": "description",
|
|
4322
|
+
"required": false,
|
|
4323
|
+
"hasDynamicHelp": false,
|
|
4324
|
+
"multiple": false,
|
|
4325
|
+
"type": "option"
|
|
4326
|
+
},
|
|
4327
|
+
"name": {
|
|
4328
|
+
"char": "n",
|
|
4329
|
+
"description": "New name for the workspace",
|
|
4330
|
+
"name": "name",
|
|
4331
|
+
"required": false,
|
|
4332
|
+
"hasDynamicHelp": false,
|
|
4333
|
+
"multiple": false,
|
|
4334
|
+
"type": "option"
|
|
4335
|
+
},
|
|
4425
4336
|
"output": {
|
|
4426
4337
|
"char": "o",
|
|
4427
4338
|
"description": "Output format",
|
|
@@ -4435,11 +4346,25 @@
|
|
|
4435
4346
|
"json"
|
|
4436
4347
|
],
|
|
4437
4348
|
"type": "option"
|
|
4349
|
+
},
|
|
4350
|
+
"require-token": {
|
|
4351
|
+
"description": "Whether to require a token for documentation access",
|
|
4352
|
+
"name": "require-token",
|
|
4353
|
+
"required": false,
|
|
4354
|
+
"allowNo": true,
|
|
4355
|
+
"type": "boolean"
|
|
4356
|
+
},
|
|
4357
|
+
"swagger": {
|
|
4358
|
+
"description": "Enable or disable swagger documentation",
|
|
4359
|
+
"name": "swagger",
|
|
4360
|
+
"required": false,
|
|
4361
|
+
"allowNo": true,
|
|
4362
|
+
"type": "boolean"
|
|
4438
4363
|
}
|
|
4439
4364
|
},
|
|
4440
4365
|
"hasDynamicHelp": false,
|
|
4441
4366
|
"hiddenAliases": [],
|
|
4442
|
-
"id": "workspace:
|
|
4367
|
+
"id": "workspace:edit",
|
|
4443
4368
|
"pluginAlias": "@xano/cli",
|
|
4444
4369
|
"pluginName": "@xano/cli",
|
|
4445
4370
|
"pluginType": "core",
|
|
@@ -4450,19 +4375,24 @@
|
|
|
4450
4375
|
"dist",
|
|
4451
4376
|
"commands",
|
|
4452
4377
|
"workspace",
|
|
4453
|
-
"
|
|
4378
|
+
"edit",
|
|
4454
4379
|
"index.js"
|
|
4455
4380
|
]
|
|
4456
4381
|
},
|
|
4457
|
-
"workspace:
|
|
4382
|
+
"workspace:get": {
|
|
4458
4383
|
"aliases": [],
|
|
4459
|
-
"args": {
|
|
4460
|
-
|
|
4384
|
+
"args": {
|
|
4385
|
+
"workspace_id": {
|
|
4386
|
+
"description": "Workspace ID to get details for (uses profile workspace if not provided)",
|
|
4387
|
+
"name": "workspace_id",
|
|
4388
|
+
"required": false
|
|
4389
|
+
}
|
|
4390
|
+
},
|
|
4391
|
+
"description": "Get details of a specific workspace from the Xano Metadata API",
|
|
4461
4392
|
"examples": [
|
|
4462
|
-
"$ xano workspace:
|
|
4463
|
-
"$ xano workspace
|
|
4464
|
-
"$ xano workspace
|
|
4465
|
-
"$ xano workspace:list -p staging -o json\n{\n \"workspaces\": [\n {\n \"id\": 1,\n \"name\": \"my-app\"\n }\n ]\n}\n"
|
|
4393
|
+
"$ xano workspace get 123\nWorkspace: my-workspace (ID: 123)\n Description: My workspace description\n Created: 2024-01-15\n",
|
|
4394
|
+
"$ xano workspace get --output json\n{\n \"id\": 123,\n \"name\": \"my-workspace\",\n \"description\": \"My workspace description\"\n}\n",
|
|
4395
|
+
"$ xano workspace get 456 -p production -o json\n{\n \"id\": 456,\n \"name\": \"production-workspace\"\n}\n"
|
|
4466
4396
|
],
|
|
4467
4397
|
"flags": {
|
|
4468
4398
|
"profile": {
|
|
@@ -4501,7 +4431,7 @@
|
|
|
4501
4431
|
},
|
|
4502
4432
|
"hasDynamicHelp": false,
|
|
4503
4433
|
"hiddenAliases": [],
|
|
4504
|
-
"id": "workspace:
|
|
4434
|
+
"id": "workspace:get",
|
|
4505
4435
|
"pluginAlias": "@xano/cli",
|
|
4506
4436
|
"pluginName": "@xano/cli",
|
|
4507
4437
|
"pluginType": "core",
|
|
@@ -4512,24 +4442,19 @@
|
|
|
4512
4442
|
"dist",
|
|
4513
4443
|
"commands",
|
|
4514
4444
|
"workspace",
|
|
4515
|
-
"
|
|
4445
|
+
"get",
|
|
4516
4446
|
"index.js"
|
|
4517
4447
|
]
|
|
4518
4448
|
},
|
|
4519
|
-
"workspace:
|
|
4449
|
+
"workspace:list": {
|
|
4520
4450
|
"aliases": [],
|
|
4521
|
-
"args": {
|
|
4522
|
-
|
|
4523
|
-
"description": "Name of the workspace",
|
|
4524
|
-
"name": "name",
|
|
4525
|
-
"required": true
|
|
4526
|
-
}
|
|
4527
|
-
},
|
|
4528
|
-
"description": "Create a new workspace via the Xano Metadata API",
|
|
4451
|
+
"args": {},
|
|
4452
|
+
"description": "List all workspaces from the Xano Metadata API",
|
|
4529
4453
|
"examples": [
|
|
4530
|
-
"$ xano workspace
|
|
4531
|
-
"$ xano workspace
|
|
4532
|
-
"$ xano workspace
|
|
4454
|
+
"$ xano workspace:list\nAvailable workspaces:\n - workspace-1 (ID: 1)\n - workspace-2 (ID: 2)\n - workspace-3 (ID: 3)\n",
|
|
4455
|
+
"$ xano workspace:list --profile production\nAvailable workspaces:\n - my-app (ID: 1)\n - staging-env (ID: 2)\n",
|
|
4456
|
+
"$ 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",
|
|
4457
|
+
"$ xano workspace:list -p staging -o json\n{\n \"workspaces\": [\n {\n \"id\": 1,\n \"name\": \"my-app\"\n }\n ]\n}\n"
|
|
4533
4458
|
],
|
|
4534
4459
|
"flags": {
|
|
4535
4460
|
"profile": {
|
|
@@ -4551,15 +4476,6 @@
|
|
|
4551
4476
|
"allowNo": false,
|
|
4552
4477
|
"type": "boolean"
|
|
4553
4478
|
},
|
|
4554
|
-
"description": {
|
|
4555
|
-
"char": "d",
|
|
4556
|
-
"description": "Description for the workspace",
|
|
4557
|
-
"name": "description",
|
|
4558
|
-
"required": false,
|
|
4559
|
-
"hasDynamicHelp": false,
|
|
4560
|
-
"multiple": false,
|
|
4561
|
-
"type": "option"
|
|
4562
|
-
},
|
|
4563
4479
|
"output": {
|
|
4564
4480
|
"char": "o",
|
|
4565
4481
|
"description": "Output format",
|
|
@@ -4577,7 +4493,7 @@
|
|
|
4577
4493
|
},
|
|
4578
4494
|
"hasDynamicHelp": false,
|
|
4579
4495
|
"hiddenAliases": [],
|
|
4580
|
-
"id": "workspace:
|
|
4496
|
+
"id": "workspace:list",
|
|
4581
4497
|
"pluginAlias": "@xano/cli",
|
|
4582
4498
|
"pluginName": "@xano/cli",
|
|
4583
4499
|
"pluginType": "core",
|
|
@@ -4588,7 +4504,7 @@
|
|
|
4588
4504
|
"dist",
|
|
4589
4505
|
"commands",
|
|
4590
4506
|
"workspace",
|
|
4591
|
-
"
|
|
4507
|
+
"list",
|
|
4592
4508
|
"index.js"
|
|
4593
4509
|
]
|
|
4594
4510
|
},
|
|
@@ -4828,6 +4744,90 @@
|
|
|
4828
4744
|
"index.js"
|
|
4829
4745
|
]
|
|
4830
4746
|
},
|
|
4747
|
+
"branch:set_live": {
|
|
4748
|
+
"aliases": [],
|
|
4749
|
+
"args": {
|
|
4750
|
+
"branch_label": {
|
|
4751
|
+
"description": "Branch label to set as live (use \"v1\" for default branch)",
|
|
4752
|
+
"name": "branch_label",
|
|
4753
|
+
"required": true
|
|
4754
|
+
}
|
|
4755
|
+
},
|
|
4756
|
+
"description": "Set a branch as the live (active) branch for API requests",
|
|
4757
|
+
"examples": [
|
|
4758
|
+
"$ 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",
|
|
4759
|
+
"$ xano branch set-live v1 --force\nBranch 'v1' is now live\n",
|
|
4760
|
+
"$ 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"
|
|
4761
|
+
],
|
|
4762
|
+
"flags": {
|
|
4763
|
+
"profile": {
|
|
4764
|
+
"char": "p",
|
|
4765
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
4766
|
+
"env": "XANO_PROFILE",
|
|
4767
|
+
"name": "profile",
|
|
4768
|
+
"required": false,
|
|
4769
|
+
"hasDynamicHelp": false,
|
|
4770
|
+
"multiple": false,
|
|
4771
|
+
"type": "option"
|
|
4772
|
+
},
|
|
4773
|
+
"verbose": {
|
|
4774
|
+
"char": "v",
|
|
4775
|
+
"description": "Show detailed request/response information",
|
|
4776
|
+
"env": "XANO_VERBOSE",
|
|
4777
|
+
"name": "verbose",
|
|
4778
|
+
"required": false,
|
|
4779
|
+
"allowNo": false,
|
|
4780
|
+
"type": "boolean"
|
|
4781
|
+
},
|
|
4782
|
+
"force": {
|
|
4783
|
+
"char": "f",
|
|
4784
|
+
"description": "Skip confirmation prompt",
|
|
4785
|
+
"name": "force",
|
|
4786
|
+
"required": false,
|
|
4787
|
+
"allowNo": false,
|
|
4788
|
+
"type": "boolean"
|
|
4789
|
+
},
|
|
4790
|
+
"output": {
|
|
4791
|
+
"char": "o",
|
|
4792
|
+
"description": "Output format",
|
|
4793
|
+
"name": "output",
|
|
4794
|
+
"required": false,
|
|
4795
|
+
"default": "summary",
|
|
4796
|
+
"hasDynamicHelp": false,
|
|
4797
|
+
"multiple": false,
|
|
4798
|
+
"options": [
|
|
4799
|
+
"summary",
|
|
4800
|
+
"json"
|
|
4801
|
+
],
|
|
4802
|
+
"type": "option"
|
|
4803
|
+
},
|
|
4804
|
+
"workspace": {
|
|
4805
|
+
"char": "w",
|
|
4806
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
4807
|
+
"name": "workspace",
|
|
4808
|
+
"required": false,
|
|
4809
|
+
"hasDynamicHelp": false,
|
|
4810
|
+
"multiple": false,
|
|
4811
|
+
"type": "option"
|
|
4812
|
+
}
|
|
4813
|
+
},
|
|
4814
|
+
"hasDynamicHelp": false,
|
|
4815
|
+
"hiddenAliases": [],
|
|
4816
|
+
"id": "branch:set_live",
|
|
4817
|
+
"pluginAlias": "@xano/cli",
|
|
4818
|
+
"pluginName": "@xano/cli",
|
|
4819
|
+
"pluginType": "core",
|
|
4820
|
+
"strict": true,
|
|
4821
|
+
"enableJsonFlag": false,
|
|
4822
|
+
"isESM": true,
|
|
4823
|
+
"relativePath": [
|
|
4824
|
+
"dist",
|
|
4825
|
+
"commands",
|
|
4826
|
+
"branch",
|
|
4827
|
+
"set_live",
|
|
4828
|
+
"index.js"
|
|
4829
|
+
]
|
|
4830
|
+
},
|
|
4831
4831
|
"profile:workspace:set": {
|
|
4832
4832
|
"aliases": [],
|
|
4833
4833
|
"args": {},
|
|
@@ -4875,20 +4875,20 @@
|
|
|
4875
4875
|
"index.js"
|
|
4876
4876
|
]
|
|
4877
4877
|
},
|
|
4878
|
-
"
|
|
4878
|
+
"static_host:build:create": {
|
|
4879
4879
|
"aliases": [],
|
|
4880
4880
|
"args": {
|
|
4881
|
-
"
|
|
4882
|
-
"description": "
|
|
4883
|
-
"name": "
|
|
4881
|
+
"static_host": {
|
|
4882
|
+
"description": "Static Host name",
|
|
4883
|
+
"name": "static_host",
|
|
4884
4884
|
"required": true
|
|
4885
4885
|
}
|
|
4886
4886
|
},
|
|
4887
|
-
"description": "
|
|
4887
|
+
"description": "Create a new build for a static host",
|
|
4888
4888
|
"examples": [
|
|
4889
|
-
"$ xano
|
|
4890
|
-
"$ xano
|
|
4891
|
-
"$ xano
|
|
4889
|
+
"$ 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",
|
|
4890
|
+
"$ 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",
|
|
4891
|
+
"$ 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"
|
|
4892
4892
|
],
|
|
4893
4893
|
"flags": {
|
|
4894
4894
|
"profile": {
|
|
@@ -4910,21 +4910,32 @@
|
|
|
4910
4910
|
"allowNo": false,
|
|
4911
4911
|
"type": "boolean"
|
|
4912
4912
|
},
|
|
4913
|
-
"
|
|
4914
|
-
"
|
|
4915
|
-
"
|
|
4916
|
-
"
|
|
4913
|
+
"description": {
|
|
4914
|
+
"char": "d",
|
|
4915
|
+
"description": "Build description",
|
|
4916
|
+
"name": "description",
|
|
4917
|
+
"required": false,
|
|
4917
4918
|
"hasDynamicHelp": false,
|
|
4918
4919
|
"multiple": false,
|
|
4919
4920
|
"type": "option"
|
|
4920
4921
|
},
|
|
4921
|
-
"
|
|
4922
|
+
"file": {
|
|
4922
4923
|
"char": "f",
|
|
4923
|
-
"description": "
|
|
4924
|
-
"name": "
|
|
4925
|
-
"required":
|
|
4926
|
-
"
|
|
4927
|
-
"
|
|
4924
|
+
"description": "Path to zip file to upload",
|
|
4925
|
+
"name": "file",
|
|
4926
|
+
"required": true,
|
|
4927
|
+
"hasDynamicHelp": false,
|
|
4928
|
+
"multiple": false,
|
|
4929
|
+
"type": "option"
|
|
4930
|
+
},
|
|
4931
|
+
"name": {
|
|
4932
|
+
"char": "n",
|
|
4933
|
+
"description": "Build name",
|
|
4934
|
+
"name": "name",
|
|
4935
|
+
"required": true,
|
|
4936
|
+
"hasDynamicHelp": false,
|
|
4937
|
+
"multiple": false,
|
|
4938
|
+
"type": "option"
|
|
4928
4939
|
},
|
|
4929
4940
|
"output": {
|
|
4930
4941
|
"char": "o",
|
|
@@ -4942,7 +4953,7 @@
|
|
|
4942
4953
|
},
|
|
4943
4954
|
"workspace": {
|
|
4944
4955
|
"char": "w",
|
|
4945
|
-
"description": "Workspace ID (
|
|
4956
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
4946
4957
|
"name": "workspace",
|
|
4947
4958
|
"required": false,
|
|
4948
4959
|
"hasDynamicHelp": false,
|
|
@@ -4952,7 +4963,7 @@
|
|
|
4952
4963
|
},
|
|
4953
4964
|
"hasDynamicHelp": false,
|
|
4954
4965
|
"hiddenAliases": [],
|
|
4955
|
-
"id": "
|
|
4966
|
+
"id": "static_host:build:create",
|
|
4956
4967
|
"pluginAlias": "@xano/cli",
|
|
4957
4968
|
"pluginName": "@xano/cli",
|
|
4958
4969
|
"pluginType": "core",
|
|
@@ -4962,25 +4973,32 @@
|
|
|
4962
4973
|
"relativePath": [
|
|
4963
4974
|
"dist",
|
|
4964
4975
|
"commands",
|
|
4965
|
-
"
|
|
4966
|
-
"
|
|
4967
|
-
"
|
|
4976
|
+
"static_host",
|
|
4977
|
+
"build",
|
|
4978
|
+
"create",
|
|
4968
4979
|
"index.js"
|
|
4969
4980
|
]
|
|
4970
4981
|
},
|
|
4971
|
-
"
|
|
4982
|
+
"static_host:build:get": {
|
|
4972
4983
|
"aliases": [],
|
|
4973
4984
|
"args": {
|
|
4974
|
-
"
|
|
4975
|
-
"description": "
|
|
4976
|
-
"name": "
|
|
4985
|
+
"build_id": {
|
|
4986
|
+
"description": "Build ID",
|
|
4987
|
+
"name": "build_id",
|
|
4988
|
+
"required": true
|
|
4989
|
+
},
|
|
4990
|
+
"static_host": {
|
|
4991
|
+
"description": "Static Host name",
|
|
4992
|
+
"name": "static_host",
|
|
4977
4993
|
"required": true
|
|
4978
4994
|
}
|
|
4979
4995
|
},
|
|
4980
|
-
"description": "
|
|
4996
|
+
"description": "Get details of a specific build for a static host",
|
|
4981
4997
|
"examples": [
|
|
4982
|
-
"$ xano
|
|
4983
|
-
"$ xano
|
|
4998
|
+
"$ xano static_host:build:get default 52\nBuild Details:\nID: 52\nName: v1.0.0\nStatus: completed\n",
|
|
4999
|
+
"$ xano static_host:build:get default 52 -w 40\nBuild Details:\nID: 52\nName: v1.0.0\nStatus: completed\n",
|
|
5000
|
+
"$ xano static_host:build:get myhost 123 --profile production\nBuild Details:\nID: 123\nName: production-build\n",
|
|
5001
|
+
"$ xano static_host:build:get default 52 -o json\n{\n \"id\": 52,\n \"name\": \"v1.0.0\",\n \"status\": \"completed\"\n}\n"
|
|
4984
5002
|
],
|
|
4985
5003
|
"flags": {
|
|
4986
5004
|
"profile": {
|
|
@@ -5002,16 +5020,6 @@
|
|
|
5002
5020
|
"allowNo": false,
|
|
5003
5021
|
"type": "boolean"
|
|
5004
5022
|
},
|
|
5005
|
-
"description": {
|
|
5006
|
-
"char": "d",
|
|
5007
|
-
"description": "Backup description",
|
|
5008
|
-
"name": "description",
|
|
5009
|
-
"required": false,
|
|
5010
|
-
"default": "",
|
|
5011
|
-
"hasDynamicHelp": false,
|
|
5012
|
-
"multiple": false,
|
|
5013
|
-
"type": "option"
|
|
5014
|
-
},
|
|
5015
5023
|
"output": {
|
|
5016
5024
|
"char": "o",
|
|
5017
5025
|
"description": "Output format",
|
|
@@ -5028,7 +5036,7 @@
|
|
|
5028
5036
|
},
|
|
5029
5037
|
"workspace": {
|
|
5030
5038
|
"char": "w",
|
|
5031
|
-
"description": "Workspace ID (
|
|
5039
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
5032
5040
|
"name": "workspace",
|
|
5033
5041
|
"required": false,
|
|
5034
5042
|
"hasDynamicHelp": false,
|
|
@@ -5038,7 +5046,7 @@
|
|
|
5038
5046
|
},
|
|
5039
5047
|
"hasDynamicHelp": false,
|
|
5040
5048
|
"hiddenAliases": [],
|
|
5041
|
-
"id": "
|
|
5049
|
+
"id": "static_host:build:get",
|
|
5042
5050
|
"pluginAlias": "@xano/cli",
|
|
5043
5051
|
"pluginName": "@xano/cli",
|
|
5044
5052
|
"pluginType": "core",
|
|
@@ -5048,26 +5056,27 @@
|
|
|
5048
5056
|
"relativePath": [
|
|
5049
5057
|
"dist",
|
|
5050
5058
|
"commands",
|
|
5051
|
-
"
|
|
5052
|
-
"
|
|
5053
|
-
"
|
|
5059
|
+
"static_host",
|
|
5060
|
+
"build",
|
|
5061
|
+
"get",
|
|
5054
5062
|
"index.js"
|
|
5055
5063
|
]
|
|
5056
5064
|
},
|
|
5057
|
-
"
|
|
5065
|
+
"static_host:build:list": {
|
|
5058
5066
|
"aliases": [],
|
|
5059
5067
|
"args": {
|
|
5060
|
-
"
|
|
5061
|
-
"description": "
|
|
5062
|
-
"name": "
|
|
5068
|
+
"static_host": {
|
|
5069
|
+
"description": "Static Host name",
|
|
5070
|
+
"name": "static_host",
|
|
5063
5071
|
"required": true
|
|
5064
5072
|
}
|
|
5065
5073
|
},
|
|
5066
|
-
"description": "
|
|
5074
|
+
"description": "List all builds for a static host",
|
|
5067
5075
|
"examples": [
|
|
5068
|
-
"$ xano
|
|
5069
|
-
"$ xano
|
|
5070
|
-
"$ xano
|
|
5076
|
+
"$ xano static_host:build:list default -w 40\nAvailable builds:\n - v1.0.0 (ID: 1) - Status: completed\n - v1.0.1 (ID: 2) - Status: pending\n",
|
|
5077
|
+
"$ xano static_host:build:list myhost --profile production\nAvailable builds:\n - production (ID: 1) - Status: completed\n - staging (ID: 2) - Status: completed\n",
|
|
5078
|
+
"$ xano static_host:build:list default -w 40 --output json\n[\n {\n \"id\": 1,\n \"name\": \"v1.0.0\",\n \"status\": \"completed\"\n }\n]\n",
|
|
5079
|
+
"$ xano static_host:build:list default -p staging -o json --page 2\n[\n {\n \"id\": 3,\n \"name\": \"v1.0.2\"\n }\n]\n"
|
|
5071
5080
|
],
|
|
5072
5081
|
"flags": {
|
|
5073
5082
|
"profile": {
|
|
@@ -5089,18 +5098,10 @@
|
|
|
5089
5098
|
"allowNo": false,
|
|
5090
5099
|
"type": "boolean"
|
|
5091
5100
|
},
|
|
5092
|
-
"
|
|
5093
|
-
"description": "Backup ID to export",
|
|
5094
|
-
"name": "backup_id",
|
|
5095
|
-
"required": true,
|
|
5096
|
-
"hasDynamicHelp": false,
|
|
5097
|
-
"multiple": false,
|
|
5098
|
-
"type": "option"
|
|
5099
|
-
},
|
|
5100
|
-
"format": {
|
|
5101
|
+
"output": {
|
|
5101
5102
|
"char": "o",
|
|
5102
5103
|
"description": "Output format",
|
|
5103
|
-
"name": "
|
|
5104
|
+
"name": "output",
|
|
5104
5105
|
"required": false,
|
|
5105
5106
|
"default": "summary",
|
|
5106
5107
|
"hasDynamicHelp": false,
|
|
@@ -5111,17 +5112,27 @@
|
|
|
5111
5112
|
],
|
|
5112
5113
|
"type": "option"
|
|
5113
5114
|
},
|
|
5114
|
-
"
|
|
5115
|
-
"description": "
|
|
5116
|
-
"name": "
|
|
5115
|
+
"page": {
|
|
5116
|
+
"description": "Page number for pagination",
|
|
5117
|
+
"name": "page",
|
|
5118
|
+
"required": false,
|
|
5119
|
+
"default": 1,
|
|
5120
|
+
"hasDynamicHelp": false,
|
|
5121
|
+
"multiple": false,
|
|
5122
|
+
"type": "option"
|
|
5123
|
+
},
|
|
5124
|
+
"per_page": {
|
|
5125
|
+
"description": "Number of results per page",
|
|
5126
|
+
"name": "per_page",
|
|
5117
5127
|
"required": false,
|
|
5128
|
+
"default": 50,
|
|
5118
5129
|
"hasDynamicHelp": false,
|
|
5119
5130
|
"multiple": false,
|
|
5120
5131
|
"type": "option"
|
|
5121
5132
|
},
|
|
5122
5133
|
"workspace": {
|
|
5123
5134
|
"char": "w",
|
|
5124
|
-
"description": "Workspace ID (
|
|
5135
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
5125
5136
|
"name": "workspace",
|
|
5126
5137
|
"required": false,
|
|
5127
5138
|
"hasDynamicHelp": false,
|
|
@@ -5131,7 +5142,7 @@
|
|
|
5131
5142
|
},
|
|
5132
5143
|
"hasDynamicHelp": false,
|
|
5133
5144
|
"hiddenAliases": [],
|
|
5134
|
-
"id": "
|
|
5145
|
+
"id": "static_host:build:list",
|
|
5135
5146
|
"pluginAlias": "@xano/cli",
|
|
5136
5147
|
"pluginName": "@xano/cli",
|
|
5137
5148
|
"pluginType": "core",
|
|
@@ -5141,25 +5152,25 @@
|
|
|
5141
5152
|
"relativePath": [
|
|
5142
5153
|
"dist",
|
|
5143
5154
|
"commands",
|
|
5144
|
-
"
|
|
5145
|
-
"
|
|
5146
|
-
"
|
|
5155
|
+
"static_host",
|
|
5156
|
+
"build",
|
|
5157
|
+
"list",
|
|
5147
5158
|
"index.js"
|
|
5148
5159
|
]
|
|
5149
5160
|
},
|
|
5150
|
-
"tenant:backup:
|
|
5161
|
+
"tenant:backup:create": {
|
|
5151
5162
|
"aliases": [],
|
|
5152
5163
|
"args": {
|
|
5153
5164
|
"tenant_name": {
|
|
5154
|
-
"description": "Tenant name to
|
|
5165
|
+
"description": "Tenant name to back up",
|
|
5155
5166
|
"name": "tenant_name",
|
|
5156
5167
|
"required": true
|
|
5157
5168
|
}
|
|
5158
5169
|
},
|
|
5159
|
-
"description": "
|
|
5170
|
+
"description": "Create a backup for a tenant",
|
|
5160
5171
|
"examples": [
|
|
5161
|
-
"$ xano tenant backup
|
|
5162
|
-
"$ xano tenant backup
|
|
5172
|
+
"$ xano tenant backup create t1234-abcd-xyz1 --description \"Pre-deploy backup\"\nCreated backup #15 for tenant t1234-abcd-xyz1\n",
|
|
5173
|
+
"$ xano tenant backup create t1234-abcd-xyz1 -d \"Daily backup\" -o json"
|
|
5163
5174
|
],
|
|
5164
5175
|
"flags": {
|
|
5165
5176
|
"profile": {
|
|
@@ -5191,15 +5202,6 @@
|
|
|
5191
5202
|
"multiple": false,
|
|
5192
5203
|
"type": "option"
|
|
5193
5204
|
},
|
|
5194
|
-
"file": {
|
|
5195
|
-
"char": "f",
|
|
5196
|
-
"description": "Path to the backup file (.tar.gz)",
|
|
5197
|
-
"name": "file",
|
|
5198
|
-
"required": true,
|
|
5199
|
-
"hasDynamicHelp": false,
|
|
5200
|
-
"multiple": false,
|
|
5201
|
-
"type": "option"
|
|
5202
|
-
},
|
|
5203
5205
|
"output": {
|
|
5204
5206
|
"char": "o",
|
|
5205
5207
|
"description": "Output format",
|
|
@@ -5226,7 +5228,7 @@
|
|
|
5226
5228
|
},
|
|
5227
5229
|
"hasDynamicHelp": false,
|
|
5228
5230
|
"hiddenAliases": [],
|
|
5229
|
-
"id": "tenant:backup:
|
|
5231
|
+
"id": "tenant:backup:create",
|
|
5230
5232
|
"pluginAlias": "@xano/cli",
|
|
5231
5233
|
"pluginName": "@xano/cli",
|
|
5232
5234
|
"pluginType": "core",
|
|
@@ -5238,23 +5240,24 @@
|
|
|
5238
5240
|
"commands",
|
|
5239
5241
|
"tenant",
|
|
5240
5242
|
"backup",
|
|
5241
|
-
"
|
|
5243
|
+
"create",
|
|
5242
5244
|
"index.js"
|
|
5243
5245
|
]
|
|
5244
5246
|
},
|
|
5245
|
-
"tenant:backup:
|
|
5247
|
+
"tenant:backup:delete": {
|
|
5246
5248
|
"aliases": [],
|
|
5247
5249
|
"args": {
|
|
5248
5250
|
"tenant_name": {
|
|
5249
|
-
"description": "Tenant name
|
|
5251
|
+
"description": "Tenant name that owns the backup",
|
|
5250
5252
|
"name": "tenant_name",
|
|
5251
5253
|
"required": true
|
|
5252
5254
|
}
|
|
5253
5255
|
},
|
|
5254
|
-
"description": "
|
|
5256
|
+
"description": "Delete a tenant backup permanently. This action cannot be undone.",
|
|
5255
5257
|
"examples": [
|
|
5256
|
-
"$ xano tenant backup
|
|
5257
|
-
"$ xano tenant backup
|
|
5258
|
+
"$ xano tenant backup delete t1234-abcd-xyz1 --backup_id 10\nAre you sure you want to delete backup #10? This action cannot be undone. (y/N) y\nDeleted backup #10\n",
|
|
5259
|
+
"$ xano tenant backup delete t1234-abcd-xyz1 --backup_id 10 --force",
|
|
5260
|
+
"$ xano tenant backup delete t1234-abcd-xyz1 --backup_id 10 -o json"
|
|
5258
5261
|
],
|
|
5259
5262
|
"flags": {
|
|
5260
5263
|
"profile": {
|
|
@@ -5276,6 +5279,22 @@
|
|
|
5276
5279
|
"allowNo": false,
|
|
5277
5280
|
"type": "boolean"
|
|
5278
5281
|
},
|
|
5282
|
+
"backup_id": {
|
|
5283
|
+
"description": "Backup ID to delete",
|
|
5284
|
+
"name": "backup_id",
|
|
5285
|
+
"required": true,
|
|
5286
|
+
"hasDynamicHelp": false,
|
|
5287
|
+
"multiple": false,
|
|
5288
|
+
"type": "option"
|
|
5289
|
+
},
|
|
5290
|
+
"force": {
|
|
5291
|
+
"char": "f",
|
|
5292
|
+
"description": "Skip confirmation prompt",
|
|
5293
|
+
"name": "force",
|
|
5294
|
+
"required": false,
|
|
5295
|
+
"allowNo": false,
|
|
5296
|
+
"type": "boolean"
|
|
5297
|
+
},
|
|
5279
5298
|
"output": {
|
|
5280
5299
|
"char": "o",
|
|
5281
5300
|
"description": "Output format",
|
|
@@ -5290,15 +5309,6 @@
|
|
|
5290
5309
|
],
|
|
5291
5310
|
"type": "option"
|
|
5292
5311
|
},
|
|
5293
|
-
"page": {
|
|
5294
|
-
"description": "Page number for pagination",
|
|
5295
|
-
"name": "page",
|
|
5296
|
-
"required": false,
|
|
5297
|
-
"default": 1,
|
|
5298
|
-
"hasDynamicHelp": false,
|
|
5299
|
-
"multiple": false,
|
|
5300
|
-
"type": "option"
|
|
5301
|
-
},
|
|
5302
5312
|
"workspace": {
|
|
5303
5313
|
"char": "w",
|
|
5304
5314
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -5311,7 +5321,7 @@
|
|
|
5311
5321
|
},
|
|
5312
5322
|
"hasDynamicHelp": false,
|
|
5313
5323
|
"hiddenAliases": [],
|
|
5314
|
-
"id": "tenant:backup:
|
|
5324
|
+
"id": "tenant:backup:delete",
|
|
5315
5325
|
"pluginAlias": "@xano/cli",
|
|
5316
5326
|
"pluginName": "@xano/cli",
|
|
5317
5327
|
"pluginType": "core",
|
|
@@ -5323,23 +5333,24 @@
|
|
|
5323
5333
|
"commands",
|
|
5324
5334
|
"tenant",
|
|
5325
5335
|
"backup",
|
|
5326
|
-
"
|
|
5336
|
+
"delete",
|
|
5327
5337
|
"index.js"
|
|
5328
5338
|
]
|
|
5329
5339
|
},
|
|
5330
|
-
"tenant:backup:
|
|
5340
|
+
"tenant:backup:export": {
|
|
5331
5341
|
"aliases": [],
|
|
5332
5342
|
"args": {
|
|
5333
5343
|
"tenant_name": {
|
|
5334
|
-
"description": "Tenant name to
|
|
5344
|
+
"description": "Tenant name to export backup from",
|
|
5335
5345
|
"name": "tenant_name",
|
|
5336
5346
|
"required": true
|
|
5337
5347
|
}
|
|
5338
5348
|
},
|
|
5339
|
-
"description": "
|
|
5349
|
+
"description": "Export (download) a tenant backup to a local file",
|
|
5340
5350
|
"examples": [
|
|
5341
|
-
"$ xano tenant backup
|
|
5342
|
-
"$ xano tenant backup
|
|
5351
|
+
"$ xano tenant backup export t1234-abcd-xyz1 --backup_id 10\nDownloaded backup #10 to ./tenant-t1234-abcd-xyz1-backup-10.tar.gz\n",
|
|
5352
|
+
"$ xano tenant backup export t1234-abcd-xyz1 --backup_id 10 --output ./backups/my-backup.tar.gz",
|
|
5353
|
+
"$ xano tenant backup export t1234-abcd-xyz1 --backup_id 10 -o json"
|
|
5343
5354
|
],
|
|
5344
5355
|
"flags": {
|
|
5345
5356
|
"profile": {
|
|
@@ -5362,25 +5373,17 @@
|
|
|
5362
5373
|
"type": "boolean"
|
|
5363
5374
|
},
|
|
5364
5375
|
"backup_id": {
|
|
5365
|
-
"description": "Backup ID to
|
|
5376
|
+
"description": "Backup ID to export",
|
|
5366
5377
|
"name": "backup_id",
|
|
5367
5378
|
"required": true,
|
|
5368
5379
|
"hasDynamicHelp": false,
|
|
5369
5380
|
"multiple": false,
|
|
5370
5381
|
"type": "option"
|
|
5371
5382
|
},
|
|
5372
|
-
"
|
|
5373
|
-
"char": "f",
|
|
5374
|
-
"description": "Skip confirmation prompt",
|
|
5375
|
-
"name": "force",
|
|
5376
|
-
"required": false,
|
|
5377
|
-
"allowNo": false,
|
|
5378
|
-
"type": "boolean"
|
|
5379
|
-
},
|
|
5380
|
-
"output": {
|
|
5383
|
+
"format": {
|
|
5381
5384
|
"char": "o",
|
|
5382
5385
|
"description": "Output format",
|
|
5383
|
-
"name": "
|
|
5386
|
+
"name": "format",
|
|
5384
5387
|
"required": false,
|
|
5385
5388
|
"default": "summary",
|
|
5386
5389
|
"hasDynamicHelp": false,
|
|
@@ -5391,6 +5394,14 @@
|
|
|
5391
5394
|
],
|
|
5392
5395
|
"type": "option"
|
|
5393
5396
|
},
|
|
5397
|
+
"output": {
|
|
5398
|
+
"description": "Output file path (defaults to ./tenant-{name}-backup-{backup_id}.tar.gz)",
|
|
5399
|
+
"name": "output",
|
|
5400
|
+
"required": false,
|
|
5401
|
+
"hasDynamicHelp": false,
|
|
5402
|
+
"multiple": false,
|
|
5403
|
+
"type": "option"
|
|
5404
|
+
},
|
|
5394
5405
|
"workspace": {
|
|
5395
5406
|
"char": "w",
|
|
5396
5407
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -5403,7 +5414,7 @@
|
|
|
5403
5414
|
},
|
|
5404
5415
|
"hasDynamicHelp": false,
|
|
5405
5416
|
"hiddenAliases": [],
|
|
5406
|
-
"id": "tenant:backup:
|
|
5417
|
+
"id": "tenant:backup:export",
|
|
5407
5418
|
"pluginAlias": "@xano/cli",
|
|
5408
5419
|
"pluginName": "@xano/cli",
|
|
5409
5420
|
"pluginType": "core",
|
|
@@ -5415,24 +5426,23 @@
|
|
|
5415
5426
|
"commands",
|
|
5416
5427
|
"tenant",
|
|
5417
5428
|
"backup",
|
|
5418
|
-
"
|
|
5429
|
+
"export",
|
|
5419
5430
|
"index.js"
|
|
5420
5431
|
]
|
|
5421
5432
|
},
|
|
5422
|
-
"
|
|
5433
|
+
"tenant:backup:import": {
|
|
5423
5434
|
"aliases": [],
|
|
5424
5435
|
"args": {
|
|
5425
|
-
"
|
|
5426
|
-
"description": "
|
|
5427
|
-
"name": "
|
|
5436
|
+
"tenant_name": {
|
|
5437
|
+
"description": "Tenant name to import backup into",
|
|
5438
|
+
"name": "tenant_name",
|
|
5428
5439
|
"required": true
|
|
5429
5440
|
}
|
|
5430
5441
|
},
|
|
5431
|
-
"description": "
|
|
5442
|
+
"description": "Import a backup file into a tenant",
|
|
5432
5443
|
"examples": [
|
|
5433
|
-
"$ xano
|
|
5434
|
-
"$ xano
|
|
5435
|
-
"$ 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"
|
|
5444
|
+
"$ xano tenant backup import t1234-abcd-xyz1 --file ./my-backup.tar.gz\nImported backup as #15 for tenant t1234-abcd-xyz1\n",
|
|
5445
|
+
"$ xano tenant backup import t1234-abcd-xyz1 --file ./my-backup.tar.gz --description \"Restored from production\" -o json"
|
|
5436
5446
|
],
|
|
5437
5447
|
"flags": {
|
|
5438
5448
|
"profile": {
|
|
@@ -5456,31 +5466,23 @@
|
|
|
5456
5466
|
},
|
|
5457
5467
|
"description": {
|
|
5458
5468
|
"char": "d",
|
|
5459
|
-
"description": "
|
|
5469
|
+
"description": "Backup description",
|
|
5460
5470
|
"name": "description",
|
|
5461
5471
|
"required": false,
|
|
5472
|
+
"default": "",
|
|
5462
5473
|
"hasDynamicHelp": false,
|
|
5463
5474
|
"multiple": false,
|
|
5464
5475
|
"type": "option"
|
|
5465
5476
|
},
|
|
5466
5477
|
"file": {
|
|
5467
5478
|
"char": "f",
|
|
5468
|
-
"description": "Path to
|
|
5479
|
+
"description": "Path to the backup file (.tar.gz)",
|
|
5469
5480
|
"name": "file",
|
|
5470
5481
|
"required": true,
|
|
5471
5482
|
"hasDynamicHelp": false,
|
|
5472
5483
|
"multiple": false,
|
|
5473
5484
|
"type": "option"
|
|
5474
5485
|
},
|
|
5475
|
-
"name": {
|
|
5476
|
-
"char": "n",
|
|
5477
|
-
"description": "Build name",
|
|
5478
|
-
"name": "name",
|
|
5479
|
-
"required": true,
|
|
5480
|
-
"hasDynamicHelp": false,
|
|
5481
|
-
"multiple": false,
|
|
5482
|
-
"type": "option"
|
|
5483
|
-
},
|
|
5484
5486
|
"output": {
|
|
5485
5487
|
"char": "o",
|
|
5486
5488
|
"description": "Output format",
|
|
@@ -5497,7 +5499,7 @@
|
|
|
5497
5499
|
},
|
|
5498
5500
|
"workspace": {
|
|
5499
5501
|
"char": "w",
|
|
5500
|
-
"description": "Workspace ID (
|
|
5502
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
5501
5503
|
"name": "workspace",
|
|
5502
5504
|
"required": false,
|
|
5503
5505
|
"hasDynamicHelp": false,
|
|
@@ -5507,7 +5509,7 @@
|
|
|
5507
5509
|
},
|
|
5508
5510
|
"hasDynamicHelp": false,
|
|
5509
5511
|
"hiddenAliases": [],
|
|
5510
|
-
"id": "
|
|
5512
|
+
"id": "tenant:backup:import",
|
|
5511
5513
|
"pluginAlias": "@xano/cli",
|
|
5512
5514
|
"pluginName": "@xano/cli",
|
|
5513
5515
|
"pluginType": "core",
|
|
@@ -5517,32 +5519,25 @@
|
|
|
5517
5519
|
"relativePath": [
|
|
5518
5520
|
"dist",
|
|
5519
5521
|
"commands",
|
|
5520
|
-
"
|
|
5521
|
-
"
|
|
5522
|
-
"
|
|
5522
|
+
"tenant",
|
|
5523
|
+
"backup",
|
|
5524
|
+
"import",
|
|
5523
5525
|
"index.js"
|
|
5524
5526
|
]
|
|
5525
5527
|
},
|
|
5526
|
-
"
|
|
5528
|
+
"tenant:backup:list": {
|
|
5527
5529
|
"aliases": [],
|
|
5528
5530
|
"args": {
|
|
5529
|
-
"
|
|
5530
|
-
"description": "
|
|
5531
|
-
"name": "
|
|
5532
|
-
"required": true
|
|
5533
|
-
},
|
|
5534
|
-
"static_host": {
|
|
5535
|
-
"description": "Static Host name",
|
|
5536
|
-
"name": "static_host",
|
|
5531
|
+
"tenant_name": {
|
|
5532
|
+
"description": "Tenant name to list backups for",
|
|
5533
|
+
"name": "tenant_name",
|
|
5537
5534
|
"required": true
|
|
5538
5535
|
}
|
|
5539
5536
|
},
|
|
5540
|
-
"description": "
|
|
5537
|
+
"description": "List backups for a tenant",
|
|
5541
5538
|
"examples": [
|
|
5542
|
-
"$ xano
|
|
5543
|
-
"$ xano
|
|
5544
|
-
"$ xano static_host:build:get myhost 123 --profile production\nBuild Details:\nID: 123\nName: production-build\n",
|
|
5545
|
-
"$ xano static_host:build:get default 52 -o json\n{\n \"id\": 52,\n \"name\": \"v1.0.0\",\n \"status\": \"completed\"\n}\n"
|
|
5539
|
+
"$ xano tenant backup list t1234-abcd-xyz1\nBackups for tenant t1234-abcd-xyz1:\n - #1 - Pre-deploy backup (2024-01-15)\n - #2 - Daily backup (2024-01-16)\n",
|
|
5540
|
+
"$ xano tenant backup list t1234-abcd-xyz1 -o json"
|
|
5546
5541
|
],
|
|
5547
5542
|
"flags": {
|
|
5548
5543
|
"profile": {
|
|
@@ -5578,9 +5573,18 @@
|
|
|
5578
5573
|
],
|
|
5579
5574
|
"type": "option"
|
|
5580
5575
|
},
|
|
5576
|
+
"page": {
|
|
5577
|
+
"description": "Page number for pagination",
|
|
5578
|
+
"name": "page",
|
|
5579
|
+
"required": false,
|
|
5580
|
+
"default": 1,
|
|
5581
|
+
"hasDynamicHelp": false,
|
|
5582
|
+
"multiple": false,
|
|
5583
|
+
"type": "option"
|
|
5584
|
+
},
|
|
5581
5585
|
"workspace": {
|
|
5582
5586
|
"char": "w",
|
|
5583
|
-
"description": "Workspace ID (
|
|
5587
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
5584
5588
|
"name": "workspace",
|
|
5585
5589
|
"required": false,
|
|
5586
5590
|
"hasDynamicHelp": false,
|
|
@@ -5590,7 +5594,7 @@
|
|
|
5590
5594
|
},
|
|
5591
5595
|
"hasDynamicHelp": false,
|
|
5592
5596
|
"hiddenAliases": [],
|
|
5593
|
-
"id": "
|
|
5597
|
+
"id": "tenant:backup:list",
|
|
5594
5598
|
"pluginAlias": "@xano/cli",
|
|
5595
5599
|
"pluginName": "@xano/cli",
|
|
5596
5600
|
"pluginType": "core",
|
|
@@ -5600,27 +5604,25 @@
|
|
|
5600
5604
|
"relativePath": [
|
|
5601
5605
|
"dist",
|
|
5602
5606
|
"commands",
|
|
5603
|
-
"
|
|
5604
|
-
"
|
|
5605
|
-
"
|
|
5607
|
+
"tenant",
|
|
5608
|
+
"backup",
|
|
5609
|
+
"list",
|
|
5606
5610
|
"index.js"
|
|
5607
5611
|
]
|
|
5608
5612
|
},
|
|
5609
|
-
"
|
|
5613
|
+
"tenant:backup:restore": {
|
|
5610
5614
|
"aliases": [],
|
|
5611
5615
|
"args": {
|
|
5612
|
-
"
|
|
5613
|
-
"description": "
|
|
5614
|
-
"name": "
|
|
5616
|
+
"tenant_name": {
|
|
5617
|
+
"description": "Tenant name to restore",
|
|
5618
|
+
"name": "tenant_name",
|
|
5615
5619
|
"required": true
|
|
5616
5620
|
}
|
|
5617
5621
|
},
|
|
5618
|
-
"description": "
|
|
5622
|
+
"description": "Restore a tenant from a backup. This replaces the current tenant data.",
|
|
5619
5623
|
"examples": [
|
|
5620
|
-
"$ xano
|
|
5621
|
-
"$ xano
|
|
5622
|
-
"$ xano static_host:build:list default -w 40 --output json\n[\n {\n \"id\": 1,\n \"name\": \"v1.0.0\",\n \"status\": \"completed\"\n }\n]\n",
|
|
5623
|
-
"$ xano static_host:build:list default -p staging -o json --page 2\n[\n {\n \"id\": 3,\n \"name\": \"v1.0.2\"\n }\n]\n"
|
|
5624
|
+
"$ xano tenant backup restore t1234-abcd-xyz1 --backup_id 10\nAre you sure you want to restore tenant t1234-abcd-xyz1 from backup 10? This will replace current data. (y/N) y\nRestored tenant t1234-abcd-xyz1 from backup #10\n",
|
|
5625
|
+
"$ xano tenant backup restore t1234-abcd-xyz1 --backup_id 10 --force -o json"
|
|
5624
5626
|
],
|
|
5625
5627
|
"flags": {
|
|
5626
5628
|
"profile": {
|
|
@@ -5642,6 +5644,22 @@
|
|
|
5642
5644
|
"allowNo": false,
|
|
5643
5645
|
"type": "boolean"
|
|
5644
5646
|
},
|
|
5647
|
+
"backup_id": {
|
|
5648
|
+
"description": "Backup ID to restore from",
|
|
5649
|
+
"name": "backup_id",
|
|
5650
|
+
"required": true,
|
|
5651
|
+
"hasDynamicHelp": false,
|
|
5652
|
+
"multiple": false,
|
|
5653
|
+
"type": "option"
|
|
5654
|
+
},
|
|
5655
|
+
"force": {
|
|
5656
|
+
"char": "f",
|
|
5657
|
+
"description": "Skip confirmation prompt",
|
|
5658
|
+
"name": "force",
|
|
5659
|
+
"required": false,
|
|
5660
|
+
"allowNo": false,
|
|
5661
|
+
"type": "boolean"
|
|
5662
|
+
},
|
|
5645
5663
|
"output": {
|
|
5646
5664
|
"char": "o",
|
|
5647
5665
|
"description": "Output format",
|
|
@@ -5656,27 +5674,9 @@
|
|
|
5656
5674
|
],
|
|
5657
5675
|
"type": "option"
|
|
5658
5676
|
},
|
|
5659
|
-
"page": {
|
|
5660
|
-
"description": "Page number for pagination",
|
|
5661
|
-
"name": "page",
|
|
5662
|
-
"required": false,
|
|
5663
|
-
"default": 1,
|
|
5664
|
-
"hasDynamicHelp": false,
|
|
5665
|
-
"multiple": false,
|
|
5666
|
-
"type": "option"
|
|
5667
|
-
},
|
|
5668
|
-
"per_page": {
|
|
5669
|
-
"description": "Number of results per page",
|
|
5670
|
-
"name": "per_page",
|
|
5671
|
-
"required": false,
|
|
5672
|
-
"default": 50,
|
|
5673
|
-
"hasDynamicHelp": false,
|
|
5674
|
-
"multiple": false,
|
|
5675
|
-
"type": "option"
|
|
5676
|
-
},
|
|
5677
5677
|
"workspace": {
|
|
5678
5678
|
"char": "w",
|
|
5679
|
-
"description": "Workspace ID (
|
|
5679
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
5680
5680
|
"name": "workspace",
|
|
5681
5681
|
"required": false,
|
|
5682
5682
|
"hasDynamicHelp": false,
|
|
@@ -5686,7 +5686,7 @@
|
|
|
5686
5686
|
},
|
|
5687
5687
|
"hasDynamicHelp": false,
|
|
5688
5688
|
"hiddenAliases": [],
|
|
5689
|
-
"id": "
|
|
5689
|
+
"id": "tenant:backup:restore",
|
|
5690
5690
|
"pluginAlias": "@xano/cli",
|
|
5691
5691
|
"pluginName": "@xano/cli",
|
|
5692
5692
|
"pluginType": "core",
|
|
@@ -5696,9 +5696,9 @@
|
|
|
5696
5696
|
"relativePath": [
|
|
5697
5697
|
"dist",
|
|
5698
5698
|
"commands",
|
|
5699
|
-
"
|
|
5700
|
-
"
|
|
5701
|
-
"
|
|
5699
|
+
"tenant",
|
|
5700
|
+
"backup",
|
|
5701
|
+
"restore",
|
|
5702
5702
|
"index.js"
|
|
5703
5703
|
]
|
|
5704
5704
|
},
|
|
@@ -5824,19 +5824,20 @@
|
|
|
5824
5824
|
"index.js"
|
|
5825
5825
|
]
|
|
5826
5826
|
},
|
|
5827
|
-
"tenant:cluster:
|
|
5827
|
+
"tenant:cluster:delete": {
|
|
5828
5828
|
"aliases": [],
|
|
5829
5829
|
"args": {
|
|
5830
5830
|
"cluster_id": {
|
|
5831
|
-
"description": "Cluster ID to
|
|
5831
|
+
"description": "Cluster ID to delete",
|
|
5832
5832
|
"name": "cluster_id",
|
|
5833
5833
|
"required": true
|
|
5834
5834
|
}
|
|
5835
5835
|
},
|
|
5836
|
-
"description": "
|
|
5836
|
+
"description": "Delete a tenant cluster. This action cannot be undone.",
|
|
5837
5837
|
"examples": [
|
|
5838
|
-
"$ xano tenant cluster
|
|
5839
|
-
"$ xano tenant cluster
|
|
5838
|
+
"$ 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",
|
|
5839
|
+
"$ xano tenant cluster delete 3 --force\nTenant cluster 3 deleted successfully\n",
|
|
5840
|
+
"$ xano tenant cluster delete 3 -f -o json"
|
|
5840
5841
|
],
|
|
5841
5842
|
"flags": {
|
|
5842
5843
|
"profile": {
|
|
@@ -5858,31 +5859,13 @@
|
|
|
5858
5859
|
"allowNo": false,
|
|
5859
5860
|
"type": "boolean"
|
|
5860
5861
|
},
|
|
5861
|
-
"
|
|
5862
|
-
"char": "
|
|
5863
|
-
"description": "
|
|
5864
|
-
"name": "
|
|
5865
|
-
"required":
|
|
5866
|
-
"
|
|
5867
|
-
"
|
|
5868
|
-
"type": "option"
|
|
5869
|
-
},
|
|
5870
|
-
"domain": {
|
|
5871
|
-
"description": "Custom domain for the cluster",
|
|
5872
|
-
"name": "domain",
|
|
5873
|
-
"required": true,
|
|
5874
|
-
"hasDynamicHelp": false,
|
|
5875
|
-
"multiple": false,
|
|
5876
|
-
"type": "option"
|
|
5877
|
-
},
|
|
5878
|
-
"name": {
|
|
5879
|
-
"char": "n",
|
|
5880
|
-
"description": "Cluster name",
|
|
5881
|
-
"name": "name",
|
|
5882
|
-
"required": true,
|
|
5883
|
-
"hasDynamicHelp": false,
|
|
5884
|
-
"multiple": false,
|
|
5885
|
-
"type": "option"
|
|
5862
|
+
"force": {
|
|
5863
|
+
"char": "f",
|
|
5864
|
+
"description": "Skip confirmation prompt",
|
|
5865
|
+
"name": "force",
|
|
5866
|
+
"required": false,
|
|
5867
|
+
"allowNo": false,
|
|
5868
|
+
"type": "boolean"
|
|
5886
5869
|
},
|
|
5887
5870
|
"output": {
|
|
5888
5871
|
"char": "o",
|
|
@@ -5897,23 +5880,11 @@
|
|
|
5897
5880
|
"json"
|
|
5898
5881
|
],
|
|
5899
5882
|
"type": "option"
|
|
5900
|
-
},
|
|
5901
|
-
"type": {
|
|
5902
|
-
"description": "Cluster type",
|
|
5903
|
-
"name": "type",
|
|
5904
|
-
"required": true,
|
|
5905
|
-
"hasDynamicHelp": false,
|
|
5906
|
-
"multiple": false,
|
|
5907
|
-
"options": [
|
|
5908
|
-
"standard",
|
|
5909
|
-
"run"
|
|
5910
|
-
],
|
|
5911
|
-
"type": "option"
|
|
5912
5883
|
}
|
|
5913
5884
|
},
|
|
5914
5885
|
"hasDynamicHelp": false,
|
|
5915
5886
|
"hiddenAliases": [],
|
|
5916
|
-
"id": "tenant:cluster:
|
|
5887
|
+
"id": "tenant:cluster:delete",
|
|
5917
5888
|
"pluginAlias": "@xano/cli",
|
|
5918
5889
|
"pluginName": "@xano/cli",
|
|
5919
5890
|
"pluginType": "core",
|
|
@@ -5925,24 +5896,23 @@
|
|
|
5925
5896
|
"commands",
|
|
5926
5897
|
"tenant",
|
|
5927
5898
|
"cluster",
|
|
5928
|
-
"
|
|
5899
|
+
"delete",
|
|
5929
5900
|
"index.js"
|
|
5930
5901
|
]
|
|
5931
5902
|
},
|
|
5932
|
-
"tenant:cluster:
|
|
5903
|
+
"tenant:cluster:edit": {
|
|
5933
5904
|
"aliases": [],
|
|
5934
5905
|
"args": {
|
|
5935
5906
|
"cluster_id": {
|
|
5936
|
-
"description": "Cluster ID to
|
|
5907
|
+
"description": "Cluster ID to edit",
|
|
5937
5908
|
"name": "cluster_id",
|
|
5938
5909
|
"required": true
|
|
5939
5910
|
}
|
|
5940
5911
|
},
|
|
5941
|
-
"description": "
|
|
5912
|
+
"description": "Update an existing tenant cluster",
|
|
5942
5913
|
"examples": [
|
|
5943
|
-
"$ xano tenant cluster
|
|
5944
|
-
"$ xano tenant cluster
|
|
5945
|
-
"$ xano tenant cluster delete 3 -f -o json"
|
|
5914
|
+
"$ xano tenant cluster edit 1 --name \"us-east-1-updated\" --description \"Updated cluster\" --domain \"us-east.xano.io\" --type standard\nUpdated tenant cluster: us-east-1-updated (standard) - ID: 1\n",
|
|
5915
|
+
"$ xano tenant cluster edit 1 --name \"eu-west\" --description \"\" --domain \"\" --type run -o json"
|
|
5946
5916
|
],
|
|
5947
5917
|
"flags": {
|
|
5948
5918
|
"profile": {
|
|
@@ -5964,13 +5934,31 @@
|
|
|
5964
5934
|
"allowNo": false,
|
|
5965
5935
|
"type": "boolean"
|
|
5966
5936
|
},
|
|
5967
|
-
"
|
|
5968
|
-
"char": "
|
|
5969
|
-
"description": "
|
|
5970
|
-
"name": "
|
|
5971
|
-
"required":
|
|
5972
|
-
"
|
|
5973
|
-
"
|
|
5937
|
+
"description": {
|
|
5938
|
+
"char": "d",
|
|
5939
|
+
"description": "Cluster description",
|
|
5940
|
+
"name": "description",
|
|
5941
|
+
"required": true,
|
|
5942
|
+
"hasDynamicHelp": false,
|
|
5943
|
+
"multiple": false,
|
|
5944
|
+
"type": "option"
|
|
5945
|
+
},
|
|
5946
|
+
"domain": {
|
|
5947
|
+
"description": "Custom domain for the cluster",
|
|
5948
|
+
"name": "domain",
|
|
5949
|
+
"required": true,
|
|
5950
|
+
"hasDynamicHelp": false,
|
|
5951
|
+
"multiple": false,
|
|
5952
|
+
"type": "option"
|
|
5953
|
+
},
|
|
5954
|
+
"name": {
|
|
5955
|
+
"char": "n",
|
|
5956
|
+
"description": "Cluster name",
|
|
5957
|
+
"name": "name",
|
|
5958
|
+
"required": true,
|
|
5959
|
+
"hasDynamicHelp": false,
|
|
5960
|
+
"multiple": false,
|
|
5961
|
+
"type": "option"
|
|
5974
5962
|
},
|
|
5975
5963
|
"output": {
|
|
5976
5964
|
"char": "o",
|
|
@@ -5985,11 +5973,23 @@
|
|
|
5985
5973
|
"json"
|
|
5986
5974
|
],
|
|
5987
5975
|
"type": "option"
|
|
5976
|
+
},
|
|
5977
|
+
"type": {
|
|
5978
|
+
"description": "Cluster type",
|
|
5979
|
+
"name": "type",
|
|
5980
|
+
"required": true,
|
|
5981
|
+
"hasDynamicHelp": false,
|
|
5982
|
+
"multiple": false,
|
|
5983
|
+
"options": [
|
|
5984
|
+
"standard",
|
|
5985
|
+
"run"
|
|
5986
|
+
],
|
|
5987
|
+
"type": "option"
|
|
5988
5988
|
}
|
|
5989
5989
|
},
|
|
5990
5990
|
"hasDynamicHelp": false,
|
|
5991
5991
|
"hiddenAliases": [],
|
|
5992
|
-
"id": "tenant:cluster:
|
|
5992
|
+
"id": "tenant:cluster:edit",
|
|
5993
5993
|
"pluginAlias": "@xano/cli",
|
|
5994
5994
|
"pluginName": "@xano/cli",
|
|
5995
5995
|
"pluginType": "core",
|
|
@@ -6001,7 +6001,7 @@
|
|
|
6001
6001
|
"commands",
|
|
6002
6002
|
"tenant",
|
|
6003
6003
|
"cluster",
|
|
6004
|
-
"
|
|
6004
|
+
"edit",
|
|
6005
6005
|
"index.js"
|
|
6006
6006
|
]
|
|
6007
6007
|
},
|
|
@@ -6406,7 +6406,7 @@
|
|
|
6406
6406
|
"index.js"
|
|
6407
6407
|
]
|
|
6408
6408
|
},
|
|
6409
|
-
"tenant:env:
|
|
6409
|
+
"tenant:env:set": {
|
|
6410
6410
|
"aliases": [],
|
|
6411
6411
|
"args": {
|
|
6412
6412
|
"tenant_name": {
|
|
@@ -6415,10 +6415,10 @@
|
|
|
6415
6415
|
"required": true
|
|
6416
6416
|
}
|
|
6417
6417
|
},
|
|
6418
|
-
"description": "
|
|
6418
|
+
"description": "Set (create or update) an environment variable for a tenant",
|
|
6419
6419
|
"examples": [
|
|
6420
|
-
"$ xano tenant env
|
|
6421
|
-
"$ xano tenant env
|
|
6420
|
+
"$ xano tenant env set my-tenant --name DATABASE_URL --value postgres://localhost:5432/mydb\nEnvironment variable 'DATABASE_URL' set for tenant my-tenant\n",
|
|
6421
|
+
"$ xano tenant env set my-tenant --name DATABASE_URL --value postgres://localhost:5432/mydb -w 5 -o json"
|
|
6422
6422
|
],
|
|
6423
6423
|
"flags": {
|
|
6424
6424
|
"profile": {
|
|
@@ -6440,6 +6440,15 @@
|
|
|
6440
6440
|
"allowNo": false,
|
|
6441
6441
|
"type": "boolean"
|
|
6442
6442
|
},
|
|
6443
|
+
"name": {
|
|
6444
|
+
"char": "n",
|
|
6445
|
+
"description": "Environment variable name",
|
|
6446
|
+
"name": "name",
|
|
6447
|
+
"required": true,
|
|
6448
|
+
"hasDynamicHelp": false,
|
|
6449
|
+
"multiple": false,
|
|
6450
|
+
"type": "option"
|
|
6451
|
+
},
|
|
6443
6452
|
"output": {
|
|
6444
6453
|
"char": "o",
|
|
6445
6454
|
"description": "Output format",
|
|
@@ -6454,6 +6463,14 @@
|
|
|
6454
6463
|
],
|
|
6455
6464
|
"type": "option"
|
|
6456
6465
|
},
|
|
6466
|
+
"value": {
|
|
6467
|
+
"description": "Environment variable value",
|
|
6468
|
+
"name": "value",
|
|
6469
|
+
"required": true,
|
|
6470
|
+
"hasDynamicHelp": false,
|
|
6471
|
+
"multiple": false,
|
|
6472
|
+
"type": "option"
|
|
6473
|
+
},
|
|
6457
6474
|
"workspace": {
|
|
6458
6475
|
"char": "w",
|
|
6459
6476
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -6466,7 +6483,7 @@
|
|
|
6466
6483
|
},
|
|
6467
6484
|
"hasDynamicHelp": false,
|
|
6468
6485
|
"hiddenAliases": [],
|
|
6469
|
-
"id": "tenant:env:
|
|
6486
|
+
"id": "tenant:env:set",
|
|
6470
6487
|
"pluginAlias": "@xano/cli",
|
|
6471
6488
|
"pluginName": "@xano/cli",
|
|
6472
6489
|
"pluginType": "core",
|
|
@@ -6478,11 +6495,11 @@
|
|
|
6478
6495
|
"commands",
|
|
6479
6496
|
"tenant",
|
|
6480
6497
|
"env",
|
|
6481
|
-
"
|
|
6498
|
+
"set",
|
|
6482
6499
|
"index.js"
|
|
6483
6500
|
]
|
|
6484
6501
|
},
|
|
6485
|
-
"tenant:env:
|
|
6502
|
+
"tenant:env:list": {
|
|
6486
6503
|
"aliases": [],
|
|
6487
6504
|
"args": {
|
|
6488
6505
|
"tenant_name": {
|
|
@@ -6491,10 +6508,10 @@
|
|
|
6491
6508
|
"required": true
|
|
6492
6509
|
}
|
|
6493
6510
|
},
|
|
6494
|
-
"description": "
|
|
6511
|
+
"description": "List environment variable keys for a tenant",
|
|
6495
6512
|
"examples": [
|
|
6496
|
-
"$ xano tenant env
|
|
6497
|
-
"$ xano tenant env
|
|
6513
|
+
"$ xano tenant env list my-tenant\nEnvironment variables for tenant my-tenant:\n - DATABASE_URL\n - API_KEY\n - SECRET_TOKEN\n",
|
|
6514
|
+
"$ xano tenant env list my-tenant -w 5 -o json"
|
|
6498
6515
|
],
|
|
6499
6516
|
"flags": {
|
|
6500
6517
|
"profile": {
|
|
@@ -6516,15 +6533,6 @@
|
|
|
6516
6533
|
"allowNo": false,
|
|
6517
6534
|
"type": "boolean"
|
|
6518
6535
|
},
|
|
6519
|
-
"name": {
|
|
6520
|
-
"char": "n",
|
|
6521
|
-
"description": "Environment variable name",
|
|
6522
|
-
"name": "name",
|
|
6523
|
-
"required": true,
|
|
6524
|
-
"hasDynamicHelp": false,
|
|
6525
|
-
"multiple": false,
|
|
6526
|
-
"type": "option"
|
|
6527
|
-
},
|
|
6528
6536
|
"output": {
|
|
6529
6537
|
"char": "o",
|
|
6530
6538
|
"description": "Output format",
|
|
@@ -6539,14 +6547,6 @@
|
|
|
6539
6547
|
],
|
|
6540
6548
|
"type": "option"
|
|
6541
6549
|
},
|
|
6542
|
-
"value": {
|
|
6543
|
-
"description": "Environment variable value",
|
|
6544
|
-
"name": "value",
|
|
6545
|
-
"required": true,
|
|
6546
|
-
"hasDynamicHelp": false,
|
|
6547
|
-
"multiple": false,
|
|
6548
|
-
"type": "option"
|
|
6549
|
-
},
|
|
6550
6550
|
"workspace": {
|
|
6551
6551
|
"char": "w",
|
|
6552
6552
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -6559,7 +6559,7 @@
|
|
|
6559
6559
|
},
|
|
6560
6560
|
"hasDynamicHelp": false,
|
|
6561
6561
|
"hiddenAliases": [],
|
|
6562
|
-
"id": "tenant:env:
|
|
6562
|
+
"id": "tenant:env:list",
|
|
6563
6563
|
"pluginAlias": "@xano/cli",
|
|
6564
6564
|
"pluginName": "@xano/cli",
|
|
6565
6565
|
"pluginType": "core",
|
|
@@ -6571,7 +6571,7 @@
|
|
|
6571
6571
|
"commands",
|
|
6572
6572
|
"tenant",
|
|
6573
6573
|
"env",
|
|
6574
|
-
"
|
|
6574
|
+
"list",
|
|
6575
6575
|
"index.js"
|
|
6576
6576
|
]
|
|
6577
6577
|
},
|
|
@@ -7159,5 +7159,5 @@
|
|
|
7159
7159
|
]
|
|
7160
7160
|
}
|
|
7161
7161
|
},
|
|
7162
|
-
"version": "0.0.
|
|
7162
|
+
"version": "0.0.88"
|
|
7163
7163
|
}
|