@xano/cli 0.0.33 → 0.0.34
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/dist/commands/workflow_test/delete/index.d.ts +21 -0
- package/dist/commands/workflow_test/delete/index.js +130 -0
- package/dist/commands/workflow_test/get/index.d.ts +20 -0
- package/dist/commands/workflow_test/get/index.js +142 -0
- package/dist/commands/workflow_test/list/index.d.ts +14 -0
- package/dist/commands/workflow_test/list/index.js +129 -0
- package/dist/commands/workflow_test/run/index.d.ts +19 -0
- package/dist/commands/workflow_test/run/index.js +119 -0
- package/dist/commands/workflow_test/run_all/index.d.ts +14 -0
- package/dist/commands/workflow_test/run_all/index.js +204 -0
- package/oclif.manifest.json +1476 -1077
- package/package.json +4 -1
- /package/dist/commands/branch/{set-live → set_live}/index.d.ts +0 -0
- /package/dist/commands/branch/{set-live → set_live}/index.js +0 -0
- /package/dist/commands/profile/{get-default → get_default}/index.d.ts +0 -0
- /package/dist/commands/profile/{get-default → get_default}/index.js +0 -0
- /package/dist/commands/profile/{set-default → set_default}/index.d.ts +0 -0
- /package/dist/commands/profile/{set-default → set_default}/index.js +0 -0
- /package/dist/commands/tenant/{deploy-platform → deploy_platform}/index.d.ts +0 -0
- /package/dist/commands/tenant/{deploy-platform → deploy_platform}/index.js +0 -0
- /package/dist/commands/tenant/{deploy-release → deploy_release}/index.d.ts +0 -0
- /package/dist/commands/tenant/{deploy-release → deploy_release}/index.js +0 -0
package/oclif.manifest.json
CHANGED
|
@@ -226,20 +226,20 @@
|
|
|
226
226
|
"index.js"
|
|
227
227
|
]
|
|
228
228
|
},
|
|
229
|
-
"branch:
|
|
229
|
+
"branch:set_live": {
|
|
230
230
|
"aliases": [],
|
|
231
231
|
"args": {
|
|
232
|
-
"
|
|
233
|
-
"description": "
|
|
234
|
-
"name": "
|
|
235
|
-
"required":
|
|
232
|
+
"branch_label": {
|
|
233
|
+
"description": "Branch label to set as live (use \"v1\" for default branch)",
|
|
234
|
+
"name": "branch_label",
|
|
235
|
+
"required": true
|
|
236
236
|
}
|
|
237
237
|
},
|
|
238
|
-
"description": "
|
|
238
|
+
"description": "Set a branch as the live (active) branch for API requests",
|
|
239
239
|
"examples": [
|
|
240
|
-
"$ xano branch
|
|
241
|
-
"$ xano branch
|
|
242
|
-
"$ xano branch
|
|
240
|
+
"$ 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",
|
|
241
|
+
"$ xano branch set-live v1 --force\nBranch 'v1' is now live\n",
|
|
242
|
+
"$ 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"
|
|
243
243
|
],
|
|
244
244
|
"flags": {
|
|
245
245
|
"profile": {
|
|
@@ -261,6 +261,14 @@
|
|
|
261
261
|
"allowNo": false,
|
|
262
262
|
"type": "boolean"
|
|
263
263
|
},
|
|
264
|
+
"force": {
|
|
265
|
+
"char": "f",
|
|
266
|
+
"description": "Skip confirmation prompt",
|
|
267
|
+
"name": "force",
|
|
268
|
+
"required": false,
|
|
269
|
+
"allowNo": false,
|
|
270
|
+
"type": "boolean"
|
|
271
|
+
},
|
|
264
272
|
"output": {
|
|
265
273
|
"char": "o",
|
|
266
274
|
"description": "Output format",
|
|
@@ -274,11 +282,20 @@
|
|
|
274
282
|
"json"
|
|
275
283
|
],
|
|
276
284
|
"type": "option"
|
|
285
|
+
},
|
|
286
|
+
"workspace": {
|
|
287
|
+
"char": "w",
|
|
288
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
289
|
+
"name": "workspace",
|
|
290
|
+
"required": false,
|
|
291
|
+
"hasDynamicHelp": false,
|
|
292
|
+
"multiple": false,
|
|
293
|
+
"type": "option"
|
|
277
294
|
}
|
|
278
295
|
},
|
|
279
296
|
"hasDynamicHelp": false,
|
|
280
297
|
"hiddenAliases": [],
|
|
281
|
-
"id": "branch:
|
|
298
|
+
"id": "branch:set_live",
|
|
282
299
|
"pluginAlias": "@xano/cli",
|
|
283
300
|
"pluginName": "@xano/cli",
|
|
284
301
|
"pluginType": "core",
|
|
@@ -289,24 +306,24 @@
|
|
|
289
306
|
"dist",
|
|
290
307
|
"commands",
|
|
291
308
|
"branch",
|
|
292
|
-
"
|
|
309
|
+
"set_live",
|
|
293
310
|
"index.js"
|
|
294
311
|
]
|
|
295
312
|
},
|
|
296
|
-
"branch:
|
|
313
|
+
"branch:list": {
|
|
297
314
|
"aliases": [],
|
|
298
315
|
"args": {
|
|
299
|
-
"
|
|
300
|
-
"description": "
|
|
301
|
-
"name": "
|
|
302
|
-
"required":
|
|
316
|
+
"workspace_id": {
|
|
317
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
318
|
+
"name": "workspace_id",
|
|
319
|
+
"required": false
|
|
303
320
|
}
|
|
304
321
|
},
|
|
305
|
-
"description": "
|
|
322
|
+
"description": "List all branches in a workspace",
|
|
306
323
|
"examples": [
|
|
307
|
-
"$ xano branch
|
|
308
|
-
"$ xano branch
|
|
309
|
-
"$ xano branch
|
|
324
|
+
"$ xano branch list\nAvailable branches:\n - v1 (live)\n - dev\n - staging\n",
|
|
325
|
+
"$ xano branch list 123\nAvailable branches:\n - v1 (live)\n - feature-auth\n",
|
|
326
|
+
"$ xano branch list --output json\n[\n {\n \"created_at\": \"2024-01-15T10:30:00Z\",\n \"label\": \"v1\",\n \"backup\": false,\n \"live\": true\n }\n]\n"
|
|
310
327
|
],
|
|
311
328
|
"flags": {
|
|
312
329
|
"profile": {
|
|
@@ -328,14 +345,6 @@
|
|
|
328
345
|
"allowNo": false,
|
|
329
346
|
"type": "boolean"
|
|
330
347
|
},
|
|
331
|
-
"force": {
|
|
332
|
-
"char": "f",
|
|
333
|
-
"description": "Skip confirmation prompt",
|
|
334
|
-
"name": "force",
|
|
335
|
-
"required": false,
|
|
336
|
-
"allowNo": false,
|
|
337
|
-
"type": "boolean"
|
|
338
|
-
},
|
|
339
348
|
"output": {
|
|
340
349
|
"char": "o",
|
|
341
350
|
"description": "Output format",
|
|
@@ -349,20 +358,11 @@
|
|
|
349
358
|
"json"
|
|
350
359
|
],
|
|
351
360
|
"type": "option"
|
|
352
|
-
},
|
|
353
|
-
"workspace": {
|
|
354
|
-
"char": "w",
|
|
355
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
356
|
-
"name": "workspace",
|
|
357
|
-
"required": false,
|
|
358
|
-
"hasDynamicHelp": false,
|
|
359
|
-
"multiple": false,
|
|
360
|
-
"type": "option"
|
|
361
361
|
}
|
|
362
362
|
},
|
|
363
363
|
"hasDynamicHelp": false,
|
|
364
364
|
"hiddenAliases": [],
|
|
365
|
-
"id": "branch:
|
|
365
|
+
"id": "branch:list",
|
|
366
366
|
"pluginAlias": "@xano/cli",
|
|
367
367
|
"pluginName": "@xano/cli",
|
|
368
368
|
"pluginType": "core",
|
|
@@ -373,7 +373,7 @@
|
|
|
373
373
|
"dist",
|
|
374
374
|
"commands",
|
|
375
375
|
"branch",
|
|
376
|
-
"
|
|
376
|
+
"list",
|
|
377
377
|
"index.js"
|
|
378
378
|
]
|
|
379
379
|
},
|
|
@@ -480,82 +480,6 @@
|
|
|
480
480
|
"index.js"
|
|
481
481
|
]
|
|
482
482
|
},
|
|
483
|
-
"branch:get": {
|
|
484
|
-
"aliases": [],
|
|
485
|
-
"args": {
|
|
486
|
-
"branch_label": {
|
|
487
|
-
"description": "Branch label (e.g., \"v1\", \"dev\")",
|
|
488
|
-
"name": "branch_label",
|
|
489
|
-
"required": true
|
|
490
|
-
}
|
|
491
|
-
},
|
|
492
|
-
"description": "Get details for a specific branch",
|
|
493
|
-
"examples": [
|
|
494
|
-
"$ xano branch get v1\nBranch: v1 (live)\n Created: 2024-01-15\n",
|
|
495
|
-
"$ xano branch get dev -w 123\nBranch: dev\n Created: 2024-02-01\n",
|
|
496
|
-
"$ 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"
|
|
497
|
-
],
|
|
498
|
-
"flags": {
|
|
499
|
-
"profile": {
|
|
500
|
-
"char": "p",
|
|
501
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
502
|
-
"env": "XANO_PROFILE",
|
|
503
|
-
"name": "profile",
|
|
504
|
-
"required": false,
|
|
505
|
-
"hasDynamicHelp": false,
|
|
506
|
-
"multiple": false,
|
|
507
|
-
"type": "option"
|
|
508
|
-
},
|
|
509
|
-
"verbose": {
|
|
510
|
-
"char": "v",
|
|
511
|
-
"description": "Show detailed request/response information",
|
|
512
|
-
"env": "XANO_VERBOSE",
|
|
513
|
-
"name": "verbose",
|
|
514
|
-
"required": false,
|
|
515
|
-
"allowNo": false,
|
|
516
|
-
"type": "boolean"
|
|
517
|
-
},
|
|
518
|
-
"output": {
|
|
519
|
-
"char": "o",
|
|
520
|
-
"description": "Output format",
|
|
521
|
-
"name": "output",
|
|
522
|
-
"required": false,
|
|
523
|
-
"default": "summary",
|
|
524
|
-
"hasDynamicHelp": false,
|
|
525
|
-
"multiple": false,
|
|
526
|
-
"options": [
|
|
527
|
-
"summary",
|
|
528
|
-
"json"
|
|
529
|
-
],
|
|
530
|
-
"type": "option"
|
|
531
|
-
},
|
|
532
|
-
"workspace": {
|
|
533
|
-
"char": "w",
|
|
534
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
535
|
-
"name": "workspace",
|
|
536
|
-
"required": false,
|
|
537
|
-
"hasDynamicHelp": false,
|
|
538
|
-
"multiple": false,
|
|
539
|
-
"type": "option"
|
|
540
|
-
}
|
|
541
|
-
},
|
|
542
|
-
"hasDynamicHelp": false,
|
|
543
|
-
"hiddenAliases": [],
|
|
544
|
-
"id": "branch:get",
|
|
545
|
-
"pluginAlias": "@xano/cli",
|
|
546
|
-
"pluginName": "@xano/cli",
|
|
547
|
-
"pluginType": "core",
|
|
548
|
-
"strict": true,
|
|
549
|
-
"enableJsonFlag": false,
|
|
550
|
-
"isESM": true,
|
|
551
|
-
"relativePath": [
|
|
552
|
-
"dist",
|
|
553
|
-
"commands",
|
|
554
|
-
"branch",
|
|
555
|
-
"get",
|
|
556
|
-
"index.js"
|
|
557
|
-
]
|
|
558
|
-
},
|
|
559
483
|
"platform:get": {
|
|
560
484
|
"aliases": [],
|
|
561
485
|
"args": {
|
|
@@ -682,23 +606,20 @@
|
|
|
682
606
|
"index.js"
|
|
683
607
|
]
|
|
684
608
|
},
|
|
685
|
-
"
|
|
609
|
+
"branch:get": {
|
|
686
610
|
"aliases": [],
|
|
687
611
|
"args": {
|
|
688
|
-
"
|
|
689
|
-
"description": "
|
|
690
|
-
"name": "
|
|
691
|
-
"required":
|
|
612
|
+
"branch_label": {
|
|
613
|
+
"description": "Branch label (e.g., \"v1\", \"dev\")",
|
|
614
|
+
"name": "branch_label",
|
|
615
|
+
"required": true
|
|
692
616
|
}
|
|
693
617
|
},
|
|
694
|
-
"description": "Get a specific
|
|
618
|
+
"description": "Get details for a specific branch",
|
|
695
619
|
"examples": [
|
|
696
|
-
"$ xano
|
|
697
|
-
"$ xano
|
|
698
|
-
"$ xano
|
|
699
|
-
"$ xano function:get 145 -w 40 --output json\n{\n \"id\": 145,\n \"name\": \"yo\",\n \"description\": \"Sample function\"\n}\n",
|
|
700
|
-
"$ xano function:get 145 -p staging -o json --include_draft\n{\n \"id\": 145,\n \"name\": \"yo\"\n}\n",
|
|
701
|
-
"$ xano function:get 145 -p staging -o xs\nfunction yo {\n input {\n }\n stack {\n }\n response = null\n}\n"
|
|
620
|
+
"$ xano branch get v1\nBranch: v1 (live)\n Created: 2024-01-15\n",
|
|
621
|
+
"$ xano branch get dev -w 123\nBranch: dev\n Created: 2024-02-01\n",
|
|
622
|
+
"$ 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"
|
|
702
623
|
],
|
|
703
624
|
"flags": {
|
|
704
625
|
"profile": {
|
|
@@ -720,20 +641,6 @@
|
|
|
720
641
|
"allowNo": false,
|
|
721
642
|
"type": "boolean"
|
|
722
643
|
},
|
|
723
|
-
"include_draft": {
|
|
724
|
-
"description": "Include draft version",
|
|
725
|
-
"name": "include_draft",
|
|
726
|
-
"required": false,
|
|
727
|
-
"allowNo": false,
|
|
728
|
-
"type": "boolean"
|
|
729
|
-
},
|
|
730
|
-
"include_xanoscript": {
|
|
731
|
-
"description": "Include XanoScript in response",
|
|
732
|
-
"name": "include_xanoscript",
|
|
733
|
-
"required": false,
|
|
734
|
-
"allowNo": false,
|
|
735
|
-
"type": "boolean"
|
|
736
|
-
},
|
|
737
644
|
"output": {
|
|
738
645
|
"char": "o",
|
|
739
646
|
"description": "Output format",
|
|
@@ -744,14 +651,13 @@
|
|
|
744
651
|
"multiple": false,
|
|
745
652
|
"options": [
|
|
746
653
|
"summary",
|
|
747
|
-
"json"
|
|
748
|
-
"xs"
|
|
654
|
+
"json"
|
|
749
655
|
],
|
|
750
656
|
"type": "option"
|
|
751
657
|
},
|
|
752
658
|
"workspace": {
|
|
753
659
|
"char": "w",
|
|
754
|
-
"description": "Workspace ID (
|
|
660
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
755
661
|
"name": "workspace",
|
|
756
662
|
"required": false,
|
|
757
663
|
"hasDynamicHelp": false,
|
|
@@ -761,7 +667,7 @@
|
|
|
761
667
|
},
|
|
762
668
|
"hasDynamicHelp": false,
|
|
763
669
|
"hiddenAliases": [],
|
|
764
|
-
"id": "
|
|
670
|
+
"id": "branch:get",
|
|
765
671
|
"pluginAlias": "@xano/cli",
|
|
766
672
|
"pluginName": "@xano/cli",
|
|
767
673
|
"pluginType": "core",
|
|
@@ -771,7 +677,7 @@
|
|
|
771
677
|
"relativePath": [
|
|
772
678
|
"dist",
|
|
773
679
|
"commands",
|
|
774
|
-
"
|
|
680
|
+
"branch",
|
|
775
681
|
"get",
|
|
776
682
|
"index.js"
|
|
777
683
|
]
|
|
@@ -882,15 +788,25 @@
|
|
|
882
788
|
"index.js"
|
|
883
789
|
]
|
|
884
790
|
},
|
|
885
|
-
"function:
|
|
791
|
+
"function:edit": {
|
|
886
792
|
"aliases": [],
|
|
887
|
-
"args": {
|
|
888
|
-
|
|
793
|
+
"args": {
|
|
794
|
+
"function_id": {
|
|
795
|
+
"description": "Function ID to edit",
|
|
796
|
+
"name": "function_id",
|
|
797
|
+
"required": false
|
|
798
|
+
}
|
|
799
|
+
},
|
|
800
|
+
"description": "Edit a function in a workspace",
|
|
889
801
|
"examples": [
|
|
890
|
-
"$ xano function:
|
|
891
|
-
"$ xano function:
|
|
892
|
-
"$ xano function:
|
|
893
|
-
"$ xano function:
|
|
802
|
+
"$ xano function:edit 163\n# Fetches the function code and opens it in $EDITOR for editing\nFunction updated successfully!\nID: 163\nName: my_function\n",
|
|
803
|
+
"$ xano function:edit\n# Prompts for function, fetches the code and opens it in $EDITOR for editing\nSelect a function to edit:\n ❯ my_function (ID: 163) - Sample function\n another-func (ID: 164)\n",
|
|
804
|
+
"$ xano function:edit 163 -f function.xs\nFunction updated successfully!\nID: 163\nName: my_function\n",
|
|
805
|
+
"$ xano function:edit 163 -w 40 -f function.xs\nFunction updated successfully!\nID: 163\nName: my_function\n",
|
|
806
|
+
"$ xano function:edit -f function.xs\nSelect a function to edit:\n ❯ my_function (ID: 163) - Sample function\n another-func (ID: 164)\n",
|
|
807
|
+
"$ xano function:edit 163 -f function.xs --edit\n# Opens function.xs in $EDITOR, then updates function with edited content\nFunction updated successfully!\nID: 163\nName: my_function\n",
|
|
808
|
+
"$ cat function.xs | xano function:edit 163 --stdin\nFunction updated successfully!\nID: 163\nName: my_function\n",
|
|
809
|
+
"$ xano function:edit 163 -f function.xs -o json\n{\n \"id\": 163,\n \"name\": \"my_function\",\n ...\n}\n"
|
|
894
810
|
],
|
|
895
811
|
"flags": {
|
|
896
812
|
"profile": {
|
|
@@ -912,31 +828,24 @@
|
|
|
912
828
|
"allowNo": false,
|
|
913
829
|
"type": "boolean"
|
|
914
830
|
},
|
|
915
|
-
"
|
|
916
|
-
"
|
|
917
|
-
"
|
|
918
|
-
"
|
|
919
|
-
"allowNo": false,
|
|
920
|
-
"type": "boolean"
|
|
921
|
-
},
|
|
922
|
-
"include_xanoscript": {
|
|
923
|
-
"description": "Include XanoScript in response",
|
|
924
|
-
"name": "include_xanoscript",
|
|
831
|
+
"edit": {
|
|
832
|
+
"char": "e",
|
|
833
|
+
"description": "Open file in editor before updating function (requires --file)",
|
|
834
|
+
"name": "edit",
|
|
925
835
|
"required": false,
|
|
926
836
|
"allowNo": false,
|
|
927
837
|
"type": "boolean"
|
|
928
838
|
},
|
|
929
|
-
"
|
|
930
|
-
"
|
|
931
|
-
"
|
|
839
|
+
"file": {
|
|
840
|
+
"char": "f",
|
|
841
|
+
"description": "Path to file containing XanoScript code",
|
|
842
|
+
"exclusive": [
|
|
843
|
+
"stdin"
|
|
844
|
+
],
|
|
845
|
+
"name": "file",
|
|
932
846
|
"required": false,
|
|
933
|
-
"default": "desc",
|
|
934
847
|
"hasDynamicHelp": false,
|
|
935
848
|
"multiple": false,
|
|
936
|
-
"options": [
|
|
937
|
-
"asc",
|
|
938
|
-
"desc"
|
|
939
|
-
],
|
|
940
849
|
"type": "option"
|
|
941
850
|
},
|
|
942
851
|
"output": {
|
|
@@ -953,32 +862,23 @@
|
|
|
953
862
|
],
|
|
954
863
|
"type": "option"
|
|
955
864
|
},
|
|
956
|
-
"
|
|
957
|
-
"description": "
|
|
958
|
-
"name": "
|
|
865
|
+
"publish": {
|
|
866
|
+
"description": "Publish the function after editing",
|
|
867
|
+
"name": "publish",
|
|
959
868
|
"required": false,
|
|
960
|
-
"
|
|
961
|
-
"
|
|
962
|
-
"multiple": false,
|
|
963
|
-
"type": "option"
|
|
964
|
-
},
|
|
965
|
-
"per_page": {
|
|
966
|
-
"description": "Number of results per page",
|
|
967
|
-
"name": "per_page",
|
|
968
|
-
"required": false,
|
|
969
|
-
"default": 50,
|
|
970
|
-
"hasDynamicHelp": false,
|
|
971
|
-
"multiple": false,
|
|
972
|
-
"type": "option"
|
|
869
|
+
"allowNo": false,
|
|
870
|
+
"type": "boolean"
|
|
973
871
|
},
|
|
974
|
-
"
|
|
975
|
-
"
|
|
976
|
-
"
|
|
872
|
+
"stdin": {
|
|
873
|
+
"char": "s",
|
|
874
|
+
"description": "Read XanoScript code from stdin",
|
|
875
|
+
"exclusive": [
|
|
876
|
+
"file"
|
|
877
|
+
],
|
|
878
|
+
"name": "stdin",
|
|
977
879
|
"required": false,
|
|
978
|
-
"
|
|
979
|
-
"
|
|
980
|
-
"multiple": false,
|
|
981
|
-
"type": "option"
|
|
880
|
+
"allowNo": false,
|
|
881
|
+
"type": "boolean"
|
|
982
882
|
},
|
|
983
883
|
"workspace": {
|
|
984
884
|
"char": "w",
|
|
@@ -992,7 +892,7 @@
|
|
|
992
892
|
},
|
|
993
893
|
"hasDynamicHelp": false,
|
|
994
894
|
"hiddenAliases": [],
|
|
995
|
-
"id": "function:
|
|
895
|
+
"id": "function:edit",
|
|
996
896
|
"pluginAlias": "@xano/cli",
|
|
997
897
|
"pluginName": "@xano/cli",
|
|
998
898
|
"pluginType": "core",
|
|
@@ -1003,29 +903,27 @@
|
|
|
1003
903
|
"dist",
|
|
1004
904
|
"commands",
|
|
1005
905
|
"function",
|
|
1006
|
-
"
|
|
906
|
+
"edit",
|
|
1007
907
|
"index.js"
|
|
1008
908
|
]
|
|
1009
909
|
},
|
|
1010
|
-
"function:
|
|
910
|
+
"function:get": {
|
|
1011
911
|
"aliases": [],
|
|
1012
912
|
"args": {
|
|
1013
913
|
"function_id": {
|
|
1014
|
-
"description": "Function ID
|
|
914
|
+
"description": "Function ID",
|
|
1015
915
|
"name": "function_id",
|
|
1016
916
|
"required": false
|
|
1017
917
|
}
|
|
1018
918
|
},
|
|
1019
|
-
"description": "
|
|
919
|
+
"description": "Get a specific function from a workspace",
|
|
1020
920
|
"examples": [
|
|
1021
|
-
"$ xano function:
|
|
1022
|
-
"$ xano function:
|
|
1023
|
-
"$ xano function:
|
|
1024
|
-
"$ xano function:
|
|
1025
|
-
"$ xano function:
|
|
1026
|
-
"$ xano function:
|
|
1027
|
-
"$ cat function.xs | xano function:edit 163 --stdin\nFunction updated successfully!\nID: 163\nName: my_function\n",
|
|
1028
|
-
"$ xano function:edit 163 -f function.xs -o json\n{\n \"id\": 163,\n \"name\": \"my_function\",\n ...\n}\n"
|
|
921
|
+
"$ xano function:get 145 -w 40\nFunction: yo (ID: 145)\nCreated: 2025-10-10 10:30:00\nDescription: Sample function\n",
|
|
922
|
+
"$ xano function:get 145 --profile production\nFunction: yo (ID: 145)\nCreated: 2025-10-10 10:30:00\n",
|
|
923
|
+
"$ xano function:get\nSelect a function:\n ❯ yo (ID: 145) - Sample function\n another-func (ID: 146)\n",
|
|
924
|
+
"$ xano function:get 145 -w 40 --output json\n{\n \"id\": 145,\n \"name\": \"yo\",\n \"description\": \"Sample function\"\n}\n",
|
|
925
|
+
"$ xano function:get 145 -p staging -o json --include_draft\n{\n \"id\": 145,\n \"name\": \"yo\"\n}\n",
|
|
926
|
+
"$ xano function:get 145 -p staging -o xs\nfunction yo {\n input {\n }\n stack {\n }\n response = null\n}\n"
|
|
1029
927
|
],
|
|
1030
928
|
"flags": {
|
|
1031
929
|
"profile": {
|
|
@@ -1047,25 +945,19 @@
|
|
|
1047
945
|
"allowNo": false,
|
|
1048
946
|
"type": "boolean"
|
|
1049
947
|
},
|
|
1050
|
-
"
|
|
1051
|
-
"
|
|
1052
|
-
"
|
|
1053
|
-
"name": "edit",
|
|
948
|
+
"include_draft": {
|
|
949
|
+
"description": "Include draft version",
|
|
950
|
+
"name": "include_draft",
|
|
1054
951
|
"required": false,
|
|
1055
952
|
"allowNo": false,
|
|
1056
953
|
"type": "boolean"
|
|
1057
954
|
},
|
|
1058
|
-
"
|
|
1059
|
-
"
|
|
1060
|
-
"
|
|
1061
|
-
"exclusive": [
|
|
1062
|
-
"stdin"
|
|
1063
|
-
],
|
|
1064
|
-
"name": "file",
|
|
955
|
+
"include_xanoscript": {
|
|
956
|
+
"description": "Include XanoScript in response",
|
|
957
|
+
"name": "include_xanoscript",
|
|
1065
958
|
"required": false,
|
|
1066
|
-
"
|
|
1067
|
-
"
|
|
1068
|
-
"type": "option"
|
|
959
|
+
"allowNo": false,
|
|
960
|
+
"type": "boolean"
|
|
1069
961
|
},
|
|
1070
962
|
"output": {
|
|
1071
963
|
"char": "o",
|
|
@@ -1077,28 +969,11 @@
|
|
|
1077
969
|
"multiple": false,
|
|
1078
970
|
"options": [
|
|
1079
971
|
"summary",
|
|
1080
|
-
"json"
|
|
972
|
+
"json",
|
|
973
|
+
"xs"
|
|
1081
974
|
],
|
|
1082
975
|
"type": "option"
|
|
1083
976
|
},
|
|
1084
|
-
"publish": {
|
|
1085
|
-
"description": "Publish the function after editing",
|
|
1086
|
-
"name": "publish",
|
|
1087
|
-
"required": false,
|
|
1088
|
-
"allowNo": false,
|
|
1089
|
-
"type": "boolean"
|
|
1090
|
-
},
|
|
1091
|
-
"stdin": {
|
|
1092
|
-
"char": "s",
|
|
1093
|
-
"description": "Read XanoScript code from stdin",
|
|
1094
|
-
"exclusive": [
|
|
1095
|
-
"file"
|
|
1096
|
-
],
|
|
1097
|
-
"name": "stdin",
|
|
1098
|
-
"required": false,
|
|
1099
|
-
"allowNo": false,
|
|
1100
|
-
"type": "boolean"
|
|
1101
|
-
},
|
|
1102
977
|
"workspace": {
|
|
1103
978
|
"char": "w",
|
|
1104
979
|
"description": "Workspace ID (optional if set in profile)",
|
|
@@ -1111,7 +986,7 @@
|
|
|
1111
986
|
},
|
|
1112
987
|
"hasDynamicHelp": false,
|
|
1113
988
|
"hiddenAliases": [],
|
|
1114
|
-
"id": "function:
|
|
989
|
+
"id": "function:get",
|
|
1115
990
|
"pluginAlias": "@xano/cli",
|
|
1116
991
|
"pluginName": "@xano/cli",
|
|
1117
992
|
"pluginType": "core",
|
|
@@ -1122,7 +997,7 @@
|
|
|
1122
997
|
"dist",
|
|
1123
998
|
"commands",
|
|
1124
999
|
"function",
|
|
1125
|
-
"
|
|
1000
|
+
"get",
|
|
1126
1001
|
"index.js"
|
|
1127
1002
|
]
|
|
1128
1003
|
},
|
|
@@ -1232,48 +1107,6 @@
|
|
|
1232
1107
|
"index.js"
|
|
1233
1108
|
]
|
|
1234
1109
|
},
|
|
1235
|
-
"profile:delete": {
|
|
1236
|
-
"aliases": [],
|
|
1237
|
-
"args": {
|
|
1238
|
-
"name": {
|
|
1239
|
-
"description": "Profile name to delete",
|
|
1240
|
-
"name": "name",
|
|
1241
|
-
"required": true
|
|
1242
|
-
}
|
|
1243
|
-
},
|
|
1244
|
-
"description": "Delete a profile configuration",
|
|
1245
|
-
"examples": [
|
|
1246
|
-
"$ 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",
|
|
1247
|
-
"$ xano profile:delete old-profile --force\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n",
|
|
1248
|
-
"$ xano profile:delete old-profile -f\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n"
|
|
1249
|
-
],
|
|
1250
|
-
"flags": {
|
|
1251
|
-
"force": {
|
|
1252
|
-
"char": "f",
|
|
1253
|
-
"description": "Skip confirmation prompt",
|
|
1254
|
-
"name": "force",
|
|
1255
|
-
"required": false,
|
|
1256
|
-
"allowNo": false,
|
|
1257
|
-
"type": "boolean"
|
|
1258
|
-
}
|
|
1259
|
-
},
|
|
1260
|
-
"hasDynamicHelp": false,
|
|
1261
|
-
"hiddenAliases": [],
|
|
1262
|
-
"id": "profile:delete",
|
|
1263
|
-
"pluginAlias": "@xano/cli",
|
|
1264
|
-
"pluginName": "@xano/cli",
|
|
1265
|
-
"pluginType": "core",
|
|
1266
|
-
"strict": true,
|
|
1267
|
-
"enableJsonFlag": false,
|
|
1268
|
-
"isESM": true,
|
|
1269
|
-
"relativePath": [
|
|
1270
|
-
"dist",
|
|
1271
|
-
"commands",
|
|
1272
|
-
"profile",
|
|
1273
|
-
"delete",
|
|
1274
|
-
"index.js"
|
|
1275
|
-
]
|
|
1276
|
-
},
|
|
1277
1110
|
"profile:edit": {
|
|
1278
1111
|
"aliases": [],
|
|
1279
1112
|
"args": {
|
|
@@ -1422,20 +1255,26 @@
|
|
|
1422
1255
|
"index.js"
|
|
1423
1256
|
]
|
|
1424
1257
|
},
|
|
1425
|
-
"profile:
|
|
1258
|
+
"profile:delete": {
|
|
1426
1259
|
"aliases": [],
|
|
1427
|
-
"args": {
|
|
1428
|
-
|
|
1260
|
+
"args": {
|
|
1261
|
+
"name": {
|
|
1262
|
+
"description": "Profile name to delete",
|
|
1263
|
+
"name": "name",
|
|
1264
|
+
"required": true
|
|
1265
|
+
}
|
|
1266
|
+
},
|
|
1267
|
+
"description": "Delete a profile configuration",
|
|
1429
1268
|
"examples": [
|
|
1430
|
-
"$ xano profile:
|
|
1431
|
-
"$ xano profile:
|
|
1432
|
-
"$ xano profile:
|
|
1269
|
+
"$ 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",
|
|
1270
|
+
"$ xano profile:delete old-profile --force\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n",
|
|
1271
|
+
"$ xano profile:delete old-profile -f\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n"
|
|
1433
1272
|
],
|
|
1434
1273
|
"flags": {
|
|
1435
|
-
"
|
|
1436
|
-
"char": "
|
|
1437
|
-
"description": "
|
|
1438
|
-
"name": "
|
|
1274
|
+
"force": {
|
|
1275
|
+
"char": "f",
|
|
1276
|
+
"description": "Skip confirmation prompt",
|
|
1277
|
+
"name": "force",
|
|
1439
1278
|
"required": false,
|
|
1440
1279
|
"allowNo": false,
|
|
1441
1280
|
"type": "boolean"
|
|
@@ -1443,7 +1282,7 @@
|
|
|
1443
1282
|
},
|
|
1444
1283
|
"hasDynamicHelp": false,
|
|
1445
1284
|
"hiddenAliases": [],
|
|
1446
|
-
"id": "profile:
|
|
1285
|
+
"id": "profile:delete",
|
|
1447
1286
|
"pluginAlias": "@xano/cli",
|
|
1448
1287
|
"pluginName": "@xano/cli",
|
|
1449
1288
|
"pluginType": "core",
|
|
@@ -1454,18 +1293,19 @@
|
|
|
1454
1293
|
"dist",
|
|
1455
1294
|
"commands",
|
|
1456
1295
|
"profile",
|
|
1457
|
-
"
|
|
1296
|
+
"delete",
|
|
1458
1297
|
"index.js"
|
|
1459
1298
|
]
|
|
1460
1299
|
},
|
|
1461
|
-
"
|
|
1300
|
+
"function:list": {
|
|
1462
1301
|
"aliases": [],
|
|
1463
1302
|
"args": {},
|
|
1464
|
-
"description": "
|
|
1303
|
+
"description": "List all functions in a workspace from the Xano Metadata API",
|
|
1465
1304
|
"examples": [
|
|
1466
|
-
"$ xano
|
|
1467
|
-
"$ xano
|
|
1468
|
-
"$ xano
|
|
1305
|
+
"$ xano function:list -w 40\nAvailable functions:\n - function-1 (ID: 1)\n - function-2 (ID: 2)\n - function-3 (ID: 3)\n",
|
|
1306
|
+
"$ xano function:list --profile production\nAvailable functions:\n - my-function (ID: 1)\n - another-function (ID: 2)\n",
|
|
1307
|
+
"$ xano function:list -w 40 --output json\n[\n {\n \"id\": 1,\n \"name\": \"function-1\"\n }\n]\n",
|
|
1308
|
+
"$ xano function:list -p staging -o json --include_draft\n[\n {\n \"id\": 1,\n \"name\": \"function-1\"\n }\n]\n"
|
|
1469
1309
|
],
|
|
1470
1310
|
"flags": {
|
|
1471
1311
|
"profile": {
|
|
@@ -1487,6 +1327,33 @@
|
|
|
1487
1327
|
"allowNo": false,
|
|
1488
1328
|
"type": "boolean"
|
|
1489
1329
|
},
|
|
1330
|
+
"include_draft": {
|
|
1331
|
+
"description": "Include draft functions",
|
|
1332
|
+
"name": "include_draft",
|
|
1333
|
+
"required": false,
|
|
1334
|
+
"allowNo": false,
|
|
1335
|
+
"type": "boolean"
|
|
1336
|
+
},
|
|
1337
|
+
"include_xanoscript": {
|
|
1338
|
+
"description": "Include XanoScript in response",
|
|
1339
|
+
"name": "include_xanoscript",
|
|
1340
|
+
"required": false,
|
|
1341
|
+
"allowNo": false,
|
|
1342
|
+
"type": "boolean"
|
|
1343
|
+
},
|
|
1344
|
+
"order": {
|
|
1345
|
+
"description": "Sort order",
|
|
1346
|
+
"name": "order",
|
|
1347
|
+
"required": false,
|
|
1348
|
+
"default": "desc",
|
|
1349
|
+
"hasDynamicHelp": false,
|
|
1350
|
+
"multiple": false,
|
|
1351
|
+
"options": [
|
|
1352
|
+
"asc",
|
|
1353
|
+
"desc"
|
|
1354
|
+
],
|
|
1355
|
+
"type": "option"
|
|
1356
|
+
},
|
|
1490
1357
|
"output": {
|
|
1491
1358
|
"char": "o",
|
|
1492
1359
|
"description": "Output format",
|
|
@@ -1500,11 +1367,47 @@
|
|
|
1500
1367
|
"json"
|
|
1501
1368
|
],
|
|
1502
1369
|
"type": "option"
|
|
1370
|
+
},
|
|
1371
|
+
"page": {
|
|
1372
|
+
"description": "Page number for pagination",
|
|
1373
|
+
"name": "page",
|
|
1374
|
+
"required": false,
|
|
1375
|
+
"default": 1,
|
|
1376
|
+
"hasDynamicHelp": false,
|
|
1377
|
+
"multiple": false,
|
|
1378
|
+
"type": "option"
|
|
1379
|
+
},
|
|
1380
|
+
"per_page": {
|
|
1381
|
+
"description": "Number of results per page",
|
|
1382
|
+
"name": "per_page",
|
|
1383
|
+
"required": false,
|
|
1384
|
+
"default": 50,
|
|
1385
|
+
"hasDynamicHelp": false,
|
|
1386
|
+
"multiple": false,
|
|
1387
|
+
"type": "option"
|
|
1388
|
+
},
|
|
1389
|
+
"sort": {
|
|
1390
|
+
"description": "Sort field",
|
|
1391
|
+
"name": "sort",
|
|
1392
|
+
"required": false,
|
|
1393
|
+
"default": "created_at",
|
|
1394
|
+
"hasDynamicHelp": false,
|
|
1395
|
+
"multiple": false,
|
|
1396
|
+
"type": "option"
|
|
1397
|
+
},
|
|
1398
|
+
"workspace": {
|
|
1399
|
+
"char": "w",
|
|
1400
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
1401
|
+
"name": "workspace",
|
|
1402
|
+
"required": false,
|
|
1403
|
+
"hasDynamicHelp": false,
|
|
1404
|
+
"multiple": false,
|
|
1405
|
+
"type": "option"
|
|
1503
1406
|
}
|
|
1504
1407
|
},
|
|
1505
1408
|
"hasDynamicHelp": false,
|
|
1506
1409
|
"hiddenAliases": [],
|
|
1507
|
-
"id": "
|
|
1410
|
+
"id": "function:list",
|
|
1508
1411
|
"pluginAlias": "@xano/cli",
|
|
1509
1412
|
"pluginName": "@xano/cli",
|
|
1510
1413
|
"pluginType": "core",
|
|
@@ -1514,12 +1417,12 @@
|
|
|
1514
1417
|
"relativePath": [
|
|
1515
1418
|
"dist",
|
|
1516
1419
|
"commands",
|
|
1517
|
-
"
|
|
1518
|
-
"
|
|
1420
|
+
"function",
|
|
1421
|
+
"list",
|
|
1519
1422
|
"index.js"
|
|
1520
1423
|
]
|
|
1521
1424
|
},
|
|
1522
|
-
"profile:
|
|
1425
|
+
"profile:get_default": {
|
|
1523
1426
|
"aliases": [],
|
|
1524
1427
|
"args": {},
|
|
1525
1428
|
"description": "Get the current default profile name",
|
|
@@ -1530,7 +1433,7 @@
|
|
|
1530
1433
|
"flags": {},
|
|
1531
1434
|
"hasDynamicHelp": false,
|
|
1532
1435
|
"hiddenAliases": [],
|
|
1533
|
-
"id": "profile:
|
|
1436
|
+
"id": "profile:get_default",
|
|
1534
1437
|
"pluginAlias": "@xano/cli",
|
|
1535
1438
|
"pluginName": "@xano/cli",
|
|
1536
1439
|
"pluginType": "core",
|
|
@@ -1541,22 +1444,32 @@
|
|
|
1541
1444
|
"dist",
|
|
1542
1445
|
"commands",
|
|
1543
1446
|
"profile",
|
|
1544
|
-
"
|
|
1447
|
+
"get_default",
|
|
1545
1448
|
"index.js"
|
|
1546
1449
|
]
|
|
1547
1450
|
},
|
|
1548
|
-
"profile:
|
|
1451
|
+
"profile:list": {
|
|
1549
1452
|
"aliases": [],
|
|
1550
1453
|
"args": {},
|
|
1551
|
-
"description": "
|
|
1454
|
+
"description": "List all available profile configurations",
|
|
1552
1455
|
"examples": [
|
|
1553
|
-
"$ xano profile:
|
|
1554
|
-
"$ xano profile:
|
|
1555
|
-
|
|
1556
|
-
|
|
1456
|
+
"$ xano profile:list\nAvailable profiles:\n - default\n - production\n - staging\n - development\n",
|
|
1457
|
+
"$ 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",
|
|
1458
|
+
"$ 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"
|
|
1459
|
+
],
|
|
1460
|
+
"flags": {
|
|
1461
|
+
"details": {
|
|
1462
|
+
"char": "d",
|
|
1463
|
+
"description": "Show detailed information for each profile",
|
|
1464
|
+
"name": "details",
|
|
1465
|
+
"required": false,
|
|
1466
|
+
"allowNo": false,
|
|
1467
|
+
"type": "boolean"
|
|
1468
|
+
}
|
|
1469
|
+
},
|
|
1557
1470
|
"hasDynamicHelp": false,
|
|
1558
1471
|
"hiddenAliases": [],
|
|
1559
|
-
"id": "profile:
|
|
1472
|
+
"id": "profile:list",
|
|
1560
1473
|
"pluginAlias": "@xano/cli",
|
|
1561
1474
|
"pluginName": "@xano/cli",
|
|
1562
1475
|
"pluginType": "core",
|
|
@@ -1567,28 +1480,102 @@
|
|
|
1567
1480
|
"dist",
|
|
1568
1481
|
"commands",
|
|
1569
1482
|
"profile",
|
|
1570
|
-
"
|
|
1483
|
+
"list",
|
|
1571
1484
|
"index.js"
|
|
1572
1485
|
]
|
|
1573
1486
|
},
|
|
1574
|
-
"profile:
|
|
1487
|
+
"profile:me": {
|
|
1575
1488
|
"aliases": [],
|
|
1576
|
-
"args": {
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1489
|
+
"args": {},
|
|
1490
|
+
"description": "Get information about the currently authenticated user",
|
|
1491
|
+
"examples": [
|
|
1492
|
+
"$ xano profile:me\nUser Information:\n ID: 1\n Name: John Doe\n Email: john@example.com\n",
|
|
1493
|
+
"$ xano profile:me --profile production\nUser Information:\n ID: 42\n Name: Admin User\n Email: admin@example.com\n",
|
|
1494
|
+
"$ xano profile:me --output json\n{\n \"id\": 1,\n \"name\": \"John Doe\",\n \"email\": \"john@example.com\"\n}\n"
|
|
1495
|
+
],
|
|
1496
|
+
"flags": {
|
|
1497
|
+
"profile": {
|
|
1498
|
+
"char": "p",
|
|
1499
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
1500
|
+
"env": "XANO_PROFILE",
|
|
1501
|
+
"name": "profile",
|
|
1502
|
+
"required": false,
|
|
1503
|
+
"hasDynamicHelp": false,
|
|
1504
|
+
"multiple": false,
|
|
1505
|
+
"type": "option"
|
|
1506
|
+
},
|
|
1507
|
+
"verbose": {
|
|
1508
|
+
"char": "v",
|
|
1509
|
+
"description": "Show detailed request/response information",
|
|
1510
|
+
"env": "XANO_VERBOSE",
|
|
1511
|
+
"name": "verbose",
|
|
1512
|
+
"required": false,
|
|
1513
|
+
"allowNo": false,
|
|
1514
|
+
"type": "boolean"
|
|
1515
|
+
},
|
|
1516
|
+
"output": {
|
|
1517
|
+
"char": "o",
|
|
1518
|
+
"description": "Output format",
|
|
1519
|
+
"name": "output",
|
|
1520
|
+
"required": false,
|
|
1521
|
+
"default": "summary",
|
|
1522
|
+
"hasDynamicHelp": false,
|
|
1523
|
+
"multiple": false,
|
|
1524
|
+
"options": [
|
|
1525
|
+
"summary",
|
|
1526
|
+
"json"
|
|
1527
|
+
],
|
|
1528
|
+
"type": "option"
|
|
1581
1529
|
}
|
|
1582
1530
|
},
|
|
1583
|
-
"
|
|
1531
|
+
"hasDynamicHelp": false,
|
|
1532
|
+
"hiddenAliases": [],
|
|
1533
|
+
"id": "profile:me",
|
|
1534
|
+
"pluginAlias": "@xano/cli",
|
|
1535
|
+
"pluginName": "@xano/cli",
|
|
1536
|
+
"pluginType": "core",
|
|
1537
|
+
"strict": true,
|
|
1538
|
+
"enableJsonFlag": false,
|
|
1539
|
+
"isESM": true,
|
|
1540
|
+
"relativePath": [
|
|
1541
|
+
"dist",
|
|
1542
|
+
"commands",
|
|
1543
|
+
"profile",
|
|
1544
|
+
"me",
|
|
1545
|
+
"index.js"
|
|
1546
|
+
]
|
|
1547
|
+
},
|
|
1548
|
+
"profile:wizard": {
|
|
1549
|
+
"aliases": [],
|
|
1550
|
+
"args": {},
|
|
1551
|
+
"description": "Create a new profile configuration using an interactive wizard",
|
|
1584
1552
|
"examples": [
|
|
1585
|
-
"$ xano profile:
|
|
1586
|
-
"$ xano profile:set-default staging\nDefault profile set to 'staging'\n"
|
|
1553
|
+
"$ 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"
|
|
1587
1554
|
],
|
|
1588
|
-
"flags": {
|
|
1555
|
+
"flags": {
|
|
1556
|
+
"name": {
|
|
1557
|
+
"char": "n",
|
|
1558
|
+
"description": "Profile name (skip prompt if provided)",
|
|
1559
|
+
"name": "name",
|
|
1560
|
+
"required": false,
|
|
1561
|
+
"hasDynamicHelp": false,
|
|
1562
|
+
"multiple": false,
|
|
1563
|
+
"type": "option"
|
|
1564
|
+
},
|
|
1565
|
+
"origin": {
|
|
1566
|
+
"char": "o",
|
|
1567
|
+
"description": "Xano instance origin URL",
|
|
1568
|
+
"name": "origin",
|
|
1569
|
+
"required": false,
|
|
1570
|
+
"default": "https://app.xano.com",
|
|
1571
|
+
"hasDynamicHelp": false,
|
|
1572
|
+
"multiple": false,
|
|
1573
|
+
"type": "option"
|
|
1574
|
+
}
|
|
1575
|
+
},
|
|
1589
1576
|
"hasDynamicHelp": false,
|
|
1590
1577
|
"hiddenAliases": [],
|
|
1591
|
-
"id": "profile:
|
|
1578
|
+
"id": "profile:wizard",
|
|
1592
1579
|
"pluginAlias": "@xano/cli",
|
|
1593
1580
|
"pluginName": "@xano/cli",
|
|
1594
1581
|
"pluginType": "core",
|
|
@@ -1599,7 +1586,7 @@
|
|
|
1599
1586
|
"dist",
|
|
1600
1587
|
"commands",
|
|
1601
1588
|
"profile",
|
|
1602
|
-
"
|
|
1589
|
+
"wizard",
|
|
1603
1590
|
"index.js"
|
|
1604
1591
|
]
|
|
1605
1592
|
},
|
|
@@ -1629,76 +1616,24 @@
|
|
|
1629
1616
|
"index.js"
|
|
1630
1617
|
]
|
|
1631
1618
|
},
|
|
1632
|
-
"
|
|
1619
|
+
"profile:set_default": {
|
|
1633
1620
|
"aliases": [],
|
|
1634
1621
|
"args": {
|
|
1635
|
-
"
|
|
1636
|
-
"description": "
|
|
1637
|
-
"name": "
|
|
1622
|
+
"name": {
|
|
1623
|
+
"description": "Profile name to set as default",
|
|
1624
|
+
"name": "name",
|
|
1638
1625
|
"required": true
|
|
1639
1626
|
}
|
|
1640
1627
|
},
|
|
1641
|
-
"description": "
|
|
1628
|
+
"description": "Set the default profile",
|
|
1642
1629
|
"examples": [
|
|
1643
|
-
"$ xano
|
|
1644
|
-
"$ xano
|
|
1645
|
-
"$ xano release delete 10 -f -o json"
|
|
1630
|
+
"$ xano profile:set-default production\nDefault profile set to 'production'\n",
|
|
1631
|
+
"$ xano profile:set-default staging\nDefault profile set to 'staging'\n"
|
|
1646
1632
|
],
|
|
1647
|
-
"flags": {
|
|
1648
|
-
"profile": {
|
|
1649
|
-
"char": "p",
|
|
1650
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
1651
|
-
"env": "XANO_PROFILE",
|
|
1652
|
-
"name": "profile",
|
|
1653
|
-
"required": false,
|
|
1654
|
-
"hasDynamicHelp": false,
|
|
1655
|
-
"multiple": false,
|
|
1656
|
-
"type": "option"
|
|
1657
|
-
},
|
|
1658
|
-
"verbose": {
|
|
1659
|
-
"char": "v",
|
|
1660
|
-
"description": "Show detailed request/response information",
|
|
1661
|
-
"env": "XANO_VERBOSE",
|
|
1662
|
-
"name": "verbose",
|
|
1663
|
-
"required": false,
|
|
1664
|
-
"allowNo": false,
|
|
1665
|
-
"type": "boolean"
|
|
1666
|
-
},
|
|
1667
|
-
"force": {
|
|
1668
|
-
"char": "f",
|
|
1669
|
-
"description": "Skip confirmation prompt",
|
|
1670
|
-
"name": "force",
|
|
1671
|
-
"required": false,
|
|
1672
|
-
"allowNo": false,
|
|
1673
|
-
"type": "boolean"
|
|
1674
|
-
},
|
|
1675
|
-
"output": {
|
|
1676
|
-
"char": "o",
|
|
1677
|
-
"description": "Output format",
|
|
1678
|
-
"name": "output",
|
|
1679
|
-
"required": false,
|
|
1680
|
-
"default": "summary",
|
|
1681
|
-
"hasDynamicHelp": false,
|
|
1682
|
-
"multiple": false,
|
|
1683
|
-
"options": [
|
|
1684
|
-
"summary",
|
|
1685
|
-
"json"
|
|
1686
|
-
],
|
|
1687
|
-
"type": "option"
|
|
1688
|
-
},
|
|
1689
|
-
"workspace": {
|
|
1690
|
-
"char": "w",
|
|
1691
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
1692
|
-
"name": "workspace",
|
|
1693
|
-
"required": false,
|
|
1694
|
-
"hasDynamicHelp": false,
|
|
1695
|
-
"multiple": false,
|
|
1696
|
-
"type": "option"
|
|
1697
|
-
}
|
|
1698
|
-
},
|
|
1633
|
+
"flags": {},
|
|
1699
1634
|
"hasDynamicHelp": false,
|
|
1700
1635
|
"hiddenAliases": [],
|
|
1701
|
-
"id": "
|
|
1636
|
+
"id": "profile:set_default",
|
|
1702
1637
|
"pluginAlias": "@xano/cli",
|
|
1703
1638
|
"pluginName": "@xano/cli",
|
|
1704
1639
|
"pluginType": "core",
|
|
@@ -1708,8 +1643,34 @@
|
|
|
1708
1643
|
"relativePath": [
|
|
1709
1644
|
"dist",
|
|
1710
1645
|
"commands",
|
|
1711
|
-
"
|
|
1712
|
-
"
|
|
1646
|
+
"profile",
|
|
1647
|
+
"set_default",
|
|
1648
|
+
"index.js"
|
|
1649
|
+
]
|
|
1650
|
+
},
|
|
1651
|
+
"profile:project": {
|
|
1652
|
+
"aliases": [],
|
|
1653
|
+
"args": {},
|
|
1654
|
+
"description": "Print the project for the default profile",
|
|
1655
|
+
"examples": [
|
|
1656
|
+
"$ xano profile:project\nmy-project-id\n",
|
|
1657
|
+
"$ xano profile:project | pbcopy\n# Copies the project to clipboard on macOS\n"
|
|
1658
|
+
],
|
|
1659
|
+
"flags": {},
|
|
1660
|
+
"hasDynamicHelp": false,
|
|
1661
|
+
"hiddenAliases": [],
|
|
1662
|
+
"id": "profile:project",
|
|
1663
|
+
"pluginAlias": "@xano/cli",
|
|
1664
|
+
"pluginName": "@xano/cli",
|
|
1665
|
+
"pluginType": "core",
|
|
1666
|
+
"strict": true,
|
|
1667
|
+
"enableJsonFlag": false,
|
|
1668
|
+
"isESM": true,
|
|
1669
|
+
"relativePath": [
|
|
1670
|
+
"dist",
|
|
1671
|
+
"commands",
|
|
1672
|
+
"profile",
|
|
1673
|
+
"project",
|
|
1713
1674
|
"index.js"
|
|
1714
1675
|
]
|
|
1715
1676
|
},
|
|
@@ -1917,20 +1878,20 @@
|
|
|
1917
1878
|
"index.js"
|
|
1918
1879
|
]
|
|
1919
1880
|
},
|
|
1920
|
-
"release:
|
|
1881
|
+
"release:delete": {
|
|
1921
1882
|
"aliases": [],
|
|
1922
1883
|
"args": {
|
|
1923
1884
|
"release_id": {
|
|
1924
|
-
"description": "Release ID to
|
|
1885
|
+
"description": "Release ID to delete",
|
|
1925
1886
|
"name": "release_id",
|
|
1926
1887
|
"required": true
|
|
1927
1888
|
}
|
|
1928
1889
|
},
|
|
1929
|
-
"description": "
|
|
1890
|
+
"description": "Delete a release permanently. This action cannot be undone.",
|
|
1930
1891
|
"examples": [
|
|
1931
|
-
"$ xano release
|
|
1932
|
-
"$ xano release
|
|
1933
|
-
"$ xano release
|
|
1892
|
+
"$ xano release delete 10\nAre you sure you want to delete release #10? This action cannot be undone. (y/N) y\nDeleted release #10\n",
|
|
1893
|
+
"$ xano release delete 10 --force\nDeleted release #10\n",
|
|
1894
|
+
"$ xano release delete 10 -f -o json"
|
|
1934
1895
|
],
|
|
1935
1896
|
"flags": {
|
|
1936
1897
|
"profile": {
|
|
@@ -1952,10 +1913,18 @@
|
|
|
1952
1913
|
"allowNo": false,
|
|
1953
1914
|
"type": "boolean"
|
|
1954
1915
|
},
|
|
1955
|
-
"
|
|
1916
|
+
"force": {
|
|
1917
|
+
"char": "f",
|
|
1918
|
+
"description": "Skip confirmation prompt",
|
|
1919
|
+
"name": "force",
|
|
1920
|
+
"required": false,
|
|
1921
|
+
"allowNo": false,
|
|
1922
|
+
"type": "boolean"
|
|
1923
|
+
},
|
|
1924
|
+
"output": {
|
|
1956
1925
|
"char": "o",
|
|
1957
1926
|
"description": "Output format",
|
|
1958
|
-
"name": "
|
|
1927
|
+
"name": "output",
|
|
1959
1928
|
"required": false,
|
|
1960
1929
|
"default": "summary",
|
|
1961
1930
|
"hasDynamicHelp": false,
|
|
@@ -1966,14 +1935,6 @@
|
|
|
1966
1935
|
],
|
|
1967
1936
|
"type": "option"
|
|
1968
1937
|
},
|
|
1969
|
-
"output": {
|
|
1970
|
-
"description": "Output file path (defaults to ./release-{id}.tar.gz)",
|
|
1971
|
-
"name": "output",
|
|
1972
|
-
"required": false,
|
|
1973
|
-
"hasDynamicHelp": false,
|
|
1974
|
-
"multiple": false,
|
|
1975
|
-
"type": "option"
|
|
1976
|
-
},
|
|
1977
1938
|
"workspace": {
|
|
1978
1939
|
"char": "w",
|
|
1979
1940
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -1986,7 +1947,7 @@
|
|
|
1986
1947
|
},
|
|
1987
1948
|
"hasDynamicHelp": false,
|
|
1988
1949
|
"hiddenAliases": [],
|
|
1989
|
-
"id": "release:
|
|
1950
|
+
"id": "release:delete",
|
|
1990
1951
|
"pluginAlias": "@xano/cli",
|
|
1991
1952
|
"pluginName": "@xano/cli",
|
|
1992
1953
|
"pluginType": "core",
|
|
@@ -1997,7 +1958,7 @@
|
|
|
1997
1958
|
"dist",
|
|
1998
1959
|
"commands",
|
|
1999
1960
|
"release",
|
|
2000
|
-
"
|
|
1961
|
+
"delete",
|
|
2001
1962
|
"index.js"
|
|
2002
1963
|
]
|
|
2003
1964
|
},
|
|
@@ -2154,58 +2115,13 @@
|
|
|
2154
2115
|
"index.js"
|
|
2155
2116
|
]
|
|
2156
2117
|
},
|
|
2157
|
-
"
|
|
2118
|
+
"release:list": {
|
|
2158
2119
|
"aliases": [],
|
|
2159
2120
|
"args": {},
|
|
2160
|
-
"description": "
|
|
2121
|
+
"description": "List all releases in a workspace",
|
|
2161
2122
|
"examples": [
|
|
2162
|
-
"$ xano
|
|
2163
|
-
|
|
2164
|
-
"flags": {
|
|
2165
|
-
"name": {
|
|
2166
|
-
"char": "n",
|
|
2167
|
-
"description": "Profile name (skip prompt if provided)",
|
|
2168
|
-
"name": "name",
|
|
2169
|
-
"required": false,
|
|
2170
|
-
"hasDynamicHelp": false,
|
|
2171
|
-
"multiple": false,
|
|
2172
|
-
"type": "option"
|
|
2173
|
-
},
|
|
2174
|
-
"origin": {
|
|
2175
|
-
"char": "o",
|
|
2176
|
-
"description": "Xano instance origin URL",
|
|
2177
|
-
"name": "origin",
|
|
2178
|
-
"required": false,
|
|
2179
|
-
"default": "https://app.xano.com",
|
|
2180
|
-
"hasDynamicHelp": false,
|
|
2181
|
-
"multiple": false,
|
|
2182
|
-
"type": "option"
|
|
2183
|
-
}
|
|
2184
|
-
},
|
|
2185
|
-
"hasDynamicHelp": false,
|
|
2186
|
-
"hiddenAliases": [],
|
|
2187
|
-
"id": "profile:wizard",
|
|
2188
|
-
"pluginAlias": "@xano/cli",
|
|
2189
|
-
"pluginName": "@xano/cli",
|
|
2190
|
-
"pluginType": "core",
|
|
2191
|
-
"strict": true,
|
|
2192
|
-
"enableJsonFlag": false,
|
|
2193
|
-
"isESM": true,
|
|
2194
|
-
"relativePath": [
|
|
2195
|
-
"dist",
|
|
2196
|
-
"commands",
|
|
2197
|
-
"profile",
|
|
2198
|
-
"wizard",
|
|
2199
|
-
"index.js"
|
|
2200
|
-
]
|
|
2201
|
-
},
|
|
2202
|
-
"release:list": {
|
|
2203
|
-
"aliases": [],
|
|
2204
|
-
"args": {},
|
|
2205
|
-
"description": "List all releases in a workspace",
|
|
2206
|
-
"examples": [
|
|
2207
|
-
"$ xano release list\nReleases in workspace 5:\n - v1.0 (ID: 10) - main\n - v1.1-hotfix (ID: 11) - main [hotfix]\n",
|
|
2208
|
-
"$ xano release list -w 5 --output json"
|
|
2123
|
+
"$ xano release list\nReleases in workspace 5:\n - v1.0 (ID: 10) - main\n - v1.1-hotfix (ID: 11) - main [hotfix]\n",
|
|
2124
|
+
"$ xano release list -w 5 --output json"
|
|
2209
2125
|
],
|
|
2210
2126
|
"flags": {
|
|
2211
2127
|
"profile": {
|
|
@@ -2469,6 +2385,90 @@
|
|
|
2469
2385
|
"index.js"
|
|
2470
2386
|
]
|
|
2471
2387
|
},
|
|
2388
|
+
"release:export": {
|
|
2389
|
+
"aliases": [],
|
|
2390
|
+
"args": {
|
|
2391
|
+
"release_id": {
|
|
2392
|
+
"description": "Release ID to export",
|
|
2393
|
+
"name": "release_id",
|
|
2394
|
+
"required": true
|
|
2395
|
+
}
|
|
2396
|
+
},
|
|
2397
|
+
"description": "Export (download) a release to a local file",
|
|
2398
|
+
"examples": [
|
|
2399
|
+
"$ xano release export 10\nDownloaded release #10 to ./release-10.tar.gz\n",
|
|
2400
|
+
"$ xano release export 10 --output ./backups/my-release.tar.gz",
|
|
2401
|
+
"$ xano release export 10 -o json"
|
|
2402
|
+
],
|
|
2403
|
+
"flags": {
|
|
2404
|
+
"profile": {
|
|
2405
|
+
"char": "p",
|
|
2406
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
2407
|
+
"env": "XANO_PROFILE",
|
|
2408
|
+
"name": "profile",
|
|
2409
|
+
"required": false,
|
|
2410
|
+
"hasDynamicHelp": false,
|
|
2411
|
+
"multiple": false,
|
|
2412
|
+
"type": "option"
|
|
2413
|
+
},
|
|
2414
|
+
"verbose": {
|
|
2415
|
+
"char": "v",
|
|
2416
|
+
"description": "Show detailed request/response information",
|
|
2417
|
+
"env": "XANO_VERBOSE",
|
|
2418
|
+
"name": "verbose",
|
|
2419
|
+
"required": false,
|
|
2420
|
+
"allowNo": false,
|
|
2421
|
+
"type": "boolean"
|
|
2422
|
+
},
|
|
2423
|
+
"format": {
|
|
2424
|
+
"char": "o",
|
|
2425
|
+
"description": "Output format",
|
|
2426
|
+
"name": "format",
|
|
2427
|
+
"required": false,
|
|
2428
|
+
"default": "summary",
|
|
2429
|
+
"hasDynamicHelp": false,
|
|
2430
|
+
"multiple": false,
|
|
2431
|
+
"options": [
|
|
2432
|
+
"summary",
|
|
2433
|
+
"json"
|
|
2434
|
+
],
|
|
2435
|
+
"type": "option"
|
|
2436
|
+
},
|
|
2437
|
+
"output": {
|
|
2438
|
+
"description": "Output file path (defaults to ./release-{id}.tar.gz)",
|
|
2439
|
+
"name": "output",
|
|
2440
|
+
"required": false,
|
|
2441
|
+
"hasDynamicHelp": false,
|
|
2442
|
+
"multiple": false,
|
|
2443
|
+
"type": "option"
|
|
2444
|
+
},
|
|
2445
|
+
"workspace": {
|
|
2446
|
+
"char": "w",
|
|
2447
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
2448
|
+
"name": "workspace",
|
|
2449
|
+
"required": false,
|
|
2450
|
+
"hasDynamicHelp": false,
|
|
2451
|
+
"multiple": false,
|
|
2452
|
+
"type": "option"
|
|
2453
|
+
}
|
|
2454
|
+
},
|
|
2455
|
+
"hasDynamicHelp": false,
|
|
2456
|
+
"hiddenAliases": [],
|
|
2457
|
+
"id": "release:export",
|
|
2458
|
+
"pluginAlias": "@xano/cli",
|
|
2459
|
+
"pluginName": "@xano/cli",
|
|
2460
|
+
"pluginType": "core",
|
|
2461
|
+
"strict": true,
|
|
2462
|
+
"enableJsonFlag": false,
|
|
2463
|
+
"isESM": true,
|
|
2464
|
+
"relativePath": [
|
|
2465
|
+
"dist",
|
|
2466
|
+
"commands",
|
|
2467
|
+
"release",
|
|
2468
|
+
"export",
|
|
2469
|
+
"index.js"
|
|
2470
|
+
]
|
|
2471
|
+
},
|
|
2472
2472
|
"static_host:list": {
|
|
2473
2473
|
"aliases": [],
|
|
2474
2474
|
"args": {},
|
|
@@ -2558,19 +2558,13 @@
|
|
|
2558
2558
|
"index.js"
|
|
2559
2559
|
]
|
|
2560
2560
|
},
|
|
2561
|
-
"tenant:
|
|
2561
|
+
"tenant:create": {
|
|
2562
2562
|
"aliases": [],
|
|
2563
|
-
"args": {
|
|
2564
|
-
|
|
2565
|
-
"description": "Tenant name to deploy to",
|
|
2566
|
-
"name": "tenant_name",
|
|
2567
|
-
"required": true
|
|
2568
|
-
}
|
|
2569
|
-
},
|
|
2570
|
-
"description": "Deploy a platform version to a tenant",
|
|
2563
|
+
"args": {},
|
|
2564
|
+
"description": "Create a new tenant in a workspace",
|
|
2571
2565
|
"examples": [
|
|
2572
|
-
"$ xano tenant
|
|
2573
|
-
"$ xano tenant
|
|
2566
|
+
"$ xano tenant create --display \"Production\"\nCreated tenant: Production (production) - ID: 42\n",
|
|
2567
|
+
"$ xano tenant create --display \"Staging\" --description \"Staging env\" --cluster-id 1 --platform-id 1 --license tier2 -o json"
|
|
2574
2568
|
],
|
|
2575
2569
|
"flags": {
|
|
2576
2570
|
"profile": {
|
|
@@ -2592,6 +2586,59 @@
|
|
|
2592
2586
|
"allowNo": false,
|
|
2593
2587
|
"type": "boolean"
|
|
2594
2588
|
},
|
|
2589
|
+
"cluster-id": {
|
|
2590
|
+
"description": "Cluster ID to deploy to (required for tier2/tier3)",
|
|
2591
|
+
"name": "cluster-id",
|
|
2592
|
+
"required": false,
|
|
2593
|
+
"hasDynamicHelp": false,
|
|
2594
|
+
"multiple": false,
|
|
2595
|
+
"type": "option"
|
|
2596
|
+
},
|
|
2597
|
+
"description": {
|
|
2598
|
+
"char": "d",
|
|
2599
|
+
"description": "Tenant description",
|
|
2600
|
+
"name": "description",
|
|
2601
|
+
"required": false,
|
|
2602
|
+
"hasDynamicHelp": false,
|
|
2603
|
+
"multiple": false,
|
|
2604
|
+
"type": "option"
|
|
2605
|
+
},
|
|
2606
|
+
"display": {
|
|
2607
|
+
"description": "Display name for the tenant",
|
|
2608
|
+
"name": "display",
|
|
2609
|
+
"required": true,
|
|
2610
|
+
"hasDynamicHelp": false,
|
|
2611
|
+
"multiple": false,
|
|
2612
|
+
"type": "option"
|
|
2613
|
+
},
|
|
2614
|
+
"domain": {
|
|
2615
|
+
"description": "Custom domain for the tenant",
|
|
2616
|
+
"name": "domain",
|
|
2617
|
+
"required": false,
|
|
2618
|
+
"hasDynamicHelp": false,
|
|
2619
|
+
"multiple": false,
|
|
2620
|
+
"type": "option"
|
|
2621
|
+
},
|
|
2622
|
+
"ingress": {
|
|
2623
|
+
"description": "Enable ingress",
|
|
2624
|
+
"name": "ingress",
|
|
2625
|
+
"allowNo": true,
|
|
2626
|
+
"type": "boolean"
|
|
2627
|
+
},
|
|
2628
|
+
"license": {
|
|
2629
|
+
"description": "License tier",
|
|
2630
|
+
"name": "license",
|
|
2631
|
+
"required": false,
|
|
2632
|
+
"default": "tier1",
|
|
2633
|
+
"hasDynamicHelp": false,
|
|
2634
|
+
"multiple": false,
|
|
2635
|
+
"options": [
|
|
2636
|
+
"tier1",
|
|
2637
|
+
"tier2",
|
|
2638
|
+
"tier3"
|
|
2639
|
+
],
|
|
2640
|
+
"type": "option"
|
|
2641
|
+
},
|
|
2595
2642
|
"output": {
|
|
2596
2643
|
"char": "o",
|
|
2597
2644
|
"description": "Output format",
|
|
@@ -2607,13 +2654,19 @@
|
|
|
2607
2654
|
"type": "option"
|
|
2608
2655
|
},
|
|
2609
2656
|
"platform-id": {
|
|
2610
|
-
"description": "Platform ID to
|
|
2657
|
+
"description": "Platform ID to use",
|
|
2611
2658
|
"name": "platform-id",
|
|
2612
|
-
"required":
|
|
2659
|
+
"required": false,
|
|
2613
2660
|
"hasDynamicHelp": false,
|
|
2614
2661
|
"multiple": false,
|
|
2615
2662
|
"type": "option"
|
|
2616
2663
|
},
|
|
2664
|
+
"tasks": {
|
|
2665
|
+
"description": "Enable background tasks",
|
|
2666
|
+
"name": "tasks",
|
|
2667
|
+
"allowNo": true,
|
|
2668
|
+
"type": "boolean"
|
|
2669
|
+
},
|
|
2617
2670
|
"workspace": {
|
|
2618
2671
|
"char": "w",
|
|
2619
2672
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -2626,7 +2679,7 @@
|
|
|
2626
2679
|
},
|
|
2627
2680
|
"hasDynamicHelp": false,
|
|
2628
2681
|
"hiddenAliases": [],
|
|
2629
|
-
"id": "tenant:
|
|
2682
|
+
"id": "tenant:create",
|
|
2630
2683
|
"pluginAlias": "@xano/cli",
|
|
2631
2684
|
"pluginName": "@xano/cli",
|
|
2632
2685
|
"pluginType": "core",
|
|
@@ -2637,7 +2690,7 @@
|
|
|
2637
2690
|
"dist",
|
|
2638
2691
|
"commands",
|
|
2639
2692
|
"tenant",
|
|
2640
|
-
"
|
|
2693
|
+
"create",
|
|
2641
2694
|
"index.js"
|
|
2642
2695
|
]
|
|
2643
2696
|
},
|
|
@@ -2725,7 +2778,7 @@
|
|
|
2725
2778
|
"index.js"
|
|
2726
2779
|
]
|
|
2727
2780
|
},
|
|
2728
|
-
"tenant:
|
|
2781
|
+
"tenant:deploy_platform": {
|
|
2729
2782
|
"aliases": [],
|
|
2730
2783
|
"args": {
|
|
2731
2784
|
"tenant_name": {
|
|
@@ -2734,10 +2787,10 @@
|
|
|
2734
2787
|
"required": true
|
|
2735
2788
|
}
|
|
2736
2789
|
},
|
|
2737
|
-
"description": "Deploy a
|
|
2790
|
+
"description": "Deploy a platform version to a tenant",
|
|
2738
2791
|
"examples": [
|
|
2739
|
-
"$ xano tenant deploy-
|
|
2740
|
-
"$ xano tenant deploy-
|
|
2792
|
+
"$ xano tenant deploy-platform t1234-abcd-xyz1 --platform-id 5\nDeployed platform 5 to tenant: My Tenant (my-tenant)\n",
|
|
2793
|
+
"$ xano tenant deploy-platform t1234-abcd-xyz1 --platform-id 5 -o json"
|
|
2741
2794
|
],
|
|
2742
2795
|
"flags": {
|
|
2743
2796
|
"profile": {
|
|
@@ -2773,9 +2826,9 @@
|
|
|
2773
2826
|
],
|
|
2774
2827
|
"type": "option"
|
|
2775
2828
|
},
|
|
2776
|
-
"
|
|
2777
|
-
"description": "
|
|
2778
|
-
"name": "
|
|
2829
|
+
"platform-id": {
|
|
2830
|
+
"description": "Platform ID to deploy",
|
|
2831
|
+
"name": "platform-id",
|
|
2779
2832
|
"required": true,
|
|
2780
2833
|
"hasDynamicHelp": false,
|
|
2781
2834
|
"multiple": false,
|
|
@@ -2793,7 +2846,7 @@
|
|
|
2793
2846
|
},
|
|
2794
2847
|
"hasDynamicHelp": false,
|
|
2795
2848
|
"hiddenAliases": [],
|
|
2796
|
-
"id": "tenant:
|
|
2849
|
+
"id": "tenant:deploy_platform",
|
|
2797
2850
|
"pluginAlias": "@xano/cli",
|
|
2798
2851
|
"pluginName": "@xano/cli",
|
|
2799
2852
|
"pluginType": "core",
|
|
@@ -2804,17 +2857,23 @@
|
|
|
2804
2857
|
"dist",
|
|
2805
2858
|
"commands",
|
|
2806
2859
|
"tenant",
|
|
2807
|
-
"
|
|
2860
|
+
"deploy_platform",
|
|
2808
2861
|
"index.js"
|
|
2809
2862
|
]
|
|
2810
2863
|
},
|
|
2811
|
-
"tenant:
|
|
2864
|
+
"tenant:edit": {
|
|
2812
2865
|
"aliases": [],
|
|
2813
|
-
"args": {
|
|
2814
|
-
|
|
2866
|
+
"args": {
|
|
2867
|
+
"tenant_name": {
|
|
2868
|
+
"description": "Tenant name to edit",
|
|
2869
|
+
"name": "tenant_name",
|
|
2870
|
+
"required": true
|
|
2871
|
+
}
|
|
2872
|
+
},
|
|
2873
|
+
"description": "Edit an existing tenant",
|
|
2815
2874
|
"examples": [
|
|
2816
|
-
"$ xano tenant
|
|
2817
|
-
"$ xano tenant
|
|
2875
|
+
"$ xano tenant edit t1234-abcd-xyz1 --display \"New Name\" --description \"Updated description\"\nUpdated tenant: New Name (my-tenant) - ID: 42\n",
|
|
2876
|
+
"$ xano tenant edit t1234-abcd-xyz1 --no-tasks --no-ingress -o json"
|
|
2818
2877
|
],
|
|
2819
2878
|
"flags": {
|
|
2820
2879
|
"profile": {
|
|
@@ -2836,17 +2895,9 @@
|
|
|
2836
2895
|
"allowNo": false,
|
|
2837
2896
|
"type": "boolean"
|
|
2838
2897
|
},
|
|
2839
|
-
"cluster-id": {
|
|
2840
|
-
"description": "Cluster ID to deploy to (required for tier2/tier3)",
|
|
2841
|
-
"name": "cluster-id",
|
|
2842
|
-
"required": false,
|
|
2843
|
-
"hasDynamicHelp": false,
|
|
2844
|
-
"multiple": false,
|
|
2845
|
-
"type": "option"
|
|
2846
|
-
},
|
|
2847
2898
|
"description": {
|
|
2848
2899
|
"char": "d",
|
|
2849
|
-
"description": "
|
|
2900
|
+
"description": "New description",
|
|
2850
2901
|
"name": "description",
|
|
2851
2902
|
"required": false,
|
|
2852
2903
|
"hasDynamicHelp": false,
|
|
@@ -2854,15 +2905,15 @@
|
|
|
2854
2905
|
"type": "option"
|
|
2855
2906
|
},
|
|
2856
2907
|
"display": {
|
|
2857
|
-
"description": "
|
|
2908
|
+
"description": "New display name",
|
|
2858
2909
|
"name": "display",
|
|
2859
|
-
"required":
|
|
2910
|
+
"required": false,
|
|
2860
2911
|
"hasDynamicHelp": false,
|
|
2861
2912
|
"multiple": false,
|
|
2862
2913
|
"type": "option"
|
|
2863
2914
|
},
|
|
2864
2915
|
"domain": {
|
|
2865
|
-
"description": "Custom domain
|
|
2916
|
+
"description": "Custom domain",
|
|
2866
2917
|
"name": "domain",
|
|
2867
2918
|
"required": false,
|
|
2868
2919
|
"hasDynamicHelp": false,
|
|
@@ -2870,25 +2921,12 @@
|
|
|
2870
2921
|
"type": "option"
|
|
2871
2922
|
},
|
|
2872
2923
|
"ingress": {
|
|
2873
|
-
"description": "Enable ingress",
|
|
2924
|
+
"description": "Enable/disable ingress",
|
|
2874
2925
|
"name": "ingress",
|
|
2926
|
+
"required": false,
|
|
2875
2927
|
"allowNo": true,
|
|
2876
2928
|
"type": "boolean"
|
|
2877
2929
|
},
|
|
2878
|
-
"license": {
|
|
2879
|
-
"description": "License tier",
|
|
2880
|
-
"name": "license",
|
|
2881
|
-
"required": false,
|
|
2882
|
-
"default": "tier1",
|
|
2883
|
-
"hasDynamicHelp": false,
|
|
2884
|
-
"multiple": false,
|
|
2885
|
-
"options": [
|
|
2886
|
-
"tier1",
|
|
2887
|
-
"tier2",
|
|
2888
|
-
"tier3"
|
|
2889
|
-
],
|
|
2890
|
-
"type": "option"
|
|
2891
|
-
},
|
|
2892
2930
|
"output": {
|
|
2893
2931
|
"char": "o",
|
|
2894
2932
|
"description": "Output format",
|
|
@@ -2903,17 +2941,25 @@
|
|
|
2903
2941
|
],
|
|
2904
2942
|
"type": "option"
|
|
2905
2943
|
},
|
|
2906
|
-
"
|
|
2907
|
-
"description": "
|
|
2908
|
-
"name": "
|
|
2944
|
+
"proxy": {
|
|
2945
|
+
"description": "Proxy URL",
|
|
2946
|
+
"name": "proxy",
|
|
2909
2947
|
"required": false,
|
|
2910
2948
|
"hasDynamicHelp": false,
|
|
2911
2949
|
"multiple": false,
|
|
2912
2950
|
"type": "option"
|
|
2913
2951
|
},
|
|
2952
|
+
"rbac": {
|
|
2953
|
+
"description": "Enable/disable RBAC",
|
|
2954
|
+
"name": "rbac",
|
|
2955
|
+
"required": false,
|
|
2956
|
+
"allowNo": true,
|
|
2957
|
+
"type": "boolean"
|
|
2958
|
+
},
|
|
2914
2959
|
"tasks": {
|
|
2915
|
-
"description": "Enable background tasks",
|
|
2960
|
+
"description": "Enable/disable background tasks",
|
|
2916
2961
|
"name": "tasks",
|
|
2962
|
+
"required": false,
|
|
2917
2963
|
"allowNo": true,
|
|
2918
2964
|
"type": "boolean"
|
|
2919
2965
|
},
|
|
@@ -2929,7 +2975,7 @@
|
|
|
2929
2975
|
},
|
|
2930
2976
|
"hasDynamicHelp": false,
|
|
2931
2977
|
"hiddenAliases": [],
|
|
2932
|
-
"id": "tenant:
|
|
2978
|
+
"id": "tenant:edit",
|
|
2933
2979
|
"pluginAlias": "@xano/cli",
|
|
2934
2980
|
"pluginName": "@xano/cli",
|
|
2935
2981
|
"pluginType": "core",
|
|
@@ -2940,23 +2986,23 @@
|
|
|
2940
2986
|
"dist",
|
|
2941
2987
|
"commands",
|
|
2942
2988
|
"tenant",
|
|
2943
|
-
"
|
|
2989
|
+
"edit",
|
|
2944
2990
|
"index.js"
|
|
2945
2991
|
]
|
|
2946
2992
|
},
|
|
2947
|
-
"tenant:
|
|
2993
|
+
"tenant:deploy_release": {
|
|
2948
2994
|
"aliases": [],
|
|
2949
2995
|
"args": {
|
|
2950
2996
|
"tenant_name": {
|
|
2951
|
-
"description": "Tenant name to
|
|
2997
|
+
"description": "Tenant name to deploy to",
|
|
2952
2998
|
"name": "tenant_name",
|
|
2953
2999
|
"required": true
|
|
2954
3000
|
}
|
|
2955
3001
|
},
|
|
2956
|
-
"description": "
|
|
3002
|
+
"description": "Deploy a release to a tenant",
|
|
2957
3003
|
"examples": [
|
|
2958
|
-
"$ xano tenant
|
|
2959
|
-
"$ xano tenant
|
|
3004
|
+
"$ xano tenant deploy-release t1234-abcd-xyz1 --release-id 10\nDeployed release 10 to tenant: My Tenant (my-tenant)\n",
|
|
3005
|
+
"$ xano tenant deploy-release t1234-abcd-xyz1 --release-id 10 -o json"
|
|
2960
3006
|
],
|
|
2961
3007
|
"flags": {
|
|
2962
3008
|
"profile": {
|
|
@@ -2992,6 +3038,14 @@
|
|
|
2992
3038
|
],
|
|
2993
3039
|
"type": "option"
|
|
2994
3040
|
},
|
|
3041
|
+
"release-id": {
|
|
3042
|
+
"description": "Release ID to deploy",
|
|
3043
|
+
"name": "release-id",
|
|
3044
|
+
"required": true,
|
|
3045
|
+
"hasDynamicHelp": false,
|
|
3046
|
+
"multiple": false,
|
|
3047
|
+
"type": "option"
|
|
3048
|
+
},
|
|
2995
3049
|
"workspace": {
|
|
2996
3050
|
"char": "w",
|
|
2997
3051
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -3004,7 +3058,7 @@
|
|
|
3004
3058
|
},
|
|
3005
3059
|
"hasDynamicHelp": false,
|
|
3006
3060
|
"hiddenAliases": [],
|
|
3007
|
-
"id": "tenant:
|
|
3061
|
+
"id": "tenant:deploy_release",
|
|
3008
3062
|
"pluginAlias": "@xano/cli",
|
|
3009
3063
|
"pluginName": "@xano/cli",
|
|
3010
3064
|
"pluginType": "core",
|
|
@@ -3015,23 +3069,93 @@
|
|
|
3015
3069
|
"dist",
|
|
3016
3070
|
"commands",
|
|
3017
3071
|
"tenant",
|
|
3018
|
-
"
|
|
3072
|
+
"deploy_release",
|
|
3019
3073
|
"index.js"
|
|
3020
3074
|
]
|
|
3021
3075
|
},
|
|
3022
|
-
"tenant:
|
|
3076
|
+
"tenant:list": {
|
|
3077
|
+
"aliases": [],
|
|
3078
|
+
"args": {},
|
|
3079
|
+
"description": "List all tenants in a workspace",
|
|
3080
|
+
"examples": [
|
|
3081
|
+
"$ xano tenant list\nTenants in workspace 5:\n - My Tenant (my-tenant) [ok] - tier1\n - Staging (staging) [ok] - tier1\n",
|
|
3082
|
+
"$ xano tenant list -w 5 --output json"
|
|
3083
|
+
],
|
|
3084
|
+
"flags": {
|
|
3085
|
+
"profile": {
|
|
3086
|
+
"char": "p",
|
|
3087
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
3088
|
+
"env": "XANO_PROFILE",
|
|
3089
|
+
"name": "profile",
|
|
3090
|
+
"required": false,
|
|
3091
|
+
"hasDynamicHelp": false,
|
|
3092
|
+
"multiple": false,
|
|
3093
|
+
"type": "option"
|
|
3094
|
+
},
|
|
3095
|
+
"verbose": {
|
|
3096
|
+
"char": "v",
|
|
3097
|
+
"description": "Show detailed request/response information",
|
|
3098
|
+
"env": "XANO_VERBOSE",
|
|
3099
|
+
"name": "verbose",
|
|
3100
|
+
"required": false,
|
|
3101
|
+
"allowNo": false,
|
|
3102
|
+
"type": "boolean"
|
|
3103
|
+
},
|
|
3104
|
+
"output": {
|
|
3105
|
+
"char": "o",
|
|
3106
|
+
"description": "Output format",
|
|
3107
|
+
"name": "output",
|
|
3108
|
+
"required": false,
|
|
3109
|
+
"default": "summary",
|
|
3110
|
+
"hasDynamicHelp": false,
|
|
3111
|
+
"multiple": false,
|
|
3112
|
+
"options": [
|
|
3113
|
+
"summary",
|
|
3114
|
+
"json"
|
|
3115
|
+
],
|
|
3116
|
+
"type": "option"
|
|
3117
|
+
},
|
|
3118
|
+
"workspace": {
|
|
3119
|
+
"char": "w",
|
|
3120
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
3121
|
+
"name": "workspace",
|
|
3122
|
+
"required": false,
|
|
3123
|
+
"hasDynamicHelp": false,
|
|
3124
|
+
"multiple": false,
|
|
3125
|
+
"type": "option"
|
|
3126
|
+
}
|
|
3127
|
+
},
|
|
3128
|
+
"hasDynamicHelp": false,
|
|
3129
|
+
"hiddenAliases": [],
|
|
3130
|
+
"id": "tenant:list",
|
|
3131
|
+
"pluginAlias": "@xano/cli",
|
|
3132
|
+
"pluginName": "@xano/cli",
|
|
3133
|
+
"pluginType": "core",
|
|
3134
|
+
"strict": true,
|
|
3135
|
+
"enableJsonFlag": false,
|
|
3136
|
+
"isESM": true,
|
|
3137
|
+
"relativePath": [
|
|
3138
|
+
"dist",
|
|
3139
|
+
"commands",
|
|
3140
|
+
"tenant",
|
|
3141
|
+
"list",
|
|
3142
|
+
"index.js"
|
|
3143
|
+
]
|
|
3144
|
+
},
|
|
3145
|
+
"workflow_test:get": {
|
|
3023
3146
|
"aliases": [],
|
|
3024
3147
|
"args": {
|
|
3025
|
-
"
|
|
3026
|
-
"description": "
|
|
3027
|
-
"name": "
|
|
3148
|
+
"workflow_test_id": {
|
|
3149
|
+
"description": "ID of the workflow test",
|
|
3150
|
+
"name": "workflow_test_id",
|
|
3028
3151
|
"required": true
|
|
3029
3152
|
}
|
|
3030
3153
|
},
|
|
3031
|
-
"description": "
|
|
3154
|
+
"description": "Get a specific workflow test",
|
|
3032
3155
|
"examples": [
|
|
3033
|
-
"$ xano
|
|
3034
|
-
"$ xano
|
|
3156
|
+
"$ xano workflow-test get 1\nWorkflow Test: my-test (ID: 1)\n Description: Validates auth endpoints\n Branch: main\n",
|
|
3157
|
+
"$ xano workflow-test get 1 -o xs",
|
|
3158
|
+
"$ xano workflow-test get 1 -o json"
|
|
3035
3159
|
],
|
|
3036
3160
|
"flags": {
|
|
3037
3161
|
"profile": {
|
|
@@ -3053,36 +3177,95 @@
|
|
|
3053
3177
|
"allowNo": false,
|
|
3054
3178
|
"type": "boolean"
|
|
3055
3179
|
},
|
|
3056
|
-
"
|
|
3057
|
-
"
|
|
3058
|
-
"
|
|
3059
|
-
"
|
|
3180
|
+
"include-draft": {
|
|
3181
|
+
"description": "Include draft version",
|
|
3182
|
+
"name": "include-draft",
|
|
3183
|
+
"required": false,
|
|
3184
|
+
"allowNo": false,
|
|
3185
|
+
"type": "boolean"
|
|
3186
|
+
},
|
|
3187
|
+
"output": {
|
|
3188
|
+
"char": "o",
|
|
3189
|
+
"description": "Output format",
|
|
3190
|
+
"name": "output",
|
|
3060
3191
|
"required": false,
|
|
3192
|
+
"default": "summary",
|
|
3061
3193
|
"hasDynamicHelp": false,
|
|
3062
3194
|
"multiple": false,
|
|
3195
|
+
"options": [
|
|
3196
|
+
"summary",
|
|
3197
|
+
"json",
|
|
3198
|
+
"xs"
|
|
3199
|
+
],
|
|
3063
3200
|
"type": "option"
|
|
3064
3201
|
},
|
|
3065
|
-
"
|
|
3066
|
-
"
|
|
3067
|
-
"
|
|
3202
|
+
"workspace": {
|
|
3203
|
+
"char": "w",
|
|
3204
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
3205
|
+
"name": "workspace",
|
|
3068
3206
|
"required": false,
|
|
3069
3207
|
"hasDynamicHelp": false,
|
|
3070
3208
|
"multiple": false,
|
|
3071
3209
|
"type": "option"
|
|
3072
|
-
}
|
|
3073
|
-
|
|
3074
|
-
|
|
3075
|
-
|
|
3210
|
+
}
|
|
3211
|
+
},
|
|
3212
|
+
"hasDynamicHelp": false,
|
|
3213
|
+
"hiddenAliases": [],
|
|
3214
|
+
"id": "workflow_test:get",
|
|
3215
|
+
"pluginAlias": "@xano/cli",
|
|
3216
|
+
"pluginName": "@xano/cli",
|
|
3217
|
+
"pluginType": "core",
|
|
3218
|
+
"strict": true,
|
|
3219
|
+
"enableJsonFlag": false,
|
|
3220
|
+
"isESM": true,
|
|
3221
|
+
"relativePath": [
|
|
3222
|
+
"dist",
|
|
3223
|
+
"commands",
|
|
3224
|
+
"workflow_test",
|
|
3225
|
+
"get",
|
|
3226
|
+
"index.js"
|
|
3227
|
+
]
|
|
3228
|
+
},
|
|
3229
|
+
"workflow_test:delete": {
|
|
3230
|
+
"aliases": [],
|
|
3231
|
+
"args": {
|
|
3232
|
+
"workflow_test_id": {
|
|
3233
|
+
"description": "ID of the workflow test to delete",
|
|
3234
|
+
"name": "workflow_test_id",
|
|
3235
|
+
"required": true
|
|
3236
|
+
}
|
|
3237
|
+
},
|
|
3238
|
+
"description": "Delete a workflow test",
|
|
3239
|
+
"examples": [
|
|
3240
|
+
"$ xano workflow-test delete 1\nAre you sure you want to delete workflow test 1? (y/N) y\nDeleted workflow test 1\n",
|
|
3241
|
+
"$ xano workflow-test delete 1 --force"
|
|
3242
|
+
],
|
|
3243
|
+
"flags": {
|
|
3244
|
+
"profile": {
|
|
3245
|
+
"char": "p",
|
|
3246
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
3247
|
+
"env": "XANO_PROFILE",
|
|
3248
|
+
"name": "profile",
|
|
3076
3249
|
"required": false,
|
|
3077
3250
|
"hasDynamicHelp": false,
|
|
3078
3251
|
"multiple": false,
|
|
3079
3252
|
"type": "option"
|
|
3080
3253
|
},
|
|
3081
|
-
"
|
|
3082
|
-
"
|
|
3083
|
-
"
|
|
3254
|
+
"verbose": {
|
|
3255
|
+
"char": "v",
|
|
3256
|
+
"description": "Show detailed request/response information",
|
|
3257
|
+
"env": "XANO_VERBOSE",
|
|
3258
|
+
"name": "verbose",
|
|
3084
3259
|
"required": false,
|
|
3085
|
-
"allowNo":
|
|
3260
|
+
"allowNo": false,
|
|
3261
|
+
"type": "boolean"
|
|
3262
|
+
},
|
|
3263
|
+
"force": {
|
|
3264
|
+
"char": "f",
|
|
3265
|
+
"description": "Skip confirmation prompt",
|
|
3266
|
+
"name": "force",
|
|
3267
|
+
"required": false,
|
|
3268
|
+
"allowNo": false,
|
|
3086
3269
|
"type": "boolean"
|
|
3087
3270
|
},
|
|
3088
3271
|
"output": {
|
|
@@ -3099,27 +3282,84 @@
|
|
|
3099
3282
|
],
|
|
3100
3283
|
"type": "option"
|
|
3101
3284
|
},
|
|
3102
|
-
"
|
|
3103
|
-
"
|
|
3104
|
-
"
|
|
3285
|
+
"workspace": {
|
|
3286
|
+
"char": "w",
|
|
3287
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
3288
|
+
"name": "workspace",
|
|
3289
|
+
"required": false,
|
|
3290
|
+
"hasDynamicHelp": false,
|
|
3291
|
+
"multiple": false,
|
|
3292
|
+
"type": "option"
|
|
3293
|
+
}
|
|
3294
|
+
},
|
|
3295
|
+
"hasDynamicHelp": false,
|
|
3296
|
+
"hiddenAliases": [],
|
|
3297
|
+
"id": "workflow_test:delete",
|
|
3298
|
+
"pluginAlias": "@xano/cli",
|
|
3299
|
+
"pluginName": "@xano/cli",
|
|
3300
|
+
"pluginType": "core",
|
|
3301
|
+
"strict": true,
|
|
3302
|
+
"enableJsonFlag": false,
|
|
3303
|
+
"isESM": true,
|
|
3304
|
+
"relativePath": [
|
|
3305
|
+
"dist",
|
|
3306
|
+
"commands",
|
|
3307
|
+
"workflow_test",
|
|
3308
|
+
"delete",
|
|
3309
|
+
"index.js"
|
|
3310
|
+
]
|
|
3311
|
+
},
|
|
3312
|
+
"workflow_test:list": {
|
|
3313
|
+
"aliases": [],
|
|
3314
|
+
"args": {},
|
|
3315
|
+
"description": "List all workflow tests in a workspace",
|
|
3316
|
+
"examples": [
|
|
3317
|
+
"$ xano workflow-test list\nWorkflow tests in workspace 5:\n - my-test (ID: 1)\n - auth-flow (ID: 2) - Validates auth endpoints\n",
|
|
3318
|
+
"$ xano workflow-test list -w 5 --output json",
|
|
3319
|
+
"$ xano workflow-test list --branch main"
|
|
3320
|
+
],
|
|
3321
|
+
"flags": {
|
|
3322
|
+
"profile": {
|
|
3323
|
+
"char": "p",
|
|
3324
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
3325
|
+
"env": "XANO_PROFILE",
|
|
3326
|
+
"name": "profile",
|
|
3105
3327
|
"required": false,
|
|
3106
3328
|
"hasDynamicHelp": false,
|
|
3107
3329
|
"multiple": false,
|
|
3108
3330
|
"type": "option"
|
|
3109
3331
|
},
|
|
3110
|
-
"
|
|
3111
|
-
"
|
|
3112
|
-
"
|
|
3332
|
+
"verbose": {
|
|
3333
|
+
"char": "v",
|
|
3334
|
+
"description": "Show detailed request/response information",
|
|
3335
|
+
"env": "XANO_VERBOSE",
|
|
3336
|
+
"name": "verbose",
|
|
3113
3337
|
"required": false,
|
|
3114
|
-
"allowNo":
|
|
3338
|
+
"allowNo": false,
|
|
3115
3339
|
"type": "boolean"
|
|
3116
3340
|
},
|
|
3117
|
-
"
|
|
3118
|
-
"
|
|
3119
|
-
"
|
|
3341
|
+
"branch": {
|
|
3342
|
+
"char": "b",
|
|
3343
|
+
"description": "Filter by branch name",
|
|
3344
|
+
"name": "branch",
|
|
3120
3345
|
"required": false,
|
|
3121
|
-
"
|
|
3122
|
-
"
|
|
3346
|
+
"hasDynamicHelp": false,
|
|
3347
|
+
"multiple": false,
|
|
3348
|
+
"type": "option"
|
|
3349
|
+
},
|
|
3350
|
+
"output": {
|
|
3351
|
+
"char": "o",
|
|
3352
|
+
"description": "Output format",
|
|
3353
|
+
"name": "output",
|
|
3354
|
+
"required": false,
|
|
3355
|
+
"default": "summary",
|
|
3356
|
+
"hasDynamicHelp": false,
|
|
3357
|
+
"multiple": false,
|
|
3358
|
+
"options": [
|
|
3359
|
+
"summary",
|
|
3360
|
+
"json"
|
|
3361
|
+
],
|
|
3362
|
+
"type": "option"
|
|
3123
3363
|
},
|
|
3124
3364
|
"workspace": {
|
|
3125
3365
|
"char": "w",
|
|
@@ -3133,7 +3373,7 @@
|
|
|
3133
3373
|
},
|
|
3134
3374
|
"hasDynamicHelp": false,
|
|
3135
3375
|
"hiddenAliases": [],
|
|
3136
|
-
"id": "
|
|
3376
|
+
"id": "workflow_test:list",
|
|
3137
3377
|
"pluginAlias": "@xano/cli",
|
|
3138
3378
|
"pluginName": "@xano/cli",
|
|
3139
3379
|
"pluginType": "core",
|
|
@@ -3143,18 +3383,24 @@
|
|
|
3143
3383
|
"relativePath": [
|
|
3144
3384
|
"dist",
|
|
3145
3385
|
"commands",
|
|
3146
|
-
"
|
|
3147
|
-
"
|
|
3386
|
+
"workflow_test",
|
|
3387
|
+
"list",
|
|
3148
3388
|
"index.js"
|
|
3149
3389
|
]
|
|
3150
3390
|
},
|
|
3151
|
-
"tenant:
|
|
3391
|
+
"tenant:get": {
|
|
3152
3392
|
"aliases": [],
|
|
3153
|
-
"args": {
|
|
3154
|
-
|
|
3393
|
+
"args": {
|
|
3394
|
+
"tenant_name": {
|
|
3395
|
+
"description": "Tenant name to retrieve",
|
|
3396
|
+
"name": "tenant_name",
|
|
3397
|
+
"required": true
|
|
3398
|
+
}
|
|
3399
|
+
},
|
|
3400
|
+
"description": "Get details of a specific tenant",
|
|
3155
3401
|
"examples": [
|
|
3156
|
-
"$ xano tenant
|
|
3157
|
-
"$ xano tenant
|
|
3402
|
+
"$ xano tenant get t1234-abcd-xyz1\nTenant: My Tenant (my-tenant)\n State: ok\n License: tier1\n Domain: my-tenant.xano.io\n Cluster: default\n Release: v1.0\n",
|
|
3403
|
+
"$ xano tenant get t1234-abcd-xyz1 -w 5 -o json"
|
|
3158
3404
|
],
|
|
3159
3405
|
"flags": {
|
|
3160
3406
|
"profile": {
|
|
@@ -3202,7 +3448,7 @@
|
|
|
3202
3448
|
},
|
|
3203
3449
|
"hasDynamicHelp": false,
|
|
3204
3450
|
"hiddenAliases": [],
|
|
3205
|
-
"id": "tenant:
|
|
3451
|
+
"id": "tenant:get",
|
|
3206
3452
|
"pluginAlias": "@xano/cli",
|
|
3207
3453
|
"pluginName": "@xano/cli",
|
|
3208
3454
|
"pluginType": "core",
|
|
@@ -3213,24 +3459,23 @@
|
|
|
3213
3459
|
"dist",
|
|
3214
3460
|
"commands",
|
|
3215
3461
|
"tenant",
|
|
3216
|
-
"
|
|
3462
|
+
"get",
|
|
3217
3463
|
"index.js"
|
|
3218
3464
|
]
|
|
3219
3465
|
},
|
|
3220
|
-
"
|
|
3466
|
+
"workflow_test:run": {
|
|
3221
3467
|
"aliases": [],
|
|
3222
3468
|
"args": {
|
|
3223
|
-
"
|
|
3224
|
-
"description": "
|
|
3225
|
-
"name": "
|
|
3469
|
+
"workflow_test_id": {
|
|
3470
|
+
"description": "ID of the workflow test to run",
|
|
3471
|
+
"name": "workflow_test_id",
|
|
3226
3472
|
"required": true
|
|
3227
3473
|
}
|
|
3228
3474
|
},
|
|
3229
|
-
"description": "
|
|
3475
|
+
"description": "Run a workflow test",
|
|
3230
3476
|
"examples": [
|
|
3231
|
-
"$ xano
|
|
3232
|
-
"$ xano
|
|
3233
|
-
"$ xano workspace delete 123 -f -o json\n{\n \"deleted\": true,\n \"workspace_id\": 123\n}\n"
|
|
3477
|
+
"$ xano workflow-test run 1\nRunning workflow test 1...\nResult: PASS (1.234s)\n",
|
|
3478
|
+
"$ xano workflow-test run 1 -o json"
|
|
3234
3479
|
],
|
|
3235
3480
|
"flags": {
|
|
3236
3481
|
"profile": {
|
|
@@ -3252,14 +3497,84 @@
|
|
|
3252
3497
|
"allowNo": false,
|
|
3253
3498
|
"type": "boolean"
|
|
3254
3499
|
},
|
|
3255
|
-
"
|
|
3256
|
-
"char": "
|
|
3257
|
-
"description": "
|
|
3258
|
-
"name": "
|
|
3500
|
+
"output": {
|
|
3501
|
+
"char": "o",
|
|
3502
|
+
"description": "Output format",
|
|
3503
|
+
"name": "output",
|
|
3504
|
+
"required": false,
|
|
3505
|
+
"default": "summary",
|
|
3506
|
+
"hasDynamicHelp": false,
|
|
3507
|
+
"multiple": false,
|
|
3508
|
+
"options": [
|
|
3509
|
+
"summary",
|
|
3510
|
+
"json"
|
|
3511
|
+
],
|
|
3512
|
+
"type": "option"
|
|
3513
|
+
},
|
|
3514
|
+
"workspace": {
|
|
3515
|
+
"char": "w",
|
|
3516
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
3517
|
+
"name": "workspace",
|
|
3518
|
+
"required": false,
|
|
3519
|
+
"hasDynamicHelp": false,
|
|
3520
|
+
"multiple": false,
|
|
3521
|
+
"type": "option"
|
|
3522
|
+
}
|
|
3523
|
+
},
|
|
3524
|
+
"hasDynamicHelp": false,
|
|
3525
|
+
"hiddenAliases": [],
|
|
3526
|
+
"id": "workflow_test:run",
|
|
3527
|
+
"pluginAlias": "@xano/cli",
|
|
3528
|
+
"pluginName": "@xano/cli",
|
|
3529
|
+
"pluginType": "core",
|
|
3530
|
+
"strict": true,
|
|
3531
|
+
"enableJsonFlag": false,
|
|
3532
|
+
"isESM": true,
|
|
3533
|
+
"relativePath": [
|
|
3534
|
+
"dist",
|
|
3535
|
+
"commands",
|
|
3536
|
+
"workflow_test",
|
|
3537
|
+
"run",
|
|
3538
|
+
"index.js"
|
|
3539
|
+
]
|
|
3540
|
+
},
|
|
3541
|
+
"workflow_test:run_all": {
|
|
3542
|
+
"aliases": [],
|
|
3543
|
+
"args": {},
|
|
3544
|
+
"description": "Run all workflow tests in a workspace",
|
|
3545
|
+
"examples": [
|
|
3546
|
+
"$ xano workflow-test run-all\nRunning 3 workflow tests...\n\nPASS my-test (1.234s)\nPASS auth-flow (0.567s)\nFAIL data-validation (0.890s)\n Error: assertion failed at step 3\n\nResults: 2 passed, 1 failed (2.691s total)\n",
|
|
3547
|
+
"$ xano workflow-test run-all --branch main -o json"
|
|
3548
|
+
],
|
|
3549
|
+
"flags": {
|
|
3550
|
+
"profile": {
|
|
3551
|
+
"char": "p",
|
|
3552
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
3553
|
+
"env": "XANO_PROFILE",
|
|
3554
|
+
"name": "profile",
|
|
3555
|
+
"required": false,
|
|
3556
|
+
"hasDynamicHelp": false,
|
|
3557
|
+
"multiple": false,
|
|
3558
|
+
"type": "option"
|
|
3559
|
+
},
|
|
3560
|
+
"verbose": {
|
|
3561
|
+
"char": "v",
|
|
3562
|
+
"description": "Show detailed request/response information",
|
|
3563
|
+
"env": "XANO_VERBOSE",
|
|
3564
|
+
"name": "verbose",
|
|
3259
3565
|
"required": false,
|
|
3260
3566
|
"allowNo": false,
|
|
3261
3567
|
"type": "boolean"
|
|
3262
3568
|
},
|
|
3569
|
+
"branch": {
|
|
3570
|
+
"char": "b",
|
|
3571
|
+
"description": "Filter by branch name",
|
|
3572
|
+
"name": "branch",
|
|
3573
|
+
"required": false,
|
|
3574
|
+
"hasDynamicHelp": false,
|
|
3575
|
+
"multiple": false,
|
|
3576
|
+
"type": "option"
|
|
3577
|
+
},
|
|
3263
3578
|
"output": {
|
|
3264
3579
|
"char": "o",
|
|
3265
3580
|
"description": "Output format",
|
|
@@ -3273,11 +3588,20 @@
|
|
|
3273
3588
|
"json"
|
|
3274
3589
|
],
|
|
3275
3590
|
"type": "option"
|
|
3591
|
+
},
|
|
3592
|
+
"workspace": {
|
|
3593
|
+
"char": "w",
|
|
3594
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
3595
|
+
"name": "workspace",
|
|
3596
|
+
"required": false,
|
|
3597
|
+
"hasDynamicHelp": false,
|
|
3598
|
+
"multiple": false,
|
|
3599
|
+
"type": "option"
|
|
3276
3600
|
}
|
|
3277
3601
|
},
|
|
3278
3602
|
"hasDynamicHelp": false,
|
|
3279
3603
|
"hiddenAliases": [],
|
|
3280
|
-
"id": "
|
|
3604
|
+
"id": "workflow_test:run_all",
|
|
3281
3605
|
"pluginAlias": "@xano/cli",
|
|
3282
3606
|
"pluginName": "@xano/cli",
|
|
3283
3607
|
"pluginType": "core",
|
|
@@ -3287,25 +3611,25 @@
|
|
|
3287
3611
|
"relativePath": [
|
|
3288
3612
|
"dist",
|
|
3289
3613
|
"commands",
|
|
3290
|
-
"
|
|
3291
|
-
"
|
|
3614
|
+
"workflow_test",
|
|
3615
|
+
"run_all",
|
|
3292
3616
|
"index.js"
|
|
3293
3617
|
]
|
|
3294
3618
|
},
|
|
3295
|
-
"workspace:
|
|
3619
|
+
"workspace:create": {
|
|
3296
3620
|
"aliases": [],
|
|
3297
3621
|
"args": {
|
|
3298
|
-
"
|
|
3299
|
-
"description": "
|
|
3300
|
-
"name": "
|
|
3301
|
-
"required":
|
|
3622
|
+
"name": {
|
|
3623
|
+
"description": "Name of the workspace",
|
|
3624
|
+
"name": "name",
|
|
3625
|
+
"required": true
|
|
3302
3626
|
}
|
|
3303
3627
|
},
|
|
3304
|
-
"description": "
|
|
3628
|
+
"description": "Create a new workspace via the Xano Metadata API",
|
|
3305
3629
|
"examples": [
|
|
3306
|
-
"$ xano workspace
|
|
3307
|
-
"$ xano workspace
|
|
3308
|
-
"$ xano workspace
|
|
3630
|
+
"$ xano workspace create my-workspace\nCreated workspace: my-workspace (ID: 123)\n",
|
|
3631
|
+
"$ xano workspace create my-app --description \"My application workspace\"\nCreated workspace: my-app (ID: 456)\n Description: My application workspace\n",
|
|
3632
|
+
"$ 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"
|
|
3309
3633
|
],
|
|
3310
3634
|
"flags": {
|
|
3311
3635
|
"profile": {
|
|
@@ -3327,6 +3651,15 @@
|
|
|
3327
3651
|
"allowNo": false,
|
|
3328
3652
|
"type": "boolean"
|
|
3329
3653
|
},
|
|
3654
|
+
"description": {
|
|
3655
|
+
"char": "d",
|
|
3656
|
+
"description": "Description for the workspace",
|
|
3657
|
+
"name": "description",
|
|
3658
|
+
"required": false,
|
|
3659
|
+
"hasDynamicHelp": false,
|
|
3660
|
+
"multiple": false,
|
|
3661
|
+
"type": "option"
|
|
3662
|
+
},
|
|
3330
3663
|
"output": {
|
|
3331
3664
|
"char": "o",
|
|
3332
3665
|
"description": "Output format",
|
|
@@ -3344,7 +3677,7 @@
|
|
|
3344
3677
|
},
|
|
3345
3678
|
"hasDynamicHelp": false,
|
|
3346
3679
|
"hiddenAliases": [],
|
|
3347
|
-
"id": "workspace:
|
|
3680
|
+
"id": "workspace:create",
|
|
3348
3681
|
"pluginAlias": "@xano/cli",
|
|
3349
3682
|
"pluginName": "@xano/cli",
|
|
3350
3683
|
"pluginType": "core",
|
|
@@ -3355,7 +3688,7 @@
|
|
|
3355
3688
|
"dist",
|
|
3356
3689
|
"commands",
|
|
3357
3690
|
"workspace",
|
|
3358
|
-
"
|
|
3691
|
+
"create",
|
|
3359
3692
|
"index.js"
|
|
3360
3693
|
]
|
|
3361
3694
|
},
|
|
@@ -3459,15 +3792,20 @@
|
|
|
3459
3792
|
"index.js"
|
|
3460
3793
|
]
|
|
3461
3794
|
},
|
|
3462
|
-
"workspace:
|
|
3795
|
+
"workspace:get": {
|
|
3463
3796
|
"aliases": [],
|
|
3464
|
-
"args": {
|
|
3465
|
-
|
|
3797
|
+
"args": {
|
|
3798
|
+
"workspace_id": {
|
|
3799
|
+
"description": "Workspace ID to get details for (uses profile workspace if not provided)",
|
|
3800
|
+
"name": "workspace_id",
|
|
3801
|
+
"required": false
|
|
3802
|
+
}
|
|
3803
|
+
},
|
|
3804
|
+
"description": "Get details of a specific workspace from the Xano Metadata API",
|
|
3466
3805
|
"examples": [
|
|
3467
|
-
"$ xano workspace:
|
|
3468
|
-
"$ xano workspace
|
|
3469
|
-
"$ xano workspace
|
|
3470
|
-
"$ xano workspace:list -p staging -o json\n{\n \"workspaces\": [\n {\n \"id\": 1,\n \"name\": \"my-app\"\n }\n ]\n}\n"
|
|
3806
|
+
"$ xano workspace get 123\nWorkspace: my-workspace (ID: 123)\n Description: My workspace description\n Created: 2024-01-15\n",
|
|
3807
|
+
"$ xano workspace get --output json\n{\n \"id\": 123,\n \"name\": \"my-workspace\",\n \"description\": \"My workspace description\"\n}\n",
|
|
3808
|
+
"$ xano workspace get 456 -p production -o json\n{\n \"id\": 456,\n \"name\": \"production-workspace\"\n}\n"
|
|
3471
3809
|
],
|
|
3472
3810
|
"flags": {
|
|
3473
3811
|
"profile": {
|
|
@@ -3506,7 +3844,7 @@
|
|
|
3506
3844
|
},
|
|
3507
3845
|
"hasDynamicHelp": false,
|
|
3508
3846
|
"hiddenAliases": [],
|
|
3509
|
-
"id": "workspace:
|
|
3847
|
+
"id": "workspace:get",
|
|
3510
3848
|
"pluginAlias": "@xano/cli",
|
|
3511
3849
|
"pluginName": "@xano/cli",
|
|
3512
3850
|
"pluginType": "core",
|
|
@@ -3517,24 +3855,19 @@
|
|
|
3517
3855
|
"dist",
|
|
3518
3856
|
"commands",
|
|
3519
3857
|
"workspace",
|
|
3520
|
-
"
|
|
3858
|
+
"get",
|
|
3521
3859
|
"index.js"
|
|
3522
3860
|
]
|
|
3523
3861
|
},
|
|
3524
|
-
"workspace:
|
|
3862
|
+
"workspace:list": {
|
|
3525
3863
|
"aliases": [],
|
|
3526
|
-
"args": {
|
|
3527
|
-
|
|
3528
|
-
"description": "Name of the workspace",
|
|
3529
|
-
"name": "name",
|
|
3530
|
-
"required": true
|
|
3531
|
-
}
|
|
3532
|
-
},
|
|
3533
|
-
"description": "Create a new workspace via the Xano Metadata API",
|
|
3864
|
+
"args": {},
|
|
3865
|
+
"description": "List all workspaces from the Xano Metadata API",
|
|
3534
3866
|
"examples": [
|
|
3535
|
-
"$ xano workspace
|
|
3536
|
-
"$ xano workspace
|
|
3537
|
-
"$ xano workspace
|
|
3867
|
+
"$ xano workspace:list\nAvailable workspaces:\n - workspace-1 (ID: 1)\n - workspace-2 (ID: 2)\n - workspace-3 (ID: 3)\n",
|
|
3868
|
+
"$ xano workspace:list --profile production\nAvailable workspaces:\n - my-app (ID: 1)\n - staging-env (ID: 2)\n",
|
|
3869
|
+
"$ 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",
|
|
3870
|
+
"$ xano workspace:list -p staging -o json\n{\n \"workspaces\": [\n {\n \"id\": 1,\n \"name\": \"my-app\"\n }\n ]\n}\n"
|
|
3538
3871
|
],
|
|
3539
3872
|
"flags": {
|
|
3540
3873
|
"profile": {
|
|
@@ -3556,15 +3889,6 @@
|
|
|
3556
3889
|
"allowNo": false,
|
|
3557
3890
|
"type": "boolean"
|
|
3558
3891
|
},
|
|
3559
|
-
"description": {
|
|
3560
|
-
"char": "d",
|
|
3561
|
-
"description": "Description for the workspace",
|
|
3562
|
-
"name": "description",
|
|
3563
|
-
"required": false,
|
|
3564
|
-
"hasDynamicHelp": false,
|
|
3565
|
-
"multiple": false,
|
|
3566
|
-
"type": "option"
|
|
3567
|
-
},
|
|
3568
3892
|
"output": {
|
|
3569
3893
|
"char": "o",
|
|
3570
3894
|
"description": "Output format",
|
|
@@ -3582,7 +3906,7 @@
|
|
|
3582
3906
|
},
|
|
3583
3907
|
"hasDynamicHelp": false,
|
|
3584
3908
|
"hiddenAliases": [],
|
|
3585
|
-
"id": "workspace:
|
|
3909
|
+
"id": "workspace:list",
|
|
3586
3910
|
"pluginAlias": "@xano/cli",
|
|
3587
3911
|
"pluginName": "@xano/cli",
|
|
3588
3912
|
"pluginType": "core",
|
|
@@ -3593,7 +3917,7 @@
|
|
|
3593
3917
|
"dist",
|
|
3594
3918
|
"commands",
|
|
3595
3919
|
"workspace",
|
|
3596
|
-
"
|
|
3920
|
+
"list",
|
|
3597
3921
|
"index.js"
|
|
3598
3922
|
]
|
|
3599
3923
|
},
|
|
@@ -3691,6 +4015,81 @@
|
|
|
3691
4015
|
"index.js"
|
|
3692
4016
|
]
|
|
3693
4017
|
},
|
|
4018
|
+
"workspace:delete": {
|
|
4019
|
+
"aliases": [],
|
|
4020
|
+
"args": {
|
|
4021
|
+
"workspace_id": {
|
|
4022
|
+
"description": "Workspace ID to delete",
|
|
4023
|
+
"name": "workspace_id",
|
|
4024
|
+
"required": true
|
|
4025
|
+
}
|
|
4026
|
+
},
|
|
4027
|
+
"description": "Delete a workspace via the Xano Metadata API. Cannot delete workspaces with active tenants.",
|
|
4028
|
+
"examples": [
|
|
4029
|
+
"$ xano workspace delete 123\nAre you sure you want to delete workspace 123? This action cannot be undone. (y/N) y\nDeleted workspace 123\n",
|
|
4030
|
+
"$ xano workspace delete 123 --force\nDeleted workspace 123\n",
|
|
4031
|
+
"$ xano workspace delete 123 -f -o json\n{\n \"deleted\": true,\n \"workspace_id\": 123\n}\n"
|
|
4032
|
+
],
|
|
4033
|
+
"flags": {
|
|
4034
|
+
"profile": {
|
|
4035
|
+
"char": "p",
|
|
4036
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
4037
|
+
"env": "XANO_PROFILE",
|
|
4038
|
+
"name": "profile",
|
|
4039
|
+
"required": false,
|
|
4040
|
+
"hasDynamicHelp": false,
|
|
4041
|
+
"multiple": false,
|
|
4042
|
+
"type": "option"
|
|
4043
|
+
},
|
|
4044
|
+
"verbose": {
|
|
4045
|
+
"char": "v",
|
|
4046
|
+
"description": "Show detailed request/response information",
|
|
4047
|
+
"env": "XANO_VERBOSE",
|
|
4048
|
+
"name": "verbose",
|
|
4049
|
+
"required": false,
|
|
4050
|
+
"allowNo": false,
|
|
4051
|
+
"type": "boolean"
|
|
4052
|
+
},
|
|
4053
|
+
"force": {
|
|
4054
|
+
"char": "f",
|
|
4055
|
+
"description": "Skip confirmation prompt",
|
|
4056
|
+
"name": "force",
|
|
4057
|
+
"required": false,
|
|
4058
|
+
"allowNo": false,
|
|
4059
|
+
"type": "boolean"
|
|
4060
|
+
},
|
|
4061
|
+
"output": {
|
|
4062
|
+
"char": "o",
|
|
4063
|
+
"description": "Output format",
|
|
4064
|
+
"name": "output",
|
|
4065
|
+
"required": false,
|
|
4066
|
+
"default": "summary",
|
|
4067
|
+
"hasDynamicHelp": false,
|
|
4068
|
+
"multiple": false,
|
|
4069
|
+
"options": [
|
|
4070
|
+
"summary",
|
|
4071
|
+
"json"
|
|
4072
|
+
],
|
|
4073
|
+
"type": "option"
|
|
4074
|
+
}
|
|
4075
|
+
},
|
|
4076
|
+
"hasDynamicHelp": false,
|
|
4077
|
+
"hiddenAliases": [],
|
|
4078
|
+
"id": "workspace:delete",
|
|
4079
|
+
"pluginAlias": "@xano/cli",
|
|
4080
|
+
"pluginName": "@xano/cli",
|
|
4081
|
+
"pluginType": "core",
|
|
4082
|
+
"strict": true,
|
|
4083
|
+
"enableJsonFlag": false,
|
|
4084
|
+
"isESM": true,
|
|
4085
|
+
"relativePath": [
|
|
4086
|
+
"dist",
|
|
4087
|
+
"commands",
|
|
4088
|
+
"workspace",
|
|
4089
|
+
"delete",
|
|
4090
|
+
"index.js"
|
|
4091
|
+
]
|
|
4092
|
+
},
|
|
3694
4093
|
"workspace:push": {
|
|
3695
4094
|
"aliases": [],
|
|
3696
4095
|
"args": {
|
|
@@ -3849,93 +4248,24 @@
|
|
|
3849
4248
|
"index.js"
|
|
3850
4249
|
]
|
|
3851
4250
|
},
|
|
3852
|
-
"run:
|
|
4251
|
+
"run:env:set": {
|
|
3853
4252
|
"aliases": [],
|
|
3854
|
-
"args": {
|
|
3855
|
-
"description": "Create a new project",
|
|
3856
|
-
"examples": [
|
|
3857
|
-
"$ xano run projects create -n \"My Project\"\nProject created successfully!\n ID: abc123-def456-ghi789\n Name: My Project\n",
|
|
3858
|
-
"$ xano run projects create -n \"My Project\" -d \"Description here\"\nProject created successfully!\n ID: abc123-def456-ghi789\n Name: My Project\n",
|
|
3859
|
-
"$ xano run projects create -n \"My Project\" -o json\n{ \"id\": \"abc123-def456-ghi789\", \"name\": \"My Project\", ... }\n"
|
|
3860
|
-
],
|
|
3861
|
-
"flags": {
|
|
3862
|
-
"profile": {
|
|
3863
|
-
"char": "p",
|
|
3864
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
3865
|
-
"env": "XANO_PROFILE",
|
|
3866
|
-
"name": "profile",
|
|
3867
|
-
"required": false,
|
|
3868
|
-
"hasDynamicHelp": false,
|
|
3869
|
-
"multiple": false,
|
|
3870
|
-
"type": "option"
|
|
3871
|
-
},
|
|
3872
|
-
"verbose": {
|
|
3873
|
-
"char": "v",
|
|
3874
|
-
"description": "Show detailed request/response information",
|
|
3875
|
-
"env": "XANO_VERBOSE",
|
|
3876
|
-
"name": "verbose",
|
|
3877
|
-
"required": false,
|
|
3878
|
-
"allowNo": false,
|
|
3879
|
-
"type": "boolean"
|
|
3880
|
-
},
|
|
3881
|
-
"description": {
|
|
3882
|
-
"char": "d",
|
|
3883
|
-
"description": "Project description",
|
|
3884
|
-
"name": "description",
|
|
3885
|
-
"required": false,
|
|
3886
|
-
"default": "",
|
|
3887
|
-
"hasDynamicHelp": false,
|
|
3888
|
-
"multiple": false,
|
|
3889
|
-
"type": "option"
|
|
3890
|
-
},
|
|
4253
|
+
"args": {
|
|
3891
4254
|
"name": {
|
|
3892
|
-
"
|
|
3893
|
-
"description": "Project name",
|
|
4255
|
+
"description": "Environment variable name",
|
|
3894
4256
|
"name": "name",
|
|
3895
|
-
"required": true
|
|
3896
|
-
"hasDynamicHelp": false,
|
|
3897
|
-
"multiple": false,
|
|
3898
|
-
"type": "option"
|
|
4257
|
+
"required": true
|
|
3899
4258
|
},
|
|
3900
|
-
"
|
|
3901
|
-
"
|
|
3902
|
-
"
|
|
3903
|
-
"
|
|
3904
|
-
"required": false,
|
|
3905
|
-
"default": "summary",
|
|
3906
|
-
"hasDynamicHelp": false,
|
|
3907
|
-
"multiple": false,
|
|
3908
|
-
"options": [
|
|
3909
|
-
"summary",
|
|
3910
|
-
"json"
|
|
3911
|
-
],
|
|
3912
|
-
"type": "option"
|
|
4259
|
+
"value": {
|
|
4260
|
+
"description": "Environment variable value",
|
|
4261
|
+
"name": "value",
|
|
4262
|
+
"required": true
|
|
3913
4263
|
}
|
|
3914
4264
|
},
|
|
3915
|
-
"
|
|
3916
|
-
"hiddenAliases": [],
|
|
3917
|
-
"id": "run:projects:create",
|
|
3918
|
-
"pluginAlias": "@xano/cli",
|
|
3919
|
-
"pluginName": "@xano/cli",
|
|
3920
|
-
"pluginType": "core",
|
|
3921
|
-
"strict": true,
|
|
3922
|
-
"isESM": true,
|
|
3923
|
-
"relativePath": [
|
|
3924
|
-
"dist",
|
|
3925
|
-
"commands",
|
|
3926
|
-
"run",
|
|
3927
|
-
"projects",
|
|
3928
|
-
"create",
|
|
3929
|
-
"index.js"
|
|
3930
|
-
]
|
|
3931
|
-
},
|
|
3932
|
-
"run:env:list": {
|
|
3933
|
-
"aliases": [],
|
|
3934
|
-
"args": {},
|
|
3935
|
-
"description": "List all environment variable keys",
|
|
4265
|
+
"description": "Set an environment variable",
|
|
3936
4266
|
"examples": [
|
|
3937
|
-
"$ xano run env
|
|
3938
|
-
"$ xano run env
|
|
4267
|
+
"$ xano run env set API_KEY my-secret-key\nEnvironment variable 'API_KEY' set successfully!\n",
|
|
4268
|
+
"$ xano run env set DATABASE_URL \"postgres://user:pass@host/db\"\nEnvironment variable 'DATABASE_URL' set successfully!\n"
|
|
3939
4269
|
],
|
|
3940
4270
|
"flags": {
|
|
3941
4271
|
"profile": {
|
|
@@ -3956,25 +4286,11 @@
|
|
|
3956
4286
|
"required": false,
|
|
3957
4287
|
"allowNo": false,
|
|
3958
4288
|
"type": "boolean"
|
|
3959
|
-
},
|
|
3960
|
-
"output": {
|
|
3961
|
-
"char": "o",
|
|
3962
|
-
"description": "Output format",
|
|
3963
|
-
"name": "output",
|
|
3964
|
-
"required": false,
|
|
3965
|
-
"default": "list",
|
|
3966
|
-
"hasDynamicHelp": false,
|
|
3967
|
-
"multiple": false,
|
|
3968
|
-
"options": [
|
|
3969
|
-
"list",
|
|
3970
|
-
"json"
|
|
3971
|
-
],
|
|
3972
|
-
"type": "option"
|
|
3973
4289
|
}
|
|
3974
4290
|
},
|
|
3975
4291
|
"hasDynamicHelp": false,
|
|
3976
4292
|
"hiddenAliases": [],
|
|
3977
|
-
"id": "run:env:
|
|
4293
|
+
"id": "run:env:set",
|
|
3978
4294
|
"pluginAlias": "@xano/cli",
|
|
3979
4295
|
"pluginName": "@xano/cli",
|
|
3980
4296
|
"pluginType": "core",
|
|
@@ -3985,28 +4301,18 @@
|
|
|
3985
4301
|
"commands",
|
|
3986
4302
|
"run",
|
|
3987
4303
|
"env",
|
|
3988
|
-
"
|
|
4304
|
+
"set",
|
|
3989
4305
|
"index.js"
|
|
3990
4306
|
]
|
|
3991
4307
|
},
|
|
3992
|
-
"run:
|
|
4308
|
+
"run:projects:create": {
|
|
3993
4309
|
"aliases": [],
|
|
3994
|
-
"args": {
|
|
3995
|
-
|
|
3996
|
-
"description": "Environment variable name",
|
|
3997
|
-
"name": "name",
|
|
3998
|
-
"required": true
|
|
3999
|
-
},
|
|
4000
|
-
"value": {
|
|
4001
|
-
"description": "Environment variable value",
|
|
4002
|
-
"name": "value",
|
|
4003
|
-
"required": true
|
|
4004
|
-
}
|
|
4005
|
-
},
|
|
4006
|
-
"description": "Set an environment variable",
|
|
4310
|
+
"args": {},
|
|
4311
|
+
"description": "Create a new project",
|
|
4007
4312
|
"examples": [
|
|
4008
|
-
"$ xano run
|
|
4009
|
-
"$ xano run
|
|
4313
|
+
"$ xano run projects create -n \"My Project\"\nProject created successfully!\n ID: abc123-def456-ghi789\n Name: My Project\n",
|
|
4314
|
+
"$ xano run projects create -n \"My Project\" -d \"Description here\"\nProject created successfully!\n ID: abc123-def456-ghi789\n Name: My Project\n",
|
|
4315
|
+
"$ xano run projects create -n \"My Project\" -o json\n{ \"id\": \"abc123-def456-ghi789\", \"name\": \"My Project\", ... }\n"
|
|
4010
4316
|
],
|
|
4011
4317
|
"flags": {
|
|
4012
4318
|
"profile": {
|
|
@@ -4027,11 +4333,44 @@
|
|
|
4027
4333
|
"required": false,
|
|
4028
4334
|
"allowNo": false,
|
|
4029
4335
|
"type": "boolean"
|
|
4336
|
+
},
|
|
4337
|
+
"description": {
|
|
4338
|
+
"char": "d",
|
|
4339
|
+
"description": "Project description",
|
|
4340
|
+
"name": "description",
|
|
4341
|
+
"required": false,
|
|
4342
|
+
"default": "",
|
|
4343
|
+
"hasDynamicHelp": false,
|
|
4344
|
+
"multiple": false,
|
|
4345
|
+
"type": "option"
|
|
4346
|
+
},
|
|
4347
|
+
"name": {
|
|
4348
|
+
"char": "n",
|
|
4349
|
+
"description": "Project name",
|
|
4350
|
+
"name": "name",
|
|
4351
|
+
"required": true,
|
|
4352
|
+
"hasDynamicHelp": false,
|
|
4353
|
+
"multiple": false,
|
|
4354
|
+
"type": "option"
|
|
4355
|
+
},
|
|
4356
|
+
"output": {
|
|
4357
|
+
"char": "o",
|
|
4358
|
+
"description": "Output format",
|
|
4359
|
+
"name": "output",
|
|
4360
|
+
"required": false,
|
|
4361
|
+
"default": "summary",
|
|
4362
|
+
"hasDynamicHelp": false,
|
|
4363
|
+
"multiple": false,
|
|
4364
|
+
"options": [
|
|
4365
|
+
"summary",
|
|
4366
|
+
"json"
|
|
4367
|
+
],
|
|
4368
|
+
"type": "option"
|
|
4030
4369
|
}
|
|
4031
4370
|
},
|
|
4032
4371
|
"hasDynamicHelp": false,
|
|
4033
4372
|
"hiddenAliases": [],
|
|
4034
|
-
"id": "run:
|
|
4373
|
+
"id": "run:projects:create",
|
|
4035
4374
|
"pluginAlias": "@xano/cli",
|
|
4036
4375
|
"pluginName": "@xano/cli",
|
|
4037
4376
|
"pluginType": "core",
|
|
@@ -4041,24 +4380,18 @@
|
|
|
4041
4380
|
"dist",
|
|
4042
4381
|
"commands",
|
|
4043
4382
|
"run",
|
|
4044
|
-
"
|
|
4045
|
-
"
|
|
4383
|
+
"projects",
|
|
4384
|
+
"create",
|
|
4046
4385
|
"index.js"
|
|
4047
4386
|
]
|
|
4048
4387
|
},
|
|
4049
|
-
"run:
|
|
4388
|
+
"run:env:list": {
|
|
4050
4389
|
"aliases": [],
|
|
4051
|
-
"args": {
|
|
4052
|
-
|
|
4053
|
-
"description": "Project ID to delete",
|
|
4054
|
-
"name": "projectId",
|
|
4055
|
-
"required": true
|
|
4056
|
-
}
|
|
4057
|
-
},
|
|
4058
|
-
"description": "Delete a project",
|
|
4390
|
+
"args": {},
|
|
4391
|
+
"description": "List all environment variable keys",
|
|
4059
4392
|
"examples": [
|
|
4060
|
-
"$ xano run
|
|
4061
|
-
"$ xano run
|
|
4393
|
+
"$ xano run env list\nEnvironment variables:\n - API_KEY\n - DATABASE_URL\n - DEBUG\n",
|
|
4394
|
+
"$ xano run env list -o json\n{ \"env\": [\"API_KEY\", \"DATABASE_URL\", \"DEBUG\"] }\n"
|
|
4062
4395
|
],
|
|
4063
4396
|
"flags": {
|
|
4064
4397
|
"profile": {
|
|
@@ -4080,18 +4413,24 @@
|
|
|
4080
4413
|
"allowNo": false,
|
|
4081
4414
|
"type": "boolean"
|
|
4082
4415
|
},
|
|
4083
|
-
"
|
|
4084
|
-
"char": "
|
|
4085
|
-
"description": "
|
|
4086
|
-
"name": "
|
|
4416
|
+
"output": {
|
|
4417
|
+
"char": "o",
|
|
4418
|
+
"description": "Output format",
|
|
4419
|
+
"name": "output",
|
|
4087
4420
|
"required": false,
|
|
4088
|
-
"
|
|
4089
|
-
"
|
|
4421
|
+
"default": "list",
|
|
4422
|
+
"hasDynamicHelp": false,
|
|
4423
|
+
"multiple": false,
|
|
4424
|
+
"options": [
|
|
4425
|
+
"list",
|
|
4426
|
+
"json"
|
|
4427
|
+
],
|
|
4428
|
+
"type": "option"
|
|
4090
4429
|
}
|
|
4091
4430
|
},
|
|
4092
4431
|
"hasDynamicHelp": false,
|
|
4093
4432
|
"hiddenAliases": [],
|
|
4094
|
-
"id": "run:
|
|
4433
|
+
"id": "run:env:list",
|
|
4095
4434
|
"pluginAlias": "@xano/cli",
|
|
4096
4435
|
"pluginName": "@xano/cli",
|
|
4097
4436
|
"pluginType": "core",
|
|
@@ -4101,8 +4440,8 @@
|
|
|
4101
4440
|
"dist",
|
|
4102
4441
|
"commands",
|
|
4103
4442
|
"run",
|
|
4104
|
-
"
|
|
4105
|
-
"
|
|
4443
|
+
"env",
|
|
4444
|
+
"list",
|
|
4106
4445
|
"index.js"
|
|
4107
4446
|
]
|
|
4108
4447
|
},
|
|
@@ -4251,19 +4590,19 @@
|
|
|
4251
4590
|
"index.js"
|
|
4252
4591
|
]
|
|
4253
4592
|
},
|
|
4254
|
-
"run:
|
|
4593
|
+
"run:projects:delete": {
|
|
4255
4594
|
"aliases": [],
|
|
4256
4595
|
"args": {
|
|
4257
|
-
"
|
|
4258
|
-
"description": "
|
|
4259
|
-
"name": "
|
|
4596
|
+
"projectId": {
|
|
4597
|
+
"description": "Project ID to delete",
|
|
4598
|
+
"name": "projectId",
|
|
4260
4599
|
"required": true
|
|
4261
4600
|
}
|
|
4262
4601
|
},
|
|
4263
|
-
"description": "Delete a
|
|
4602
|
+
"description": "Delete a project",
|
|
4264
4603
|
"examples": [
|
|
4265
|
-
"$ xano run
|
|
4266
|
-
"$ xano run
|
|
4604
|
+
"$ xano run projects delete abc123-def456\nAre you sure you want to delete project 'abc123-def456'? (y/N)\nProject deleted successfully!\n",
|
|
4605
|
+
"$ xano run projects delete abc123-def456 --force\nProject deleted successfully!\n"
|
|
4267
4606
|
],
|
|
4268
4607
|
"flags": {
|
|
4269
4608
|
"profile": {
|
|
@@ -4296,7 +4635,7 @@
|
|
|
4296
4635
|
},
|
|
4297
4636
|
"hasDynamicHelp": false,
|
|
4298
4637
|
"hiddenAliases": [],
|
|
4299
|
-
"id": "run:
|
|
4638
|
+
"id": "run:projects:delete",
|
|
4300
4639
|
"pluginAlias": "@xano/cli",
|
|
4301
4640
|
"pluginName": "@xano/cli",
|
|
4302
4641
|
"pluginType": "core",
|
|
@@ -4306,24 +4645,24 @@
|
|
|
4306
4645
|
"dist",
|
|
4307
4646
|
"commands",
|
|
4308
4647
|
"run",
|
|
4309
|
-
"
|
|
4648
|
+
"projects",
|
|
4310
4649
|
"delete",
|
|
4311
4650
|
"index.js"
|
|
4312
4651
|
]
|
|
4313
4652
|
},
|
|
4314
|
-
"run:
|
|
4653
|
+
"run:env:get": {
|
|
4315
4654
|
"aliases": [],
|
|
4316
4655
|
"args": {
|
|
4317
4656
|
"name": {
|
|
4318
|
-
"description": "
|
|
4657
|
+
"description": "Environment variable name",
|
|
4319
4658
|
"name": "name",
|
|
4320
4659
|
"required": true
|
|
4321
4660
|
}
|
|
4322
4661
|
},
|
|
4323
|
-
"description": "Get
|
|
4662
|
+
"description": "Get an environment variable value",
|
|
4324
4663
|
"examples": [
|
|
4325
|
-
"$ xano run
|
|
4326
|
-
"$ xano run
|
|
4664
|
+
"$ xano run env get API_KEY\nmy-secret-api-key\n",
|
|
4665
|
+
"$ xano run env get API_KEY -o json\n{ \"name\": \"API_KEY\", \"value\": \"my-secret-api-key\" }\n"
|
|
4327
4666
|
],
|
|
4328
4667
|
"flags": {
|
|
4329
4668
|
"profile": {
|
|
@@ -4362,7 +4701,7 @@
|
|
|
4362
4701
|
},
|
|
4363
4702
|
"hasDynamicHelp": false,
|
|
4364
4703
|
"hiddenAliases": [],
|
|
4365
|
-
"id": "run:
|
|
4704
|
+
"id": "run:env:get",
|
|
4366
4705
|
"pluginAlias": "@xano/cli",
|
|
4367
4706
|
"pluginName": "@xano/cli",
|
|
4368
4707
|
"pluginType": "core",
|
|
@@ -4372,72 +4711,12 @@
|
|
|
4372
4711
|
"dist",
|
|
4373
4712
|
"commands",
|
|
4374
4713
|
"run",
|
|
4375
|
-
"
|
|
4714
|
+
"env",
|
|
4376
4715
|
"get",
|
|
4377
4716
|
"index.js"
|
|
4378
4717
|
]
|
|
4379
4718
|
},
|
|
4380
|
-
"run:secrets:
|
|
4381
|
-
"aliases": [],
|
|
4382
|
-
"args": {},
|
|
4383
|
-
"description": "List all secret keys",
|
|
4384
|
-
"examples": [
|
|
4385
|
-
"$ xano run secrets list\nNAME TYPE REPO\ndocker-registry kubernetes.io/dockerconfigjson ghcr.io\nservice-account kubernetes.io/service-account-token -\n",
|
|
4386
|
-
"$ xano run secrets list -o json\n{ \"secrets\": [{ \"name\": \"docker-registry\", \"type\": \"kubernetes.io/dockerconfigjson\", \"repo\": \"ghcr.io\" }] }\n"
|
|
4387
|
-
],
|
|
4388
|
-
"flags": {
|
|
4389
|
-
"profile": {
|
|
4390
|
-
"char": "p",
|
|
4391
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
4392
|
-
"env": "XANO_PROFILE",
|
|
4393
|
-
"name": "profile",
|
|
4394
|
-
"required": false,
|
|
4395
|
-
"hasDynamicHelp": false,
|
|
4396
|
-
"multiple": false,
|
|
4397
|
-
"type": "option"
|
|
4398
|
-
},
|
|
4399
|
-
"verbose": {
|
|
4400
|
-
"char": "v",
|
|
4401
|
-
"description": "Show detailed request/response information",
|
|
4402
|
-
"env": "XANO_VERBOSE",
|
|
4403
|
-
"name": "verbose",
|
|
4404
|
-
"required": false,
|
|
4405
|
-
"allowNo": false,
|
|
4406
|
-
"type": "boolean"
|
|
4407
|
-
},
|
|
4408
|
-
"output": {
|
|
4409
|
-
"char": "o",
|
|
4410
|
-
"description": "Output format",
|
|
4411
|
-
"name": "output",
|
|
4412
|
-
"required": false,
|
|
4413
|
-
"default": "table",
|
|
4414
|
-
"hasDynamicHelp": false,
|
|
4415
|
-
"multiple": false,
|
|
4416
|
-
"options": [
|
|
4417
|
-
"table",
|
|
4418
|
-
"json"
|
|
4419
|
-
],
|
|
4420
|
-
"type": "option"
|
|
4421
|
-
}
|
|
4422
|
-
},
|
|
4423
|
-
"hasDynamicHelp": false,
|
|
4424
|
-
"hiddenAliases": [],
|
|
4425
|
-
"id": "run:secrets:list",
|
|
4426
|
-
"pluginAlias": "@xano/cli",
|
|
4427
|
-
"pluginName": "@xano/cli",
|
|
4428
|
-
"pluginType": "core",
|
|
4429
|
-
"strict": true,
|
|
4430
|
-
"isESM": true,
|
|
4431
|
-
"relativePath": [
|
|
4432
|
-
"dist",
|
|
4433
|
-
"commands",
|
|
4434
|
-
"run",
|
|
4435
|
-
"secrets",
|
|
4436
|
-
"list",
|
|
4437
|
-
"index.js"
|
|
4438
|
-
]
|
|
4439
|
-
},
|
|
4440
|
-
"run:secrets:set": {
|
|
4719
|
+
"run:secrets:delete": {
|
|
4441
4720
|
"aliases": [],
|
|
4442
4721
|
"args": {
|
|
4443
4722
|
"name": {
|
|
@@ -4446,10 +4725,10 @@
|
|
|
4446
4725
|
"required": true
|
|
4447
4726
|
}
|
|
4448
4727
|
},
|
|
4449
|
-
"description": "
|
|
4728
|
+
"description": "Delete a secret",
|
|
4450
4729
|
"examples": [
|
|
4451
|
-
"$ xano run secrets
|
|
4452
|
-
"$ xano run secrets
|
|
4730
|
+
"$ xano run secrets delete docker-registry\nAre you sure you want to delete secret 'docker-registry'? (y/N)\nSecret 'docker-registry' deleted successfully!\n",
|
|
4731
|
+
"$ xano run secrets delete docker-registry --force\nSecret 'docker-registry' deleted successfully!\n"
|
|
4453
4732
|
],
|
|
4454
4733
|
"flags": {
|
|
4455
4734
|
"profile": {
|
|
@@ -4471,41 +4750,18 @@
|
|
|
4471
4750
|
"allowNo": false,
|
|
4472
4751
|
"type": "boolean"
|
|
4473
4752
|
},
|
|
4474
|
-
"
|
|
4475
|
-
"char": "
|
|
4476
|
-
"description": "
|
|
4477
|
-
"name": "
|
|
4753
|
+
"force": {
|
|
4754
|
+
"char": "f",
|
|
4755
|
+
"description": "Skip confirmation prompt",
|
|
4756
|
+
"name": "force",
|
|
4478
4757
|
"required": false,
|
|
4479
|
-
"
|
|
4480
|
-
"
|
|
4481
|
-
"type": "option"
|
|
4482
|
-
},
|
|
4483
|
-
"type": {
|
|
4484
|
-
"char": "t",
|
|
4485
|
-
"description": "Secret type",
|
|
4486
|
-
"name": "type",
|
|
4487
|
-
"required": true,
|
|
4488
|
-
"hasDynamicHelp": false,
|
|
4489
|
-
"multiple": false,
|
|
4490
|
-
"options": [
|
|
4491
|
-
"dockerconfigjson",
|
|
4492
|
-
"service-account-token"
|
|
4493
|
-
],
|
|
4494
|
-
"type": "option"
|
|
4495
|
-
},
|
|
4496
|
-
"value": {
|
|
4497
|
-
"char": "v",
|
|
4498
|
-
"description": "Secret value",
|
|
4499
|
-
"name": "value",
|
|
4500
|
-
"required": true,
|
|
4501
|
-
"hasDynamicHelp": false,
|
|
4502
|
-
"multiple": false,
|
|
4503
|
-
"type": "option"
|
|
4758
|
+
"allowNo": false,
|
|
4759
|
+
"type": "boolean"
|
|
4504
4760
|
}
|
|
4505
4761
|
},
|
|
4506
4762
|
"hasDynamicHelp": false,
|
|
4507
4763
|
"hiddenAliases": [],
|
|
4508
|
-
"id": "run:secrets:
|
|
4764
|
+
"id": "run:secrets:delete",
|
|
4509
4765
|
"pluginAlias": "@xano/cli",
|
|
4510
4766
|
"pluginName": "@xano/cli",
|
|
4511
4767
|
"pluginType": "core",
|
|
@@ -4516,23 +4772,17 @@
|
|
|
4516
4772
|
"commands",
|
|
4517
4773
|
"run",
|
|
4518
4774
|
"secrets",
|
|
4519
|
-
"
|
|
4775
|
+
"delete",
|
|
4520
4776
|
"index.js"
|
|
4521
4777
|
]
|
|
4522
4778
|
},
|
|
4523
|
-
"run:
|
|
4779
|
+
"run:secrets:list": {
|
|
4524
4780
|
"aliases": [],
|
|
4525
|
-
"args": {
|
|
4526
|
-
|
|
4527
|
-
"description": "Session ID",
|
|
4528
|
-
"name": "sessionId",
|
|
4529
|
-
"required": true
|
|
4530
|
-
}
|
|
4531
|
-
},
|
|
4532
|
-
"description": "Delete a session",
|
|
4781
|
+
"args": {},
|
|
4782
|
+
"description": "List all secret keys",
|
|
4533
4783
|
"examples": [
|
|
4534
|
-
"$ xano run
|
|
4535
|
-
"$ xano run
|
|
4784
|
+
"$ xano run secrets list\nNAME TYPE REPO\ndocker-registry kubernetes.io/dockerconfigjson ghcr.io\nservice-account kubernetes.io/service-account-token -\n",
|
|
4785
|
+
"$ xano run secrets list -o json\n{ \"secrets\": [{ \"name\": \"docker-registry\", \"type\": \"kubernetes.io/dockerconfigjson\", \"repo\": \"ghcr.io\" }] }\n"
|
|
4536
4786
|
],
|
|
4537
4787
|
"flags": {
|
|
4538
4788
|
"profile": {
|
|
@@ -4554,18 +4804,24 @@
|
|
|
4554
4804
|
"allowNo": false,
|
|
4555
4805
|
"type": "boolean"
|
|
4556
4806
|
},
|
|
4557
|
-
"
|
|
4558
|
-
"char": "
|
|
4559
|
-
"description": "
|
|
4560
|
-
"name": "
|
|
4807
|
+
"output": {
|
|
4808
|
+
"char": "o",
|
|
4809
|
+
"description": "Output format",
|
|
4810
|
+
"name": "output",
|
|
4561
4811
|
"required": false,
|
|
4562
|
-
"
|
|
4563
|
-
"
|
|
4812
|
+
"default": "table",
|
|
4813
|
+
"hasDynamicHelp": false,
|
|
4814
|
+
"multiple": false,
|
|
4815
|
+
"options": [
|
|
4816
|
+
"table",
|
|
4817
|
+
"json"
|
|
4818
|
+
],
|
|
4819
|
+
"type": "option"
|
|
4564
4820
|
}
|
|
4565
4821
|
},
|
|
4566
4822
|
"hasDynamicHelp": false,
|
|
4567
4823
|
"hiddenAliases": [],
|
|
4568
|
-
"id": "run:
|
|
4824
|
+
"id": "run:secrets:list",
|
|
4569
4825
|
"pluginAlias": "@xano/cli",
|
|
4570
4826
|
"pluginName": "@xano/cli",
|
|
4571
4827
|
"pluginType": "core",
|
|
@@ -4575,24 +4831,24 @@
|
|
|
4575
4831
|
"dist",
|
|
4576
4832
|
"commands",
|
|
4577
4833
|
"run",
|
|
4578
|
-
"
|
|
4579
|
-
"
|
|
4834
|
+
"secrets",
|
|
4835
|
+
"list",
|
|
4580
4836
|
"index.js"
|
|
4581
4837
|
]
|
|
4582
4838
|
},
|
|
4583
|
-
"run:
|
|
4839
|
+
"run:secrets:get": {
|
|
4584
4840
|
"aliases": [],
|
|
4585
4841
|
"args": {
|
|
4586
|
-
"
|
|
4587
|
-
"description": "
|
|
4588
|
-
"name": "
|
|
4842
|
+
"name": {
|
|
4843
|
+
"description": "Secret name",
|
|
4844
|
+
"name": "name",
|
|
4589
4845
|
"required": true
|
|
4590
4846
|
}
|
|
4591
4847
|
},
|
|
4592
|
-
"description": "Get
|
|
4848
|
+
"description": "Get a secret value",
|
|
4593
4849
|
"examples": [
|
|
4594
|
-
"$ xano run
|
|
4595
|
-
"$ xano run
|
|
4850
|
+
"$ xano run secrets get docker-registry\n{\"auths\":{\"ghcr.io\":{\"auth\":\"...\"}}}\n",
|
|
4851
|
+
"$ xano run secrets get docker-registry -o json\n{ \"name\": \"docker-registry\", \"type\": \"kubernetes.io/dockerconfigjson\", \"value\": \"...\" }\n"
|
|
4596
4852
|
],
|
|
4597
4853
|
"flags": {
|
|
4598
4854
|
"profile": {
|
|
@@ -4619,11 +4875,11 @@
|
|
|
4619
4875
|
"description": "Output format",
|
|
4620
4876
|
"name": "output",
|
|
4621
4877
|
"required": false,
|
|
4622
|
-
"default": "
|
|
4878
|
+
"default": "value",
|
|
4623
4879
|
"hasDynamicHelp": false,
|
|
4624
4880
|
"multiple": false,
|
|
4625
4881
|
"options": [
|
|
4626
|
-
"
|
|
4882
|
+
"value",
|
|
4627
4883
|
"json"
|
|
4628
4884
|
],
|
|
4629
4885
|
"type": "option"
|
|
@@ -4631,7 +4887,7 @@
|
|
|
4631
4887
|
},
|
|
4632
4888
|
"hasDynamicHelp": false,
|
|
4633
4889
|
"hiddenAliases": [],
|
|
4634
|
-
"id": "run:
|
|
4890
|
+
"id": "run:secrets:get",
|
|
4635
4891
|
"pluginAlias": "@xano/cli",
|
|
4636
4892
|
"pluginName": "@xano/cli",
|
|
4637
4893
|
"pluginType": "core",
|
|
@@ -4641,18 +4897,24 @@
|
|
|
4641
4897
|
"dist",
|
|
4642
4898
|
"commands",
|
|
4643
4899
|
"run",
|
|
4644
|
-
"
|
|
4900
|
+
"secrets",
|
|
4645
4901
|
"get",
|
|
4646
4902
|
"index.js"
|
|
4647
4903
|
]
|
|
4648
4904
|
},
|
|
4649
|
-
"run:sessions:
|
|
4905
|
+
"run:sessions:delete": {
|
|
4650
4906
|
"aliases": [],
|
|
4651
|
-
"args": {
|
|
4652
|
-
|
|
4907
|
+
"args": {
|
|
4908
|
+
"sessionId": {
|
|
4909
|
+
"description": "Session ID",
|
|
4910
|
+
"name": "sessionId",
|
|
4911
|
+
"required": true
|
|
4912
|
+
}
|
|
4913
|
+
},
|
|
4914
|
+
"description": "Delete a session",
|
|
4653
4915
|
"examples": [
|
|
4654
|
-
"$ xano run sessions
|
|
4655
|
-
"$ xano run sessions
|
|
4916
|
+
"$ xano run sessions delete abc123-def456\nAre you sure you want to delete session 'abc123-def456'? (y/N)\nSession deleted successfully!\n",
|
|
4917
|
+
"$ xano run sessions delete abc123-def456 --force\nSession deleted successfully!\n"
|
|
4656
4918
|
],
|
|
4657
4919
|
"flags": {
|
|
4658
4920
|
"profile": {
|
|
@@ -4674,24 +4936,18 @@
|
|
|
4674
4936
|
"allowNo": false,
|
|
4675
4937
|
"type": "boolean"
|
|
4676
4938
|
},
|
|
4677
|
-
"
|
|
4678
|
-
"char": "
|
|
4679
|
-
"description": "
|
|
4680
|
-
"name": "
|
|
4939
|
+
"force": {
|
|
4940
|
+
"char": "f",
|
|
4941
|
+
"description": "Skip confirmation prompt",
|
|
4942
|
+
"name": "force",
|
|
4681
4943
|
"required": false,
|
|
4682
|
-
"
|
|
4683
|
-
"
|
|
4684
|
-
"multiple": false,
|
|
4685
|
-
"options": [
|
|
4686
|
-
"table",
|
|
4687
|
-
"json"
|
|
4688
|
-
],
|
|
4689
|
-
"type": "option"
|
|
4944
|
+
"allowNo": false,
|
|
4945
|
+
"type": "boolean"
|
|
4690
4946
|
}
|
|
4691
4947
|
},
|
|
4692
4948
|
"hasDynamicHelp": false,
|
|
4693
4949
|
"hiddenAliases": [],
|
|
4694
|
-
"id": "run:sessions:
|
|
4950
|
+
"id": "run:sessions:delete",
|
|
4695
4951
|
"pluginAlias": "@xano/cli",
|
|
4696
4952
|
"pluginName": "@xano/cli",
|
|
4697
4953
|
"pluginType": "core",
|
|
@@ -4702,23 +4958,23 @@
|
|
|
4702
4958
|
"commands",
|
|
4703
4959
|
"run",
|
|
4704
4960
|
"sessions",
|
|
4705
|
-
"
|
|
4961
|
+
"delete",
|
|
4706
4962
|
"index.js"
|
|
4707
4963
|
]
|
|
4708
4964
|
},
|
|
4709
|
-
"run:
|
|
4965
|
+
"run:secrets:set": {
|
|
4710
4966
|
"aliases": [],
|
|
4711
4967
|
"args": {
|
|
4712
|
-
"
|
|
4713
|
-
"description": "
|
|
4714
|
-
"name": "
|
|
4968
|
+
"name": {
|
|
4969
|
+
"description": "Secret name",
|
|
4970
|
+
"name": "name",
|
|
4715
4971
|
"required": true
|
|
4716
4972
|
}
|
|
4717
4973
|
},
|
|
4718
|
-
"description": "
|
|
4974
|
+
"description": "Set a secret",
|
|
4719
4975
|
"examples": [
|
|
4720
|
-
"$ xano run
|
|
4721
|
-
"$ xano run
|
|
4976
|
+
"$ xano run secrets set docker-registry -t dockerconfigjson -v '{\"auths\":{\"ghcr.io\":{\"auth\":\"...\"}}}' -r ghcr.io\nSecret 'docker-registry' set successfully!\n",
|
|
4977
|
+
"$ xano run secrets set service-key -t service-account-token -v 'token-value-here'\nSecret 'service-key' set successfully!\n"
|
|
4722
4978
|
],
|
|
4723
4979
|
"flags": {
|
|
4724
4980
|
"profile": {
|
|
@@ -4740,24 +4996,41 @@
|
|
|
4740
4996
|
"allowNo": false,
|
|
4741
4997
|
"type": "boolean"
|
|
4742
4998
|
},
|
|
4743
|
-
"
|
|
4744
|
-
"char": "
|
|
4745
|
-
"description": "
|
|
4746
|
-
"name": "
|
|
4999
|
+
"repo": {
|
|
5000
|
+
"char": "r",
|
|
5001
|
+
"description": "Repository (for dockerconfigjson type)",
|
|
5002
|
+
"name": "repo",
|
|
4747
5003
|
"required": false,
|
|
4748
|
-
"
|
|
5004
|
+
"hasDynamicHelp": false,
|
|
5005
|
+
"multiple": false,
|
|
5006
|
+
"type": "option"
|
|
5007
|
+
},
|
|
5008
|
+
"type": {
|
|
5009
|
+
"char": "t",
|
|
5010
|
+
"description": "Secret type",
|
|
5011
|
+
"name": "type",
|
|
5012
|
+
"required": true,
|
|
4749
5013
|
"hasDynamicHelp": false,
|
|
4750
5014
|
"multiple": false,
|
|
4751
5015
|
"options": [
|
|
4752
|
-
"
|
|
4753
|
-
"
|
|
5016
|
+
"dockerconfigjson",
|
|
5017
|
+
"service-account-token"
|
|
4754
5018
|
],
|
|
4755
5019
|
"type": "option"
|
|
5020
|
+
},
|
|
5021
|
+
"value": {
|
|
5022
|
+
"char": "v",
|
|
5023
|
+
"description": "Secret value",
|
|
5024
|
+
"name": "value",
|
|
5025
|
+
"required": true,
|
|
5026
|
+
"hasDynamicHelp": false,
|
|
5027
|
+
"multiple": false,
|
|
5028
|
+
"type": "option"
|
|
4756
5029
|
}
|
|
4757
5030
|
},
|
|
4758
5031
|
"hasDynamicHelp": false,
|
|
4759
5032
|
"hiddenAliases": [],
|
|
4760
|
-
"id": "run:
|
|
5033
|
+
"id": "run:secrets:set",
|
|
4761
5034
|
"pluginAlias": "@xano/cli",
|
|
4762
5035
|
"pluginName": "@xano/cli",
|
|
4763
5036
|
"pluginType": "core",
|
|
@@ -4767,8 +5040,8 @@
|
|
|
4767
5040
|
"dist",
|
|
4768
5041
|
"commands",
|
|
4769
5042
|
"run",
|
|
4770
|
-
"
|
|
4771
|
-
"
|
|
5043
|
+
"secrets",
|
|
5044
|
+
"set",
|
|
4772
5045
|
"index.js"
|
|
4773
5046
|
]
|
|
4774
5047
|
},
|
|
@@ -4838,7 +5111,7 @@
|
|
|
4838
5111
|
"index.js"
|
|
4839
5112
|
]
|
|
4840
5113
|
},
|
|
4841
|
-
"run:sessions:
|
|
5114
|
+
"run:sessions:get": {
|
|
4842
5115
|
"aliases": [],
|
|
4843
5116
|
"args": {
|
|
4844
5117
|
"sessionId": {
|
|
@@ -4847,10 +5120,10 @@
|
|
|
4847
5120
|
"required": true
|
|
4848
5121
|
}
|
|
4849
5122
|
},
|
|
4850
|
-
"description": "
|
|
5123
|
+
"description": "Get session details",
|
|
4851
5124
|
"examples": [
|
|
4852
|
-
"$ xano run sessions
|
|
4853
|
-
"$ xano run sessions
|
|
5125
|
+
"$ xano run sessions get abc123-def456\nSession Details:\n ID: abc123-def456\n Name: My Session\n Status: running\n Access: private\n URL: https://session.xano.io/abc123\n Uptime: 3600s\n",
|
|
5126
|
+
"$ xano run sessions get abc123-def456 -o json\n{ \"id\": \"abc123-def456\", \"name\": \"My Session\", \"status\": \"running\", ... }\n"
|
|
4854
5127
|
],
|
|
4855
5128
|
"flags": {
|
|
4856
5129
|
"profile": {
|
|
@@ -4889,7 +5162,7 @@
|
|
|
4889
5162
|
},
|
|
4890
5163
|
"hasDynamicHelp": false,
|
|
4891
5164
|
"hiddenAliases": [],
|
|
4892
|
-
"id": "run:sessions:
|
|
5165
|
+
"id": "run:sessions:get",
|
|
4893
5166
|
"pluginAlias": "@xano/cli",
|
|
4894
5167
|
"pluginName": "@xano/cli",
|
|
4895
5168
|
"pluginType": "core",
|
|
@@ -4900,23 +5173,23 @@
|
|
|
4900
5173
|
"commands",
|
|
4901
5174
|
"run",
|
|
4902
5175
|
"sessions",
|
|
4903
|
-
"
|
|
5176
|
+
"get",
|
|
4904
5177
|
"index.js"
|
|
4905
5178
|
]
|
|
4906
5179
|
},
|
|
4907
|
-
"run:
|
|
5180
|
+
"run:sessions:start": {
|
|
4908
5181
|
"aliases": [],
|
|
4909
5182
|
"args": {
|
|
4910
|
-
"
|
|
4911
|
-
"description": "
|
|
4912
|
-
"name": "
|
|
5183
|
+
"sessionId": {
|
|
5184
|
+
"description": "Session ID",
|
|
5185
|
+
"name": "sessionId",
|
|
4913
5186
|
"required": true
|
|
4914
5187
|
}
|
|
4915
5188
|
},
|
|
4916
|
-
"description": "
|
|
5189
|
+
"description": "Start a session",
|
|
4917
5190
|
"examples": [
|
|
4918
|
-
"$ xano run
|
|
4919
|
-
"$ xano run
|
|
5191
|
+
"$ xano run sessions start abc123-def456\nSession started successfully!\n ID: abc123-def456\n State: running\n",
|
|
5192
|
+
"$ xano run sessions start abc123-def456 -o json\n{ \"id\": \"abc123-def456\", \"state\": \"running\", ... }\n"
|
|
4920
5193
|
],
|
|
4921
5194
|
"flags": {
|
|
4922
5195
|
"profile": {
|
|
@@ -4943,11 +5216,11 @@
|
|
|
4943
5216
|
"description": "Output format",
|
|
4944
5217
|
"name": "output",
|
|
4945
5218
|
"required": false,
|
|
4946
|
-
"default": "
|
|
5219
|
+
"default": "summary",
|
|
4947
5220
|
"hasDynamicHelp": false,
|
|
4948
5221
|
"multiple": false,
|
|
4949
5222
|
"options": [
|
|
4950
|
-
"
|
|
5223
|
+
"summary",
|
|
4951
5224
|
"json"
|
|
4952
5225
|
],
|
|
4953
5226
|
"type": "option"
|
|
@@ -4955,7 +5228,7 @@
|
|
|
4955
5228
|
},
|
|
4956
5229
|
"hasDynamicHelp": false,
|
|
4957
5230
|
"hiddenAliases": [],
|
|
4958
|
-
"id": "run:
|
|
5231
|
+
"id": "run:sessions:start",
|
|
4959
5232
|
"pluginAlias": "@xano/cli",
|
|
4960
5233
|
"pluginName": "@xano/cli",
|
|
4961
5234
|
"pluginType": "core",
|
|
@@ -4965,25 +5238,18 @@
|
|
|
4965
5238
|
"dist",
|
|
4966
5239
|
"commands",
|
|
4967
5240
|
"run",
|
|
4968
|
-
"
|
|
4969
|
-
"
|
|
5241
|
+
"sessions",
|
|
5242
|
+
"start",
|
|
4970
5243
|
"index.js"
|
|
4971
5244
|
]
|
|
4972
5245
|
},
|
|
4973
|
-
"
|
|
5246
|
+
"run:sessions:list": {
|
|
4974
5247
|
"aliases": [],
|
|
4975
|
-
"args": {
|
|
4976
|
-
|
|
4977
|
-
"description": "Static Host name",
|
|
4978
|
-
"name": "static_host",
|
|
4979
|
-
"required": true
|
|
4980
|
-
}
|
|
4981
|
-
},
|
|
4982
|
-
"description": "Create a new build for a static host",
|
|
5248
|
+
"args": {},
|
|
5249
|
+
"description": "List all sessions for the project",
|
|
4983
5250
|
"examples": [
|
|
4984
|
-
"$ xano
|
|
4985
|
-
"$ xano
|
|
4986
|
-
"$ 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"
|
|
5251
|
+
"$ xano run sessions list\nID STATE CREATED\nabc123-def456-ghi789 running 2024-01-15T10:30:00Z\nxyz789-uvw456-rst123 stopped 2024-01-14T09:00:00Z\n",
|
|
5252
|
+
"$ xano run sessions list -o json\n{ \"items\": [{ \"id\": \"abc123-def456-ghi789\", \"state\": \"running\", ... }] }\n"
|
|
4987
5253
|
],
|
|
4988
5254
|
"flags": {
|
|
4989
5255
|
"profile": {
|
|
@@ -5005,95 +5271,51 @@
|
|
|
5005
5271
|
"allowNo": false,
|
|
5006
5272
|
"type": "boolean"
|
|
5007
5273
|
},
|
|
5008
|
-
"description": {
|
|
5009
|
-
"char": "d",
|
|
5010
|
-
"description": "Build description",
|
|
5011
|
-
"name": "description",
|
|
5012
|
-
"required": false,
|
|
5013
|
-
"hasDynamicHelp": false,
|
|
5014
|
-
"multiple": false,
|
|
5015
|
-
"type": "option"
|
|
5016
|
-
},
|
|
5017
|
-
"file": {
|
|
5018
|
-
"char": "f",
|
|
5019
|
-
"description": "Path to zip file to upload",
|
|
5020
|
-
"name": "file",
|
|
5021
|
-
"required": true,
|
|
5022
|
-
"hasDynamicHelp": false,
|
|
5023
|
-
"multiple": false,
|
|
5024
|
-
"type": "option"
|
|
5025
|
-
},
|
|
5026
|
-
"name": {
|
|
5027
|
-
"char": "n",
|
|
5028
|
-
"description": "Build name",
|
|
5029
|
-
"name": "name",
|
|
5030
|
-
"required": true,
|
|
5031
|
-
"hasDynamicHelp": false,
|
|
5032
|
-
"multiple": false,
|
|
5033
|
-
"type": "option"
|
|
5034
|
-
},
|
|
5035
5274
|
"output": {
|
|
5036
5275
|
"char": "o",
|
|
5037
5276
|
"description": "Output format",
|
|
5038
5277
|
"name": "output",
|
|
5039
5278
|
"required": false,
|
|
5040
|
-
"default": "
|
|
5279
|
+
"default": "table",
|
|
5041
5280
|
"hasDynamicHelp": false,
|
|
5042
5281
|
"multiple": false,
|
|
5043
5282
|
"options": [
|
|
5044
|
-
"
|
|
5283
|
+
"table",
|
|
5045
5284
|
"json"
|
|
5046
5285
|
],
|
|
5047
5286
|
"type": "option"
|
|
5048
|
-
},
|
|
5049
|
-
"workspace": {
|
|
5050
|
-
"char": "w",
|
|
5051
|
-
"description": "Workspace ID (optional if set in profile)",
|
|
5052
|
-
"name": "workspace",
|
|
5053
|
-
"required": false,
|
|
5054
|
-
"hasDynamicHelp": false,
|
|
5055
|
-
"multiple": false,
|
|
5056
|
-
"type": "option"
|
|
5057
5287
|
}
|
|
5058
5288
|
},
|
|
5059
5289
|
"hasDynamicHelp": false,
|
|
5060
5290
|
"hiddenAliases": [],
|
|
5061
|
-
"id": "
|
|
5291
|
+
"id": "run:sessions:list",
|
|
5062
5292
|
"pluginAlias": "@xano/cli",
|
|
5063
5293
|
"pluginName": "@xano/cli",
|
|
5064
5294
|
"pluginType": "core",
|
|
5065
5295
|
"strict": true,
|
|
5066
|
-
"enableJsonFlag": false,
|
|
5067
5296
|
"isESM": true,
|
|
5068
5297
|
"relativePath": [
|
|
5069
5298
|
"dist",
|
|
5070
5299
|
"commands",
|
|
5071
|
-
"
|
|
5072
|
-
"
|
|
5073
|
-
"
|
|
5300
|
+
"run",
|
|
5301
|
+
"sessions",
|
|
5302
|
+
"list",
|
|
5074
5303
|
"index.js"
|
|
5075
5304
|
]
|
|
5076
5305
|
},
|
|
5077
|
-
"
|
|
5306
|
+
"run:sessions:stop": {
|
|
5078
5307
|
"aliases": [],
|
|
5079
5308
|
"args": {
|
|
5080
|
-
"
|
|
5081
|
-
"description": "
|
|
5082
|
-
"name": "
|
|
5083
|
-
"required": true
|
|
5084
|
-
},
|
|
5085
|
-
"static_host": {
|
|
5086
|
-
"description": "Static Host name",
|
|
5087
|
-
"name": "static_host",
|
|
5309
|
+
"sessionId": {
|
|
5310
|
+
"description": "Session ID",
|
|
5311
|
+
"name": "sessionId",
|
|
5088
5312
|
"required": true
|
|
5089
5313
|
}
|
|
5090
5314
|
},
|
|
5091
|
-
"description": "
|
|
5315
|
+
"description": "Stop a session",
|
|
5092
5316
|
"examples": [
|
|
5093
|
-
"$ xano
|
|
5094
|
-
"$ xano
|
|
5095
|
-
"$ xano static_host:build:get myhost 123 --profile production\nBuild Details:\nID: 123\nName: production-build\n",
|
|
5096
|
-
"$ xano static_host:build:get default 52 -o json\n{\n \"id\": 52,\n \"name\": \"v1.0.0\",\n \"status\": \"completed\"\n}\n"
|
|
5317
|
+
"$ xano run sessions stop abc123-def456\nSession stopped successfully!\n ID: abc123-def456\n State: stopped\n",
|
|
5318
|
+
"$ xano run sessions stop abc123-def456 -o json\n{ \"id\": \"abc123-def456\", \"state\": \"stopped\", ... }\n"
|
|
5097
5319
|
],
|
|
5098
5320
|
"flags": {
|
|
5099
5321
|
"profile": {
|
|
@@ -5128,32 +5350,22 @@
|
|
|
5128
5350
|
"json"
|
|
5129
5351
|
],
|
|
5130
5352
|
"type": "option"
|
|
5131
|
-
},
|
|
5132
|
-
"workspace": {
|
|
5133
|
-
"char": "w",
|
|
5134
|
-
"description": "Workspace ID (optional if set in profile)",
|
|
5135
|
-
"name": "workspace",
|
|
5136
|
-
"required": false,
|
|
5137
|
-
"hasDynamicHelp": false,
|
|
5138
|
-
"multiple": false,
|
|
5139
|
-
"type": "option"
|
|
5140
5353
|
}
|
|
5141
5354
|
},
|
|
5142
5355
|
"hasDynamicHelp": false,
|
|
5143
5356
|
"hiddenAliases": [],
|
|
5144
|
-
"id": "
|
|
5357
|
+
"id": "run:sessions:stop",
|
|
5145
5358
|
"pluginAlias": "@xano/cli",
|
|
5146
5359
|
"pluginName": "@xano/cli",
|
|
5147
5360
|
"pluginType": "core",
|
|
5148
5361
|
"strict": true,
|
|
5149
|
-
"enableJsonFlag": false,
|
|
5150
5362
|
"isESM": true,
|
|
5151
5363
|
"relativePath": [
|
|
5152
5364
|
"dist",
|
|
5153
5365
|
"commands",
|
|
5154
|
-
"
|
|
5155
|
-
"
|
|
5156
|
-
"
|
|
5366
|
+
"run",
|
|
5367
|
+
"sessions",
|
|
5368
|
+
"stop",
|
|
5157
5369
|
"index.js"
|
|
5158
5370
|
]
|
|
5159
5371
|
},
|
|
@@ -5431,20 +5643,19 @@
|
|
|
5431
5643
|
"index.js"
|
|
5432
5644
|
]
|
|
5433
5645
|
},
|
|
5434
|
-
"tenant:backup:
|
|
5646
|
+
"tenant:backup:list": {
|
|
5435
5647
|
"aliases": [],
|
|
5436
5648
|
"args": {
|
|
5437
5649
|
"tenant_name": {
|
|
5438
|
-
"description": "Tenant name to
|
|
5650
|
+
"description": "Tenant name to list backups for",
|
|
5439
5651
|
"name": "tenant_name",
|
|
5440
5652
|
"required": true
|
|
5441
5653
|
}
|
|
5442
5654
|
},
|
|
5443
|
-
"description": "
|
|
5655
|
+
"description": "List backups for a tenant",
|
|
5444
5656
|
"examples": [
|
|
5445
|
-
"$ xano tenant backup
|
|
5446
|
-
"$ xano tenant backup
|
|
5447
|
-
"$ xano tenant backup export t1234-abcd-xyz1 --backup-id 10 -o json"
|
|
5657
|
+
"$ 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",
|
|
5658
|
+
"$ xano tenant backup list t1234-abcd-xyz1 -o json"
|
|
5448
5659
|
],
|
|
5449
5660
|
"flags": {
|
|
5450
5661
|
"profile": {
|
|
@@ -5466,18 +5677,10 @@
|
|
|
5466
5677
|
"allowNo": false,
|
|
5467
5678
|
"type": "boolean"
|
|
5468
5679
|
},
|
|
5469
|
-
"
|
|
5470
|
-
"description": "Backup ID to export",
|
|
5471
|
-
"name": "backup-id",
|
|
5472
|
-
"required": true,
|
|
5473
|
-
"hasDynamicHelp": false,
|
|
5474
|
-
"multiple": false,
|
|
5475
|
-
"type": "option"
|
|
5476
|
-
},
|
|
5477
|
-
"format": {
|
|
5680
|
+
"output": {
|
|
5478
5681
|
"char": "o",
|
|
5479
5682
|
"description": "Output format",
|
|
5480
|
-
"name": "
|
|
5683
|
+
"name": "output",
|
|
5481
5684
|
"required": false,
|
|
5482
5685
|
"default": "summary",
|
|
5483
5686
|
"hasDynamicHelp": false,
|
|
@@ -5488,10 +5691,11 @@
|
|
|
5488
5691
|
],
|
|
5489
5692
|
"type": "option"
|
|
5490
5693
|
},
|
|
5491
|
-
"
|
|
5492
|
-
"description": "
|
|
5493
|
-
"name": "
|
|
5694
|
+
"page": {
|
|
5695
|
+
"description": "Page number for pagination",
|
|
5696
|
+
"name": "page",
|
|
5494
5697
|
"required": false,
|
|
5698
|
+
"default": 1,
|
|
5495
5699
|
"hasDynamicHelp": false,
|
|
5496
5700
|
"multiple": false,
|
|
5497
5701
|
"type": "option"
|
|
@@ -5508,7 +5712,7 @@
|
|
|
5508
5712
|
},
|
|
5509
5713
|
"hasDynamicHelp": false,
|
|
5510
5714
|
"hiddenAliases": [],
|
|
5511
|
-
"id": "tenant:backup:
|
|
5715
|
+
"id": "tenant:backup:list",
|
|
5512
5716
|
"pluginAlias": "@xano/cli",
|
|
5513
5717
|
"pluginName": "@xano/cli",
|
|
5514
5718
|
"pluginType": "core",
|
|
@@ -5520,23 +5724,24 @@
|
|
|
5520
5724
|
"commands",
|
|
5521
5725
|
"tenant",
|
|
5522
5726
|
"backup",
|
|
5523
|
-
"
|
|
5727
|
+
"list",
|
|
5524
5728
|
"index.js"
|
|
5525
5729
|
]
|
|
5526
5730
|
},
|
|
5527
|
-
"tenant:backup:
|
|
5731
|
+
"tenant:backup:export": {
|
|
5528
5732
|
"aliases": [],
|
|
5529
5733
|
"args": {
|
|
5530
5734
|
"tenant_name": {
|
|
5531
|
-
"description": "Tenant name to
|
|
5735
|
+
"description": "Tenant name to export backup from",
|
|
5532
5736
|
"name": "tenant_name",
|
|
5533
5737
|
"required": true
|
|
5534
5738
|
}
|
|
5535
5739
|
},
|
|
5536
|
-
"description": "
|
|
5740
|
+
"description": "Export (download) a tenant backup to a local file",
|
|
5537
5741
|
"examples": [
|
|
5538
|
-
"$ xano tenant backup
|
|
5539
|
-
"$ xano tenant backup
|
|
5742
|
+
"$ xano tenant backup export t1234-abcd-xyz1 --backup-id 10\nDownloaded backup #10 to ./tenant-t1234-abcd-xyz1-backup-10.tar.gz\n",
|
|
5743
|
+
"$ xano tenant backup export t1234-abcd-xyz1 --backup-id 10 --output ./backups/my-backup.tar.gz",
|
|
5744
|
+
"$ xano tenant backup export t1234-abcd-xyz1 --backup-id 10 -o json"
|
|
5540
5745
|
],
|
|
5541
5746
|
"flags": {
|
|
5542
5747
|
"profile": {
|
|
@@ -5558,10 +5763,18 @@
|
|
|
5558
5763
|
"allowNo": false,
|
|
5559
5764
|
"type": "boolean"
|
|
5560
5765
|
},
|
|
5561
|
-
"
|
|
5766
|
+
"backup-id": {
|
|
5767
|
+
"description": "Backup ID to export",
|
|
5768
|
+
"name": "backup-id",
|
|
5769
|
+
"required": true,
|
|
5770
|
+
"hasDynamicHelp": false,
|
|
5771
|
+
"multiple": false,
|
|
5772
|
+
"type": "option"
|
|
5773
|
+
},
|
|
5774
|
+
"format": {
|
|
5562
5775
|
"char": "o",
|
|
5563
5776
|
"description": "Output format",
|
|
5564
|
-
"name": "
|
|
5777
|
+
"name": "format",
|
|
5565
5778
|
"required": false,
|
|
5566
5779
|
"default": "summary",
|
|
5567
5780
|
"hasDynamicHelp": false,
|
|
@@ -5572,11 +5785,10 @@
|
|
|
5572
5785
|
],
|
|
5573
5786
|
"type": "option"
|
|
5574
5787
|
},
|
|
5575
|
-
"
|
|
5576
|
-
"description": "
|
|
5577
|
-
"name": "
|
|
5788
|
+
"output": {
|
|
5789
|
+
"description": "Output file path (defaults to ./tenant-{name}-backup-{backup_id}.tar.gz)",
|
|
5790
|
+
"name": "output",
|
|
5578
5791
|
"required": false,
|
|
5579
|
-
"default": 1,
|
|
5580
5792
|
"hasDynamicHelp": false,
|
|
5581
5793
|
"multiple": false,
|
|
5582
5794
|
"type": "option"
|
|
@@ -5593,7 +5805,7 @@
|
|
|
5593
5805
|
},
|
|
5594
5806
|
"hasDynamicHelp": false,
|
|
5595
5807
|
"hiddenAliases": [],
|
|
5596
|
-
"id": "tenant:backup:
|
|
5808
|
+
"id": "tenant:backup:export",
|
|
5597
5809
|
"pluginAlias": "@xano/cli",
|
|
5598
5810
|
"pluginName": "@xano/cli",
|
|
5599
5811
|
"pluginType": "core",
|
|
@@ -5605,7 +5817,7 @@
|
|
|
5605
5817
|
"commands",
|
|
5606
5818
|
"tenant",
|
|
5607
5819
|
"backup",
|
|
5608
|
-
"
|
|
5820
|
+
"export",
|
|
5609
5821
|
"index.js"
|
|
5610
5822
|
]
|
|
5611
5823
|
},
|
|
@@ -5701,6 +5913,193 @@
|
|
|
5701
5913
|
"index.js"
|
|
5702
5914
|
]
|
|
5703
5915
|
},
|
|
5916
|
+
"static_host:build:create": {
|
|
5917
|
+
"aliases": [],
|
|
5918
|
+
"args": {
|
|
5919
|
+
"static_host": {
|
|
5920
|
+
"description": "Static Host name",
|
|
5921
|
+
"name": "static_host",
|
|
5922
|
+
"required": true
|
|
5923
|
+
}
|
|
5924
|
+
},
|
|
5925
|
+
"description": "Create a new build for a static host",
|
|
5926
|
+
"examples": [
|
|
5927
|
+
"$ 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",
|
|
5928
|
+
"$ 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",
|
|
5929
|
+
"$ 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"
|
|
5930
|
+
],
|
|
5931
|
+
"flags": {
|
|
5932
|
+
"profile": {
|
|
5933
|
+
"char": "p",
|
|
5934
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
5935
|
+
"env": "XANO_PROFILE",
|
|
5936
|
+
"name": "profile",
|
|
5937
|
+
"required": false,
|
|
5938
|
+
"hasDynamicHelp": false,
|
|
5939
|
+
"multiple": false,
|
|
5940
|
+
"type": "option"
|
|
5941
|
+
},
|
|
5942
|
+
"verbose": {
|
|
5943
|
+
"char": "v",
|
|
5944
|
+
"description": "Show detailed request/response information",
|
|
5945
|
+
"env": "XANO_VERBOSE",
|
|
5946
|
+
"name": "verbose",
|
|
5947
|
+
"required": false,
|
|
5948
|
+
"allowNo": false,
|
|
5949
|
+
"type": "boolean"
|
|
5950
|
+
},
|
|
5951
|
+
"description": {
|
|
5952
|
+
"char": "d",
|
|
5953
|
+
"description": "Build description",
|
|
5954
|
+
"name": "description",
|
|
5955
|
+
"required": false,
|
|
5956
|
+
"hasDynamicHelp": false,
|
|
5957
|
+
"multiple": false,
|
|
5958
|
+
"type": "option"
|
|
5959
|
+
},
|
|
5960
|
+
"file": {
|
|
5961
|
+
"char": "f",
|
|
5962
|
+
"description": "Path to zip file to upload",
|
|
5963
|
+
"name": "file",
|
|
5964
|
+
"required": true,
|
|
5965
|
+
"hasDynamicHelp": false,
|
|
5966
|
+
"multiple": false,
|
|
5967
|
+
"type": "option"
|
|
5968
|
+
},
|
|
5969
|
+
"name": {
|
|
5970
|
+
"char": "n",
|
|
5971
|
+
"description": "Build name",
|
|
5972
|
+
"name": "name",
|
|
5973
|
+
"required": true,
|
|
5974
|
+
"hasDynamicHelp": false,
|
|
5975
|
+
"multiple": false,
|
|
5976
|
+
"type": "option"
|
|
5977
|
+
},
|
|
5978
|
+
"output": {
|
|
5979
|
+
"char": "o",
|
|
5980
|
+
"description": "Output format",
|
|
5981
|
+
"name": "output",
|
|
5982
|
+
"required": false,
|
|
5983
|
+
"default": "summary",
|
|
5984
|
+
"hasDynamicHelp": false,
|
|
5985
|
+
"multiple": false,
|
|
5986
|
+
"options": [
|
|
5987
|
+
"summary",
|
|
5988
|
+
"json"
|
|
5989
|
+
],
|
|
5990
|
+
"type": "option"
|
|
5991
|
+
},
|
|
5992
|
+
"workspace": {
|
|
5993
|
+
"char": "w",
|
|
5994
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
5995
|
+
"name": "workspace",
|
|
5996
|
+
"required": false,
|
|
5997
|
+
"hasDynamicHelp": false,
|
|
5998
|
+
"multiple": false,
|
|
5999
|
+
"type": "option"
|
|
6000
|
+
}
|
|
6001
|
+
},
|
|
6002
|
+
"hasDynamicHelp": false,
|
|
6003
|
+
"hiddenAliases": [],
|
|
6004
|
+
"id": "static_host:build:create",
|
|
6005
|
+
"pluginAlias": "@xano/cli",
|
|
6006
|
+
"pluginName": "@xano/cli",
|
|
6007
|
+
"pluginType": "core",
|
|
6008
|
+
"strict": true,
|
|
6009
|
+
"enableJsonFlag": false,
|
|
6010
|
+
"isESM": true,
|
|
6011
|
+
"relativePath": [
|
|
6012
|
+
"dist",
|
|
6013
|
+
"commands",
|
|
6014
|
+
"static_host",
|
|
6015
|
+
"build",
|
|
6016
|
+
"create",
|
|
6017
|
+
"index.js"
|
|
6018
|
+
]
|
|
6019
|
+
},
|
|
6020
|
+
"static_host:build:get": {
|
|
6021
|
+
"aliases": [],
|
|
6022
|
+
"args": {
|
|
6023
|
+
"build_id": {
|
|
6024
|
+
"description": "Build ID",
|
|
6025
|
+
"name": "build_id",
|
|
6026
|
+
"required": true
|
|
6027
|
+
},
|
|
6028
|
+
"static_host": {
|
|
6029
|
+
"description": "Static Host name",
|
|
6030
|
+
"name": "static_host",
|
|
6031
|
+
"required": true
|
|
6032
|
+
}
|
|
6033
|
+
},
|
|
6034
|
+
"description": "Get details of a specific build for a static host",
|
|
6035
|
+
"examples": [
|
|
6036
|
+
"$ xano static_host:build:get default 52\nBuild Details:\nID: 52\nName: v1.0.0\nStatus: completed\n",
|
|
6037
|
+
"$ xano static_host:build:get default 52 -w 40\nBuild Details:\nID: 52\nName: v1.0.0\nStatus: completed\n",
|
|
6038
|
+
"$ xano static_host:build:get myhost 123 --profile production\nBuild Details:\nID: 123\nName: production-build\n",
|
|
6039
|
+
"$ xano static_host:build:get default 52 -o json\n{\n \"id\": 52,\n \"name\": \"v1.0.0\",\n \"status\": \"completed\"\n}\n"
|
|
6040
|
+
],
|
|
6041
|
+
"flags": {
|
|
6042
|
+
"profile": {
|
|
6043
|
+
"char": "p",
|
|
6044
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
6045
|
+
"env": "XANO_PROFILE",
|
|
6046
|
+
"name": "profile",
|
|
6047
|
+
"required": false,
|
|
6048
|
+
"hasDynamicHelp": false,
|
|
6049
|
+
"multiple": false,
|
|
6050
|
+
"type": "option"
|
|
6051
|
+
},
|
|
6052
|
+
"verbose": {
|
|
6053
|
+
"char": "v",
|
|
6054
|
+
"description": "Show detailed request/response information",
|
|
6055
|
+
"env": "XANO_VERBOSE",
|
|
6056
|
+
"name": "verbose",
|
|
6057
|
+
"required": false,
|
|
6058
|
+
"allowNo": false,
|
|
6059
|
+
"type": "boolean"
|
|
6060
|
+
},
|
|
6061
|
+
"output": {
|
|
6062
|
+
"char": "o",
|
|
6063
|
+
"description": "Output format",
|
|
6064
|
+
"name": "output",
|
|
6065
|
+
"required": false,
|
|
6066
|
+
"default": "summary",
|
|
6067
|
+
"hasDynamicHelp": false,
|
|
6068
|
+
"multiple": false,
|
|
6069
|
+
"options": [
|
|
6070
|
+
"summary",
|
|
6071
|
+
"json"
|
|
6072
|
+
],
|
|
6073
|
+
"type": "option"
|
|
6074
|
+
},
|
|
6075
|
+
"workspace": {
|
|
6076
|
+
"char": "w",
|
|
6077
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
6078
|
+
"name": "workspace",
|
|
6079
|
+
"required": false,
|
|
6080
|
+
"hasDynamicHelp": false,
|
|
6081
|
+
"multiple": false,
|
|
6082
|
+
"type": "option"
|
|
6083
|
+
}
|
|
6084
|
+
},
|
|
6085
|
+
"hasDynamicHelp": false,
|
|
6086
|
+
"hiddenAliases": [],
|
|
6087
|
+
"id": "static_host:build:get",
|
|
6088
|
+
"pluginAlias": "@xano/cli",
|
|
6089
|
+
"pluginName": "@xano/cli",
|
|
6090
|
+
"pluginType": "core",
|
|
6091
|
+
"strict": true,
|
|
6092
|
+
"enableJsonFlag": false,
|
|
6093
|
+
"isESM": true,
|
|
6094
|
+
"relativePath": [
|
|
6095
|
+
"dist",
|
|
6096
|
+
"commands",
|
|
6097
|
+
"static_host",
|
|
6098
|
+
"build",
|
|
6099
|
+
"get",
|
|
6100
|
+
"index.js"
|
|
6101
|
+
]
|
|
6102
|
+
},
|
|
5704
6103
|
"static_host:build:list": {
|
|
5705
6104
|
"aliases": [],
|
|
5706
6105
|
"args": {
|
|
@@ -5798,5 +6197,5 @@
|
|
|
5798
6197
|
]
|
|
5799
6198
|
}
|
|
5800
6199
|
},
|
|
5801
|
-
"version": "0.0.
|
|
6200
|
+
"version": "0.0.34"
|
|
5802
6201
|
}
|