@xano/cli 0.0.54 → 0.0.56
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/oclif.manifest.json +1437 -1437
- package/package.json +1 -1
package/oclif.manifest.json
CHANGED
|
@@ -193,20 +193,20 @@
|
|
|
193
193
|
"index.js"
|
|
194
194
|
]
|
|
195
195
|
},
|
|
196
|
-
"branch:
|
|
196
|
+
"branch:delete": {
|
|
197
197
|
"aliases": [],
|
|
198
198
|
"args": {
|
|
199
199
|
"branch_label": {
|
|
200
|
-
"description": "Branch label to
|
|
200
|
+
"description": "Branch label to delete (cannot delete \"v1\" or the live branch)",
|
|
201
201
|
"name": "branch_label",
|
|
202
202
|
"required": true
|
|
203
203
|
}
|
|
204
204
|
},
|
|
205
|
-
"description": "
|
|
205
|
+
"description": "Delete a branch (cannot delete \"v1\" or the live branch)",
|
|
206
206
|
"examples": [
|
|
207
|
-
"$ xano branch
|
|
208
|
-
"$ xano branch
|
|
209
|
-
"$ xano branch
|
|
207
|
+
"$ xano branch delete feature-old\nAre you sure you want to delete branch 'feature-old'? This action cannot be undone. (y/N) y\nDeleted branch: feature-old\n",
|
|
208
|
+
"$ xano branch delete dev --force\nDeleted branch: dev\n",
|
|
209
|
+
"$ xano branch delete staging -f -o json\n{\n \"deleted\": true,\n \"branch_label\": \"staging\"\n}\n"
|
|
210
210
|
],
|
|
211
211
|
"flags": {
|
|
212
212
|
"profile": {
|
|
@@ -228,32 +228,13 @@
|
|
|
228
228
|
"allowNo": false,
|
|
229
229
|
"type": "boolean"
|
|
230
230
|
},
|
|
231
|
-
"
|
|
232
|
-
"char": "
|
|
233
|
-
"description": "
|
|
234
|
-
"name": "
|
|
235
|
-
"required": false,
|
|
236
|
-
"hasDynamicHelp": false,
|
|
237
|
-
"multiple": false,
|
|
238
|
-
"type": "option"
|
|
239
|
-
},
|
|
240
|
-
"description": {
|
|
241
|
-
"char": "d",
|
|
242
|
-
"description": "New description for the branch",
|
|
243
|
-
"name": "description",
|
|
244
|
-
"required": false,
|
|
245
|
-
"hasDynamicHelp": false,
|
|
246
|
-
"multiple": false,
|
|
247
|
-
"type": "option"
|
|
248
|
-
},
|
|
249
|
-
"label": {
|
|
250
|
-
"char": "l",
|
|
251
|
-
"description": "New label for the branch",
|
|
252
|
-
"name": "label",
|
|
231
|
+
"force": {
|
|
232
|
+
"char": "f",
|
|
233
|
+
"description": "Skip confirmation prompt",
|
|
234
|
+
"name": "force",
|
|
253
235
|
"required": false,
|
|
254
|
-
"
|
|
255
|
-
"
|
|
256
|
-
"type": "option"
|
|
236
|
+
"allowNo": false,
|
|
237
|
+
"type": "boolean"
|
|
257
238
|
},
|
|
258
239
|
"output": {
|
|
259
240
|
"char": "o",
|
|
@@ -281,7 +262,7 @@
|
|
|
281
262
|
},
|
|
282
263
|
"hasDynamicHelp": false,
|
|
283
264
|
"hiddenAliases": [],
|
|
284
|
-
"id": "branch:
|
|
265
|
+
"id": "branch:delete",
|
|
285
266
|
"pluginAlias": "@xano/cli",
|
|
286
267
|
"pluginName": "@xano/cli",
|
|
287
268
|
"pluginType": "core",
|
|
@@ -292,24 +273,24 @@
|
|
|
292
273
|
"dist",
|
|
293
274
|
"commands",
|
|
294
275
|
"branch",
|
|
295
|
-
"
|
|
276
|
+
"delete",
|
|
296
277
|
"index.js"
|
|
297
278
|
]
|
|
298
279
|
},
|
|
299
|
-
"branch:
|
|
280
|
+
"branch:get": {
|
|
300
281
|
"aliases": [],
|
|
301
282
|
"args": {
|
|
302
283
|
"branch_label": {
|
|
303
|
-
"description": "Branch label
|
|
284
|
+
"description": "Branch label (e.g., \"v1\", \"dev\")",
|
|
304
285
|
"name": "branch_label",
|
|
305
286
|
"required": true
|
|
306
287
|
}
|
|
307
288
|
},
|
|
308
|
-
"description": "
|
|
289
|
+
"description": "Get details for a specific branch",
|
|
309
290
|
"examples": [
|
|
310
|
-
"$ xano branch
|
|
311
|
-
"$ xano branch
|
|
312
|
-
"$ xano branch
|
|
291
|
+
"$ xano branch get v1\nBranch: v1 (live)\n Created: 2024-01-15\n",
|
|
292
|
+
"$ xano branch get dev -w 123\nBranch: dev\n Created: 2024-02-01\n",
|
|
293
|
+
"$ 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"
|
|
313
294
|
],
|
|
314
295
|
"flags": {
|
|
315
296
|
"profile": {
|
|
@@ -331,14 +312,6 @@
|
|
|
331
312
|
"allowNo": false,
|
|
332
313
|
"type": "boolean"
|
|
333
314
|
},
|
|
334
|
-
"force": {
|
|
335
|
-
"char": "f",
|
|
336
|
-
"description": "Skip confirmation prompt",
|
|
337
|
-
"name": "force",
|
|
338
|
-
"required": false,
|
|
339
|
-
"allowNo": false,
|
|
340
|
-
"type": "boolean"
|
|
341
|
-
},
|
|
342
315
|
"output": {
|
|
343
316
|
"char": "o",
|
|
344
317
|
"description": "Output format",
|
|
@@ -365,7 +338,7 @@
|
|
|
365
338
|
},
|
|
366
339
|
"hasDynamicHelp": false,
|
|
367
340
|
"hiddenAliases": [],
|
|
368
|
-
"id": "branch:
|
|
341
|
+
"id": "branch:get",
|
|
369
342
|
"pluginAlias": "@xano/cli",
|
|
370
343
|
"pluginName": "@xano/cli",
|
|
371
344
|
"pluginType": "core",
|
|
@@ -376,24 +349,24 @@
|
|
|
376
349
|
"dist",
|
|
377
350
|
"commands",
|
|
378
351
|
"branch",
|
|
379
|
-
"
|
|
352
|
+
"get",
|
|
380
353
|
"index.js"
|
|
381
354
|
]
|
|
382
355
|
},
|
|
383
|
-
"branch:
|
|
356
|
+
"branch:edit": {
|
|
384
357
|
"aliases": [],
|
|
385
358
|
"args": {
|
|
386
359
|
"branch_label": {
|
|
387
|
-
"description": "Branch label (
|
|
360
|
+
"description": "Branch label to edit (cannot edit \"v1\" label)",
|
|
388
361
|
"name": "branch_label",
|
|
389
362
|
"required": true
|
|
390
363
|
}
|
|
391
364
|
},
|
|
392
|
-
"description": "
|
|
365
|
+
"description": "Update an existing branch (cannot update \"v1\" label)",
|
|
393
366
|
"examples": [
|
|
394
|
-
"$ xano branch
|
|
395
|
-
"$ xano branch
|
|
396
|
-
"$ xano branch
|
|
367
|
+
"$ xano branch edit dev --label development\nUpdated branch: development\n",
|
|
368
|
+
"$ xano branch edit feature-auth -l feature-authentication --color \"#ff5733\"\nUpdated branch: feature-authentication\n Color: #ff5733\n",
|
|
369
|
+
"$ xano branch edit staging --description \"Staging environment\" -o json\n{\n \"created_at\": \"2024-02-10T09:15:00Z\",\n \"label\": \"staging\",\n \"backup\": false\n}\n"
|
|
397
370
|
],
|
|
398
371
|
"flags": {
|
|
399
372
|
"profile": {
|
|
@@ -415,6 +388,33 @@
|
|
|
415
388
|
"allowNo": false,
|
|
416
389
|
"type": "boolean"
|
|
417
390
|
},
|
|
391
|
+
"color": {
|
|
392
|
+
"char": "c",
|
|
393
|
+
"description": "New color hex code for the branch (e.g., \"#ff5733\")",
|
|
394
|
+
"name": "color",
|
|
395
|
+
"required": false,
|
|
396
|
+
"hasDynamicHelp": false,
|
|
397
|
+
"multiple": false,
|
|
398
|
+
"type": "option"
|
|
399
|
+
},
|
|
400
|
+
"description": {
|
|
401
|
+
"char": "d",
|
|
402
|
+
"description": "New description for the branch",
|
|
403
|
+
"name": "description",
|
|
404
|
+
"required": false,
|
|
405
|
+
"hasDynamicHelp": false,
|
|
406
|
+
"multiple": false,
|
|
407
|
+
"type": "option"
|
|
408
|
+
},
|
|
409
|
+
"label": {
|
|
410
|
+
"char": "l",
|
|
411
|
+
"description": "New label for the branch",
|
|
412
|
+
"name": "label",
|
|
413
|
+
"required": false,
|
|
414
|
+
"hasDynamicHelp": false,
|
|
415
|
+
"multiple": false,
|
|
416
|
+
"type": "option"
|
|
417
|
+
},
|
|
418
418
|
"output": {
|
|
419
419
|
"char": "o",
|
|
420
420
|
"description": "Output format",
|
|
@@ -441,7 +441,7 @@
|
|
|
441
441
|
},
|
|
442
442
|
"hasDynamicHelp": false,
|
|
443
443
|
"hiddenAliases": [],
|
|
444
|
-
"id": "branch:
|
|
444
|
+
"id": "branch:edit",
|
|
445
445
|
"pluginAlias": "@xano/cli",
|
|
446
446
|
"pluginName": "@xano/cli",
|
|
447
447
|
"pluginType": "core",
|
|
@@ -452,7 +452,7 @@
|
|
|
452
452
|
"dist",
|
|
453
453
|
"commands",
|
|
454
454
|
"branch",
|
|
455
|
-
"
|
|
455
|
+
"edit",
|
|
456
456
|
"index.js"
|
|
457
457
|
]
|
|
458
458
|
},
|
|
@@ -523,20 +523,16 @@
|
|
|
523
523
|
"index.js"
|
|
524
524
|
]
|
|
525
525
|
},
|
|
526
|
-
"
|
|
526
|
+
"function:create": {
|
|
527
527
|
"aliases": [],
|
|
528
|
-
"args": {
|
|
529
|
-
|
|
530
|
-
"description": "Branch label to set as live (use \"v1\" for default branch)",
|
|
531
|
-
"name": "branch_label",
|
|
532
|
-
"required": true
|
|
533
|
-
}
|
|
534
|
-
},
|
|
535
|
-
"description": "Set a branch as the live (active) branch for API requests",
|
|
528
|
+
"args": {},
|
|
529
|
+
"description": "Create a new function in a workspace",
|
|
536
530
|
"examples": [
|
|
537
|
-
"$ xano
|
|
538
|
-
"$ xano
|
|
539
|
-
"$ xano
|
|
531
|
+
"$ xano function:create -w 40 -f function.xs\nFunction created successfully!\nID: 123\nName: my_function\n",
|
|
532
|
+
"$ xano function:create -f function.xs\nFunction created successfully!\nID: 123\nName: my_function\n",
|
|
533
|
+
"$ xano function:create -w 40 -f function.xs --edit\n# Opens function.xs in $EDITOR, then creates function with edited content\nFunction created successfully!\nID: 123\nName: my_function\n",
|
|
534
|
+
"$ cat function.xs | xano function:create -w 40 --stdin\nFunction created successfully!\nID: 123\nName: my_function\n",
|
|
535
|
+
"$ xano function:create -w 40 -f function.xs -o json\n{\n \"id\": 123,\n \"name\": \"my_function\",\n ...\n}\n"
|
|
540
536
|
],
|
|
541
537
|
"flags": {
|
|
542
538
|
"profile": {
|
|
@@ -558,14 +554,29 @@
|
|
|
558
554
|
"allowNo": false,
|
|
559
555
|
"type": "boolean"
|
|
560
556
|
},
|
|
561
|
-
"
|
|
562
|
-
"char": "
|
|
563
|
-
"
|
|
564
|
-
|
|
557
|
+
"edit": {
|
|
558
|
+
"char": "e",
|
|
559
|
+
"dependsOn": [
|
|
560
|
+
"file"
|
|
561
|
+
],
|
|
562
|
+
"description": "Open file in editor before creating function (requires --file)",
|
|
563
|
+
"name": "edit",
|
|
565
564
|
"required": false,
|
|
566
565
|
"allowNo": false,
|
|
567
566
|
"type": "boolean"
|
|
568
567
|
},
|
|
568
|
+
"file": {
|
|
569
|
+
"char": "f",
|
|
570
|
+
"description": "Path to file containing XanoScript code",
|
|
571
|
+
"exclusive": [
|
|
572
|
+
"stdin"
|
|
573
|
+
],
|
|
574
|
+
"name": "file",
|
|
575
|
+
"required": false,
|
|
576
|
+
"hasDynamicHelp": false,
|
|
577
|
+
"multiple": false,
|
|
578
|
+
"type": "option"
|
|
579
|
+
},
|
|
569
580
|
"output": {
|
|
570
581
|
"char": "o",
|
|
571
582
|
"description": "Output format",
|
|
@@ -580,9 +591,20 @@
|
|
|
580
591
|
],
|
|
581
592
|
"type": "option"
|
|
582
593
|
},
|
|
594
|
+
"stdin": {
|
|
595
|
+
"char": "s",
|
|
596
|
+
"description": "Read XanoScript code from stdin",
|
|
597
|
+
"exclusive": [
|
|
598
|
+
"file"
|
|
599
|
+
],
|
|
600
|
+
"name": "stdin",
|
|
601
|
+
"required": false,
|
|
602
|
+
"allowNo": false,
|
|
603
|
+
"type": "boolean"
|
|
604
|
+
},
|
|
583
605
|
"workspace": {
|
|
584
606
|
"char": "w",
|
|
585
|
-
"description": "Workspace ID (
|
|
607
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
586
608
|
"name": "workspace",
|
|
587
609
|
"required": false,
|
|
588
610
|
"hasDynamicHelp": false,
|
|
@@ -592,7 +614,7 @@
|
|
|
592
614
|
},
|
|
593
615
|
"hasDynamicHelp": false,
|
|
594
616
|
"hiddenAliases": [],
|
|
595
|
-
"id": "
|
|
617
|
+
"id": "function:create",
|
|
596
618
|
"pluginAlias": "@xano/cli",
|
|
597
619
|
"pluginName": "@xano/cli",
|
|
598
620
|
"pluginType": "core",
|
|
@@ -602,24 +624,25 @@
|
|
|
602
624
|
"relativePath": [
|
|
603
625
|
"dist",
|
|
604
626
|
"commands",
|
|
605
|
-
"
|
|
606
|
-
"
|
|
627
|
+
"function",
|
|
628
|
+
"create",
|
|
607
629
|
"index.js"
|
|
608
630
|
]
|
|
609
631
|
},
|
|
610
|
-
"
|
|
632
|
+
"branch:set_live": {
|
|
611
633
|
"aliases": [],
|
|
612
634
|
"args": {
|
|
613
|
-
"
|
|
614
|
-
"description": "
|
|
615
|
-
"name": "
|
|
635
|
+
"branch_label": {
|
|
636
|
+
"description": "Branch label to set as live (use \"v1\" for default branch)",
|
|
637
|
+
"name": "branch_label",
|
|
616
638
|
"required": true
|
|
617
639
|
}
|
|
618
640
|
},
|
|
619
|
-
"description": "
|
|
641
|
+
"description": "Set a branch as the live (active) branch for API requests",
|
|
620
642
|
"examples": [
|
|
621
|
-
"$ xano
|
|
622
|
-
"$ xano
|
|
643
|
+
"$ xano branch set-live staging\nAre you sure you want to set 'staging' as the live branch? (y/N) y\nBranch 'staging' is now live\n",
|
|
644
|
+
"$ xano branch set-live v1 --force\nBranch 'v1' is now live\n",
|
|
645
|
+
"$ xano branch set-live production -f -o json\n{\n \"created_at\": \"2024-02-10T09:15:00Z\",\n \"label\": \"production\",\n \"backup\": false,\n \"live\": true\n}\n"
|
|
623
646
|
],
|
|
624
647
|
"flags": {
|
|
625
648
|
"profile": {
|
|
@@ -641,6 +664,14 @@
|
|
|
641
664
|
"allowNo": false,
|
|
642
665
|
"type": "boolean"
|
|
643
666
|
},
|
|
667
|
+
"force": {
|
|
668
|
+
"char": "f",
|
|
669
|
+
"description": "Skip confirmation prompt",
|
|
670
|
+
"name": "force",
|
|
671
|
+
"required": false,
|
|
672
|
+
"allowNo": false,
|
|
673
|
+
"type": "boolean"
|
|
674
|
+
},
|
|
644
675
|
"output": {
|
|
645
676
|
"char": "o",
|
|
646
677
|
"description": "Output format",
|
|
@@ -654,11 +685,20 @@
|
|
|
654
685
|
"json"
|
|
655
686
|
],
|
|
656
687
|
"type": "option"
|
|
688
|
+
},
|
|
689
|
+
"workspace": {
|
|
690
|
+
"char": "w",
|
|
691
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
692
|
+
"name": "workspace",
|
|
693
|
+
"required": false,
|
|
694
|
+
"hasDynamicHelp": false,
|
|
695
|
+
"multiple": false,
|
|
696
|
+
"type": "option"
|
|
657
697
|
}
|
|
658
698
|
},
|
|
659
699
|
"hasDynamicHelp": false,
|
|
660
700
|
"hiddenAliases": [],
|
|
661
|
-
"id": "
|
|
701
|
+
"id": "branch:set_live",
|
|
662
702
|
"pluginAlias": "@xano/cli",
|
|
663
703
|
"pluginName": "@xano/cli",
|
|
664
704
|
"pluginType": "core",
|
|
@@ -668,18 +708,28 @@
|
|
|
668
708
|
"relativePath": [
|
|
669
709
|
"dist",
|
|
670
710
|
"commands",
|
|
671
|
-
"
|
|
672
|
-
"
|
|
711
|
+
"branch",
|
|
712
|
+
"set_live",
|
|
673
713
|
"index.js"
|
|
674
714
|
]
|
|
675
715
|
},
|
|
676
|
-
"
|
|
716
|
+
"function:get": {
|
|
677
717
|
"aliases": [],
|
|
678
|
-
"args": {
|
|
679
|
-
|
|
718
|
+
"args": {
|
|
719
|
+
"function_id": {
|
|
720
|
+
"description": "Function ID",
|
|
721
|
+
"name": "function_id",
|
|
722
|
+
"required": false
|
|
723
|
+
}
|
|
724
|
+
},
|
|
725
|
+
"description": "Get a specific function from a workspace",
|
|
680
726
|
"examples": [
|
|
681
|
-
"$ xano
|
|
682
|
-
"$ xano
|
|
727
|
+
"$ xano function:get 145 -w 40\nFunction: yo (ID: 145)\nCreated: 2025-10-10 10:30:00\nDescription: Sample function\n",
|
|
728
|
+
"$ xano function:get 145 --profile production\nFunction: yo (ID: 145)\nCreated: 2025-10-10 10:30:00\n",
|
|
729
|
+
"$ xano function:get\nSelect a function:\n ❯ yo (ID: 145) - Sample function\n another-func (ID: 146)\n",
|
|
730
|
+
"$ xano function:get 145 -w 40 --output json\n{\n \"id\": 145,\n \"name\": \"yo\",\n \"description\": \"Sample function\"\n}\n",
|
|
731
|
+
"$ xano function:get 145 -p staging -o json --include_draft\n{\n \"id\": 145,\n \"name\": \"yo\"\n}\n",
|
|
732
|
+
"$ xano function:get 145 -p staging -o xs\nfunction yo {\n input {\n }\n stack {\n }\n response = null\n}\n"
|
|
683
733
|
],
|
|
684
734
|
"flags": {
|
|
685
735
|
"profile": {
|
|
@@ -701,6 +751,20 @@
|
|
|
701
751
|
"allowNo": false,
|
|
702
752
|
"type": "boolean"
|
|
703
753
|
},
|
|
754
|
+
"include_draft": {
|
|
755
|
+
"description": "Include draft version",
|
|
756
|
+
"name": "include_draft",
|
|
757
|
+
"required": false,
|
|
758
|
+
"allowNo": false,
|
|
759
|
+
"type": "boolean"
|
|
760
|
+
},
|
|
761
|
+
"include_xanoscript": {
|
|
762
|
+
"description": "Include XanoScript in response",
|
|
763
|
+
"name": "include_xanoscript",
|
|
764
|
+
"required": false,
|
|
765
|
+
"allowNo": false,
|
|
766
|
+
"type": "boolean"
|
|
767
|
+
},
|
|
704
768
|
"output": {
|
|
705
769
|
"char": "o",
|
|
706
770
|
"description": "Output format",
|
|
@@ -711,14 +775,24 @@
|
|
|
711
775
|
"multiple": false,
|
|
712
776
|
"options": [
|
|
713
777
|
"summary",
|
|
714
|
-
"json"
|
|
778
|
+
"json",
|
|
779
|
+
"xs"
|
|
715
780
|
],
|
|
716
781
|
"type": "option"
|
|
717
|
-
}
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
782
|
+
},
|
|
783
|
+
"workspace": {
|
|
784
|
+
"char": "w",
|
|
785
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
786
|
+
"name": "workspace",
|
|
787
|
+
"required": false,
|
|
788
|
+
"hasDynamicHelp": false,
|
|
789
|
+
"multiple": false,
|
|
790
|
+
"type": "option"
|
|
791
|
+
}
|
|
792
|
+
},
|
|
793
|
+
"hasDynamicHelp": false,
|
|
794
|
+
"hiddenAliases": [],
|
|
795
|
+
"id": "function:get",
|
|
722
796
|
"pluginAlias": "@xano/cli",
|
|
723
797
|
"pluginName": "@xano/cli",
|
|
724
798
|
"pluginType": "core",
|
|
@@ -728,21 +802,24 @@
|
|
|
728
802
|
"relativePath": [
|
|
729
803
|
"dist",
|
|
730
804
|
"commands",
|
|
731
|
-
"
|
|
732
|
-
"
|
|
805
|
+
"function",
|
|
806
|
+
"get",
|
|
733
807
|
"index.js"
|
|
734
808
|
]
|
|
735
809
|
},
|
|
736
|
-
"
|
|
810
|
+
"platform:get": {
|
|
737
811
|
"aliases": [],
|
|
738
|
-
"args": {
|
|
739
|
-
|
|
812
|
+
"args": {
|
|
813
|
+
"platform_id": {
|
|
814
|
+
"description": "Platform ID to retrieve",
|
|
815
|
+
"name": "platform_id",
|
|
816
|
+
"required": true
|
|
817
|
+
}
|
|
818
|
+
},
|
|
819
|
+
"description": "Get details of a specific platform",
|
|
740
820
|
"examples": [
|
|
741
|
-
"$ xano
|
|
742
|
-
"$ xano
|
|
743
|
-
"$ xano function:create -w 40 -f function.xs --edit\n# Opens function.xs in $EDITOR, then creates function with edited content\nFunction created successfully!\nID: 123\nName: my_function\n",
|
|
744
|
-
"$ cat function.xs | xano function:create -w 40 --stdin\nFunction created successfully!\nID: 123\nName: my_function\n",
|
|
745
|
-
"$ xano function:create -w 40 -f function.xs -o json\n{\n \"id\": 123,\n \"name\": \"my_function\",\n ...\n}\n"
|
|
821
|
+
"$ xano platform get 23629\nPlatform ID: 23629\n Created: 2025-11-28\n Helm: 0.1.356\n Images:\n backend 0.0.2985\n frontend 0.1.3427\n database 0.1.6\n node 0.1.192\n deno 0.0.212\n redis 0.1.34\n realtime 0.1.149\n standalone 0.0.2456\n playwright 0.0.992\n static 0.0.10\n static-build 0.0.4\n backend-encoded 0.0.1396\n",
|
|
822
|
+
"$ xano platform get 23629 -o json"
|
|
746
823
|
],
|
|
747
824
|
"flags": {
|
|
748
825
|
"profile": {
|
|
@@ -764,29 +841,6 @@
|
|
|
764
841
|
"allowNo": false,
|
|
765
842
|
"type": "boolean"
|
|
766
843
|
},
|
|
767
|
-
"edit": {
|
|
768
|
-
"char": "e",
|
|
769
|
-
"dependsOn": [
|
|
770
|
-
"file"
|
|
771
|
-
],
|
|
772
|
-
"description": "Open file in editor before creating function (requires --file)",
|
|
773
|
-
"name": "edit",
|
|
774
|
-
"required": false,
|
|
775
|
-
"allowNo": false,
|
|
776
|
-
"type": "boolean"
|
|
777
|
-
},
|
|
778
|
-
"file": {
|
|
779
|
-
"char": "f",
|
|
780
|
-
"description": "Path to file containing XanoScript code",
|
|
781
|
-
"exclusive": [
|
|
782
|
-
"stdin"
|
|
783
|
-
],
|
|
784
|
-
"name": "file",
|
|
785
|
-
"required": false,
|
|
786
|
-
"hasDynamicHelp": false,
|
|
787
|
-
"multiple": false,
|
|
788
|
-
"type": "option"
|
|
789
|
-
},
|
|
790
844
|
"output": {
|
|
791
845
|
"char": "o",
|
|
792
846
|
"description": "Output format",
|
|
@@ -800,31 +854,11 @@
|
|
|
800
854
|
"json"
|
|
801
855
|
],
|
|
802
856
|
"type": "option"
|
|
803
|
-
},
|
|
804
|
-
"stdin": {
|
|
805
|
-
"char": "s",
|
|
806
|
-
"description": "Read XanoScript code from stdin",
|
|
807
|
-
"exclusive": [
|
|
808
|
-
"file"
|
|
809
|
-
],
|
|
810
|
-
"name": "stdin",
|
|
811
|
-
"required": false,
|
|
812
|
-
"allowNo": false,
|
|
813
|
-
"type": "boolean"
|
|
814
|
-
},
|
|
815
|
-
"workspace": {
|
|
816
|
-
"char": "w",
|
|
817
|
-
"description": "Workspace ID (optional if set in profile)",
|
|
818
|
-
"name": "workspace",
|
|
819
|
-
"required": false,
|
|
820
|
-
"hasDynamicHelp": false,
|
|
821
|
-
"multiple": false,
|
|
822
|
-
"type": "option"
|
|
823
857
|
}
|
|
824
858
|
},
|
|
825
859
|
"hasDynamicHelp": false,
|
|
826
860
|
"hiddenAliases": [],
|
|
827
|
-
"id": "
|
|
861
|
+
"id": "platform:get",
|
|
828
862
|
"pluginAlias": "@xano/cli",
|
|
829
863
|
"pluginName": "@xano/cli",
|
|
830
864
|
"pluginType": "core",
|
|
@@ -834,8 +868,8 @@
|
|
|
834
868
|
"relativePath": [
|
|
835
869
|
"dist",
|
|
836
870
|
"commands",
|
|
837
|
-
"
|
|
838
|
-
"
|
|
871
|
+
"platform",
|
|
872
|
+
"get",
|
|
839
873
|
"index.js"
|
|
840
874
|
]
|
|
841
875
|
},
|
|
@@ -958,23 +992,13 @@
|
|
|
958
992
|
"index.js"
|
|
959
993
|
]
|
|
960
994
|
},
|
|
961
|
-
"
|
|
995
|
+
"platform:list": {
|
|
962
996
|
"aliases": [],
|
|
963
|
-
"args": {
|
|
964
|
-
|
|
965
|
-
"description": "Function ID",
|
|
966
|
-
"name": "function_id",
|
|
967
|
-
"required": false
|
|
968
|
-
}
|
|
969
|
-
},
|
|
970
|
-
"description": "Get a specific function from a workspace",
|
|
997
|
+
"args": {},
|
|
998
|
+
"description": "List all platforms",
|
|
971
999
|
"examples": [
|
|
972
|
-
"$ xano
|
|
973
|
-
"$ xano
|
|
974
|
-
"$ xano function:get\nSelect a function:\n ❯ yo (ID: 145) - Sample function\n another-func (ID: 146)\n",
|
|
975
|
-
"$ xano function:get 145 -w 40 --output json\n{\n \"id\": 145,\n \"name\": \"yo\",\n \"description\": \"Sample function\"\n}\n",
|
|
976
|
-
"$ xano function:get 145 -p staging -o json --include_draft\n{\n \"id\": 145,\n \"name\": \"yo\"\n}\n",
|
|
977
|
-
"$ xano function:get 145 -p staging -o xs\nfunction yo {\n input {\n }\n stack {\n }\n response = null\n}\n"
|
|
1000
|
+
"$ xano platform list\nPlatforms:\n ID: 23629 | Helm: 0.1.356 | Created: 2025-11-28\n",
|
|
1001
|
+
"$ xano platform list --output json"
|
|
978
1002
|
],
|
|
979
1003
|
"flags": {
|
|
980
1004
|
"profile": {
|
|
@@ -996,20 +1020,6 @@
|
|
|
996
1020
|
"allowNo": false,
|
|
997
1021
|
"type": "boolean"
|
|
998
1022
|
},
|
|
999
|
-
"include_draft": {
|
|
1000
|
-
"description": "Include draft version",
|
|
1001
|
-
"name": "include_draft",
|
|
1002
|
-
"required": false,
|
|
1003
|
-
"allowNo": false,
|
|
1004
|
-
"type": "boolean"
|
|
1005
|
-
},
|
|
1006
|
-
"include_xanoscript": {
|
|
1007
|
-
"description": "Include XanoScript in response",
|
|
1008
|
-
"name": "include_xanoscript",
|
|
1009
|
-
"required": false,
|
|
1010
|
-
"allowNo": false,
|
|
1011
|
-
"type": "boolean"
|
|
1012
|
-
},
|
|
1013
1023
|
"output": {
|
|
1014
1024
|
"char": "o",
|
|
1015
1025
|
"description": "Output format",
|
|
@@ -1020,24 +1030,14 @@
|
|
|
1020
1030
|
"multiple": false,
|
|
1021
1031
|
"options": [
|
|
1022
1032
|
"summary",
|
|
1023
|
-
"json"
|
|
1024
|
-
"xs"
|
|
1033
|
+
"json"
|
|
1025
1034
|
],
|
|
1026
1035
|
"type": "option"
|
|
1027
|
-
},
|
|
1028
|
-
"workspace": {
|
|
1029
|
-
"char": "w",
|
|
1030
|
-
"description": "Workspace ID (optional if set in profile)",
|
|
1031
|
-
"name": "workspace",
|
|
1032
|
-
"required": false,
|
|
1033
|
-
"hasDynamicHelp": false,
|
|
1034
|
-
"multiple": false,
|
|
1035
|
-
"type": "option"
|
|
1036
1036
|
}
|
|
1037
1037
|
},
|
|
1038
1038
|
"hasDynamicHelp": false,
|
|
1039
1039
|
"hiddenAliases": [],
|
|
1040
|
-
"id": "
|
|
1040
|
+
"id": "platform:list",
|
|
1041
1041
|
"pluginAlias": "@xano/cli",
|
|
1042
1042
|
"pluginName": "@xano/cli",
|
|
1043
1043
|
"pluginType": "core",
|
|
@@ -1047,8 +1047,8 @@
|
|
|
1047
1047
|
"relativePath": [
|
|
1048
1048
|
"dist",
|
|
1049
1049
|
"commands",
|
|
1050
|
-
"
|
|
1051
|
-
"
|
|
1050
|
+
"platform",
|
|
1051
|
+
"list",
|
|
1052
1052
|
"index.js"
|
|
1053
1053
|
]
|
|
1054
1054
|
},
|
|
@@ -1139,15 +1139,64 @@
|
|
|
1139
1139
|
"index.js"
|
|
1140
1140
|
]
|
|
1141
1141
|
},
|
|
1142
|
-
"
|
|
1142
|
+
"profile:delete": {
|
|
1143
1143
|
"aliases": [],
|
|
1144
|
-
"args": {
|
|
1145
|
-
|
|
1144
|
+
"args": {
|
|
1145
|
+
"name": {
|
|
1146
|
+
"description": "Profile name to delete",
|
|
1147
|
+
"name": "name",
|
|
1148
|
+
"required": true
|
|
1149
|
+
}
|
|
1150
|
+
},
|
|
1151
|
+
"description": "Delete a profile configuration",
|
|
1146
1152
|
"examples": [
|
|
1147
|
-
"$ xano
|
|
1148
|
-
"$ xano
|
|
1149
|
-
"$ xano
|
|
1150
|
-
|
|
1153
|
+
"$ 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",
|
|
1154
|
+
"$ xano profile:delete old-profile --force\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n",
|
|
1155
|
+
"$ xano profile:delete old-profile -f\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n"
|
|
1156
|
+
],
|
|
1157
|
+
"flags": {
|
|
1158
|
+
"force": {
|
|
1159
|
+
"char": "f",
|
|
1160
|
+
"description": "Skip confirmation prompt",
|
|
1161
|
+
"name": "force",
|
|
1162
|
+
"required": false,
|
|
1163
|
+
"allowNo": false,
|
|
1164
|
+
"type": "boolean"
|
|
1165
|
+
}
|
|
1166
|
+
},
|
|
1167
|
+
"hasDynamicHelp": false,
|
|
1168
|
+
"hiddenAliases": [],
|
|
1169
|
+
"id": "profile:delete",
|
|
1170
|
+
"pluginAlias": "@xano/cli",
|
|
1171
|
+
"pluginName": "@xano/cli",
|
|
1172
|
+
"pluginType": "core",
|
|
1173
|
+
"strict": true,
|
|
1174
|
+
"enableJsonFlag": false,
|
|
1175
|
+
"isESM": true,
|
|
1176
|
+
"relativePath": [
|
|
1177
|
+
"dist",
|
|
1178
|
+
"commands",
|
|
1179
|
+
"profile",
|
|
1180
|
+
"delete",
|
|
1181
|
+
"index.js"
|
|
1182
|
+
]
|
|
1183
|
+
},
|
|
1184
|
+
"profile:edit": {
|
|
1185
|
+
"aliases": [],
|
|
1186
|
+
"args": {
|
|
1187
|
+
"name": {
|
|
1188
|
+
"description": "Profile name to edit (uses default profile if not specified)",
|
|
1189
|
+
"name": "name",
|
|
1190
|
+
"required": false
|
|
1191
|
+
}
|
|
1192
|
+
},
|
|
1193
|
+
"description": "Edit an existing profile configuration",
|
|
1194
|
+
"examples": [
|
|
1195
|
+
"$ xano profile:edit --access_token new_token123\nProfile 'default' updated successfully at ~/.xano/credentials.yaml\n",
|
|
1196
|
+
"$ xano profile:edit production --access_token new_token123\nProfile 'production' updated successfully at ~/.xano/credentials.yaml\n",
|
|
1197
|
+
"$ xano profile:edit staging -i https://new-staging-instance.xano.com -t new_token456\nProfile 'staging' updated successfully at ~/.xano/credentials.yaml\n",
|
|
1198
|
+
"$ xano profile:edit -b new-branch\nProfile 'default' updated successfully at ~/.xano/credentials.yaml\n",
|
|
1199
|
+
"$ xano profile:edit --remove-branch\nProfile 'default' updated successfully at ~/.xano/credentials.yaml\n"
|
|
1151
1200
|
],
|
|
1152
1201
|
"flags": {
|
|
1153
1202
|
"profile": {
|
|
@@ -1169,77 +1218,59 @@
|
|
|
1169
1218
|
"allowNo": false,
|
|
1170
1219
|
"type": "boolean"
|
|
1171
1220
|
},
|
|
1172
|
-
"
|
|
1173
|
-
"
|
|
1174
|
-
"
|
|
1175
|
-
"
|
|
1176
|
-
"allowNo": false,
|
|
1177
|
-
"type": "boolean"
|
|
1178
|
-
},
|
|
1179
|
-
"include_xanoscript": {
|
|
1180
|
-
"description": "Include XanoScript in response",
|
|
1181
|
-
"name": "include_xanoscript",
|
|
1182
|
-
"required": false,
|
|
1183
|
-
"allowNo": false,
|
|
1184
|
-
"type": "boolean"
|
|
1185
|
-
},
|
|
1186
|
-
"order": {
|
|
1187
|
-
"description": "Sort order",
|
|
1188
|
-
"name": "order",
|
|
1221
|
+
"access_token": {
|
|
1222
|
+
"char": "t",
|
|
1223
|
+
"description": "Update access token for the Xano Metadata API",
|
|
1224
|
+
"name": "access_token",
|
|
1189
1225
|
"required": false,
|
|
1190
|
-
"default": "desc",
|
|
1191
1226
|
"hasDynamicHelp": false,
|
|
1192
1227
|
"multiple": false,
|
|
1193
|
-
"options": [
|
|
1194
|
-
"asc",
|
|
1195
|
-
"desc"
|
|
1196
|
-
],
|
|
1197
1228
|
"type": "option"
|
|
1198
1229
|
},
|
|
1199
|
-
"
|
|
1200
|
-
"char": "
|
|
1201
|
-
"description": "
|
|
1202
|
-
"name": "
|
|
1230
|
+
"account_origin": {
|
|
1231
|
+
"char": "a",
|
|
1232
|
+
"description": "Update account origin URL",
|
|
1233
|
+
"name": "account_origin",
|
|
1203
1234
|
"required": false,
|
|
1204
|
-
"default": "summary",
|
|
1205
1235
|
"hasDynamicHelp": false,
|
|
1206
1236
|
"multiple": false,
|
|
1207
|
-
"options": [
|
|
1208
|
-
"summary",
|
|
1209
|
-
"json"
|
|
1210
|
-
],
|
|
1211
1237
|
"type": "option"
|
|
1212
1238
|
},
|
|
1213
|
-
"
|
|
1214
|
-
"
|
|
1215
|
-
"
|
|
1239
|
+
"branch": {
|
|
1240
|
+
"char": "b",
|
|
1241
|
+
"description": "Update branch name",
|
|
1242
|
+
"name": "branch",
|
|
1216
1243
|
"required": false,
|
|
1217
|
-
"default": 1,
|
|
1218
1244
|
"hasDynamicHelp": false,
|
|
1219
1245
|
"multiple": false,
|
|
1220
1246
|
"type": "option"
|
|
1221
1247
|
},
|
|
1222
|
-
"
|
|
1223
|
-
"
|
|
1224
|
-
"
|
|
1248
|
+
"instance_origin": {
|
|
1249
|
+
"char": "i",
|
|
1250
|
+
"description": "Update instance origin URL",
|
|
1251
|
+
"name": "instance_origin",
|
|
1225
1252
|
"required": false,
|
|
1226
|
-
"default": 50,
|
|
1227
1253
|
"hasDynamicHelp": false,
|
|
1228
1254
|
"multiple": false,
|
|
1229
1255
|
"type": "option"
|
|
1230
1256
|
},
|
|
1231
|
-
"
|
|
1232
|
-
"description": "
|
|
1233
|
-
"name": "
|
|
1257
|
+
"remove-branch": {
|
|
1258
|
+
"description": "Remove branch from profile",
|
|
1259
|
+
"name": "remove-branch",
|
|
1234
1260
|
"required": false,
|
|
1235
|
-
"
|
|
1236
|
-
"
|
|
1237
|
-
|
|
1238
|
-
|
|
1261
|
+
"allowNo": false,
|
|
1262
|
+
"type": "boolean"
|
|
1263
|
+
},
|
|
1264
|
+
"remove-workspace": {
|
|
1265
|
+
"description": "Remove workspace from profile",
|
|
1266
|
+
"name": "remove-workspace",
|
|
1267
|
+
"required": false,
|
|
1268
|
+
"allowNo": false,
|
|
1269
|
+
"type": "boolean"
|
|
1239
1270
|
},
|
|
1240
1271
|
"workspace": {
|
|
1241
1272
|
"char": "w",
|
|
1242
|
-
"description": "
|
|
1273
|
+
"description": "Update workspace name",
|
|
1243
1274
|
"name": "workspace",
|
|
1244
1275
|
"required": false,
|
|
1245
1276
|
"hasDynamicHelp": false,
|
|
@@ -1249,7 +1280,7 @@
|
|
|
1249
1280
|
},
|
|
1250
1281
|
"hasDynamicHelp": false,
|
|
1251
1282
|
"hiddenAliases": [],
|
|
1252
|
-
"id": "
|
|
1283
|
+
"id": "profile:edit",
|
|
1253
1284
|
"pluginAlias": "@xano/cli",
|
|
1254
1285
|
"pluginName": "@xano/cli",
|
|
1255
1286
|
"pluginType": "core",
|
|
@@ -1259,31 +1290,25 @@
|
|
|
1259
1290
|
"relativePath": [
|
|
1260
1291
|
"dist",
|
|
1261
1292
|
"commands",
|
|
1262
|
-
"
|
|
1263
|
-
"
|
|
1293
|
+
"profile",
|
|
1294
|
+
"edit",
|
|
1264
1295
|
"index.js"
|
|
1265
1296
|
]
|
|
1266
1297
|
},
|
|
1267
|
-
"profile:
|
|
1298
|
+
"profile:list": {
|
|
1268
1299
|
"aliases": [],
|
|
1269
|
-
"args": {
|
|
1270
|
-
|
|
1271
|
-
"description": "Profile name to delete",
|
|
1272
|
-
"name": "name",
|
|
1273
|
-
"required": true
|
|
1274
|
-
}
|
|
1275
|
-
},
|
|
1276
|
-
"description": "Delete a profile configuration",
|
|
1300
|
+
"args": {},
|
|
1301
|
+
"description": "List all available profile configurations",
|
|
1277
1302
|
"examples": [
|
|
1278
|
-
"$ xano profile:
|
|
1279
|
-
"$ xano profile:
|
|
1280
|
-
"$ xano profile:
|
|
1303
|
+
"$ xano profile:list\nAvailable profiles:\n - default\n - production\n - staging\n - development\n",
|
|
1304
|
+
"$ 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",
|
|
1305
|
+
"$ 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"
|
|
1281
1306
|
],
|
|
1282
1307
|
"flags": {
|
|
1283
|
-
"
|
|
1284
|
-
"char": "
|
|
1285
|
-
"description": "
|
|
1286
|
-
"name": "
|
|
1308
|
+
"details": {
|
|
1309
|
+
"char": "d",
|
|
1310
|
+
"description": "Show detailed information for each profile",
|
|
1311
|
+
"name": "details",
|
|
1287
1312
|
"required": false,
|
|
1288
1313
|
"allowNo": false,
|
|
1289
1314
|
"type": "boolean"
|
|
@@ -1291,7 +1316,7 @@
|
|
|
1291
1316
|
},
|
|
1292
1317
|
"hasDynamicHelp": false,
|
|
1293
1318
|
"hiddenAliases": [],
|
|
1294
|
-
"id": "profile:
|
|
1319
|
+
"id": "profile:list",
|
|
1295
1320
|
"pluginAlias": "@xano/cli",
|
|
1296
1321
|
"pluginName": "@xano/cli",
|
|
1297
1322
|
"pluginType": "core",
|
|
@@ -1302,26 +1327,18 @@
|
|
|
1302
1327
|
"dist",
|
|
1303
1328
|
"commands",
|
|
1304
1329
|
"profile",
|
|
1305
|
-
"
|
|
1330
|
+
"list",
|
|
1306
1331
|
"index.js"
|
|
1307
1332
|
]
|
|
1308
1333
|
},
|
|
1309
|
-
"profile:
|
|
1334
|
+
"profile:me": {
|
|
1310
1335
|
"aliases": [],
|
|
1311
|
-
"args": {
|
|
1312
|
-
|
|
1313
|
-
"description": "Profile name to edit (uses default profile if not specified)",
|
|
1314
|
-
"name": "name",
|
|
1315
|
-
"required": false
|
|
1316
|
-
}
|
|
1317
|
-
},
|
|
1318
|
-
"description": "Edit an existing profile configuration",
|
|
1336
|
+
"args": {},
|
|
1337
|
+
"description": "Get information about the currently authenticated user",
|
|
1319
1338
|
"examples": [
|
|
1320
|
-
"$ xano profile:
|
|
1321
|
-
"$ xano profile:
|
|
1322
|
-
"$ xano profile:
|
|
1323
|
-
"$ xano profile:edit -b new-branch\nProfile 'default' updated successfully at ~/.xano/credentials.yaml\n",
|
|
1324
|
-
"$ xano profile:edit --remove-branch\nProfile 'default' updated successfully at ~/.xano/credentials.yaml\n"
|
|
1339
|
+
"$ xano profile:me\nUser Information:\n ID: 1\n Name: John Doe\n Email: john@example.com\n",
|
|
1340
|
+
"$ xano profile:me --profile production\nUser Information:\n ID: 42\n Name: Admin User\n Email: admin@example.com\n",
|
|
1341
|
+
"$ xano profile:me --output json\n{\n \"id\": 1,\n \"name\": \"John Doe\",\n \"email\": \"john@example.com\"\n}\n"
|
|
1325
1342
|
],
|
|
1326
1343
|
"flags": {
|
|
1327
1344
|
"profile": {
|
|
@@ -1343,130 +1360,24 @@
|
|
|
1343
1360
|
"allowNo": false,
|
|
1344
1361
|
"type": "boolean"
|
|
1345
1362
|
},
|
|
1346
|
-
"
|
|
1347
|
-
"char": "
|
|
1348
|
-
"description": "
|
|
1349
|
-
"name": "
|
|
1350
|
-
"required": false,
|
|
1351
|
-
"hasDynamicHelp": false,
|
|
1352
|
-
"multiple": false,
|
|
1353
|
-
"type": "option"
|
|
1354
|
-
},
|
|
1355
|
-
"account_origin": {
|
|
1356
|
-
"char": "a",
|
|
1357
|
-
"description": "Update account origin URL",
|
|
1358
|
-
"name": "account_origin",
|
|
1359
|
-
"required": false,
|
|
1360
|
-
"hasDynamicHelp": false,
|
|
1361
|
-
"multiple": false,
|
|
1362
|
-
"type": "option"
|
|
1363
|
-
},
|
|
1364
|
-
"branch": {
|
|
1365
|
-
"char": "b",
|
|
1366
|
-
"description": "Update branch name",
|
|
1367
|
-
"name": "branch",
|
|
1368
|
-
"required": false,
|
|
1369
|
-
"hasDynamicHelp": false,
|
|
1370
|
-
"multiple": false,
|
|
1371
|
-
"type": "option"
|
|
1372
|
-
},
|
|
1373
|
-
"instance_origin": {
|
|
1374
|
-
"char": "i",
|
|
1375
|
-
"description": "Update instance origin URL",
|
|
1376
|
-
"name": "instance_origin",
|
|
1377
|
-
"required": false,
|
|
1378
|
-
"hasDynamicHelp": false,
|
|
1379
|
-
"multiple": false,
|
|
1380
|
-
"type": "option"
|
|
1381
|
-
},
|
|
1382
|
-
"remove-branch": {
|
|
1383
|
-
"description": "Remove branch from profile",
|
|
1384
|
-
"name": "remove-branch",
|
|
1385
|
-
"required": false,
|
|
1386
|
-
"allowNo": false,
|
|
1387
|
-
"type": "boolean"
|
|
1388
|
-
},
|
|
1389
|
-
"remove-workspace": {
|
|
1390
|
-
"description": "Remove workspace from profile",
|
|
1391
|
-
"name": "remove-workspace",
|
|
1392
|
-
"required": false,
|
|
1393
|
-
"allowNo": false,
|
|
1394
|
-
"type": "boolean"
|
|
1395
|
-
},
|
|
1396
|
-
"workspace": {
|
|
1397
|
-
"char": "w",
|
|
1398
|
-
"description": "Update workspace name",
|
|
1399
|
-
"name": "workspace",
|
|
1363
|
+
"output": {
|
|
1364
|
+
"char": "o",
|
|
1365
|
+
"description": "Output format",
|
|
1366
|
+
"name": "output",
|
|
1400
1367
|
"required": false,
|
|
1368
|
+
"default": "summary",
|
|
1401
1369
|
"hasDynamicHelp": false,
|
|
1402
1370
|
"multiple": false,
|
|
1371
|
+
"options": [
|
|
1372
|
+
"summary",
|
|
1373
|
+
"json"
|
|
1374
|
+
],
|
|
1403
1375
|
"type": "option"
|
|
1404
1376
|
}
|
|
1405
1377
|
},
|
|
1406
1378
|
"hasDynamicHelp": false,
|
|
1407
1379
|
"hiddenAliases": [],
|
|
1408
|
-
"id": "profile:
|
|
1409
|
-
"pluginAlias": "@xano/cli",
|
|
1410
|
-
"pluginName": "@xano/cli",
|
|
1411
|
-
"pluginType": "core",
|
|
1412
|
-
"strict": true,
|
|
1413
|
-
"enableJsonFlag": false,
|
|
1414
|
-
"isESM": true,
|
|
1415
|
-
"relativePath": [
|
|
1416
|
-
"dist",
|
|
1417
|
-
"commands",
|
|
1418
|
-
"profile",
|
|
1419
|
-
"edit",
|
|
1420
|
-
"index.js"
|
|
1421
|
-
]
|
|
1422
|
-
},
|
|
1423
|
-
"profile:get": {
|
|
1424
|
-
"aliases": [],
|
|
1425
|
-
"args": {},
|
|
1426
|
-
"description": "Get the current default profile name",
|
|
1427
|
-
"examples": [
|
|
1428
|
-
"$ xano profile get\nproduction\n"
|
|
1429
|
-
],
|
|
1430
|
-
"flags": {},
|
|
1431
|
-
"hasDynamicHelp": false,
|
|
1432
|
-
"hiddenAliases": [],
|
|
1433
|
-
"id": "profile:get",
|
|
1434
|
-
"pluginAlias": "@xano/cli",
|
|
1435
|
-
"pluginName": "@xano/cli",
|
|
1436
|
-
"pluginType": "core",
|
|
1437
|
-
"strict": true,
|
|
1438
|
-
"enableJsonFlag": false,
|
|
1439
|
-
"isESM": true,
|
|
1440
|
-
"relativePath": [
|
|
1441
|
-
"dist",
|
|
1442
|
-
"commands",
|
|
1443
|
-
"profile",
|
|
1444
|
-
"get",
|
|
1445
|
-
"index.js"
|
|
1446
|
-
]
|
|
1447
|
-
},
|
|
1448
|
-
"profile:list": {
|
|
1449
|
-
"aliases": [],
|
|
1450
|
-
"args": {},
|
|
1451
|
-
"description": "List all available profile configurations",
|
|
1452
|
-
"examples": [
|
|
1453
|
-
"$ xano profile:list\nAvailable profiles:\n - default\n - production\n - staging\n - development\n",
|
|
1454
|
-
"$ 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",
|
|
1455
|
-
"$ 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"
|
|
1456
|
-
],
|
|
1457
|
-
"flags": {
|
|
1458
|
-
"details": {
|
|
1459
|
-
"char": "d",
|
|
1460
|
-
"description": "Show detailed information for each profile",
|
|
1461
|
-
"name": "details",
|
|
1462
|
-
"required": false,
|
|
1463
|
-
"allowNo": false,
|
|
1464
|
-
"type": "boolean"
|
|
1465
|
-
}
|
|
1466
|
-
},
|
|
1467
|
-
"hasDynamicHelp": false,
|
|
1468
|
-
"hiddenAliases": [],
|
|
1469
|
-
"id": "profile:list",
|
|
1380
|
+
"id": "profile:me",
|
|
1470
1381
|
"pluginAlias": "@xano/cli",
|
|
1471
1382
|
"pluginName": "@xano/cli",
|
|
1472
1383
|
"pluginType": "core",
|
|
@@ -1477,18 +1388,19 @@
|
|
|
1477
1388
|
"dist",
|
|
1478
1389
|
"commands",
|
|
1479
1390
|
"profile",
|
|
1480
|
-
"
|
|
1391
|
+
"me",
|
|
1481
1392
|
"index.js"
|
|
1482
1393
|
]
|
|
1483
1394
|
},
|
|
1484
|
-
"
|
|
1395
|
+
"function:list": {
|
|
1485
1396
|
"aliases": [],
|
|
1486
1397
|
"args": {},
|
|
1487
|
-
"description": "
|
|
1398
|
+
"description": "List all functions in a workspace from the Xano Metadata API",
|
|
1488
1399
|
"examples": [
|
|
1489
|
-
"$ xano
|
|
1490
|
-
"$ xano
|
|
1491
|
-
"$ xano
|
|
1400
|
+
"$ xano function:list -w 40\nAvailable functions:\n - function-1 (ID: 1)\n - function-2 (ID: 2)\n - function-3 (ID: 3)\n",
|
|
1401
|
+
"$ xano function:list --profile production\nAvailable functions:\n - my-function (ID: 1)\n - another-function (ID: 2)\n",
|
|
1402
|
+
"$ xano function:list -w 40 --output json\n[\n {\n \"id\": 1,\n \"name\": \"function-1\"\n }\n]\n",
|
|
1403
|
+
"$ xano function:list -p staging -o json --include_draft\n[\n {\n \"id\": 1,\n \"name\": \"function-1\"\n }\n]\n"
|
|
1492
1404
|
],
|
|
1493
1405
|
"flags": {
|
|
1494
1406
|
"profile": {
|
|
@@ -1510,6 +1422,33 @@
|
|
|
1510
1422
|
"allowNo": false,
|
|
1511
1423
|
"type": "boolean"
|
|
1512
1424
|
},
|
|
1425
|
+
"include_draft": {
|
|
1426
|
+
"description": "Include draft functions",
|
|
1427
|
+
"name": "include_draft",
|
|
1428
|
+
"required": false,
|
|
1429
|
+
"allowNo": false,
|
|
1430
|
+
"type": "boolean"
|
|
1431
|
+
},
|
|
1432
|
+
"include_xanoscript": {
|
|
1433
|
+
"description": "Include XanoScript in response",
|
|
1434
|
+
"name": "include_xanoscript",
|
|
1435
|
+
"required": false,
|
|
1436
|
+
"allowNo": false,
|
|
1437
|
+
"type": "boolean"
|
|
1438
|
+
},
|
|
1439
|
+
"order": {
|
|
1440
|
+
"description": "Sort order",
|
|
1441
|
+
"name": "order",
|
|
1442
|
+
"required": false,
|
|
1443
|
+
"default": "desc",
|
|
1444
|
+
"hasDynamicHelp": false,
|
|
1445
|
+
"multiple": false,
|
|
1446
|
+
"options": [
|
|
1447
|
+
"asc",
|
|
1448
|
+
"desc"
|
|
1449
|
+
],
|
|
1450
|
+
"type": "option"
|
|
1451
|
+
},
|
|
1513
1452
|
"output": {
|
|
1514
1453
|
"char": "o",
|
|
1515
1454
|
"description": "Output format",
|
|
@@ -1523,11 +1462,47 @@
|
|
|
1523
1462
|
"json"
|
|
1524
1463
|
],
|
|
1525
1464
|
"type": "option"
|
|
1465
|
+
},
|
|
1466
|
+
"page": {
|
|
1467
|
+
"description": "Page number for pagination",
|
|
1468
|
+
"name": "page",
|
|
1469
|
+
"required": false,
|
|
1470
|
+
"default": 1,
|
|
1471
|
+
"hasDynamicHelp": false,
|
|
1472
|
+
"multiple": false,
|
|
1473
|
+
"type": "option"
|
|
1474
|
+
},
|
|
1475
|
+
"per_page": {
|
|
1476
|
+
"description": "Number of results per page",
|
|
1477
|
+
"name": "per_page",
|
|
1478
|
+
"required": false,
|
|
1479
|
+
"default": 50,
|
|
1480
|
+
"hasDynamicHelp": false,
|
|
1481
|
+
"multiple": false,
|
|
1482
|
+
"type": "option"
|
|
1483
|
+
},
|
|
1484
|
+
"sort": {
|
|
1485
|
+
"description": "Sort field",
|
|
1486
|
+
"name": "sort",
|
|
1487
|
+
"required": false,
|
|
1488
|
+
"default": "created_at",
|
|
1489
|
+
"hasDynamicHelp": false,
|
|
1490
|
+
"multiple": false,
|
|
1491
|
+
"type": "option"
|
|
1492
|
+
},
|
|
1493
|
+
"workspace": {
|
|
1494
|
+
"char": "w",
|
|
1495
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
1496
|
+
"name": "workspace",
|
|
1497
|
+
"required": false,
|
|
1498
|
+
"hasDynamicHelp": false,
|
|
1499
|
+
"multiple": false,
|
|
1500
|
+
"type": "option"
|
|
1526
1501
|
}
|
|
1527
1502
|
},
|
|
1528
1503
|
"hasDynamicHelp": false,
|
|
1529
1504
|
"hiddenAliases": [],
|
|
1530
|
-
"id": "
|
|
1505
|
+
"id": "function:list",
|
|
1531
1506
|
"pluginAlias": "@xano/cli",
|
|
1532
1507
|
"pluginName": "@xano/cli",
|
|
1533
1508
|
"pluginType": "core",
|
|
@@ -1537,28 +1512,22 @@
|
|
|
1537
1512
|
"relativePath": [
|
|
1538
1513
|
"dist",
|
|
1539
1514
|
"commands",
|
|
1540
|
-
"
|
|
1541
|
-
"
|
|
1515
|
+
"function",
|
|
1516
|
+
"list",
|
|
1542
1517
|
"index.js"
|
|
1543
1518
|
]
|
|
1544
1519
|
},
|
|
1545
|
-
"profile:
|
|
1520
|
+
"profile:get": {
|
|
1546
1521
|
"aliases": [],
|
|
1547
|
-
"args": {
|
|
1548
|
-
|
|
1549
|
-
"description": "Profile name to set as default",
|
|
1550
|
-
"name": "name",
|
|
1551
|
-
"required": true
|
|
1552
|
-
}
|
|
1553
|
-
},
|
|
1554
|
-
"description": "Set the default profile",
|
|
1522
|
+
"args": {},
|
|
1523
|
+
"description": "Get the current default profile name",
|
|
1555
1524
|
"examples": [
|
|
1556
|
-
"$ xano profile
|
|
1525
|
+
"$ xano profile get\nproduction\n"
|
|
1557
1526
|
],
|
|
1558
1527
|
"flags": {},
|
|
1559
1528
|
"hasDynamicHelp": false,
|
|
1560
1529
|
"hiddenAliases": [],
|
|
1561
|
-
"id": "profile:
|
|
1530
|
+
"id": "profile:get",
|
|
1562
1531
|
"pluginAlias": "@xano/cli",
|
|
1563
1532
|
"pluginName": "@xano/cli",
|
|
1564
1533
|
"pluginType": "core",
|
|
@@ -1569,7 +1538,7 @@
|
|
|
1569
1538
|
"dist",
|
|
1570
1539
|
"commands",
|
|
1571
1540
|
"profile",
|
|
1572
|
-
"
|
|
1541
|
+
"get",
|
|
1573
1542
|
"index.js"
|
|
1574
1543
|
]
|
|
1575
1544
|
},
|
|
@@ -1599,18 +1568,23 @@
|
|
|
1599
1568
|
"index.js"
|
|
1600
1569
|
]
|
|
1601
1570
|
},
|
|
1602
|
-
"profile:
|
|
1571
|
+
"profile:set": {
|
|
1603
1572
|
"aliases": [],
|
|
1604
|
-
"args": {
|
|
1605
|
-
|
|
1573
|
+
"args": {
|
|
1574
|
+
"name": {
|
|
1575
|
+
"description": "Profile name to set as default",
|
|
1576
|
+
"name": "name",
|
|
1577
|
+
"required": true
|
|
1578
|
+
}
|
|
1579
|
+
},
|
|
1580
|
+
"description": "Set the default profile",
|
|
1606
1581
|
"examples": [
|
|
1607
|
-
"$ xano profile
|
|
1608
|
-
"$ xano profile:workspace | pbcopy\n# Copies the workspace ID to clipboard on macOS\n"
|
|
1582
|
+
"$ xano profile set production\nDefault profile set to 'production'\n"
|
|
1609
1583
|
],
|
|
1610
1584
|
"flags": {},
|
|
1611
1585
|
"hasDynamicHelp": false,
|
|
1612
1586
|
"hiddenAliases": [],
|
|
1613
|
-
"id": "profile:
|
|
1587
|
+
"id": "profile:set",
|
|
1614
1588
|
"pluginAlias": "@xano/cli",
|
|
1615
1589
|
"pluginName": "@xano/cli",
|
|
1616
1590
|
"pluginType": "core",
|
|
@@ -1621,7 +1595,7 @@
|
|
|
1621
1595
|
"dist",
|
|
1622
1596
|
"commands",
|
|
1623
1597
|
"profile",
|
|
1624
|
-
"
|
|
1598
|
+
"set",
|
|
1625
1599
|
"index.js"
|
|
1626
1600
|
]
|
|
1627
1601
|
},
|
|
@@ -1670,85 +1644,18 @@
|
|
|
1670
1644
|
"index.js"
|
|
1671
1645
|
]
|
|
1672
1646
|
},
|
|
1673
|
-
"
|
|
1647
|
+
"profile:workspace": {
|
|
1674
1648
|
"aliases": [],
|
|
1675
|
-
"args": {
|
|
1676
|
-
|
|
1677
|
-
"description": "Release name to edit",
|
|
1678
|
-
"name": "release_name",
|
|
1679
|
-
"required": true
|
|
1680
|
-
}
|
|
1681
|
-
},
|
|
1682
|
-
"description": "Edit an existing release",
|
|
1649
|
+
"args": {},
|
|
1650
|
+
"description": "Print the workspace ID for the default profile",
|
|
1683
1651
|
"examples": [
|
|
1684
|
-
"$ xano
|
|
1685
|
-
"$ xano
|
|
1652
|
+
"$ xano profile:workspace\nabc123-workspace-id\n",
|
|
1653
|
+
"$ xano profile:workspace | pbcopy\n# Copies the workspace ID to clipboard on macOS\n"
|
|
1686
1654
|
],
|
|
1687
|
-
"flags": {
|
|
1688
|
-
"profile": {
|
|
1689
|
-
"char": "p",
|
|
1690
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
1691
|
-
"env": "XANO_PROFILE",
|
|
1692
|
-
"name": "profile",
|
|
1693
|
-
"required": false,
|
|
1694
|
-
"hasDynamicHelp": false,
|
|
1695
|
-
"multiple": false,
|
|
1696
|
-
"type": "option"
|
|
1697
|
-
},
|
|
1698
|
-
"verbose": {
|
|
1699
|
-
"char": "v",
|
|
1700
|
-
"description": "Show detailed request/response information",
|
|
1701
|
-
"env": "XANO_VERBOSE",
|
|
1702
|
-
"name": "verbose",
|
|
1703
|
-
"required": false,
|
|
1704
|
-
"allowNo": false,
|
|
1705
|
-
"type": "boolean"
|
|
1706
|
-
},
|
|
1707
|
-
"description": {
|
|
1708
|
-
"char": "d",
|
|
1709
|
-
"description": "New description",
|
|
1710
|
-
"name": "description",
|
|
1711
|
-
"required": false,
|
|
1712
|
-
"hasDynamicHelp": false,
|
|
1713
|
-
"multiple": false,
|
|
1714
|
-
"type": "option"
|
|
1715
|
-
},
|
|
1716
|
-
"name": {
|
|
1717
|
-
"char": "n",
|
|
1718
|
-
"description": "New name for the release",
|
|
1719
|
-
"name": "name",
|
|
1720
|
-
"required": false,
|
|
1721
|
-
"hasDynamicHelp": false,
|
|
1722
|
-
"multiple": false,
|
|
1723
|
-
"type": "option"
|
|
1724
|
-
},
|
|
1725
|
-
"output": {
|
|
1726
|
-
"char": "o",
|
|
1727
|
-
"description": "Output format",
|
|
1728
|
-
"name": "output",
|
|
1729
|
-
"required": false,
|
|
1730
|
-
"default": "summary",
|
|
1731
|
-
"hasDynamicHelp": false,
|
|
1732
|
-
"multiple": false,
|
|
1733
|
-
"options": [
|
|
1734
|
-
"summary",
|
|
1735
|
-
"json"
|
|
1736
|
-
],
|
|
1737
|
-
"type": "option"
|
|
1738
|
-
},
|
|
1739
|
-
"workspace": {
|
|
1740
|
-
"char": "w",
|
|
1741
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
1742
|
-
"name": "workspace",
|
|
1743
|
-
"required": false,
|
|
1744
|
-
"hasDynamicHelp": false,
|
|
1745
|
-
"multiple": false,
|
|
1746
|
-
"type": "option"
|
|
1747
|
-
}
|
|
1748
|
-
},
|
|
1655
|
+
"flags": {},
|
|
1749
1656
|
"hasDynamicHelp": false,
|
|
1750
1657
|
"hiddenAliases": [],
|
|
1751
|
-
"id": "
|
|
1658
|
+
"id": "profile:workspace",
|
|
1752
1659
|
"pluginAlias": "@xano/cli",
|
|
1753
1660
|
"pluginName": "@xano/cli",
|
|
1754
1661
|
"pluginType": "core",
|
|
@@ -1758,8 +1665,8 @@
|
|
|
1758
1665
|
"relativePath": [
|
|
1759
1666
|
"dist",
|
|
1760
1667
|
"commands",
|
|
1761
|
-
"
|
|
1762
|
-
"
|
|
1668
|
+
"profile",
|
|
1669
|
+
"workspace",
|
|
1763
1670
|
"index.js"
|
|
1764
1671
|
]
|
|
1765
1672
|
},
|
|
@@ -1874,20 +1781,20 @@
|
|
|
1874
1781
|
"index.js"
|
|
1875
1782
|
]
|
|
1876
1783
|
},
|
|
1877
|
-
"release:
|
|
1784
|
+
"release:delete": {
|
|
1878
1785
|
"aliases": [],
|
|
1879
1786
|
"args": {
|
|
1880
1787
|
"release_name": {
|
|
1881
|
-
"description": "Release name to
|
|
1788
|
+
"description": "Release name to delete",
|
|
1882
1789
|
"name": "release_name",
|
|
1883
1790
|
"required": true
|
|
1884
1791
|
}
|
|
1885
1792
|
},
|
|
1886
|
-
"description": "
|
|
1793
|
+
"description": "Delete a release permanently. This action cannot be undone.",
|
|
1887
1794
|
"examples": [
|
|
1888
|
-
"$ xano release
|
|
1889
|
-
"$ xano release
|
|
1890
|
-
"$ xano release
|
|
1795
|
+
"$ xano release delete v1.0\nAre you sure you want to delete release 'v1.0'? This action cannot be undone. (y/N) y\nDeleted release 'v1.0'\n",
|
|
1796
|
+
"$ xano release delete v1.0 --force\nDeleted release 'v1.0'\n",
|
|
1797
|
+
"$ xano release delete v1.0 -f -o json"
|
|
1891
1798
|
],
|
|
1892
1799
|
"flags": {
|
|
1893
1800
|
"profile": {
|
|
@@ -1909,10 +1816,18 @@
|
|
|
1909
1816
|
"allowNo": false,
|
|
1910
1817
|
"type": "boolean"
|
|
1911
1818
|
},
|
|
1912
|
-
"
|
|
1819
|
+
"force": {
|
|
1820
|
+
"char": "f",
|
|
1821
|
+
"description": "Skip confirmation prompt",
|
|
1822
|
+
"name": "force",
|
|
1823
|
+
"required": false,
|
|
1824
|
+
"allowNo": false,
|
|
1825
|
+
"type": "boolean"
|
|
1826
|
+
},
|
|
1827
|
+
"output": {
|
|
1913
1828
|
"char": "o",
|
|
1914
1829
|
"description": "Output format",
|
|
1915
|
-
"name": "
|
|
1830
|
+
"name": "output",
|
|
1916
1831
|
"required": false,
|
|
1917
1832
|
"default": "summary",
|
|
1918
1833
|
"hasDynamicHelp": false,
|
|
@@ -1923,14 +1838,6 @@
|
|
|
1923
1838
|
],
|
|
1924
1839
|
"type": "option"
|
|
1925
1840
|
},
|
|
1926
|
-
"output": {
|
|
1927
|
-
"description": "Output file path (defaults to ./release-{name}.tar.gz)",
|
|
1928
|
-
"name": "output",
|
|
1929
|
-
"required": false,
|
|
1930
|
-
"hasDynamicHelp": false,
|
|
1931
|
-
"multiple": false,
|
|
1932
|
-
"type": "option"
|
|
1933
|
-
},
|
|
1934
1841
|
"workspace": {
|
|
1935
1842
|
"char": "w",
|
|
1936
1843
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -1943,7 +1850,7 @@
|
|
|
1943
1850
|
},
|
|
1944
1851
|
"hasDynamicHelp": false,
|
|
1945
1852
|
"hiddenAliases": [],
|
|
1946
|
-
"id": "release:
|
|
1853
|
+
"id": "release:delete",
|
|
1947
1854
|
"pluginAlias": "@xano/cli",
|
|
1948
1855
|
"pluginName": "@xano/cli",
|
|
1949
1856
|
"pluginType": "core",
|
|
@@ -1954,23 +1861,23 @@
|
|
|
1954
1861
|
"dist",
|
|
1955
1862
|
"commands",
|
|
1956
1863
|
"release",
|
|
1957
|
-
"
|
|
1864
|
+
"delete",
|
|
1958
1865
|
"index.js"
|
|
1959
1866
|
]
|
|
1960
1867
|
},
|
|
1961
|
-
"release:
|
|
1868
|
+
"release:edit": {
|
|
1962
1869
|
"aliases": [],
|
|
1963
1870
|
"args": {
|
|
1964
1871
|
"release_name": {
|
|
1965
|
-
"description": "Release name to
|
|
1872
|
+
"description": "Release name to edit",
|
|
1966
1873
|
"name": "release_name",
|
|
1967
1874
|
"required": true
|
|
1968
1875
|
}
|
|
1969
1876
|
},
|
|
1970
|
-
"description": "
|
|
1877
|
+
"description": "Edit an existing release",
|
|
1971
1878
|
"examples": [
|
|
1972
|
-
"$ xano release
|
|
1973
|
-
"$ xano release
|
|
1879
|
+
"$ xano release edit v1.0 --name \"v1.0-final\" --description \"Updated description\"\nUpdated release: v1.0-final - ID: 10\n",
|
|
1880
|
+
"$ xano release edit v1.0 --description \"New description\" -o json"
|
|
1974
1881
|
],
|
|
1975
1882
|
"flags": {
|
|
1976
1883
|
"profile": {
|
|
@@ -1992,6 +1899,24 @@
|
|
|
1992
1899
|
"allowNo": false,
|
|
1993
1900
|
"type": "boolean"
|
|
1994
1901
|
},
|
|
1902
|
+
"description": {
|
|
1903
|
+
"char": "d",
|
|
1904
|
+
"description": "New description",
|
|
1905
|
+
"name": "description",
|
|
1906
|
+
"required": false,
|
|
1907
|
+
"hasDynamicHelp": false,
|
|
1908
|
+
"multiple": false,
|
|
1909
|
+
"type": "option"
|
|
1910
|
+
},
|
|
1911
|
+
"name": {
|
|
1912
|
+
"char": "n",
|
|
1913
|
+
"description": "New name for the release",
|
|
1914
|
+
"name": "name",
|
|
1915
|
+
"required": false,
|
|
1916
|
+
"hasDynamicHelp": false,
|
|
1917
|
+
"multiple": false,
|
|
1918
|
+
"type": "option"
|
|
1919
|
+
},
|
|
1995
1920
|
"output": {
|
|
1996
1921
|
"char": "o",
|
|
1997
1922
|
"description": "Output format",
|
|
@@ -2018,7 +1943,7 @@
|
|
|
2018
1943
|
},
|
|
2019
1944
|
"hasDynamicHelp": false,
|
|
2020
1945
|
"hiddenAliases": [],
|
|
2021
|
-
"id": "release:
|
|
1946
|
+
"id": "release:edit",
|
|
2022
1947
|
"pluginAlias": "@xano/cli",
|
|
2023
1948
|
"pluginName": "@xano/cli",
|
|
2024
1949
|
"pluginType": "core",
|
|
@@ -2029,24 +1954,24 @@
|
|
|
2029
1954
|
"dist",
|
|
2030
1955
|
"commands",
|
|
2031
1956
|
"release",
|
|
2032
|
-
"
|
|
1957
|
+
"edit",
|
|
2033
1958
|
"index.js"
|
|
2034
1959
|
]
|
|
2035
1960
|
},
|
|
2036
|
-
"release:
|
|
1961
|
+
"release:export": {
|
|
2037
1962
|
"aliases": [],
|
|
2038
1963
|
"args": {
|
|
2039
1964
|
"release_name": {
|
|
2040
|
-
"description": "Release name to
|
|
1965
|
+
"description": "Release name to export",
|
|
2041
1966
|
"name": "release_name",
|
|
2042
1967
|
"required": true
|
|
2043
1968
|
}
|
|
2044
1969
|
},
|
|
2045
|
-
"description": "
|
|
1970
|
+
"description": "Export (download) a release to a local file",
|
|
2046
1971
|
"examples": [
|
|
2047
|
-
"$ xano release
|
|
2048
|
-
"$ xano release
|
|
2049
|
-
"$ xano release
|
|
1972
|
+
"$ xano release export v1.0\nDownloaded release 'v1.0' to ./release-v1.0.tar.gz\n",
|
|
1973
|
+
"$ xano release export v1.0 --output ./backups/my-release.tar.gz",
|
|
1974
|
+
"$ xano release export v1.0 -o json"
|
|
2050
1975
|
],
|
|
2051
1976
|
"flags": {
|
|
2052
1977
|
"profile": {
|
|
@@ -2068,18 +1993,10 @@
|
|
|
2068
1993
|
"allowNo": false,
|
|
2069
1994
|
"type": "boolean"
|
|
2070
1995
|
},
|
|
2071
|
-
"
|
|
2072
|
-
"char": "f",
|
|
2073
|
-
"description": "Skip confirmation prompt",
|
|
2074
|
-
"name": "force",
|
|
2075
|
-
"required": false,
|
|
2076
|
-
"allowNo": false,
|
|
2077
|
-
"type": "boolean"
|
|
2078
|
-
},
|
|
2079
|
-
"output": {
|
|
1996
|
+
"format": {
|
|
2080
1997
|
"char": "o",
|
|
2081
1998
|
"description": "Output format",
|
|
2082
|
-
"name": "
|
|
1999
|
+
"name": "format",
|
|
2083
2000
|
"required": false,
|
|
2084
2001
|
"default": "summary",
|
|
2085
2002
|
"hasDynamicHelp": false,
|
|
@@ -2090,6 +2007,14 @@
|
|
|
2090
2007
|
],
|
|
2091
2008
|
"type": "option"
|
|
2092
2009
|
},
|
|
2010
|
+
"output": {
|
|
2011
|
+
"description": "Output file path (defaults to ./release-{name}.tar.gz)",
|
|
2012
|
+
"name": "output",
|
|
2013
|
+
"required": false,
|
|
2014
|
+
"hasDynamicHelp": false,
|
|
2015
|
+
"multiple": false,
|
|
2016
|
+
"type": "option"
|
|
2017
|
+
},
|
|
2093
2018
|
"workspace": {
|
|
2094
2019
|
"char": "w",
|
|
2095
2020
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -2102,7 +2027,7 @@
|
|
|
2102
2027
|
},
|
|
2103
2028
|
"hasDynamicHelp": false,
|
|
2104
2029
|
"hiddenAliases": [],
|
|
2105
|
-
"id": "release:
|
|
2030
|
+
"id": "release:export",
|
|
2106
2031
|
"pluginAlias": "@xano/cli",
|
|
2107
2032
|
"pluginName": "@xano/cli",
|
|
2108
2033
|
"pluginType": "core",
|
|
@@ -2113,17 +2038,23 @@
|
|
|
2113
2038
|
"dist",
|
|
2114
2039
|
"commands",
|
|
2115
2040
|
"release",
|
|
2116
|
-
"
|
|
2041
|
+
"export",
|
|
2117
2042
|
"index.js"
|
|
2118
2043
|
]
|
|
2119
2044
|
},
|
|
2120
|
-
"release:
|
|
2045
|
+
"release:get": {
|
|
2121
2046
|
"aliases": [],
|
|
2122
|
-
"args": {
|
|
2123
|
-
|
|
2047
|
+
"args": {
|
|
2048
|
+
"release_name": {
|
|
2049
|
+
"description": "Release name to retrieve",
|
|
2050
|
+
"name": "release_name",
|
|
2051
|
+
"required": true
|
|
2052
|
+
}
|
|
2053
|
+
},
|
|
2054
|
+
"description": "Get details of a specific release",
|
|
2124
2055
|
"examples": [
|
|
2125
|
-
"$ xano release
|
|
2126
|
-
"$ xano release
|
|
2056
|
+
"$ xano release get v1.0\nRelease: v1.0 - ID: 10\n Branch: main\n Description: Initial release\n Hotfix: false\n",
|
|
2057
|
+
"$ xano release get v1.0 -w 5 -o json"
|
|
2127
2058
|
],
|
|
2128
2059
|
"flags": {
|
|
2129
2060
|
"profile": {
|
|
@@ -2171,7 +2102,7 @@
|
|
|
2171
2102
|
},
|
|
2172
2103
|
"hasDynamicHelp": false,
|
|
2173
2104
|
"hiddenAliases": [],
|
|
2174
|
-
"id": "release:
|
|
2105
|
+
"id": "release:get",
|
|
2175
2106
|
"pluginAlias": "@xano/cli",
|
|
2176
2107
|
"pluginName": "@xano/cli",
|
|
2177
2108
|
"pluginType": "core",
|
|
@@ -2182,7 +2113,7 @@
|
|
|
2182
2113
|
"dist",
|
|
2183
2114
|
"commands",
|
|
2184
2115
|
"release",
|
|
2185
|
-
"
|
|
2116
|
+
"get",
|
|
2186
2117
|
"index.js"
|
|
2187
2118
|
]
|
|
2188
2119
|
},
|
|
@@ -2264,20 +2195,13 @@
|
|
|
2264
2195
|
"index.js"
|
|
2265
2196
|
]
|
|
2266
2197
|
},
|
|
2267
|
-
"release:
|
|
2198
|
+
"release:list": {
|
|
2268
2199
|
"aliases": [],
|
|
2269
|
-
"args": {
|
|
2270
|
-
|
|
2271
|
-
"description": "Output directory for pulled documents",
|
|
2272
|
-
"name": "directory",
|
|
2273
|
-
"required": true
|
|
2274
|
-
}
|
|
2275
|
-
},
|
|
2276
|
-
"description": "Pull a release multidoc from the Xano Metadata API and split into individual files",
|
|
2200
|
+
"args": {},
|
|
2201
|
+
"description": "List all releases in a workspace",
|
|
2277
2202
|
"examples": [
|
|
2278
|
-
"$ xano release
|
|
2279
|
-
"$ xano release
|
|
2280
|
-
"$ xano release pull ./backup -r v1.0 --profile production --env --records\nPulled 58 documents from release 'v1.0' to ./backup\n"
|
|
2203
|
+
"$ xano release list\nReleases in workspace 5:\n - v1.0 (ID: 10) - main\n - v1.1-hotfix (ID: 11) - main [hotfix]\n",
|
|
2204
|
+
"$ xano release list -w 5 --output json"
|
|
2281
2205
|
],
|
|
2282
2206
|
"flags": {
|
|
2283
2207
|
"profile": {
|
|
@@ -2299,32 +2223,23 @@
|
|
|
2299
2223
|
"allowNo": false,
|
|
2300
2224
|
"type": "boolean"
|
|
2301
2225
|
},
|
|
2302
|
-
"
|
|
2303
|
-
"
|
|
2304
|
-
"
|
|
2305
|
-
"
|
|
2306
|
-
"
|
|
2307
|
-
"
|
|
2308
|
-
},
|
|
2309
|
-
"records": {
|
|
2310
|
-
"description": "Include records",
|
|
2311
|
-
"name": "records",
|
|
2312
|
-
"required": false,
|
|
2313
|
-
"allowNo": false,
|
|
2314
|
-
"type": "boolean"
|
|
2315
|
-
},
|
|
2316
|
-
"release": {
|
|
2317
|
-
"char": "r",
|
|
2318
|
-
"description": "Release name to pull from",
|
|
2319
|
-
"name": "release",
|
|
2320
|
-
"required": true,
|
|
2226
|
+
"output": {
|
|
2227
|
+
"char": "o",
|
|
2228
|
+
"description": "Output format",
|
|
2229
|
+
"name": "output",
|
|
2230
|
+
"required": false,
|
|
2231
|
+
"default": "summary",
|
|
2321
2232
|
"hasDynamicHelp": false,
|
|
2322
2233
|
"multiple": false,
|
|
2234
|
+
"options": [
|
|
2235
|
+
"summary",
|
|
2236
|
+
"json"
|
|
2237
|
+
],
|
|
2323
2238
|
"type": "option"
|
|
2324
2239
|
},
|
|
2325
2240
|
"workspace": {
|
|
2326
2241
|
"char": "w",
|
|
2327
|
-
"description": "Workspace ID (
|
|
2242
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
2328
2243
|
"name": "workspace",
|
|
2329
2244
|
"required": false,
|
|
2330
2245
|
"hasDynamicHelp": false,
|
|
@@ -2334,7 +2249,7 @@
|
|
|
2334
2249
|
},
|
|
2335
2250
|
"hasDynamicHelp": false,
|
|
2336
2251
|
"hiddenAliases": [],
|
|
2337
|
-
"id": "release:
|
|
2252
|
+
"id": "release:list",
|
|
2338
2253
|
"pluginAlias": "@xano/cli",
|
|
2339
2254
|
"pluginName": "@xano/cli",
|
|
2340
2255
|
"pluginType": "core",
|
|
@@ -2345,7 +2260,7 @@
|
|
|
2345
2260
|
"dist",
|
|
2346
2261
|
"commands",
|
|
2347
2262
|
"release",
|
|
2348
|
-
"
|
|
2263
|
+
"list",
|
|
2349
2264
|
"index.js"
|
|
2350
2265
|
]
|
|
2351
2266
|
},
|
|
@@ -2467,14 +2382,20 @@
|
|
|
2467
2382
|
"index.js"
|
|
2468
2383
|
]
|
|
2469
2384
|
},
|
|
2470
|
-
"
|
|
2385
|
+
"release:pull": {
|
|
2471
2386
|
"aliases": [],
|
|
2472
|
-
"args": {
|
|
2473
|
-
|
|
2387
|
+
"args": {
|
|
2388
|
+
"directory": {
|
|
2389
|
+
"description": "Output directory for pulled documents",
|
|
2390
|
+
"name": "directory",
|
|
2391
|
+
"required": true
|
|
2392
|
+
}
|
|
2393
|
+
},
|
|
2394
|
+
"description": "Pull a release multidoc from the Xano Metadata API and split into individual files",
|
|
2474
2395
|
"examples": [
|
|
2475
|
-
"$ xano
|
|
2476
|
-
"$ xano
|
|
2477
|
-
"$ xano
|
|
2396
|
+
"$ xano release pull ./my-release -r v1.0\nPulled 42 documents from release 'v1.0' to ./my-release\n",
|
|
2397
|
+
"$ xano release pull ./output -r v1.0 -w 40\nPulled 15 documents from release 'v1.0' to ./output\n",
|
|
2398
|
+
"$ xano release pull ./backup -r v1.0 --profile production --env --records\nPulled 58 documents from release 'v1.0' to ./backup\n"
|
|
2478
2399
|
],
|
|
2479
2400
|
"flags": {
|
|
2480
2401
|
"profile": {
|
|
@@ -2496,45 +2417,32 @@
|
|
|
2496
2417
|
"allowNo": false,
|
|
2497
2418
|
"type": "boolean"
|
|
2498
2419
|
},
|
|
2499
|
-
"
|
|
2500
|
-
"
|
|
2501
|
-
"
|
|
2502
|
-
"name": "branch",
|
|
2420
|
+
"env": {
|
|
2421
|
+
"description": "Include environment variables",
|
|
2422
|
+
"name": "env",
|
|
2503
2423
|
"required": false,
|
|
2504
|
-
"
|
|
2505
|
-
"
|
|
2506
|
-
"type": "option"
|
|
2424
|
+
"allowNo": false,
|
|
2425
|
+
"type": "boolean"
|
|
2507
2426
|
},
|
|
2508
|
-
"
|
|
2509
|
-
"description": "
|
|
2510
|
-
"name": "
|
|
2427
|
+
"records": {
|
|
2428
|
+
"description": "Include records",
|
|
2429
|
+
"name": "records",
|
|
2511
2430
|
"required": false,
|
|
2512
|
-
"
|
|
2513
|
-
"
|
|
2514
|
-
"options": [
|
|
2515
|
-
"function",
|
|
2516
|
-
"query",
|
|
2517
|
-
"middleware"
|
|
2518
|
-
],
|
|
2519
|
-
"type": "option"
|
|
2431
|
+
"allowNo": false,
|
|
2432
|
+
"type": "boolean"
|
|
2520
2433
|
},
|
|
2521
|
-
"
|
|
2522
|
-
"char": "
|
|
2523
|
-
"description": "
|
|
2524
|
-
"name": "
|
|
2525
|
-
"required":
|
|
2526
|
-
"default": "summary",
|
|
2434
|
+
"release": {
|
|
2435
|
+
"char": "r",
|
|
2436
|
+
"description": "Release name to pull from",
|
|
2437
|
+
"name": "release",
|
|
2438
|
+
"required": true,
|
|
2527
2439
|
"hasDynamicHelp": false,
|
|
2528
2440
|
"multiple": false,
|
|
2529
|
-
"options": [
|
|
2530
|
-
"summary",
|
|
2531
|
-
"json"
|
|
2532
|
-
],
|
|
2533
2441
|
"type": "option"
|
|
2534
2442
|
},
|
|
2535
2443
|
"workspace": {
|
|
2536
2444
|
"char": "w",
|
|
2537
|
-
"description": "Workspace ID (
|
|
2445
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
2538
2446
|
"name": "workspace",
|
|
2539
2447
|
"required": false,
|
|
2540
2448
|
"hasDynamicHelp": false,
|
|
@@ -2544,7 +2452,7 @@
|
|
|
2544
2452
|
},
|
|
2545
2453
|
"hasDynamicHelp": false,
|
|
2546
2454
|
"hiddenAliases": [],
|
|
2547
|
-
"id": "
|
|
2455
|
+
"id": "release:pull",
|
|
2548
2456
|
"pluginAlias": "@xano/cli",
|
|
2549
2457
|
"pluginName": "@xano/cli",
|
|
2550
2458
|
"pluginType": "core",
|
|
@@ -2554,8 +2462,8 @@
|
|
|
2554
2462
|
"relativePath": [
|
|
2555
2463
|
"dist",
|
|
2556
2464
|
"commands",
|
|
2557
|
-
"
|
|
2558
|
-
"
|
|
2465
|
+
"release",
|
|
2466
|
+
"pull",
|
|
2559
2467
|
"index.js"
|
|
2560
2468
|
]
|
|
2561
2469
|
},
|
|
@@ -2648,19 +2556,20 @@
|
|
|
2648
2556
|
"index.js"
|
|
2649
2557
|
]
|
|
2650
2558
|
},
|
|
2651
|
-
"
|
|
2559
|
+
"tenant:delete": {
|
|
2652
2560
|
"aliases": [],
|
|
2653
2561
|
"args": {
|
|
2654
|
-
"
|
|
2655
|
-
"description": "
|
|
2656
|
-
"name": "
|
|
2562
|
+
"tenant_name": {
|
|
2563
|
+
"description": "Tenant name to delete",
|
|
2564
|
+
"name": "tenant_name",
|
|
2657
2565
|
"required": true
|
|
2658
2566
|
}
|
|
2659
2567
|
},
|
|
2660
|
-
"description": "
|
|
2568
|
+
"description": "Delete a tenant permanently. This destroys all associated infrastructure and cannot be undone.",
|
|
2661
2569
|
"examples": [
|
|
2662
|
-
"$ xano
|
|
2663
|
-
"$ xano
|
|
2570
|
+
"$ xano tenant delete t1234-abcd-xyz1\nAre you sure you want to delete tenant t1234-abcd-xyz1? This action cannot be undone. (y/N) y\nDeleted tenant t1234-abcd-xyz1\n",
|
|
2571
|
+
"$ xano tenant delete t1234-abcd-xyz1 --force\nDeleted tenant t1234-abcd-xyz1\n",
|
|
2572
|
+
"$ xano tenant delete t1234-abcd-xyz1 -f -o json"
|
|
2664
2573
|
],
|
|
2665
2574
|
"flags": {
|
|
2666
2575
|
"profile": {
|
|
@@ -2682,6 +2591,14 @@
|
|
|
2682
2591
|
"allowNo": false,
|
|
2683
2592
|
"type": "boolean"
|
|
2684
2593
|
},
|
|
2594
|
+
"force": {
|
|
2595
|
+
"char": "f",
|
|
2596
|
+
"description": "Skip confirmation prompt",
|
|
2597
|
+
"name": "force",
|
|
2598
|
+
"required": false,
|
|
2599
|
+
"allowNo": false,
|
|
2600
|
+
"type": "boolean"
|
|
2601
|
+
},
|
|
2685
2602
|
"output": {
|
|
2686
2603
|
"char": "o",
|
|
2687
2604
|
"description": "Output format",
|
|
@@ -2708,7 +2625,7 @@
|
|
|
2708
2625
|
},
|
|
2709
2626
|
"hasDynamicHelp": false,
|
|
2710
2627
|
"hiddenAliases": [],
|
|
2711
|
-
"id": "
|
|
2628
|
+
"id": "tenant:delete",
|
|
2712
2629
|
"pluginAlias": "@xano/cli",
|
|
2713
2630
|
"pluginName": "@xano/cli",
|
|
2714
2631
|
"pluginType": "core",
|
|
@@ -2718,18 +2635,164 @@
|
|
|
2718
2635
|
"relativePath": [
|
|
2719
2636
|
"dist",
|
|
2720
2637
|
"commands",
|
|
2721
|
-
"
|
|
2722
|
-
"
|
|
2638
|
+
"tenant",
|
|
2639
|
+
"delete",
|
|
2723
2640
|
"index.js"
|
|
2724
2641
|
]
|
|
2725
2642
|
},
|
|
2726
|
-
"
|
|
2643
|
+
"tenant:create": {
|
|
2727
2644
|
"aliases": [],
|
|
2728
|
-
"args": {
|
|
2729
|
-
|
|
2645
|
+
"args": {
|
|
2646
|
+
"display": {
|
|
2647
|
+
"description": "Display name for the tenant",
|
|
2648
|
+
"name": "display",
|
|
2649
|
+
"required": true
|
|
2650
|
+
}
|
|
2651
|
+
},
|
|
2652
|
+
"description": "Create a new tenant in a workspace",
|
|
2653
|
+
"examples": [
|
|
2654
|
+
"$ xano tenant create \"Production\"\nCreated tenant: Production (production) - ID: 42\n",
|
|
2655
|
+
"$ xano tenant create \"Staging\" --description \"Staging env\" --cluster_id 1 --platform_id 1 --license tier2 -o json"
|
|
2656
|
+
],
|
|
2657
|
+
"flags": {
|
|
2658
|
+
"profile": {
|
|
2659
|
+
"char": "p",
|
|
2660
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
2661
|
+
"env": "XANO_PROFILE",
|
|
2662
|
+
"name": "profile",
|
|
2663
|
+
"required": false,
|
|
2664
|
+
"hasDynamicHelp": false,
|
|
2665
|
+
"multiple": false,
|
|
2666
|
+
"type": "option"
|
|
2667
|
+
},
|
|
2668
|
+
"verbose": {
|
|
2669
|
+
"char": "v",
|
|
2670
|
+
"description": "Show detailed request/response information",
|
|
2671
|
+
"env": "XANO_VERBOSE",
|
|
2672
|
+
"name": "verbose",
|
|
2673
|
+
"required": false,
|
|
2674
|
+
"allowNo": false,
|
|
2675
|
+
"type": "boolean"
|
|
2676
|
+
},
|
|
2677
|
+
"cluster_id": {
|
|
2678
|
+
"description": "Cluster ID to deploy to (required for tier2/tier3)",
|
|
2679
|
+
"name": "cluster_id",
|
|
2680
|
+
"required": false,
|
|
2681
|
+
"hasDynamicHelp": false,
|
|
2682
|
+
"multiple": false,
|
|
2683
|
+
"type": "option"
|
|
2684
|
+
},
|
|
2685
|
+
"description": {
|
|
2686
|
+
"char": "d",
|
|
2687
|
+
"description": "Tenant description",
|
|
2688
|
+
"name": "description",
|
|
2689
|
+
"required": false,
|
|
2690
|
+
"hasDynamicHelp": false,
|
|
2691
|
+
"multiple": false,
|
|
2692
|
+
"type": "option"
|
|
2693
|
+
},
|
|
2694
|
+
"domain": {
|
|
2695
|
+
"description": "Custom domain for the tenant",
|
|
2696
|
+
"name": "domain",
|
|
2697
|
+
"required": false,
|
|
2698
|
+
"hasDynamicHelp": false,
|
|
2699
|
+
"multiple": false,
|
|
2700
|
+
"type": "option"
|
|
2701
|
+
},
|
|
2702
|
+
"ephemeral": {
|
|
2703
|
+
"description": "Mark tenant as ephemeral (allows push operations)",
|
|
2704
|
+
"name": "ephemeral",
|
|
2705
|
+
"allowNo": false,
|
|
2706
|
+
"type": "boolean"
|
|
2707
|
+
},
|
|
2708
|
+
"ingress": {
|
|
2709
|
+
"description": "Enable ingress",
|
|
2710
|
+
"name": "ingress",
|
|
2711
|
+
"allowNo": true,
|
|
2712
|
+
"type": "boolean"
|
|
2713
|
+
},
|
|
2714
|
+
"license": {
|
|
2715
|
+
"description": "License tier",
|
|
2716
|
+
"name": "license",
|
|
2717
|
+
"required": false,
|
|
2718
|
+
"default": "tier1",
|
|
2719
|
+
"hasDynamicHelp": false,
|
|
2720
|
+
"multiple": false,
|
|
2721
|
+
"options": [
|
|
2722
|
+
"tier1",
|
|
2723
|
+
"tier2",
|
|
2724
|
+
"tier3"
|
|
2725
|
+
],
|
|
2726
|
+
"type": "option"
|
|
2727
|
+
},
|
|
2728
|
+
"output": {
|
|
2729
|
+
"char": "o",
|
|
2730
|
+
"description": "Output format",
|
|
2731
|
+
"name": "output",
|
|
2732
|
+
"required": false,
|
|
2733
|
+
"default": "summary",
|
|
2734
|
+
"hasDynamicHelp": false,
|
|
2735
|
+
"multiple": false,
|
|
2736
|
+
"options": [
|
|
2737
|
+
"summary",
|
|
2738
|
+
"json"
|
|
2739
|
+
],
|
|
2740
|
+
"type": "option"
|
|
2741
|
+
},
|
|
2742
|
+
"platform_id": {
|
|
2743
|
+
"description": "Platform ID to use",
|
|
2744
|
+
"name": "platform_id",
|
|
2745
|
+
"required": false,
|
|
2746
|
+
"hasDynamicHelp": false,
|
|
2747
|
+
"multiple": false,
|
|
2748
|
+
"type": "option"
|
|
2749
|
+
},
|
|
2750
|
+
"tasks": {
|
|
2751
|
+
"description": "Enable background tasks",
|
|
2752
|
+
"name": "tasks",
|
|
2753
|
+
"allowNo": true,
|
|
2754
|
+
"type": "boolean"
|
|
2755
|
+
},
|
|
2756
|
+
"workspace": {
|
|
2757
|
+
"char": "w",
|
|
2758
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
2759
|
+
"name": "workspace",
|
|
2760
|
+
"required": false,
|
|
2761
|
+
"hasDynamicHelp": false,
|
|
2762
|
+
"multiple": false,
|
|
2763
|
+
"type": "option"
|
|
2764
|
+
}
|
|
2765
|
+
},
|
|
2766
|
+
"hasDynamicHelp": false,
|
|
2767
|
+
"hiddenAliases": [],
|
|
2768
|
+
"id": "tenant:create",
|
|
2769
|
+
"pluginAlias": "@xano/cli",
|
|
2770
|
+
"pluginName": "@xano/cli",
|
|
2771
|
+
"pluginType": "core",
|
|
2772
|
+
"strict": true,
|
|
2773
|
+
"enableJsonFlag": false,
|
|
2774
|
+
"isESM": true,
|
|
2775
|
+
"relativePath": [
|
|
2776
|
+
"dist",
|
|
2777
|
+
"commands",
|
|
2778
|
+
"tenant",
|
|
2779
|
+
"create",
|
|
2780
|
+
"index.js"
|
|
2781
|
+
]
|
|
2782
|
+
},
|
|
2783
|
+
"tenant:deploy_platform": {
|
|
2784
|
+
"aliases": [],
|
|
2785
|
+
"args": {
|
|
2786
|
+
"tenant_name": {
|
|
2787
|
+
"description": "Tenant name to deploy to",
|
|
2788
|
+
"name": "tenant_name",
|
|
2789
|
+
"required": true
|
|
2790
|
+
}
|
|
2791
|
+
},
|
|
2792
|
+
"description": "Deploy a platform version to a tenant",
|
|
2730
2793
|
"examples": [
|
|
2731
|
-
"$ xano
|
|
2732
|
-
"$ xano
|
|
2794
|
+
"$ xano tenant deploy_platform t1234-abcd-xyz1 --platform_id 5\nDeployed platform 5 to tenant: My Tenant (my-tenant)\n",
|
|
2795
|
+
"$ xano tenant deploy_platform t1234-abcd-xyz1 --platform_id 5 -o json"
|
|
2733
2796
|
],
|
|
2734
2797
|
"flags": {
|
|
2735
2798
|
"profile": {
|
|
@@ -2751,28 +2814,6 @@
|
|
|
2751
2814
|
"allowNo": false,
|
|
2752
2815
|
"type": "boolean"
|
|
2753
2816
|
},
|
|
2754
|
-
"branch": {
|
|
2755
|
-
"char": "b",
|
|
2756
|
-
"description": "Filter by branch name",
|
|
2757
|
-
"name": "branch",
|
|
2758
|
-
"required": false,
|
|
2759
|
-
"hasDynamicHelp": false,
|
|
2760
|
-
"multiple": false,
|
|
2761
|
-
"type": "option"
|
|
2762
|
-
},
|
|
2763
|
-
"obj-type": {
|
|
2764
|
-
"description": "Filter by object type",
|
|
2765
|
-
"name": "obj-type",
|
|
2766
|
-
"required": false,
|
|
2767
|
-
"hasDynamicHelp": false,
|
|
2768
|
-
"multiple": false,
|
|
2769
|
-
"options": [
|
|
2770
|
-
"function",
|
|
2771
|
-
"query",
|
|
2772
|
-
"middleware"
|
|
2773
|
-
],
|
|
2774
|
-
"type": "option"
|
|
2775
|
-
},
|
|
2776
2817
|
"output": {
|
|
2777
2818
|
"char": "o",
|
|
2778
2819
|
"description": "Output format",
|
|
@@ -2787,6 +2828,14 @@
|
|
|
2787
2828
|
],
|
|
2788
2829
|
"type": "option"
|
|
2789
2830
|
},
|
|
2831
|
+
"platform_id": {
|
|
2832
|
+
"description": "Platform ID to deploy",
|
|
2833
|
+
"name": "platform_id",
|
|
2834
|
+
"required": true,
|
|
2835
|
+
"hasDynamicHelp": false,
|
|
2836
|
+
"multiple": false,
|
|
2837
|
+
"type": "option"
|
|
2838
|
+
},
|
|
2790
2839
|
"workspace": {
|
|
2791
2840
|
"char": "w",
|
|
2792
2841
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -2799,7 +2848,7 @@
|
|
|
2799
2848
|
},
|
|
2800
2849
|
"hasDynamicHelp": false,
|
|
2801
2850
|
"hiddenAliases": [],
|
|
2802
|
-
"id": "
|
|
2851
|
+
"id": "tenant:deploy_platform",
|
|
2803
2852
|
"pluginAlias": "@xano/cli",
|
|
2804
2853
|
"pluginName": "@xano/cli",
|
|
2805
2854
|
"pluginType": "core",
|
|
@@ -2809,24 +2858,24 @@
|
|
|
2809
2858
|
"relativePath": [
|
|
2810
2859
|
"dist",
|
|
2811
2860
|
"commands",
|
|
2812
|
-
"
|
|
2813
|
-
"
|
|
2861
|
+
"tenant",
|
|
2862
|
+
"deploy_platform",
|
|
2814
2863
|
"index.js"
|
|
2815
2864
|
]
|
|
2816
2865
|
},
|
|
2817
|
-
"tenant:
|
|
2866
|
+
"tenant:edit": {
|
|
2818
2867
|
"aliases": [],
|
|
2819
2868
|
"args": {
|
|
2820
|
-
"
|
|
2821
|
-
"description": "
|
|
2822
|
-
"name": "
|
|
2869
|
+
"tenant_name": {
|
|
2870
|
+
"description": "Tenant name to edit",
|
|
2871
|
+
"name": "tenant_name",
|
|
2823
2872
|
"required": true
|
|
2824
2873
|
}
|
|
2825
2874
|
},
|
|
2826
|
-
"description": "
|
|
2875
|
+
"description": "Edit an existing tenant",
|
|
2827
2876
|
"examples": [
|
|
2828
|
-
"$ xano tenant
|
|
2829
|
-
"$ xano tenant
|
|
2877
|
+
"$ xano tenant edit t1234-abcd-xyz1 --display \"New Name\" --description \"Updated description\"\nUpdated tenant: New Name (my-tenant) - ID: 42\n",
|
|
2878
|
+
"$ xano tenant edit t1234-abcd-xyz1 --no-tasks --no-ingress -o json"
|
|
2830
2879
|
],
|
|
2831
2880
|
"flags": {
|
|
2832
2881
|
"profile": {
|
|
@@ -2848,57 +2897,38 @@
|
|
|
2848
2897
|
"allowNo": false,
|
|
2849
2898
|
"type": "boolean"
|
|
2850
2899
|
},
|
|
2851
|
-
"
|
|
2852
|
-
"
|
|
2853
|
-
"
|
|
2900
|
+
"description": {
|
|
2901
|
+
"char": "d",
|
|
2902
|
+
"description": "New description",
|
|
2903
|
+
"name": "description",
|
|
2854
2904
|
"required": false,
|
|
2855
2905
|
"hasDynamicHelp": false,
|
|
2856
2906
|
"multiple": false,
|
|
2857
2907
|
"type": "option"
|
|
2858
2908
|
},
|
|
2859
|
-
"
|
|
2860
|
-
"
|
|
2861
|
-
"
|
|
2862
|
-
"name": "description",
|
|
2909
|
+
"display": {
|
|
2910
|
+
"description": "New display name",
|
|
2911
|
+
"name": "display",
|
|
2863
2912
|
"required": false,
|
|
2864
2913
|
"hasDynamicHelp": false,
|
|
2865
2914
|
"multiple": false,
|
|
2866
2915
|
"type": "option"
|
|
2867
2916
|
},
|
|
2868
2917
|
"domain": {
|
|
2869
|
-
"description": "Custom domain
|
|
2918
|
+
"description": "Custom domain",
|
|
2870
2919
|
"name": "domain",
|
|
2871
2920
|
"required": false,
|
|
2872
2921
|
"hasDynamicHelp": false,
|
|
2873
2922
|
"multiple": false,
|
|
2874
2923
|
"type": "option"
|
|
2875
2924
|
},
|
|
2876
|
-
"ephemeral": {
|
|
2877
|
-
"description": "Mark tenant as ephemeral (allows push operations)",
|
|
2878
|
-
"name": "ephemeral",
|
|
2879
|
-
"allowNo": false,
|
|
2880
|
-
"type": "boolean"
|
|
2881
|
-
},
|
|
2882
2925
|
"ingress": {
|
|
2883
|
-
"description": "Enable ingress",
|
|
2926
|
+
"description": "Enable/disable ingress",
|
|
2884
2927
|
"name": "ingress",
|
|
2928
|
+
"required": false,
|
|
2885
2929
|
"allowNo": true,
|
|
2886
2930
|
"type": "boolean"
|
|
2887
2931
|
},
|
|
2888
|
-
"license": {
|
|
2889
|
-
"description": "License tier",
|
|
2890
|
-
"name": "license",
|
|
2891
|
-
"required": false,
|
|
2892
|
-
"default": "tier1",
|
|
2893
|
-
"hasDynamicHelp": false,
|
|
2894
|
-
"multiple": false,
|
|
2895
|
-
"options": [
|
|
2896
|
-
"tier1",
|
|
2897
|
-
"tier2",
|
|
2898
|
-
"tier3"
|
|
2899
|
-
],
|
|
2900
|
-
"type": "option"
|
|
2901
|
-
},
|
|
2902
2932
|
"output": {
|
|
2903
2933
|
"char": "o",
|
|
2904
2934
|
"description": "Output format",
|
|
@@ -2913,17 +2943,25 @@
|
|
|
2913
2943
|
],
|
|
2914
2944
|
"type": "option"
|
|
2915
2945
|
},
|
|
2916
|
-
"
|
|
2917
|
-
"description": "
|
|
2918
|
-
"name": "
|
|
2946
|
+
"proxy": {
|
|
2947
|
+
"description": "Proxy URL",
|
|
2948
|
+
"name": "proxy",
|
|
2919
2949
|
"required": false,
|
|
2920
2950
|
"hasDynamicHelp": false,
|
|
2921
2951
|
"multiple": false,
|
|
2922
2952
|
"type": "option"
|
|
2923
2953
|
},
|
|
2954
|
+
"rbac": {
|
|
2955
|
+
"description": "Enable/disable RBAC",
|
|
2956
|
+
"name": "rbac",
|
|
2957
|
+
"required": false,
|
|
2958
|
+
"allowNo": true,
|
|
2959
|
+
"type": "boolean"
|
|
2960
|
+
},
|
|
2924
2961
|
"tasks": {
|
|
2925
|
-
"description": "Enable background tasks",
|
|
2962
|
+
"description": "Enable/disable background tasks",
|
|
2926
2963
|
"name": "tasks",
|
|
2964
|
+
"required": false,
|
|
2927
2965
|
"allowNo": true,
|
|
2928
2966
|
"type": "boolean"
|
|
2929
2967
|
},
|
|
@@ -2939,7 +2977,7 @@
|
|
|
2939
2977
|
},
|
|
2940
2978
|
"hasDynamicHelp": false,
|
|
2941
2979
|
"hiddenAliases": [],
|
|
2942
|
-
"id": "tenant:
|
|
2980
|
+
"id": "tenant:edit",
|
|
2943
2981
|
"pluginAlias": "@xano/cli",
|
|
2944
2982
|
"pluginName": "@xano/cli",
|
|
2945
2983
|
"pluginType": "core",
|
|
@@ -2950,24 +2988,23 @@
|
|
|
2950
2988
|
"dist",
|
|
2951
2989
|
"commands",
|
|
2952
2990
|
"tenant",
|
|
2953
|
-
"
|
|
2991
|
+
"edit",
|
|
2954
2992
|
"index.js"
|
|
2955
2993
|
]
|
|
2956
2994
|
},
|
|
2957
|
-
"tenant:
|
|
2995
|
+
"tenant:deploy_release": {
|
|
2958
2996
|
"aliases": [],
|
|
2959
2997
|
"args": {
|
|
2960
2998
|
"tenant_name": {
|
|
2961
|
-
"description": "Tenant name to
|
|
2999
|
+
"description": "Tenant name to deploy to",
|
|
2962
3000
|
"name": "tenant_name",
|
|
2963
3001
|
"required": true
|
|
2964
3002
|
}
|
|
2965
3003
|
},
|
|
2966
|
-
"description": "
|
|
3004
|
+
"description": "Deploy a release to a tenant",
|
|
2967
3005
|
"examples": [
|
|
2968
|
-
"$ xano tenant
|
|
2969
|
-
"$ xano tenant
|
|
2970
|
-
"$ xano tenant delete t1234-abcd-xyz1 -f -o json"
|
|
3006
|
+
"$ xano tenant deploy_release t1234-abcd-xyz1 --release v1.0\nDeployed release \"v1.0\" to tenant: My Tenant (my-tenant)\n",
|
|
3007
|
+
"$ xano tenant deploy_release t1234-abcd-xyz1 --release v1.0 -o json"
|
|
2971
3008
|
],
|
|
2972
3009
|
"flags": {
|
|
2973
3010
|
"profile": {
|
|
@@ -2989,14 +3026,6 @@
|
|
|
2989
3026
|
"allowNo": false,
|
|
2990
3027
|
"type": "boolean"
|
|
2991
3028
|
},
|
|
2992
|
-
"force": {
|
|
2993
|
-
"char": "f",
|
|
2994
|
-
"description": "Skip confirmation prompt",
|
|
2995
|
-
"name": "force",
|
|
2996
|
-
"required": false,
|
|
2997
|
-
"allowNo": false,
|
|
2998
|
-
"type": "boolean"
|
|
2999
|
-
},
|
|
3000
3029
|
"output": {
|
|
3001
3030
|
"char": "o",
|
|
3002
3031
|
"description": "Output format",
|
|
@@ -3011,6 +3040,15 @@
|
|
|
3011
3040
|
],
|
|
3012
3041
|
"type": "option"
|
|
3013
3042
|
},
|
|
3043
|
+
"release": {
|
|
3044
|
+
"char": "r",
|
|
3045
|
+
"description": "Release name to deploy",
|
|
3046
|
+
"name": "release",
|
|
3047
|
+
"required": true,
|
|
3048
|
+
"hasDynamicHelp": false,
|
|
3049
|
+
"multiple": false,
|
|
3050
|
+
"type": "option"
|
|
3051
|
+
},
|
|
3014
3052
|
"workspace": {
|
|
3015
3053
|
"char": "w",
|
|
3016
3054
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -3023,7 +3061,7 @@
|
|
|
3023
3061
|
},
|
|
3024
3062
|
"hasDynamicHelp": false,
|
|
3025
3063
|
"hiddenAliases": [],
|
|
3026
|
-
"id": "tenant:
|
|
3064
|
+
"id": "tenant:deploy_release",
|
|
3027
3065
|
"pluginAlias": "@xano/cli",
|
|
3028
3066
|
"pluginName": "@xano/cli",
|
|
3029
3067
|
"pluginType": "core",
|
|
@@ -3034,23 +3072,23 @@
|
|
|
3034
3072
|
"dist",
|
|
3035
3073
|
"commands",
|
|
3036
3074
|
"tenant",
|
|
3037
|
-
"
|
|
3075
|
+
"deploy_release",
|
|
3038
3076
|
"index.js"
|
|
3039
3077
|
]
|
|
3040
3078
|
},
|
|
3041
|
-
"tenant:
|
|
3079
|
+
"tenant:get": {
|
|
3042
3080
|
"aliases": [],
|
|
3043
3081
|
"args": {
|
|
3044
3082
|
"tenant_name": {
|
|
3045
|
-
"description": "Tenant name to
|
|
3083
|
+
"description": "Tenant name to retrieve",
|
|
3046
3084
|
"name": "tenant_name",
|
|
3047
3085
|
"required": true
|
|
3048
3086
|
}
|
|
3049
3087
|
},
|
|
3050
|
-
"description": "
|
|
3088
|
+
"description": "Get details of a specific tenant",
|
|
3051
3089
|
"examples": [
|
|
3052
|
-
"$ xano tenant
|
|
3053
|
-
"$ xano tenant
|
|
3090
|
+
"$ 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",
|
|
3091
|
+
"$ xano tenant get t1234-abcd-xyz1 -w 5 -o json"
|
|
3054
3092
|
],
|
|
3055
3093
|
"flags": {
|
|
3056
3094
|
"profile": {
|
|
@@ -3086,14 +3124,6 @@
|
|
|
3086
3124
|
],
|
|
3087
3125
|
"type": "option"
|
|
3088
3126
|
},
|
|
3089
|
-
"platform_id": {
|
|
3090
|
-
"description": "Platform ID to deploy",
|
|
3091
|
-
"name": "platform_id",
|
|
3092
|
-
"required": true,
|
|
3093
|
-
"hasDynamicHelp": false,
|
|
3094
|
-
"multiple": false,
|
|
3095
|
-
"type": "option"
|
|
3096
|
-
},
|
|
3097
3127
|
"workspace": {
|
|
3098
3128
|
"char": "w",
|
|
3099
3129
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -3106,7 +3136,7 @@
|
|
|
3106
3136
|
},
|
|
3107
3137
|
"hasDynamicHelp": false,
|
|
3108
3138
|
"hiddenAliases": [],
|
|
3109
|
-
"id": "tenant:
|
|
3139
|
+
"id": "tenant:get",
|
|
3110
3140
|
"pluginAlias": "@xano/cli",
|
|
3111
3141
|
"pluginName": "@xano/cli",
|
|
3112
3142
|
"pluginType": "core",
|
|
@@ -3117,23 +3147,23 @@
|
|
|
3117
3147
|
"dist",
|
|
3118
3148
|
"commands",
|
|
3119
3149
|
"tenant",
|
|
3120
|
-
"
|
|
3150
|
+
"get",
|
|
3121
3151
|
"index.js"
|
|
3122
3152
|
]
|
|
3123
3153
|
},
|
|
3124
|
-
"tenant:
|
|
3154
|
+
"tenant:impersonate": {
|
|
3125
3155
|
"aliases": [],
|
|
3126
3156
|
"args": {
|
|
3127
3157
|
"tenant_name": {
|
|
3128
|
-
"description": "Tenant name to
|
|
3158
|
+
"description": "Tenant name to impersonate",
|
|
3129
3159
|
"name": "tenant_name",
|
|
3130
3160
|
"required": true
|
|
3131
3161
|
}
|
|
3132
3162
|
},
|
|
3133
|
-
"description": "
|
|
3163
|
+
"description": "Impersonate a tenant and open it in the browser",
|
|
3134
3164
|
"examples": [
|
|
3135
|
-
"$ xano tenant
|
|
3136
|
-
"$ xano tenant
|
|
3165
|
+
"$ xano tenant impersonate my-tenant\nOpening browser...\nImpersonation successful!\n",
|
|
3166
|
+
"$ xano tenant impersonate my-tenant -o json"
|
|
3137
3167
|
],
|
|
3138
3168
|
"flags": {
|
|
3139
3169
|
"profile": {
|
|
@@ -3155,38 +3185,6 @@
|
|
|
3155
3185
|
"allowNo": false,
|
|
3156
3186
|
"type": "boolean"
|
|
3157
3187
|
},
|
|
3158
|
-
"description": {
|
|
3159
|
-
"char": "d",
|
|
3160
|
-
"description": "New description",
|
|
3161
|
-
"name": "description",
|
|
3162
|
-
"required": false,
|
|
3163
|
-
"hasDynamicHelp": false,
|
|
3164
|
-
"multiple": false,
|
|
3165
|
-
"type": "option"
|
|
3166
|
-
},
|
|
3167
|
-
"display": {
|
|
3168
|
-
"description": "New display name",
|
|
3169
|
-
"name": "display",
|
|
3170
|
-
"required": false,
|
|
3171
|
-
"hasDynamicHelp": false,
|
|
3172
|
-
"multiple": false,
|
|
3173
|
-
"type": "option"
|
|
3174
|
-
},
|
|
3175
|
-
"domain": {
|
|
3176
|
-
"description": "Custom domain",
|
|
3177
|
-
"name": "domain",
|
|
3178
|
-
"required": false,
|
|
3179
|
-
"hasDynamicHelp": false,
|
|
3180
|
-
"multiple": false,
|
|
3181
|
-
"type": "option"
|
|
3182
|
-
},
|
|
3183
|
-
"ingress": {
|
|
3184
|
-
"description": "Enable/disable ingress",
|
|
3185
|
-
"name": "ingress",
|
|
3186
|
-
"required": false,
|
|
3187
|
-
"allowNo": true,
|
|
3188
|
-
"type": "boolean"
|
|
3189
|
-
},
|
|
3190
3188
|
"output": {
|
|
3191
3189
|
"char": "o",
|
|
3192
3190
|
"description": "Output format",
|
|
@@ -3201,26 +3199,12 @@
|
|
|
3201
3199
|
],
|
|
3202
3200
|
"type": "option"
|
|
3203
3201
|
},
|
|
3204
|
-
"
|
|
3205
|
-
"
|
|
3206
|
-
"
|
|
3207
|
-
"
|
|
3208
|
-
"hasDynamicHelp": false,
|
|
3209
|
-
"multiple": false,
|
|
3210
|
-
"type": "option"
|
|
3211
|
-
},
|
|
3212
|
-
"rbac": {
|
|
3213
|
-
"description": "Enable/disable RBAC",
|
|
3214
|
-
"name": "rbac",
|
|
3215
|
-
"required": false,
|
|
3216
|
-
"allowNo": true,
|
|
3217
|
-
"type": "boolean"
|
|
3218
|
-
},
|
|
3219
|
-
"tasks": {
|
|
3220
|
-
"description": "Enable/disable background tasks",
|
|
3221
|
-
"name": "tasks",
|
|
3202
|
+
"url-only": {
|
|
3203
|
+
"char": "u",
|
|
3204
|
+
"description": "Print the URL without opening the browser",
|
|
3205
|
+
"name": "url-only",
|
|
3222
3206
|
"required": false,
|
|
3223
|
-
"allowNo":
|
|
3207
|
+
"allowNo": false,
|
|
3224
3208
|
"type": "boolean"
|
|
3225
3209
|
},
|
|
3226
3210
|
"workspace": {
|
|
@@ -3235,7 +3219,7 @@
|
|
|
3235
3219
|
},
|
|
3236
3220
|
"hasDynamicHelp": false,
|
|
3237
3221
|
"hiddenAliases": [],
|
|
3238
|
-
"id": "tenant:
|
|
3222
|
+
"id": "tenant:impersonate",
|
|
3239
3223
|
"pluginAlias": "@xano/cli",
|
|
3240
3224
|
"pluginName": "@xano/cli",
|
|
3241
3225
|
"pluginType": "core",
|
|
@@ -3246,23 +3230,17 @@
|
|
|
3246
3230
|
"dist",
|
|
3247
3231
|
"commands",
|
|
3248
3232
|
"tenant",
|
|
3249
|
-
"
|
|
3233
|
+
"impersonate",
|
|
3250
3234
|
"index.js"
|
|
3251
3235
|
]
|
|
3252
3236
|
},
|
|
3253
|
-
"tenant:
|
|
3254
|
-
"aliases": [],
|
|
3255
|
-
"args": {
|
|
3256
|
-
|
|
3257
|
-
"description": "Tenant name to deploy to",
|
|
3258
|
-
"name": "tenant_name",
|
|
3259
|
-
"required": true
|
|
3260
|
-
}
|
|
3261
|
-
},
|
|
3262
|
-
"description": "Deploy a release to a tenant",
|
|
3237
|
+
"tenant:list": {
|
|
3238
|
+
"aliases": [],
|
|
3239
|
+
"args": {},
|
|
3240
|
+
"description": "List all tenants in a workspace",
|
|
3263
3241
|
"examples": [
|
|
3264
|
-
"$ xano tenant
|
|
3265
|
-
"$ xano tenant
|
|
3242
|
+
"$ xano tenant list\nTenants in workspace 5:\n - My Tenant (my-tenant) [ok] - tier1\n - Staging (staging) [ok] - tier1\n",
|
|
3243
|
+
"$ xano tenant list -w 5 --output json"
|
|
3266
3244
|
],
|
|
3267
3245
|
"flags": {
|
|
3268
3246
|
"profile": {
|
|
@@ -3298,15 +3276,6 @@
|
|
|
3298
3276
|
],
|
|
3299
3277
|
"type": "option"
|
|
3300
3278
|
},
|
|
3301
|
-
"release": {
|
|
3302
|
-
"char": "r",
|
|
3303
|
-
"description": "Release name to deploy",
|
|
3304
|
-
"name": "release",
|
|
3305
|
-
"required": true,
|
|
3306
|
-
"hasDynamicHelp": false,
|
|
3307
|
-
"multiple": false,
|
|
3308
|
-
"type": "option"
|
|
3309
|
-
},
|
|
3310
3279
|
"workspace": {
|
|
3311
3280
|
"char": "w",
|
|
3312
3281
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -3319,7 +3288,7 @@
|
|
|
3319
3288
|
},
|
|
3320
3289
|
"hasDynamicHelp": false,
|
|
3321
3290
|
"hiddenAliases": [],
|
|
3322
|
-
"id": "tenant:
|
|
3291
|
+
"id": "tenant:list",
|
|
3323
3292
|
"pluginAlias": "@xano/cli",
|
|
3324
3293
|
"pluginName": "@xano/cli",
|
|
3325
3294
|
"pluginType": "core",
|
|
@@ -3330,23 +3299,27 @@
|
|
|
3330
3299
|
"dist",
|
|
3331
3300
|
"commands",
|
|
3332
3301
|
"tenant",
|
|
3333
|
-
"
|
|
3302
|
+
"list",
|
|
3334
3303
|
"index.js"
|
|
3335
3304
|
]
|
|
3336
3305
|
},
|
|
3337
|
-
"tenant:
|
|
3306
|
+
"tenant:push": {
|
|
3338
3307
|
"aliases": [],
|
|
3339
3308
|
"args": {
|
|
3340
|
-
"
|
|
3341
|
-
"description": "
|
|
3342
|
-
"name": "
|
|
3309
|
+
"directory": {
|
|
3310
|
+
"description": "Directory containing documents to push (as produced by tenant pull or workspace pull)",
|
|
3311
|
+
"name": "directory",
|
|
3343
3312
|
"required": true
|
|
3344
3313
|
}
|
|
3345
3314
|
},
|
|
3346
|
-
"description": "
|
|
3315
|
+
"description": "Push local documents to a tenant via the Xano Metadata API multidoc endpoint",
|
|
3347
3316
|
"examples": [
|
|
3348
|
-
"$ xano tenant
|
|
3349
|
-
"$ xano tenant
|
|
3317
|
+
"$ xano tenant push ./my-workspace -t my-tenant\nPushed 42 documents to tenant my-tenant from ./my-workspace\n",
|
|
3318
|
+
"$ xano tenant push ./output -t my-tenant -w 40\nPushed 15 documents to tenant my-tenant from ./output\n",
|
|
3319
|
+
"$ xano tenant push ./backup -t my-tenant --profile production\nPushed 58 documents to tenant my-tenant from ./backup\n",
|
|
3320
|
+
"$ xano tenant push ./my-workspace -t my-tenant --no-records\nPush schema only, skip importing table records\n",
|
|
3321
|
+
"$ xano tenant push ./my-workspace -t my-tenant --no-env\nPush without overwriting environment variables\n",
|
|
3322
|
+
"$ xano tenant push ./my-workspace -t my-tenant --truncate\nTruncate all table records before importing\n"
|
|
3350
3323
|
],
|
|
3351
3324
|
"flags": {
|
|
3352
3325
|
"profile": {
|
|
@@ -3368,23 +3341,39 @@
|
|
|
3368
3341
|
"allowNo": false,
|
|
3369
3342
|
"type": "boolean"
|
|
3370
3343
|
},
|
|
3371
|
-
"
|
|
3372
|
-
"
|
|
3373
|
-
"
|
|
3374
|
-
"name": "output",
|
|
3344
|
+
"env": {
|
|
3345
|
+
"description": "Include environment variables in import (default: true, use --no-env to exclude)",
|
|
3346
|
+
"name": "env",
|
|
3375
3347
|
"required": false,
|
|
3376
|
-
"
|
|
3348
|
+
"allowNo": true,
|
|
3349
|
+
"type": "boolean"
|
|
3350
|
+
},
|
|
3351
|
+
"records": {
|
|
3352
|
+
"description": "Include records in import (default: true, use --no-records to exclude)",
|
|
3353
|
+
"name": "records",
|
|
3354
|
+
"required": false,
|
|
3355
|
+
"allowNo": true,
|
|
3356
|
+
"type": "boolean"
|
|
3357
|
+
},
|
|
3358
|
+
"tenant": {
|
|
3359
|
+
"char": "t",
|
|
3360
|
+
"description": "Tenant name to push to",
|
|
3361
|
+
"name": "tenant",
|
|
3362
|
+
"required": true,
|
|
3377
3363
|
"hasDynamicHelp": false,
|
|
3378
3364
|
"multiple": false,
|
|
3379
|
-
"options": [
|
|
3380
|
-
"summary",
|
|
3381
|
-
"json"
|
|
3382
|
-
],
|
|
3383
3365
|
"type": "option"
|
|
3384
3366
|
},
|
|
3367
|
+
"truncate": {
|
|
3368
|
+
"description": "Truncate all table records before importing",
|
|
3369
|
+
"name": "truncate",
|
|
3370
|
+
"required": false,
|
|
3371
|
+
"allowNo": false,
|
|
3372
|
+
"type": "boolean"
|
|
3373
|
+
},
|
|
3385
3374
|
"workspace": {
|
|
3386
3375
|
"char": "w",
|
|
3387
|
-
"description": "Workspace ID (
|
|
3376
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
3388
3377
|
"name": "workspace",
|
|
3389
3378
|
"required": false,
|
|
3390
3379
|
"hasDynamicHelp": false,
|
|
@@ -3394,7 +3383,7 @@
|
|
|
3394
3383
|
},
|
|
3395
3384
|
"hasDynamicHelp": false,
|
|
3396
3385
|
"hiddenAliases": [],
|
|
3397
|
-
"id": "tenant:
|
|
3386
|
+
"id": "tenant:push",
|
|
3398
3387
|
"pluginAlias": "@xano/cli",
|
|
3399
3388
|
"pluginName": "@xano/cli",
|
|
3400
3389
|
"pluginType": "core",
|
|
@@ -3405,23 +3394,25 @@
|
|
|
3405
3394
|
"dist",
|
|
3406
3395
|
"commands",
|
|
3407
3396
|
"tenant",
|
|
3408
|
-
"
|
|
3397
|
+
"push",
|
|
3409
3398
|
"index.js"
|
|
3410
3399
|
]
|
|
3411
3400
|
},
|
|
3412
|
-
"tenant:
|
|
3401
|
+
"tenant:pull": {
|
|
3413
3402
|
"aliases": [],
|
|
3414
3403
|
"args": {
|
|
3415
|
-
"
|
|
3416
|
-
"description": "
|
|
3417
|
-
"name": "
|
|
3404
|
+
"directory": {
|
|
3405
|
+
"description": "Output directory for pulled documents",
|
|
3406
|
+
"name": "directory",
|
|
3418
3407
|
"required": true
|
|
3419
3408
|
}
|
|
3420
3409
|
},
|
|
3421
|
-
"description": "
|
|
3410
|
+
"description": "Pull a tenant multidoc from the Xano Metadata API and split into individual files",
|
|
3422
3411
|
"examples": [
|
|
3423
|
-
"$ xano tenant
|
|
3424
|
-
"$ xano tenant
|
|
3412
|
+
"$ xano tenant pull ./my-tenant -t my-tenant\nPulled 42 documents from tenant my-tenant to ./my-tenant\n",
|
|
3413
|
+
"$ xano tenant pull ./output -t my-tenant -w 40\nPulled 15 documents from tenant my-tenant to ./output\n",
|
|
3414
|
+
"$ xano tenant pull ./backup -t my-tenant --profile production --env --records\nPulled 58 documents from tenant my-tenant to ./backup\n",
|
|
3415
|
+
"$ xano tenant pull ./my-tenant -t my-tenant --draft\nPulled 42 documents from tenant my-tenant to ./my-tenant\n"
|
|
3425
3416
|
],
|
|
3426
3417
|
"flags": {
|
|
3427
3418
|
"profile": {
|
|
@@ -3443,31 +3434,39 @@
|
|
|
3443
3434
|
"allowNo": false,
|
|
3444
3435
|
"type": "boolean"
|
|
3445
3436
|
},
|
|
3446
|
-
"
|
|
3447
|
-
"
|
|
3448
|
-
"
|
|
3449
|
-
"name": "output",
|
|
3437
|
+
"draft": {
|
|
3438
|
+
"description": "Include draft versions",
|
|
3439
|
+
"name": "draft",
|
|
3450
3440
|
"required": false,
|
|
3451
|
-
"
|
|
3452
|
-
"
|
|
3453
|
-
"multiple": false,
|
|
3454
|
-
"options": [
|
|
3455
|
-
"summary",
|
|
3456
|
-
"json"
|
|
3457
|
-
],
|
|
3458
|
-
"type": "option"
|
|
3441
|
+
"allowNo": false,
|
|
3442
|
+
"type": "boolean"
|
|
3459
3443
|
},
|
|
3460
|
-
"
|
|
3461
|
-
"
|
|
3462
|
-
"
|
|
3463
|
-
"
|
|
3444
|
+
"env": {
|
|
3445
|
+
"description": "Include environment variables",
|
|
3446
|
+
"name": "env",
|
|
3447
|
+
"required": false,
|
|
3448
|
+
"allowNo": false,
|
|
3449
|
+
"type": "boolean"
|
|
3450
|
+
},
|
|
3451
|
+
"records": {
|
|
3452
|
+
"description": "Include records",
|
|
3453
|
+
"name": "records",
|
|
3464
3454
|
"required": false,
|
|
3465
3455
|
"allowNo": false,
|
|
3466
3456
|
"type": "boolean"
|
|
3467
3457
|
},
|
|
3458
|
+
"tenant": {
|
|
3459
|
+
"char": "t",
|
|
3460
|
+
"description": "Tenant name to pull from",
|
|
3461
|
+
"name": "tenant",
|
|
3462
|
+
"required": true,
|
|
3463
|
+
"hasDynamicHelp": false,
|
|
3464
|
+
"multiple": false,
|
|
3465
|
+
"type": "option"
|
|
3466
|
+
},
|
|
3468
3467
|
"workspace": {
|
|
3469
3468
|
"char": "w",
|
|
3470
|
-
"description": "Workspace ID (
|
|
3469
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
3471
3470
|
"name": "workspace",
|
|
3472
3471
|
"required": false,
|
|
3473
3472
|
"hasDynamicHelp": false,
|
|
@@ -3477,7 +3476,7 @@
|
|
|
3477
3476
|
},
|
|
3478
3477
|
"hasDynamicHelp": false,
|
|
3479
3478
|
"hiddenAliases": [],
|
|
3480
|
-
"id": "tenant:
|
|
3479
|
+
"id": "tenant:pull",
|
|
3481
3480
|
"pluginAlias": "@xano/cli",
|
|
3482
3481
|
"pluginName": "@xano/cli",
|
|
3483
3482
|
"pluginType": "core",
|
|
@@ -3488,17 +3487,23 @@
|
|
|
3488
3487
|
"dist",
|
|
3489
3488
|
"commands",
|
|
3490
3489
|
"tenant",
|
|
3491
|
-
"
|
|
3490
|
+
"pull",
|
|
3492
3491
|
"index.js"
|
|
3493
3492
|
]
|
|
3494
3493
|
},
|
|
3495
|
-
"
|
|
3494
|
+
"unit_test:run": {
|
|
3496
3495
|
"aliases": [],
|
|
3497
|
-
"args": {
|
|
3498
|
-
|
|
3496
|
+
"args": {
|
|
3497
|
+
"unit_test_id": {
|
|
3498
|
+
"description": "ID of the unit test to run",
|
|
3499
|
+
"name": "unit_test_id",
|
|
3500
|
+
"required": true
|
|
3501
|
+
}
|
|
3502
|
+
},
|
|
3503
|
+
"description": "Run a unit test",
|
|
3499
3504
|
"examples": [
|
|
3500
|
-
"$ xano
|
|
3501
|
-
"$ xano
|
|
3505
|
+
"$ xano unit-test run abc-123\nRunning unit test abc-123...\nResult: PASS\n",
|
|
3506
|
+
"$ xano unit-test run abc-123 -o json"
|
|
3502
3507
|
],
|
|
3503
3508
|
"flags": {
|
|
3504
3509
|
"profile": {
|
|
@@ -3546,7 +3551,7 @@
|
|
|
3546
3551
|
},
|
|
3547
3552
|
"hasDynamicHelp": false,
|
|
3548
3553
|
"hiddenAliases": [],
|
|
3549
|
-
"id": "
|
|
3554
|
+
"id": "unit_test:run",
|
|
3550
3555
|
"pluginAlias": "@xano/cli",
|
|
3551
3556
|
"pluginName": "@xano/cli",
|
|
3552
3557
|
"pluginType": "core",
|
|
@@ -3556,26 +3561,19 @@
|
|
|
3556
3561
|
"relativePath": [
|
|
3557
3562
|
"dist",
|
|
3558
3563
|
"commands",
|
|
3559
|
-
"
|
|
3560
|
-
"
|
|
3564
|
+
"unit_test",
|
|
3565
|
+
"run",
|
|
3561
3566
|
"index.js"
|
|
3562
3567
|
]
|
|
3563
3568
|
},
|
|
3564
|
-
"
|
|
3569
|
+
"unit_test:list": {
|
|
3565
3570
|
"aliases": [],
|
|
3566
|
-
"args": {
|
|
3567
|
-
|
|
3568
|
-
"description": "Output directory for pulled documents",
|
|
3569
|
-
"name": "directory",
|
|
3570
|
-
"required": true
|
|
3571
|
-
}
|
|
3572
|
-
},
|
|
3573
|
-
"description": "Pull a tenant multidoc from the Xano Metadata API and split into individual files",
|
|
3571
|
+
"args": {},
|
|
3572
|
+
"description": "List all unit tests in a workspace",
|
|
3574
3573
|
"examples": [
|
|
3575
|
-
"$ xano
|
|
3576
|
-
"$ xano
|
|
3577
|
-
"$ xano
|
|
3578
|
-
"$ xano tenant pull ./my-tenant -t my-tenant --draft\nPulled 42 documents from tenant my-tenant to ./my-tenant\n"
|
|
3574
|
+
"$ xano unit-test list\nUnit tests in workspace 5:\n - my-test (ID: abc-123) [function: math]\n - auth-check (ID: def-456) [query: /user/login]\n",
|
|
3575
|
+
"$ xano unit-test list -w 5 --output json",
|
|
3576
|
+
"$ xano unit-test list --obj-type function"
|
|
3579
3577
|
],
|
|
3580
3578
|
"flags": {
|
|
3581
3579
|
"profile": {
|
|
@@ -3597,39 +3595,45 @@
|
|
|
3597
3595
|
"allowNo": false,
|
|
3598
3596
|
"type": "boolean"
|
|
3599
3597
|
},
|
|
3600
|
-
"
|
|
3601
|
-
"
|
|
3602
|
-
"
|
|
3598
|
+
"branch": {
|
|
3599
|
+
"char": "b",
|
|
3600
|
+
"description": "Filter by branch name",
|
|
3601
|
+
"name": "branch",
|
|
3603
3602
|
"required": false,
|
|
3604
|
-
"
|
|
3605
|
-
"
|
|
3603
|
+
"hasDynamicHelp": false,
|
|
3604
|
+
"multiple": false,
|
|
3605
|
+
"type": "option"
|
|
3606
3606
|
},
|
|
3607
|
-
"
|
|
3608
|
-
"description": "
|
|
3609
|
-
"name": "
|
|
3607
|
+
"obj-type": {
|
|
3608
|
+
"description": "Filter by object type",
|
|
3609
|
+
"name": "obj-type",
|
|
3610
3610
|
"required": false,
|
|
3611
|
-
"
|
|
3612
|
-
"
|
|
3611
|
+
"hasDynamicHelp": false,
|
|
3612
|
+
"multiple": false,
|
|
3613
|
+
"options": [
|
|
3614
|
+
"function",
|
|
3615
|
+
"query",
|
|
3616
|
+
"middleware"
|
|
3617
|
+
],
|
|
3618
|
+
"type": "option"
|
|
3613
3619
|
},
|
|
3614
|
-
"
|
|
3615
|
-
"
|
|
3616
|
-
"
|
|
3620
|
+
"output": {
|
|
3621
|
+
"char": "o",
|
|
3622
|
+
"description": "Output format",
|
|
3623
|
+
"name": "output",
|
|
3617
3624
|
"required": false,
|
|
3618
|
-
"
|
|
3619
|
-
"type": "boolean"
|
|
3620
|
-
},
|
|
3621
|
-
"tenant": {
|
|
3622
|
-
"char": "t",
|
|
3623
|
-
"description": "Tenant name to pull from",
|
|
3624
|
-
"name": "tenant",
|
|
3625
|
-
"required": true,
|
|
3625
|
+
"default": "summary",
|
|
3626
3626
|
"hasDynamicHelp": false,
|
|
3627
3627
|
"multiple": false,
|
|
3628
|
+
"options": [
|
|
3629
|
+
"summary",
|
|
3630
|
+
"json"
|
|
3631
|
+
],
|
|
3628
3632
|
"type": "option"
|
|
3629
3633
|
},
|
|
3630
3634
|
"workspace": {
|
|
3631
3635
|
"char": "w",
|
|
3632
|
-
"description": "Workspace ID (
|
|
3636
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
3633
3637
|
"name": "workspace",
|
|
3634
3638
|
"required": false,
|
|
3635
3639
|
"hasDynamicHelp": false,
|
|
@@ -3639,7 +3643,7 @@
|
|
|
3639
3643
|
},
|
|
3640
3644
|
"hasDynamicHelp": false,
|
|
3641
3645
|
"hiddenAliases": [],
|
|
3642
|
-
"id": "
|
|
3646
|
+
"id": "unit_test:list",
|
|
3643
3647
|
"pluginAlias": "@xano/cli",
|
|
3644
3648
|
"pluginName": "@xano/cli",
|
|
3645
3649
|
"pluginType": "core",
|
|
@@ -3649,28 +3653,18 @@
|
|
|
3649
3653
|
"relativePath": [
|
|
3650
3654
|
"dist",
|
|
3651
3655
|
"commands",
|
|
3652
|
-
"
|
|
3653
|
-
"
|
|
3656
|
+
"unit_test",
|
|
3657
|
+
"list",
|
|
3654
3658
|
"index.js"
|
|
3655
3659
|
]
|
|
3656
3660
|
},
|
|
3657
|
-
"
|
|
3661
|
+
"unit_test:run_all": {
|
|
3658
3662
|
"aliases": [],
|
|
3659
|
-
"args": {
|
|
3660
|
-
|
|
3661
|
-
|
|
3662
|
-
|
|
3663
|
-
|
|
3664
|
-
}
|
|
3665
|
-
},
|
|
3666
|
-
"description": "Push local documents to a tenant via the Xano Metadata API multidoc endpoint",
|
|
3667
|
-
"examples": [
|
|
3668
|
-
"$ xano tenant push ./my-workspace -t my-tenant\nPushed 42 documents to tenant my-tenant from ./my-workspace\n",
|
|
3669
|
-
"$ xano tenant push ./output -t my-tenant -w 40\nPushed 15 documents to tenant my-tenant from ./output\n",
|
|
3670
|
-
"$ xano tenant push ./backup -t my-tenant --profile production\nPushed 58 documents to tenant my-tenant from ./backup\n",
|
|
3671
|
-
"$ xano tenant push ./my-workspace -t my-tenant --no-records\nPush schema only, skip importing table records\n",
|
|
3672
|
-
"$ xano tenant push ./my-workspace -t my-tenant --no-env\nPush without overwriting environment variables\n",
|
|
3673
|
-
"$ xano tenant push ./my-workspace -t my-tenant --truncate\nTruncate all table records before importing\n"
|
|
3663
|
+
"args": {},
|
|
3664
|
+
"description": "Run all unit tests in a workspace",
|
|
3665
|
+
"examples": [
|
|
3666
|
+
"$ xano unit-test run-all\nRunning 5 unit tests...\n\nPASS my-test [function: math]\nPASS auth-check [query: /user/login]\nFAIL data-validation [function: validate]\n Error: assertion failed\n\nResults: 2 passed, 1 failed\n",
|
|
3667
|
+
"$ xano unit-test run-all --obj-type function -o json"
|
|
3674
3668
|
],
|
|
3675
3669
|
"flags": {
|
|
3676
3670
|
"profile": {
|
|
@@ -3692,39 +3686,45 @@
|
|
|
3692
3686
|
"allowNo": false,
|
|
3693
3687
|
"type": "boolean"
|
|
3694
3688
|
},
|
|
3695
|
-
"
|
|
3696
|
-
"
|
|
3697
|
-
"
|
|
3689
|
+
"branch": {
|
|
3690
|
+
"char": "b",
|
|
3691
|
+
"description": "Filter by branch name",
|
|
3692
|
+
"name": "branch",
|
|
3698
3693
|
"required": false,
|
|
3699
|
-
"
|
|
3700
|
-
"
|
|
3694
|
+
"hasDynamicHelp": false,
|
|
3695
|
+
"multiple": false,
|
|
3696
|
+
"type": "option"
|
|
3701
3697
|
},
|
|
3702
|
-
"
|
|
3703
|
-
"description": "
|
|
3704
|
-
"name": "
|
|
3698
|
+
"obj-type": {
|
|
3699
|
+
"description": "Filter by object type",
|
|
3700
|
+
"name": "obj-type",
|
|
3705
3701
|
"required": false,
|
|
3706
|
-
"allowNo": true,
|
|
3707
|
-
"type": "boolean"
|
|
3708
|
-
},
|
|
3709
|
-
"tenant": {
|
|
3710
|
-
"char": "t",
|
|
3711
|
-
"description": "Tenant name to push to",
|
|
3712
|
-
"name": "tenant",
|
|
3713
|
-
"required": true,
|
|
3714
3702
|
"hasDynamicHelp": false,
|
|
3715
3703
|
"multiple": false,
|
|
3704
|
+
"options": [
|
|
3705
|
+
"function",
|
|
3706
|
+
"query",
|
|
3707
|
+
"middleware"
|
|
3708
|
+
],
|
|
3716
3709
|
"type": "option"
|
|
3717
3710
|
},
|
|
3718
|
-
"
|
|
3719
|
-
"
|
|
3720
|
-
"
|
|
3711
|
+
"output": {
|
|
3712
|
+
"char": "o",
|
|
3713
|
+
"description": "Output format",
|
|
3714
|
+
"name": "output",
|
|
3721
3715
|
"required": false,
|
|
3722
|
-
"
|
|
3723
|
-
"
|
|
3716
|
+
"default": "summary",
|
|
3717
|
+
"hasDynamicHelp": false,
|
|
3718
|
+
"multiple": false,
|
|
3719
|
+
"options": [
|
|
3720
|
+
"summary",
|
|
3721
|
+
"json"
|
|
3722
|
+
],
|
|
3723
|
+
"type": "option"
|
|
3724
3724
|
},
|
|
3725
3725
|
"workspace": {
|
|
3726
3726
|
"char": "w",
|
|
3727
|
-
"description": "Workspace ID (
|
|
3727
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
3728
3728
|
"name": "workspace",
|
|
3729
3729
|
"required": false,
|
|
3730
3730
|
"hasDynamicHelp": false,
|
|
@@ -3734,7 +3734,7 @@
|
|
|
3734
3734
|
},
|
|
3735
3735
|
"hasDynamicHelp": false,
|
|
3736
3736
|
"hiddenAliases": [],
|
|
3737
|
-
"id": "
|
|
3737
|
+
"id": "unit_test:run_all",
|
|
3738
3738
|
"pluginAlias": "@xano/cli",
|
|
3739
3739
|
"pluginName": "@xano/cli",
|
|
3740
3740
|
"pluginType": "core",
|
|
@@ -3744,8 +3744,8 @@
|
|
|
3744
3744
|
"relativePath": [
|
|
3745
3745
|
"dist",
|
|
3746
3746
|
"commands",
|
|
3747
|
-
"
|
|
3748
|
-
"
|
|
3747
|
+
"unit_test",
|
|
3748
|
+
"run_all",
|
|
3749
3749
|
"index.js"
|
|
3750
3750
|
]
|
|
3751
3751
|
},
|
|
@@ -4148,6 +4148,81 @@
|
|
|
4148
4148
|
"index.js"
|
|
4149
4149
|
]
|
|
4150
4150
|
},
|
|
4151
|
+
"workspace:delete": {
|
|
4152
|
+
"aliases": [],
|
|
4153
|
+
"args": {
|
|
4154
|
+
"workspace_id": {
|
|
4155
|
+
"description": "Workspace ID to delete",
|
|
4156
|
+
"name": "workspace_id",
|
|
4157
|
+
"required": true
|
|
4158
|
+
}
|
|
4159
|
+
},
|
|
4160
|
+
"description": "Delete a workspace via the Xano Metadata API. Cannot delete workspaces with active tenants.",
|
|
4161
|
+
"examples": [
|
|
4162
|
+
"$ 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",
|
|
4163
|
+
"$ xano workspace delete 123 --force\nDeleted workspace 123\n",
|
|
4164
|
+
"$ xano workspace delete 123 -f -o json\n{\n \"deleted\": true,\n \"workspace_id\": 123\n}\n"
|
|
4165
|
+
],
|
|
4166
|
+
"flags": {
|
|
4167
|
+
"profile": {
|
|
4168
|
+
"char": "p",
|
|
4169
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
4170
|
+
"env": "XANO_PROFILE",
|
|
4171
|
+
"name": "profile",
|
|
4172
|
+
"required": false,
|
|
4173
|
+
"hasDynamicHelp": false,
|
|
4174
|
+
"multiple": false,
|
|
4175
|
+
"type": "option"
|
|
4176
|
+
},
|
|
4177
|
+
"verbose": {
|
|
4178
|
+
"char": "v",
|
|
4179
|
+
"description": "Show detailed request/response information",
|
|
4180
|
+
"env": "XANO_VERBOSE",
|
|
4181
|
+
"name": "verbose",
|
|
4182
|
+
"required": false,
|
|
4183
|
+
"allowNo": false,
|
|
4184
|
+
"type": "boolean"
|
|
4185
|
+
},
|
|
4186
|
+
"force": {
|
|
4187
|
+
"char": "f",
|
|
4188
|
+
"description": "Skip confirmation prompt",
|
|
4189
|
+
"name": "force",
|
|
4190
|
+
"required": false,
|
|
4191
|
+
"allowNo": false,
|
|
4192
|
+
"type": "boolean"
|
|
4193
|
+
},
|
|
4194
|
+
"output": {
|
|
4195
|
+
"char": "o",
|
|
4196
|
+
"description": "Output format",
|
|
4197
|
+
"name": "output",
|
|
4198
|
+
"required": false,
|
|
4199
|
+
"default": "summary",
|
|
4200
|
+
"hasDynamicHelp": false,
|
|
4201
|
+
"multiple": false,
|
|
4202
|
+
"options": [
|
|
4203
|
+
"summary",
|
|
4204
|
+
"json"
|
|
4205
|
+
],
|
|
4206
|
+
"type": "option"
|
|
4207
|
+
}
|
|
4208
|
+
},
|
|
4209
|
+
"hasDynamicHelp": false,
|
|
4210
|
+
"hiddenAliases": [],
|
|
4211
|
+
"id": "workspace:delete",
|
|
4212
|
+
"pluginAlias": "@xano/cli",
|
|
4213
|
+
"pluginName": "@xano/cli",
|
|
4214
|
+
"pluginType": "core",
|
|
4215
|
+
"strict": true,
|
|
4216
|
+
"enableJsonFlag": false,
|
|
4217
|
+
"isESM": true,
|
|
4218
|
+
"relativePath": [
|
|
4219
|
+
"dist",
|
|
4220
|
+
"commands",
|
|
4221
|
+
"workspace",
|
|
4222
|
+
"delete",
|
|
4223
|
+
"index.js"
|
|
4224
|
+
]
|
|
4225
|
+
},
|
|
4151
4226
|
"workspace:create": {
|
|
4152
4227
|
"aliases": [],
|
|
4153
4228
|
"args": {
|
|
@@ -4224,20 +4299,20 @@
|
|
|
4224
4299
|
"index.js"
|
|
4225
4300
|
]
|
|
4226
4301
|
},
|
|
4227
|
-
"workspace:
|
|
4302
|
+
"workspace:get": {
|
|
4228
4303
|
"aliases": [],
|
|
4229
4304
|
"args": {
|
|
4230
4305
|
"workspace_id": {
|
|
4231
|
-
"description": "Workspace ID to
|
|
4306
|
+
"description": "Workspace ID to get details for (uses profile workspace if not provided)",
|
|
4232
4307
|
"name": "workspace_id",
|
|
4233
|
-
"required":
|
|
4308
|
+
"required": false
|
|
4234
4309
|
}
|
|
4235
4310
|
},
|
|
4236
|
-
"description": "
|
|
4311
|
+
"description": "Get details of a specific workspace from the Xano Metadata API",
|
|
4237
4312
|
"examples": [
|
|
4238
|
-
"$ xano workspace
|
|
4239
|
-
"$ xano workspace
|
|
4240
|
-
"$ xano workspace
|
|
4313
|
+
"$ xano workspace get 123\nWorkspace: my-workspace (ID: 123)\n Description: My workspace description\n Created: 2024-01-15\n",
|
|
4314
|
+
"$ xano workspace get --output json\n{\n \"id\": 123,\n \"name\": \"my-workspace\",\n \"description\": \"My workspace description\"\n}\n",
|
|
4315
|
+
"$ xano workspace get 456 -p production -o json\n{\n \"id\": 456,\n \"name\": \"production-workspace\"\n}\n"
|
|
4241
4316
|
],
|
|
4242
4317
|
"flags": {
|
|
4243
4318
|
"profile": {
|
|
@@ -4259,14 +4334,6 @@
|
|
|
4259
4334
|
"allowNo": false,
|
|
4260
4335
|
"type": "boolean"
|
|
4261
4336
|
},
|
|
4262
|
-
"force": {
|
|
4263
|
-
"char": "f",
|
|
4264
|
-
"description": "Skip confirmation prompt",
|
|
4265
|
-
"name": "force",
|
|
4266
|
-
"required": false,
|
|
4267
|
-
"allowNo": false,
|
|
4268
|
-
"type": "boolean"
|
|
4269
|
-
},
|
|
4270
4337
|
"output": {
|
|
4271
4338
|
"char": "o",
|
|
4272
4339
|
"description": "Output format",
|
|
@@ -4284,7 +4351,7 @@
|
|
|
4284
4351
|
},
|
|
4285
4352
|
"hasDynamicHelp": false,
|
|
4286
4353
|
"hiddenAliases": [],
|
|
4287
|
-
"id": "workspace:
|
|
4354
|
+
"id": "workspace:get",
|
|
4288
4355
|
"pluginAlias": "@xano/cli",
|
|
4289
4356
|
"pluginName": "@xano/cli",
|
|
4290
4357
|
"pluginType": "core",
|
|
@@ -4295,7 +4362,7 @@
|
|
|
4295
4362
|
"dist",
|
|
4296
4363
|
"commands",
|
|
4297
4364
|
"workspace",
|
|
4298
|
-
"
|
|
4365
|
+
"get",
|
|
4299
4366
|
"index.js"
|
|
4300
4367
|
]
|
|
4301
4368
|
},
|
|
@@ -4399,20 +4466,22 @@
|
|
|
4399
4466
|
"index.js"
|
|
4400
4467
|
]
|
|
4401
4468
|
},
|
|
4402
|
-
"workspace:
|
|
4469
|
+
"workspace:pull": {
|
|
4403
4470
|
"aliases": [],
|
|
4404
4471
|
"args": {
|
|
4405
|
-
"
|
|
4406
|
-
"description": "
|
|
4407
|
-
"name": "
|
|
4408
|
-
"required":
|
|
4472
|
+
"directory": {
|
|
4473
|
+
"description": "Output directory for pulled documents",
|
|
4474
|
+
"name": "directory",
|
|
4475
|
+
"required": true
|
|
4409
4476
|
}
|
|
4410
4477
|
},
|
|
4411
|
-
"description": "
|
|
4478
|
+
"description": "Pull a workspace multidoc from the Xano Metadata API and split into individual files",
|
|
4412
4479
|
"examples": [
|
|
4413
|
-
"$ xano workspace
|
|
4414
|
-
"$ xano workspace
|
|
4415
|
-
"$ xano workspace
|
|
4480
|
+
"$ xano workspace pull ./my-workspace\nPulled 42 documents to ./my-workspace\n",
|
|
4481
|
+
"$ xano workspace pull ./output -w 40\nPulled 15 documents to ./output\n",
|
|
4482
|
+
"$ xano workspace pull ./backup --profile production --env --records\nPulled 58 documents to ./backup\n",
|
|
4483
|
+
"$ xano workspace pull ./my-workspace --draft\nPulled 42 documents to ./my-workspace\n",
|
|
4484
|
+
"$ xano workspace pull ./my-workspace -b dev\nPulled 42 documents to ./my-workspace\n"
|
|
4416
4485
|
],
|
|
4417
4486
|
"flags": {
|
|
4418
4487
|
"profile": {
|
|
@@ -4434,86 +4503,49 @@
|
|
|
4434
4503
|
"allowNo": false,
|
|
4435
4504
|
"type": "boolean"
|
|
4436
4505
|
},
|
|
4437
|
-
"
|
|
4438
|
-
"char": "
|
|
4439
|
-
"description": "
|
|
4440
|
-
"name": "
|
|
4506
|
+
"branch": {
|
|
4507
|
+
"char": "b",
|
|
4508
|
+
"description": "Branch name (optional if set in profile, defaults to live)",
|
|
4509
|
+
"name": "branch",
|
|
4441
4510
|
"required": false,
|
|
4442
|
-
"default": "summary",
|
|
4443
4511
|
"hasDynamicHelp": false,
|
|
4444
4512
|
"multiple": false,
|
|
4445
|
-
"options": [
|
|
4446
|
-
"summary",
|
|
4447
|
-
"json"
|
|
4448
|
-
],
|
|
4449
4513
|
"type": "option"
|
|
4450
|
-
}
|
|
4451
|
-
|
|
4452
|
-
|
|
4453
|
-
|
|
4454
|
-
"id": "workspace:get",
|
|
4455
|
-
"pluginAlias": "@xano/cli",
|
|
4456
|
-
"pluginName": "@xano/cli",
|
|
4457
|
-
"pluginType": "core",
|
|
4458
|
-
"strict": true,
|
|
4459
|
-
"enableJsonFlag": false,
|
|
4460
|
-
"isESM": true,
|
|
4461
|
-
"relativePath": [
|
|
4462
|
-
"dist",
|
|
4463
|
-
"commands",
|
|
4464
|
-
"workspace",
|
|
4465
|
-
"get",
|
|
4466
|
-
"index.js"
|
|
4467
|
-
]
|
|
4468
|
-
},
|
|
4469
|
-
"workspace:list": {
|
|
4470
|
-
"aliases": [],
|
|
4471
|
-
"args": {},
|
|
4472
|
-
"description": "List all workspaces from the Xano Metadata API",
|
|
4473
|
-
"examples": [
|
|
4474
|
-
"$ xano workspace:list\nAvailable workspaces:\n - workspace-1 (ID: 1)\n - workspace-2 (ID: 2)\n - workspace-3 (ID: 3)\n",
|
|
4475
|
-
"$ xano workspace:list --profile production\nAvailable workspaces:\n - my-app (ID: 1)\n - staging-env (ID: 2)\n",
|
|
4476
|
-
"$ 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",
|
|
4477
|
-
"$ xano workspace:list -p staging -o json\n{\n \"workspaces\": [\n {\n \"id\": 1,\n \"name\": \"my-app\"\n }\n ]\n}\n"
|
|
4478
|
-
],
|
|
4479
|
-
"flags": {
|
|
4480
|
-
"profile": {
|
|
4481
|
-
"char": "p",
|
|
4482
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
4483
|
-
"env": "XANO_PROFILE",
|
|
4484
|
-
"name": "profile",
|
|
4514
|
+
},
|
|
4515
|
+
"env": {
|
|
4516
|
+
"description": "Include environment variables",
|
|
4517
|
+
"name": "env",
|
|
4485
4518
|
"required": false,
|
|
4486
|
-
"
|
|
4487
|
-
"
|
|
4488
|
-
"type": "option"
|
|
4519
|
+
"allowNo": false,
|
|
4520
|
+
"type": "boolean"
|
|
4489
4521
|
},
|
|
4490
|
-
"
|
|
4491
|
-
"
|
|
4492
|
-
"
|
|
4493
|
-
"env": "XANO_VERBOSE",
|
|
4494
|
-
"name": "verbose",
|
|
4522
|
+
"draft": {
|
|
4523
|
+
"description": "Include draft versions",
|
|
4524
|
+
"name": "draft",
|
|
4495
4525
|
"required": false,
|
|
4496
4526
|
"allowNo": false,
|
|
4497
4527
|
"type": "boolean"
|
|
4498
4528
|
},
|
|
4499
|
-
"
|
|
4500
|
-
"
|
|
4501
|
-
"
|
|
4502
|
-
"
|
|
4529
|
+
"records": {
|
|
4530
|
+
"description": "Include records",
|
|
4531
|
+
"name": "records",
|
|
4532
|
+
"required": false,
|
|
4533
|
+
"allowNo": false,
|
|
4534
|
+
"type": "boolean"
|
|
4535
|
+
},
|
|
4536
|
+
"workspace": {
|
|
4537
|
+
"char": "w",
|
|
4538
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
4539
|
+
"name": "workspace",
|
|
4503
4540
|
"required": false,
|
|
4504
|
-
"default": "summary",
|
|
4505
4541
|
"hasDynamicHelp": false,
|
|
4506
4542
|
"multiple": false,
|
|
4507
|
-
"options": [
|
|
4508
|
-
"summary",
|
|
4509
|
-
"json"
|
|
4510
|
-
],
|
|
4511
4543
|
"type": "option"
|
|
4512
4544
|
}
|
|
4513
4545
|
},
|
|
4514
4546
|
"hasDynamicHelp": false,
|
|
4515
4547
|
"hiddenAliases": [],
|
|
4516
|
-
"id": "workspace:
|
|
4548
|
+
"id": "workspace:pull",
|
|
4517
4549
|
"pluginAlias": "@xano/cli",
|
|
4518
4550
|
"pluginName": "@xano/cli",
|
|
4519
4551
|
"pluginType": "core",
|
|
@@ -4524,26 +4556,32 @@
|
|
|
4524
4556
|
"dist",
|
|
4525
4557
|
"commands",
|
|
4526
4558
|
"workspace",
|
|
4527
|
-
"
|
|
4559
|
+
"pull",
|
|
4528
4560
|
"index.js"
|
|
4529
4561
|
]
|
|
4530
4562
|
},
|
|
4531
|
-
"workspace:
|
|
4563
|
+
"workspace:push": {
|
|
4532
4564
|
"aliases": [],
|
|
4533
4565
|
"args": {
|
|
4534
4566
|
"directory": {
|
|
4535
|
-
"description": "
|
|
4567
|
+
"description": "Directory containing documents to push (as produced by workspace pull)",
|
|
4536
4568
|
"name": "directory",
|
|
4537
4569
|
"required": true
|
|
4538
4570
|
}
|
|
4539
4571
|
},
|
|
4540
|
-
"description": "
|
|
4572
|
+
"description": "Push local documents to a workspace via the Xano Metadata API multidoc endpoint",
|
|
4541
4573
|
"examples": [
|
|
4542
|
-
"$ xano workspace
|
|
4543
|
-
"$ xano workspace
|
|
4544
|
-
"$ xano workspace
|
|
4545
|
-
"$ xano workspace
|
|
4546
|
-
"$ xano workspace
|
|
4574
|
+
"$ xano workspace push ./my-workspace\nPushed 42 documents from ./my-workspace\n",
|
|
4575
|
+
"$ xano workspace push ./output -w 40\nPushed 15 documents from ./output\n",
|
|
4576
|
+
"$ xano workspace push ./backup --profile production\nPushed 58 documents from ./backup\n",
|
|
4577
|
+
"$ xano workspace push ./my-workspace -b dev\nPushed 42 documents from ./my-workspace\n",
|
|
4578
|
+
"$ xano workspace push ./my-functions --partial\nPush some files without a workspace block (implies --no-delete)\n",
|
|
4579
|
+
"$ xano workspace push ./my-workspace --no-delete\nPatch files without deleting existing workspace objects\n",
|
|
4580
|
+
"$ xano workspace push ./my-workspace --no-records\nPush schema only, skip importing table records\n",
|
|
4581
|
+
"$ xano workspace push ./my-workspace --no-env\nPush without overwriting environment variables\n",
|
|
4582
|
+
"$ xano workspace push ./my-workspace --truncate\nTruncate all table records before importing\n",
|
|
4583
|
+
"$ xano workspace push ./my-workspace --truncate --no-records\nTruncate all table records without importing new ones\n",
|
|
4584
|
+
"$ xano workspace push ./my-workspace --no-records --no-env\nPush schema only, skip records and environment variables\n"
|
|
4547
4585
|
],
|
|
4548
4586
|
"flags": {
|
|
4549
4587
|
"profile": {
|
|
@@ -4574,24 +4612,45 @@
|
|
|
4574
4612
|
"multiple": false,
|
|
4575
4613
|
"type": "option"
|
|
4576
4614
|
},
|
|
4615
|
+
"delete": {
|
|
4616
|
+
"description": "Delete workspace objects not included in the push (default: false)",
|
|
4617
|
+
"name": "delete",
|
|
4618
|
+
"required": false,
|
|
4619
|
+
"allowNo": true,
|
|
4620
|
+
"type": "boolean"
|
|
4621
|
+
},
|
|
4577
4622
|
"env": {
|
|
4578
|
-
"description": "Include environment variables",
|
|
4623
|
+
"description": "Include environment variables in import (default: true, use --no-env to exclude)",
|
|
4579
4624
|
"name": "env",
|
|
4580
4625
|
"required": false,
|
|
4581
|
-
"allowNo":
|
|
4626
|
+
"allowNo": true,
|
|
4582
4627
|
"type": "boolean"
|
|
4583
4628
|
},
|
|
4584
|
-
"
|
|
4585
|
-
"description": "
|
|
4586
|
-
"name": "
|
|
4629
|
+
"partial": {
|
|
4630
|
+
"description": "Partial push — workspace block is not required, existing objects are kept (implies --no-delete)",
|
|
4631
|
+
"name": "partial",
|
|
4587
4632
|
"required": false,
|
|
4588
4633
|
"allowNo": false,
|
|
4589
4634
|
"type": "boolean"
|
|
4590
4635
|
},
|
|
4591
4636
|
"records": {
|
|
4592
|
-
"description": "Include records",
|
|
4637
|
+
"description": "Include records in import (default: true, use --no-records to exclude)",
|
|
4593
4638
|
"name": "records",
|
|
4594
4639
|
"required": false,
|
|
4640
|
+
"allowNo": true,
|
|
4641
|
+
"type": "boolean"
|
|
4642
|
+
},
|
|
4643
|
+
"sync-guids": {
|
|
4644
|
+
"description": "Write server-assigned GUIDs back to local files (use --no-sync-guids to skip)",
|
|
4645
|
+
"name": "sync-guids",
|
|
4646
|
+
"required": false,
|
|
4647
|
+
"allowNo": true,
|
|
4648
|
+
"type": "boolean"
|
|
4649
|
+
},
|
|
4650
|
+
"truncate": {
|
|
4651
|
+
"description": "Truncate all table records before importing",
|
|
4652
|
+
"name": "truncate",
|
|
4653
|
+
"required": false,
|
|
4595
4654
|
"allowNo": false,
|
|
4596
4655
|
"type": "boolean"
|
|
4597
4656
|
},
|
|
@@ -4607,7 +4666,7 @@
|
|
|
4607
4666
|
},
|
|
4608
4667
|
"hasDynamicHelp": false,
|
|
4609
4668
|
"hiddenAliases": [],
|
|
4610
|
-
"id": "workspace:
|
|
4669
|
+
"id": "workspace:push",
|
|
4611
4670
|
"pluginAlias": "@xano/cli",
|
|
4612
4671
|
"pluginName": "@xano/cli",
|
|
4613
4672
|
"pluginType": "core",
|
|
@@ -4618,7 +4677,69 @@
|
|
|
4618
4677
|
"dist",
|
|
4619
4678
|
"commands",
|
|
4620
4679
|
"workspace",
|
|
4621
|
-
"
|
|
4680
|
+
"push",
|
|
4681
|
+
"index.js"
|
|
4682
|
+
]
|
|
4683
|
+
},
|
|
4684
|
+
"workspace:list": {
|
|
4685
|
+
"aliases": [],
|
|
4686
|
+
"args": {},
|
|
4687
|
+
"description": "List all workspaces from the Xano Metadata API",
|
|
4688
|
+
"examples": [
|
|
4689
|
+
"$ xano workspace:list\nAvailable workspaces:\n - workspace-1 (ID: 1)\n - workspace-2 (ID: 2)\n - workspace-3 (ID: 3)\n",
|
|
4690
|
+
"$ xano workspace:list --profile production\nAvailable workspaces:\n - my-app (ID: 1)\n - staging-env (ID: 2)\n",
|
|
4691
|
+
"$ 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",
|
|
4692
|
+
"$ xano workspace:list -p staging -o json\n{\n \"workspaces\": [\n {\n \"id\": 1,\n \"name\": \"my-app\"\n }\n ]\n}\n"
|
|
4693
|
+
],
|
|
4694
|
+
"flags": {
|
|
4695
|
+
"profile": {
|
|
4696
|
+
"char": "p",
|
|
4697
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
4698
|
+
"env": "XANO_PROFILE",
|
|
4699
|
+
"name": "profile",
|
|
4700
|
+
"required": false,
|
|
4701
|
+
"hasDynamicHelp": false,
|
|
4702
|
+
"multiple": false,
|
|
4703
|
+
"type": "option"
|
|
4704
|
+
},
|
|
4705
|
+
"verbose": {
|
|
4706
|
+
"char": "v",
|
|
4707
|
+
"description": "Show detailed request/response information",
|
|
4708
|
+
"env": "XANO_VERBOSE",
|
|
4709
|
+
"name": "verbose",
|
|
4710
|
+
"required": false,
|
|
4711
|
+
"allowNo": false,
|
|
4712
|
+
"type": "boolean"
|
|
4713
|
+
},
|
|
4714
|
+
"output": {
|
|
4715
|
+
"char": "o",
|
|
4716
|
+
"description": "Output format",
|
|
4717
|
+
"name": "output",
|
|
4718
|
+
"required": false,
|
|
4719
|
+
"default": "summary",
|
|
4720
|
+
"hasDynamicHelp": false,
|
|
4721
|
+
"multiple": false,
|
|
4722
|
+
"options": [
|
|
4723
|
+
"summary",
|
|
4724
|
+
"json"
|
|
4725
|
+
],
|
|
4726
|
+
"type": "option"
|
|
4727
|
+
}
|
|
4728
|
+
},
|
|
4729
|
+
"hasDynamicHelp": false,
|
|
4730
|
+
"hiddenAliases": [],
|
|
4731
|
+
"id": "workspace:list",
|
|
4732
|
+
"pluginAlias": "@xano/cli",
|
|
4733
|
+
"pluginName": "@xano/cli",
|
|
4734
|
+
"pluginType": "core",
|
|
4735
|
+
"strict": true,
|
|
4736
|
+
"enableJsonFlag": false,
|
|
4737
|
+
"isESM": true,
|
|
4738
|
+
"relativePath": [
|
|
4739
|
+
"dist",
|
|
4740
|
+
"commands",
|
|
4741
|
+
"workspace",
|
|
4742
|
+
"list",
|
|
4622
4743
|
"index.js"
|
|
4623
4744
|
]
|
|
4624
4745
|
},
|
|
@@ -4905,28 +5026,20 @@
|
|
|
4905
5026
|
"index.js"
|
|
4906
5027
|
]
|
|
4907
5028
|
},
|
|
4908
|
-
"
|
|
5029
|
+
"tenant:backup:delete": {
|
|
4909
5030
|
"aliases": [],
|
|
4910
5031
|
"args": {
|
|
4911
|
-
"
|
|
4912
|
-
"description": "
|
|
4913
|
-
"name": "
|
|
5032
|
+
"tenant_name": {
|
|
5033
|
+
"description": "Tenant name that owns the backup",
|
|
5034
|
+
"name": "tenant_name",
|
|
4914
5035
|
"required": true
|
|
4915
5036
|
}
|
|
4916
5037
|
},
|
|
4917
|
-
"description": "
|
|
5038
|
+
"description": "Delete a tenant backup permanently. This action cannot be undone.",
|
|
4918
5039
|
"examples": [
|
|
4919
|
-
"$ xano
|
|
4920
|
-
"$ xano
|
|
4921
|
-
"$ xano
|
|
4922
|
-
"$ xano workspace push ./my-workspace -b dev\nPushed 42 documents from ./my-workspace\n",
|
|
4923
|
-
"$ xano workspace push ./my-functions --partial\nPush some files without a workspace block (implies --no-delete)\n",
|
|
4924
|
-
"$ xano workspace push ./my-workspace --no-delete\nPatch files without deleting existing workspace objects\n",
|
|
4925
|
-
"$ xano workspace push ./my-workspace --no-records\nPush schema only, skip importing table records\n",
|
|
4926
|
-
"$ xano workspace push ./my-workspace --no-env\nPush without overwriting environment variables\n",
|
|
4927
|
-
"$ xano workspace push ./my-workspace --truncate\nTruncate all table records before importing\n",
|
|
4928
|
-
"$ xano workspace push ./my-workspace --truncate --no-records\nTruncate all table records without importing new ones\n",
|
|
4929
|
-
"$ xano workspace push ./my-workspace --no-records --no-env\nPush schema only, skip records and environment variables\n"
|
|
5040
|
+
"$ xano tenant backup delete t1234-abcd-xyz1 --backup_id 10\nAre you sure you want to delete backup #10? This action cannot be undone. (y/N) y\nDeleted backup #10\n",
|
|
5041
|
+
"$ xano tenant backup delete t1234-abcd-xyz1 --backup_id 10 --force",
|
|
5042
|
+
"$ xano tenant backup delete t1234-abcd-xyz1 --backup_id 10 -o json"
|
|
4930
5043
|
],
|
|
4931
5044
|
"flags": {
|
|
4932
5045
|
"profile": {
|
|
@@ -4948,60 +5061,39 @@
|
|
|
4948
5061
|
"allowNo": false,
|
|
4949
5062
|
"type": "boolean"
|
|
4950
5063
|
},
|
|
4951
|
-
"
|
|
4952
|
-
"
|
|
4953
|
-
"
|
|
4954
|
-
"
|
|
4955
|
-
"required": false,
|
|
5064
|
+
"backup_id": {
|
|
5065
|
+
"description": "Backup ID to delete",
|
|
5066
|
+
"name": "backup_id",
|
|
5067
|
+
"required": true,
|
|
4956
5068
|
"hasDynamicHelp": false,
|
|
4957
5069
|
"multiple": false,
|
|
4958
5070
|
"type": "option"
|
|
4959
5071
|
},
|
|
4960
|
-
"
|
|
4961
|
-
"
|
|
4962
|
-
"
|
|
4963
|
-
"
|
|
4964
|
-
"allowNo": true,
|
|
4965
|
-
"type": "boolean"
|
|
4966
|
-
},
|
|
4967
|
-
"env": {
|
|
4968
|
-
"description": "Include environment variables in import (default: true, use --no-env to exclude)",
|
|
4969
|
-
"name": "env",
|
|
4970
|
-
"required": false,
|
|
4971
|
-
"allowNo": true,
|
|
4972
|
-
"type": "boolean"
|
|
4973
|
-
},
|
|
4974
|
-
"partial": {
|
|
4975
|
-
"description": "Partial push — workspace block is not required, existing objects are kept (implies --no-delete)",
|
|
4976
|
-
"name": "partial",
|
|
5072
|
+
"force": {
|
|
5073
|
+
"char": "f",
|
|
5074
|
+
"description": "Skip confirmation prompt",
|
|
5075
|
+
"name": "force",
|
|
4977
5076
|
"required": false,
|
|
4978
5077
|
"allowNo": false,
|
|
4979
5078
|
"type": "boolean"
|
|
4980
5079
|
},
|
|
4981
|
-
"
|
|
4982
|
-
"
|
|
4983
|
-
"
|
|
4984
|
-
"
|
|
4985
|
-
"allowNo": true,
|
|
4986
|
-
"type": "boolean"
|
|
4987
|
-
},
|
|
4988
|
-
"sync-guids": {
|
|
4989
|
-
"description": "Write server-assigned GUIDs back to local files (use --no-sync-guids to skip)",
|
|
4990
|
-
"name": "sync-guids",
|
|
4991
|
-
"required": false,
|
|
4992
|
-
"allowNo": true,
|
|
4993
|
-
"type": "boolean"
|
|
4994
|
-
},
|
|
4995
|
-
"truncate": {
|
|
4996
|
-
"description": "Truncate all table records before importing",
|
|
4997
|
-
"name": "truncate",
|
|
5080
|
+
"output": {
|
|
5081
|
+
"char": "o",
|
|
5082
|
+
"description": "Output format",
|
|
5083
|
+
"name": "output",
|
|
4998
5084
|
"required": false,
|
|
4999
|
-
"
|
|
5000
|
-
"
|
|
5085
|
+
"default": "summary",
|
|
5086
|
+
"hasDynamicHelp": false,
|
|
5087
|
+
"multiple": false,
|
|
5088
|
+
"options": [
|
|
5089
|
+
"summary",
|
|
5090
|
+
"json"
|
|
5091
|
+
],
|
|
5092
|
+
"type": "option"
|
|
5001
5093
|
},
|
|
5002
5094
|
"workspace": {
|
|
5003
5095
|
"char": "w",
|
|
5004
|
-
"description": "Workspace ID (
|
|
5096
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
5005
5097
|
"name": "workspace",
|
|
5006
5098
|
"required": false,
|
|
5007
5099
|
"hasDynamicHelp": false,
|
|
@@ -5011,7 +5103,7 @@
|
|
|
5011
5103
|
},
|
|
5012
5104
|
"hasDynamicHelp": false,
|
|
5013
5105
|
"hiddenAliases": [],
|
|
5014
|
-
"id": "
|
|
5106
|
+
"id": "tenant:backup:delete",
|
|
5015
5107
|
"pluginAlias": "@xano/cli",
|
|
5016
5108
|
"pluginName": "@xano/cli",
|
|
5017
5109
|
"pluginType": "core",
|
|
@@ -5021,8 +5113,9 @@
|
|
|
5021
5113
|
"relativePath": [
|
|
5022
5114
|
"dist",
|
|
5023
5115
|
"commands",
|
|
5024
|
-
"
|
|
5025
|
-
"
|
|
5116
|
+
"tenant",
|
|
5117
|
+
"backup",
|
|
5118
|
+
"delete",
|
|
5026
5119
|
"index.js"
|
|
5027
5120
|
]
|
|
5028
5121
|
},
|
|
@@ -5205,20 +5298,19 @@
|
|
|
5205
5298
|
"index.js"
|
|
5206
5299
|
]
|
|
5207
5300
|
},
|
|
5208
|
-
"tenant:backup:
|
|
5301
|
+
"tenant:backup:list": {
|
|
5209
5302
|
"aliases": [],
|
|
5210
5303
|
"args": {
|
|
5211
5304
|
"tenant_name": {
|
|
5212
|
-
"description": "Tenant name
|
|
5305
|
+
"description": "Tenant name to list backups for",
|
|
5213
5306
|
"name": "tenant_name",
|
|
5214
5307
|
"required": true
|
|
5215
5308
|
}
|
|
5216
5309
|
},
|
|
5217
|
-
"description": "
|
|
5310
|
+
"description": "List backups for a tenant",
|
|
5218
5311
|
"examples": [
|
|
5219
|
-
"$ xano tenant backup
|
|
5220
|
-
"$ xano tenant backup
|
|
5221
|
-
"$ xano tenant backup delete t1234-abcd-xyz1 --backup_id 10 -o json"
|
|
5312
|
+
"$ 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",
|
|
5313
|
+
"$ xano tenant backup list t1234-abcd-xyz1 -o json"
|
|
5222
5314
|
],
|
|
5223
5315
|
"flags": {
|
|
5224
5316
|
"profile": {
|
|
@@ -5240,22 +5332,6 @@
|
|
|
5240
5332
|
"allowNo": false,
|
|
5241
5333
|
"type": "boolean"
|
|
5242
5334
|
},
|
|
5243
|
-
"backup_id": {
|
|
5244
|
-
"description": "Backup ID to delete",
|
|
5245
|
-
"name": "backup_id",
|
|
5246
|
-
"required": true,
|
|
5247
|
-
"hasDynamicHelp": false,
|
|
5248
|
-
"multiple": false,
|
|
5249
|
-
"type": "option"
|
|
5250
|
-
},
|
|
5251
|
-
"force": {
|
|
5252
|
-
"char": "f",
|
|
5253
|
-
"description": "Skip confirmation prompt",
|
|
5254
|
-
"name": "force",
|
|
5255
|
-
"required": false,
|
|
5256
|
-
"allowNo": false,
|
|
5257
|
-
"type": "boolean"
|
|
5258
|
-
},
|
|
5259
5335
|
"output": {
|
|
5260
5336
|
"char": "o",
|
|
5261
5337
|
"description": "Output format",
|
|
@@ -5270,6 +5346,15 @@
|
|
|
5270
5346
|
],
|
|
5271
5347
|
"type": "option"
|
|
5272
5348
|
},
|
|
5349
|
+
"page": {
|
|
5350
|
+
"description": "Page number for pagination",
|
|
5351
|
+
"name": "page",
|
|
5352
|
+
"required": false,
|
|
5353
|
+
"default": 1,
|
|
5354
|
+
"hasDynamicHelp": false,
|
|
5355
|
+
"multiple": false,
|
|
5356
|
+
"type": "option"
|
|
5357
|
+
},
|
|
5273
5358
|
"workspace": {
|
|
5274
5359
|
"char": "w",
|
|
5275
5360
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -5282,7 +5367,7 @@
|
|
|
5282
5367
|
},
|
|
5283
5368
|
"hasDynamicHelp": false,
|
|
5284
5369
|
"hiddenAliases": [],
|
|
5285
|
-
"id": "tenant:backup:
|
|
5370
|
+
"id": "tenant:backup:list",
|
|
5286
5371
|
"pluginAlias": "@xano/cli",
|
|
5287
5372
|
"pluginName": "@xano/cli",
|
|
5288
5373
|
"pluginType": "core",
|
|
@@ -5294,23 +5379,23 @@
|
|
|
5294
5379
|
"commands",
|
|
5295
5380
|
"tenant",
|
|
5296
5381
|
"backup",
|
|
5297
|
-
"
|
|
5382
|
+
"list",
|
|
5298
5383
|
"index.js"
|
|
5299
5384
|
]
|
|
5300
5385
|
},
|
|
5301
|
-
"tenant:backup:
|
|
5386
|
+
"tenant:backup:import": {
|
|
5302
5387
|
"aliases": [],
|
|
5303
5388
|
"args": {
|
|
5304
5389
|
"tenant_name": {
|
|
5305
|
-
"description": "Tenant name to
|
|
5390
|
+
"description": "Tenant name to import backup into",
|
|
5306
5391
|
"name": "tenant_name",
|
|
5307
5392
|
"required": true
|
|
5308
5393
|
}
|
|
5309
5394
|
},
|
|
5310
|
-
"description": "
|
|
5395
|
+
"description": "Import a backup file into a tenant",
|
|
5311
5396
|
"examples": [
|
|
5312
|
-
"$ xano tenant backup
|
|
5313
|
-
"$ xano tenant backup
|
|
5397
|
+
"$ xano tenant backup import t1234-abcd-xyz1 --file ./my-backup.tar.gz\nImported backup as #15 for tenant t1234-abcd-xyz1\n",
|
|
5398
|
+
"$ xano tenant backup import t1234-abcd-xyz1 --file ./my-backup.tar.gz --description \"Restored from production\" -o json"
|
|
5314
5399
|
],
|
|
5315
5400
|
"flags": {
|
|
5316
5401
|
"profile": {
|
|
@@ -5332,6 +5417,25 @@
|
|
|
5332
5417
|
"allowNo": false,
|
|
5333
5418
|
"type": "boolean"
|
|
5334
5419
|
},
|
|
5420
|
+
"description": {
|
|
5421
|
+
"char": "d",
|
|
5422
|
+
"description": "Backup description",
|
|
5423
|
+
"name": "description",
|
|
5424
|
+
"required": false,
|
|
5425
|
+
"default": "",
|
|
5426
|
+
"hasDynamicHelp": false,
|
|
5427
|
+
"multiple": false,
|
|
5428
|
+
"type": "option"
|
|
5429
|
+
},
|
|
5430
|
+
"file": {
|
|
5431
|
+
"char": "f",
|
|
5432
|
+
"description": "Path to the backup file (.tar.gz)",
|
|
5433
|
+
"name": "file",
|
|
5434
|
+
"required": true,
|
|
5435
|
+
"hasDynamicHelp": false,
|
|
5436
|
+
"multiple": false,
|
|
5437
|
+
"type": "option"
|
|
5438
|
+
},
|
|
5335
5439
|
"output": {
|
|
5336
5440
|
"char": "o",
|
|
5337
5441
|
"description": "Output format",
|
|
@@ -5346,15 +5450,6 @@
|
|
|
5346
5450
|
],
|
|
5347
5451
|
"type": "option"
|
|
5348
5452
|
},
|
|
5349
|
-
"page": {
|
|
5350
|
-
"description": "Page number for pagination",
|
|
5351
|
-
"name": "page",
|
|
5352
|
-
"required": false,
|
|
5353
|
-
"default": 1,
|
|
5354
|
-
"hasDynamicHelp": false,
|
|
5355
|
-
"multiple": false,
|
|
5356
|
-
"type": "option"
|
|
5357
|
-
},
|
|
5358
5453
|
"workspace": {
|
|
5359
5454
|
"char": "w",
|
|
5360
5455
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -5367,7 +5462,7 @@
|
|
|
5367
5462
|
},
|
|
5368
5463
|
"hasDynamicHelp": false,
|
|
5369
5464
|
"hiddenAliases": [],
|
|
5370
|
-
"id": "tenant:backup:
|
|
5465
|
+
"id": "tenant:backup:import",
|
|
5371
5466
|
"pluginAlias": "@xano/cli",
|
|
5372
5467
|
"pluginName": "@xano/cli",
|
|
5373
5468
|
"pluginType": "core",
|
|
@@ -5379,23 +5474,23 @@
|
|
|
5379
5474
|
"commands",
|
|
5380
5475
|
"tenant",
|
|
5381
5476
|
"backup",
|
|
5382
|
-
"
|
|
5477
|
+
"import",
|
|
5383
5478
|
"index.js"
|
|
5384
5479
|
]
|
|
5385
5480
|
},
|
|
5386
|
-
"tenant:backup:
|
|
5481
|
+
"tenant:backup:restore": {
|
|
5387
5482
|
"aliases": [],
|
|
5388
5483
|
"args": {
|
|
5389
5484
|
"tenant_name": {
|
|
5390
|
-
"description": "Tenant name to
|
|
5485
|
+
"description": "Tenant name to restore",
|
|
5391
5486
|
"name": "tenant_name",
|
|
5392
5487
|
"required": true
|
|
5393
5488
|
}
|
|
5394
5489
|
},
|
|
5395
|
-
"description": "
|
|
5490
|
+
"description": "Restore a tenant from a backup. This replaces the current tenant data.",
|
|
5396
5491
|
"examples": [
|
|
5397
|
-
"$ xano tenant backup
|
|
5398
|
-
"$ xano tenant backup
|
|
5492
|
+
"$ xano tenant backup restore t1234-abcd-xyz1 --backup_id 10\nAre you sure you want to restore tenant t1234-abcd-xyz1 from backup 10? This will replace current data. (y/N) y\nRestored tenant t1234-abcd-xyz1 from backup #10\n",
|
|
5493
|
+
"$ xano tenant backup restore t1234-abcd-xyz1 --backup_id 10 --force -o json"
|
|
5399
5494
|
],
|
|
5400
5495
|
"flags": {
|
|
5401
5496
|
"profile": {
|
|
@@ -5417,24 +5512,21 @@
|
|
|
5417
5512
|
"allowNo": false,
|
|
5418
5513
|
"type": "boolean"
|
|
5419
5514
|
},
|
|
5420
|
-
"
|
|
5421
|
-
"
|
|
5422
|
-
"
|
|
5423
|
-
"
|
|
5424
|
-
"required": false,
|
|
5425
|
-
"default": "",
|
|
5515
|
+
"backup_id": {
|
|
5516
|
+
"description": "Backup ID to restore from",
|
|
5517
|
+
"name": "backup_id",
|
|
5518
|
+
"required": true,
|
|
5426
5519
|
"hasDynamicHelp": false,
|
|
5427
5520
|
"multiple": false,
|
|
5428
5521
|
"type": "option"
|
|
5429
5522
|
},
|
|
5430
|
-
"
|
|
5523
|
+
"force": {
|
|
5431
5524
|
"char": "f",
|
|
5432
|
-
"description": "
|
|
5433
|
-
"name": "
|
|
5434
|
-
"required":
|
|
5435
|
-
"
|
|
5436
|
-
"
|
|
5437
|
-
"type": "option"
|
|
5525
|
+
"description": "Skip confirmation prompt",
|
|
5526
|
+
"name": "force",
|
|
5527
|
+
"required": false,
|
|
5528
|
+
"allowNo": false,
|
|
5529
|
+
"type": "boolean"
|
|
5438
5530
|
},
|
|
5439
5531
|
"output": {
|
|
5440
5532
|
"char": "o",
|
|
@@ -5462,7 +5554,7 @@
|
|
|
5462
5554
|
},
|
|
5463
5555
|
"hasDynamicHelp": false,
|
|
5464
5556
|
"hiddenAliases": [],
|
|
5465
|
-
"id": "tenant:backup:
|
|
5557
|
+
"id": "tenant:backup:restore",
|
|
5466
5558
|
"pluginAlias": "@xano/cli",
|
|
5467
5559
|
"pluginName": "@xano/cli",
|
|
5468
5560
|
"pluginType": "core",
|
|
@@ -5474,7 +5566,7 @@
|
|
|
5474
5566
|
"commands",
|
|
5475
5567
|
"tenant",
|
|
5476
5568
|
"backup",
|
|
5477
|
-
"
|
|
5569
|
+
"restore",
|
|
5478
5570
|
"index.js"
|
|
5479
5571
|
]
|
|
5480
5572
|
},
|
|
@@ -5600,19 +5692,19 @@
|
|
|
5600
5692
|
"index.js"
|
|
5601
5693
|
]
|
|
5602
5694
|
},
|
|
5603
|
-
"tenant:
|
|
5695
|
+
"tenant:cluster:edit": {
|
|
5604
5696
|
"aliases": [],
|
|
5605
5697
|
"args": {
|
|
5606
|
-
"
|
|
5607
|
-
"description": "
|
|
5608
|
-
"name": "
|
|
5698
|
+
"cluster_id": {
|
|
5699
|
+
"description": "Cluster ID to edit",
|
|
5700
|
+
"name": "cluster_id",
|
|
5609
5701
|
"required": true
|
|
5610
5702
|
}
|
|
5611
5703
|
},
|
|
5612
|
-
"description": "
|
|
5704
|
+
"description": "Update an existing tenant cluster",
|
|
5613
5705
|
"examples": [
|
|
5614
|
-
"$ xano tenant
|
|
5615
|
-
"$ xano tenant
|
|
5706
|
+
"$ xano tenant cluster edit 1 --name \"us-east-1-updated\" --description \"Updated cluster\" --domain \"us-east.xano.io\" --type standard\nUpdated tenant cluster: us-east-1-updated (standard) - ID: 1\n",
|
|
5707
|
+
"$ xano tenant cluster edit 1 --name \"eu-west\" --description \"\" --domain \"\" --type run -o json"
|
|
5616
5708
|
],
|
|
5617
5709
|
"flags": {
|
|
5618
5710
|
"profile": {
|
|
@@ -5634,21 +5726,31 @@
|
|
|
5634
5726
|
"allowNo": false,
|
|
5635
5727
|
"type": "boolean"
|
|
5636
5728
|
},
|
|
5637
|
-
"
|
|
5638
|
-
"
|
|
5639
|
-
"
|
|
5729
|
+
"description": {
|
|
5730
|
+
"char": "d",
|
|
5731
|
+
"description": "Cluster description",
|
|
5732
|
+
"name": "description",
|
|
5640
5733
|
"required": true,
|
|
5641
5734
|
"hasDynamicHelp": false,
|
|
5642
5735
|
"multiple": false,
|
|
5643
5736
|
"type": "option"
|
|
5644
5737
|
},
|
|
5645
|
-
"
|
|
5646
|
-
"
|
|
5647
|
-
"
|
|
5648
|
-
"
|
|
5649
|
-
"
|
|
5650
|
-
"
|
|
5651
|
-
"type": "
|
|
5738
|
+
"domain": {
|
|
5739
|
+
"description": "Custom domain for the cluster",
|
|
5740
|
+
"name": "domain",
|
|
5741
|
+
"required": true,
|
|
5742
|
+
"hasDynamicHelp": false,
|
|
5743
|
+
"multiple": false,
|
|
5744
|
+
"type": "option"
|
|
5745
|
+
},
|
|
5746
|
+
"name": {
|
|
5747
|
+
"char": "n",
|
|
5748
|
+
"description": "Cluster name",
|
|
5749
|
+
"name": "name",
|
|
5750
|
+
"required": true,
|
|
5751
|
+
"hasDynamicHelp": false,
|
|
5752
|
+
"multiple": false,
|
|
5753
|
+
"type": "option"
|
|
5652
5754
|
},
|
|
5653
5755
|
"output": {
|
|
5654
5756
|
"char": "o",
|
|
@@ -5664,19 +5766,22 @@
|
|
|
5664
5766
|
],
|
|
5665
5767
|
"type": "option"
|
|
5666
5768
|
},
|
|
5667
|
-
"
|
|
5668
|
-
"
|
|
5669
|
-
"
|
|
5670
|
-
"
|
|
5671
|
-
"required": false,
|
|
5769
|
+
"type": {
|
|
5770
|
+
"description": "Cluster type",
|
|
5771
|
+
"name": "type",
|
|
5772
|
+
"required": true,
|
|
5672
5773
|
"hasDynamicHelp": false,
|
|
5673
5774
|
"multiple": false,
|
|
5775
|
+
"options": [
|
|
5776
|
+
"standard",
|
|
5777
|
+
"run"
|
|
5778
|
+
],
|
|
5674
5779
|
"type": "option"
|
|
5675
5780
|
}
|
|
5676
5781
|
},
|
|
5677
5782
|
"hasDynamicHelp": false,
|
|
5678
5783
|
"hiddenAliases": [],
|
|
5679
|
-
"id": "tenant:
|
|
5784
|
+
"id": "tenant:cluster:edit",
|
|
5680
5785
|
"pluginAlias": "@xano/cli",
|
|
5681
5786
|
"pluginName": "@xano/cli",
|
|
5682
5787
|
"pluginType": "core",
|
|
@@ -5687,8 +5792,8 @@
|
|
|
5687
5792
|
"dist",
|
|
5688
5793
|
"commands",
|
|
5689
5794
|
"tenant",
|
|
5690
|
-
"
|
|
5691
|
-
"
|
|
5795
|
+
"cluster",
|
|
5796
|
+
"edit",
|
|
5692
5797
|
"index.js"
|
|
5693
5798
|
]
|
|
5694
5799
|
},
|
|
@@ -5768,19 +5873,19 @@
|
|
|
5768
5873
|
"index.js"
|
|
5769
5874
|
]
|
|
5770
5875
|
},
|
|
5771
|
-
"tenant:cluster:
|
|
5876
|
+
"tenant:cluster:get": {
|
|
5772
5877
|
"aliases": [],
|
|
5773
5878
|
"args": {
|
|
5774
5879
|
"cluster_id": {
|
|
5775
|
-
"description": "Cluster ID to
|
|
5880
|
+
"description": "Cluster ID to retrieve",
|
|
5776
5881
|
"name": "cluster_id",
|
|
5777
5882
|
"required": true
|
|
5778
5883
|
}
|
|
5779
5884
|
},
|
|
5780
|
-
"description": "
|
|
5885
|
+
"description": "Get details of a specific tenant cluster",
|
|
5781
5886
|
"examples": [
|
|
5782
|
-
"$ xano tenant cluster
|
|
5783
|
-
"$ xano tenant cluster
|
|
5887
|
+
"$ xano tenant cluster get 1\nCluster: us-east-1\n ID: 1\n Type: standard\n Domain: us-east-1.xano.io\n",
|
|
5888
|
+
"$ xano tenant cluster get 1 -o json"
|
|
5784
5889
|
],
|
|
5785
5890
|
"flags": {
|
|
5786
5891
|
"profile": {
|
|
@@ -5802,32 +5907,6 @@
|
|
|
5802
5907
|
"allowNo": false,
|
|
5803
5908
|
"type": "boolean"
|
|
5804
5909
|
},
|
|
5805
|
-
"description": {
|
|
5806
|
-
"char": "d",
|
|
5807
|
-
"description": "Cluster description",
|
|
5808
|
-
"name": "description",
|
|
5809
|
-
"required": true,
|
|
5810
|
-
"hasDynamicHelp": false,
|
|
5811
|
-
"multiple": false,
|
|
5812
|
-
"type": "option"
|
|
5813
|
-
},
|
|
5814
|
-
"domain": {
|
|
5815
|
-
"description": "Custom domain for the cluster",
|
|
5816
|
-
"name": "domain",
|
|
5817
|
-
"required": true,
|
|
5818
|
-
"hasDynamicHelp": false,
|
|
5819
|
-
"multiple": false,
|
|
5820
|
-
"type": "option"
|
|
5821
|
-
},
|
|
5822
|
-
"name": {
|
|
5823
|
-
"char": "n",
|
|
5824
|
-
"description": "Cluster name",
|
|
5825
|
-
"name": "name",
|
|
5826
|
-
"required": true,
|
|
5827
|
-
"hasDynamicHelp": false,
|
|
5828
|
-
"multiple": false,
|
|
5829
|
-
"type": "option"
|
|
5830
|
-
},
|
|
5831
5910
|
"output": {
|
|
5832
5911
|
"char": "o",
|
|
5833
5912
|
"description": "Output format",
|
|
@@ -5841,23 +5920,11 @@
|
|
|
5841
5920
|
"json"
|
|
5842
5921
|
],
|
|
5843
5922
|
"type": "option"
|
|
5844
|
-
},
|
|
5845
|
-
"type": {
|
|
5846
|
-
"description": "Cluster type",
|
|
5847
|
-
"name": "type",
|
|
5848
|
-
"required": true,
|
|
5849
|
-
"hasDynamicHelp": false,
|
|
5850
|
-
"multiple": false,
|
|
5851
|
-
"options": [
|
|
5852
|
-
"standard",
|
|
5853
|
-
"run"
|
|
5854
|
-
],
|
|
5855
|
-
"type": "option"
|
|
5856
5923
|
}
|
|
5857
5924
|
},
|
|
5858
5925
|
"hasDynamicHelp": false,
|
|
5859
5926
|
"hiddenAliases": [],
|
|
5860
|
-
"id": "tenant:cluster:
|
|
5927
|
+
"id": "tenant:cluster:get",
|
|
5861
5928
|
"pluginAlias": "@xano/cli",
|
|
5862
5929
|
"pluginName": "@xano/cli",
|
|
5863
5930
|
"pluginType": "core",
|
|
@@ -5869,23 +5936,17 @@
|
|
|
5869
5936
|
"commands",
|
|
5870
5937
|
"tenant",
|
|
5871
5938
|
"cluster",
|
|
5872
|
-
"
|
|
5939
|
+
"get",
|
|
5873
5940
|
"index.js"
|
|
5874
5941
|
]
|
|
5875
5942
|
},
|
|
5876
|
-
"tenant:cluster:
|
|
5943
|
+
"tenant:cluster:list": {
|
|
5877
5944
|
"aliases": [],
|
|
5878
|
-
"args": {
|
|
5879
|
-
|
|
5880
|
-
"description": "Cluster ID to retrieve",
|
|
5881
|
-
"name": "cluster_id",
|
|
5882
|
-
"required": true
|
|
5883
|
-
}
|
|
5884
|
-
},
|
|
5885
|
-
"description": "Get details of a specific tenant cluster",
|
|
5945
|
+
"args": {},
|
|
5946
|
+
"description": "List all tenant clusters",
|
|
5886
5947
|
"examples": [
|
|
5887
|
-
"$ xano tenant cluster
|
|
5888
|
-
"$ xano tenant cluster
|
|
5948
|
+
"$ xano tenant cluster list\nTenant clusters:\n - us-east-1 (standard) [ID: 1]\n - eu-west-1 (run) [ID: 2]\n",
|
|
5949
|
+
"$ xano tenant cluster list --output json"
|
|
5889
5950
|
],
|
|
5890
5951
|
"flags": {
|
|
5891
5952
|
"profile": {
|
|
@@ -5924,7 +5985,7 @@
|
|
|
5924
5985
|
},
|
|
5925
5986
|
"hasDynamicHelp": false,
|
|
5926
5987
|
"hiddenAliases": [],
|
|
5927
|
-
"id": "tenant:cluster:
|
|
5988
|
+
"id": "tenant:cluster:list",
|
|
5928
5989
|
"pluginAlias": "@xano/cli",
|
|
5929
5990
|
"pluginName": "@xano/cli",
|
|
5930
5991
|
"pluginType": "core",
|
|
@@ -5936,17 +5997,24 @@
|
|
|
5936
5997
|
"commands",
|
|
5937
5998
|
"tenant",
|
|
5938
5999
|
"cluster",
|
|
5939
|
-
"
|
|
6000
|
+
"list",
|
|
5940
6001
|
"index.js"
|
|
5941
6002
|
]
|
|
5942
6003
|
},
|
|
5943
|
-
"tenant:
|
|
6004
|
+
"tenant:env:delete": {
|
|
5944
6005
|
"aliases": [],
|
|
5945
|
-
"args": {
|
|
5946
|
-
|
|
6006
|
+
"args": {
|
|
6007
|
+
"tenant_name": {
|
|
6008
|
+
"description": "Tenant name",
|
|
6009
|
+
"name": "tenant_name",
|
|
6010
|
+
"required": true
|
|
6011
|
+
}
|
|
6012
|
+
},
|
|
6013
|
+
"description": "Delete an environment variable from a tenant",
|
|
5947
6014
|
"examples": [
|
|
5948
|
-
"$ xano tenant
|
|
5949
|
-
"$ xano tenant
|
|
6015
|
+
"$ xano tenant env delete my-tenant --name DATABASE_URL\nAre you sure you want to delete environment variable 'DATABASE_URL' from tenant my-tenant? (y/N) y\nEnvironment variable 'DATABASE_URL' deleted from tenant my-tenant\n",
|
|
6016
|
+
"$ xano tenant env delete my-tenant --name DATABASE_URL --force\nEnvironment variable 'DATABASE_URL' deleted from tenant my-tenant\n",
|
|
6017
|
+
"$ xano tenant env delete my-tenant --name DATABASE_URL -f -w 5 -o json"
|
|
5950
6018
|
],
|
|
5951
6019
|
"flags": {
|
|
5952
6020
|
"profile": {
|
|
@@ -5968,6 +6036,23 @@
|
|
|
5968
6036
|
"allowNo": false,
|
|
5969
6037
|
"type": "boolean"
|
|
5970
6038
|
},
|
|
6039
|
+
"force": {
|
|
6040
|
+
"char": "f",
|
|
6041
|
+
"description": "Skip confirmation prompt",
|
|
6042
|
+
"name": "force",
|
|
6043
|
+
"required": false,
|
|
6044
|
+
"allowNo": false,
|
|
6045
|
+
"type": "boolean"
|
|
6046
|
+
},
|
|
6047
|
+
"name": {
|
|
6048
|
+
"char": "n",
|
|
6049
|
+
"description": "Environment variable name",
|
|
6050
|
+
"name": "name",
|
|
6051
|
+
"required": true,
|
|
6052
|
+
"hasDynamicHelp": false,
|
|
6053
|
+
"multiple": false,
|
|
6054
|
+
"type": "option"
|
|
6055
|
+
},
|
|
5971
6056
|
"output": {
|
|
5972
6057
|
"char": "o",
|
|
5973
6058
|
"description": "Output format",
|
|
@@ -5981,11 +6066,20 @@
|
|
|
5981
6066
|
"json"
|
|
5982
6067
|
],
|
|
5983
6068
|
"type": "option"
|
|
6069
|
+
},
|
|
6070
|
+
"workspace": {
|
|
6071
|
+
"char": "w",
|
|
6072
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
6073
|
+
"name": "workspace",
|
|
6074
|
+
"required": false,
|
|
6075
|
+
"hasDynamicHelp": false,
|
|
6076
|
+
"multiple": false,
|
|
6077
|
+
"type": "option"
|
|
5984
6078
|
}
|
|
5985
6079
|
},
|
|
5986
6080
|
"hasDynamicHelp": false,
|
|
5987
6081
|
"hiddenAliases": [],
|
|
5988
|
-
"id": "tenant:
|
|
6082
|
+
"id": "tenant:env:delete",
|
|
5989
6083
|
"pluginAlias": "@xano/cli",
|
|
5990
6084
|
"pluginName": "@xano/cli",
|
|
5991
6085
|
"pluginType": "core",
|
|
@@ -5996,12 +6090,12 @@
|
|
|
5996
6090
|
"dist",
|
|
5997
6091
|
"commands",
|
|
5998
6092
|
"tenant",
|
|
5999
|
-
"
|
|
6000
|
-
"
|
|
6093
|
+
"env",
|
|
6094
|
+
"delete",
|
|
6001
6095
|
"index.js"
|
|
6002
6096
|
]
|
|
6003
6097
|
},
|
|
6004
|
-
"tenant:env:
|
|
6098
|
+
"tenant:env:get": {
|
|
6005
6099
|
"aliases": [],
|
|
6006
6100
|
"args": {
|
|
6007
6101
|
"tenant_name": {
|
|
@@ -6010,11 +6104,10 @@
|
|
|
6010
6104
|
"required": true
|
|
6011
6105
|
}
|
|
6012
6106
|
},
|
|
6013
|
-
"description": "
|
|
6107
|
+
"description": "Get a single environment variable for a tenant",
|
|
6014
6108
|
"examples": [
|
|
6015
|
-
"$ xano tenant env
|
|
6016
|
-
"$ xano tenant env
|
|
6017
|
-
"$ xano tenant env delete my-tenant --name DATABASE_URL -f -w 5 -o json"
|
|
6109
|
+
"$ xano tenant env get my-tenant --name DATABASE_URL\npostgres://localhost:5432/mydb\n",
|
|
6110
|
+
"$ xano tenant env get my-tenant --name DATABASE_URL -w 5 -o json"
|
|
6018
6111
|
],
|
|
6019
6112
|
"flags": {
|
|
6020
6113
|
"profile": {
|
|
@@ -6036,14 +6129,6 @@
|
|
|
6036
6129
|
"allowNo": false,
|
|
6037
6130
|
"type": "boolean"
|
|
6038
6131
|
},
|
|
6039
|
-
"force": {
|
|
6040
|
-
"char": "f",
|
|
6041
|
-
"description": "Skip confirmation prompt",
|
|
6042
|
-
"name": "force",
|
|
6043
|
-
"required": false,
|
|
6044
|
-
"allowNo": false,
|
|
6045
|
-
"type": "boolean"
|
|
6046
|
-
},
|
|
6047
6132
|
"name": {
|
|
6048
6133
|
"char": "n",
|
|
6049
6134
|
"description": "Environment variable name",
|
|
@@ -6079,7 +6164,7 @@
|
|
|
6079
6164
|
},
|
|
6080
6165
|
"hasDynamicHelp": false,
|
|
6081
6166
|
"hiddenAliases": [],
|
|
6082
|
-
"id": "tenant:env:
|
|
6167
|
+
"id": "tenant:env:get",
|
|
6083
6168
|
"pluginAlias": "@xano/cli",
|
|
6084
6169
|
"pluginName": "@xano/cli",
|
|
6085
6170
|
"pluginType": "core",
|
|
@@ -6091,11 +6176,11 @@
|
|
|
6091
6176
|
"commands",
|
|
6092
6177
|
"tenant",
|
|
6093
6178
|
"env",
|
|
6094
|
-
"
|
|
6179
|
+
"get",
|
|
6095
6180
|
"index.js"
|
|
6096
6181
|
]
|
|
6097
6182
|
},
|
|
6098
|
-
"tenant:env:
|
|
6183
|
+
"tenant:env:list": {
|
|
6099
6184
|
"aliases": [],
|
|
6100
6185
|
"args": {
|
|
6101
6186
|
"tenant_name": {
|
|
@@ -6104,10 +6189,10 @@
|
|
|
6104
6189
|
"required": true
|
|
6105
6190
|
}
|
|
6106
6191
|
},
|
|
6107
|
-
"description": "
|
|
6192
|
+
"description": "List environment variable keys for a tenant",
|
|
6108
6193
|
"examples": [
|
|
6109
|
-
"$ xano tenant env
|
|
6110
|
-
"$ xano tenant env
|
|
6194
|
+
"$ xano tenant env list my-tenant\nEnvironment variables for tenant my-tenant:\n - DATABASE_URL\n - API_KEY\n - SECRET_TOKEN\n",
|
|
6195
|
+
"$ xano tenant env list my-tenant -w 5 -o json"
|
|
6111
6196
|
],
|
|
6112
6197
|
"flags": {
|
|
6113
6198
|
"profile": {
|
|
@@ -6129,15 +6214,6 @@
|
|
|
6129
6214
|
"allowNo": false,
|
|
6130
6215
|
"type": "boolean"
|
|
6131
6216
|
},
|
|
6132
|
-
"name": {
|
|
6133
|
-
"char": "n",
|
|
6134
|
-
"description": "Environment variable name",
|
|
6135
|
-
"name": "name",
|
|
6136
|
-
"required": true,
|
|
6137
|
-
"hasDynamicHelp": false,
|
|
6138
|
-
"multiple": false,
|
|
6139
|
-
"type": "option"
|
|
6140
|
-
},
|
|
6141
6217
|
"output": {
|
|
6142
6218
|
"char": "o",
|
|
6143
6219
|
"description": "Output format",
|
|
@@ -6164,7 +6240,7 @@
|
|
|
6164
6240
|
},
|
|
6165
6241
|
"hasDynamicHelp": false,
|
|
6166
6242
|
"hiddenAliases": [],
|
|
6167
|
-
"id": "tenant:env:
|
|
6243
|
+
"id": "tenant:env:list",
|
|
6168
6244
|
"pluginAlias": "@xano/cli",
|
|
6169
6245
|
"pluginName": "@xano/cli",
|
|
6170
6246
|
"pluginType": "core",
|
|
@@ -6176,7 +6252,7 @@
|
|
|
6176
6252
|
"commands",
|
|
6177
6253
|
"tenant",
|
|
6178
6254
|
"env",
|
|
6179
|
-
"
|
|
6255
|
+
"list",
|
|
6180
6256
|
"index.js"
|
|
6181
6257
|
]
|
|
6182
6258
|
},
|
|
@@ -6367,7 +6443,7 @@
|
|
|
6367
6443
|
"index.js"
|
|
6368
6444
|
]
|
|
6369
6445
|
},
|
|
6370
|
-
"tenant:env:
|
|
6446
|
+
"tenant:env:set_all": {
|
|
6371
6447
|
"aliases": [],
|
|
6372
6448
|
"args": {
|
|
6373
6449
|
"tenant_name": {
|
|
@@ -6376,10 +6452,11 @@
|
|
|
6376
6452
|
"required": true
|
|
6377
6453
|
}
|
|
6378
6454
|
},
|
|
6379
|
-
"description": "
|
|
6455
|
+
"description": "Set all environment variables for a tenant from a YAML file (replaces all existing)",
|
|
6380
6456
|
"examples": [
|
|
6381
|
-
"$ xano tenant env
|
|
6382
|
-
"$ xano tenant env
|
|
6457
|
+
"$ xano tenant env set_all my-tenant\nReads from env_my-tenant.yaml\n",
|
|
6458
|
+
"$ xano tenant env set_all my-tenant --file ./my-env.yaml",
|
|
6459
|
+
"$ xano tenant env set_all my-tenant -o json"
|
|
6383
6460
|
],
|
|
6384
6461
|
"flags": {
|
|
6385
6462
|
"profile": {
|
|
@@ -6401,6 +6478,22 @@
|
|
|
6401
6478
|
"allowNo": false,
|
|
6402
6479
|
"type": "boolean"
|
|
6403
6480
|
},
|
|
6481
|
+
"clean": {
|
|
6482
|
+
"description": "Remove the source file after successful upload",
|
|
6483
|
+
"name": "clean",
|
|
6484
|
+
"required": false,
|
|
6485
|
+
"allowNo": false,
|
|
6486
|
+
"type": "boolean"
|
|
6487
|
+
},
|
|
6488
|
+
"file": {
|
|
6489
|
+
"char": "f",
|
|
6490
|
+
"description": "Path to env file (default: env_<tenant_name>.yaml)",
|
|
6491
|
+
"name": "file",
|
|
6492
|
+
"required": false,
|
|
6493
|
+
"hasDynamicHelp": false,
|
|
6494
|
+
"multiple": false,
|
|
6495
|
+
"type": "option"
|
|
6496
|
+
},
|
|
6404
6497
|
"output": {
|
|
6405
6498
|
"char": "o",
|
|
6406
6499
|
"description": "Output format",
|
|
@@ -6427,7 +6520,7 @@
|
|
|
6427
6520
|
},
|
|
6428
6521
|
"hasDynamicHelp": false,
|
|
6429
6522
|
"hiddenAliases": [],
|
|
6430
|
-
"id": "tenant:env:
|
|
6523
|
+
"id": "tenant:env:set_all",
|
|
6431
6524
|
"pluginAlias": "@xano/cli",
|
|
6432
6525
|
"pluginName": "@xano/cli",
|
|
6433
6526
|
"pluginType": "core",
|
|
@@ -6439,7 +6532,7 @@
|
|
|
6439
6532
|
"commands",
|
|
6440
6533
|
"tenant",
|
|
6441
6534
|
"env",
|
|
6442
|
-
"
|
|
6535
|
+
"set_all",
|
|
6443
6536
|
"index.js"
|
|
6444
6537
|
]
|
|
6445
6538
|
},
|
|
@@ -6649,20 +6742,24 @@
|
|
|
6649
6742
|
"index.js"
|
|
6650
6743
|
]
|
|
6651
6744
|
},
|
|
6652
|
-
"
|
|
6745
|
+
"workspace:git:pull": {
|
|
6653
6746
|
"aliases": [],
|
|
6654
6747
|
"args": {
|
|
6655
|
-
"
|
|
6656
|
-
"description": "
|
|
6657
|
-
"name": "
|
|
6748
|
+
"directory": {
|
|
6749
|
+
"description": "Output directory for imported files",
|
|
6750
|
+
"name": "directory",
|
|
6658
6751
|
"required": true
|
|
6659
6752
|
}
|
|
6660
6753
|
},
|
|
6661
|
-
"description": "
|
|
6754
|
+
"description": "Pull XanoScript files from a git repository into a local directory",
|
|
6662
6755
|
"examples": [
|
|
6663
|
-
"$ xano
|
|
6664
|
-
"$ xano
|
|
6665
|
-
"$ xano
|
|
6756
|
+
"$ xano workspace git pull ./output -r https://github.com/owner/repo",
|
|
6757
|
+
"$ xano workspace git pull ./output -r https://github.com/owner/repo/tree/main/path/to/dir",
|
|
6758
|
+
"$ xano workspace git pull ./output -r https://github.com/owner/repo/blob/main/path/to/file.xs",
|
|
6759
|
+
"$ xano workspace git pull ./output -r git@github.com:owner/repo.git",
|
|
6760
|
+
"$ xano workspace git pull ./output -r https://github.com/owner/private-repo -t ghp_xxx",
|
|
6761
|
+
"$ xano workspace git pull ./output -r https://gitlab.com/owner/repo/-/tree/master/path",
|
|
6762
|
+
"$ xano workspace git pull ./output -r https://gitlab.com/owner/repo -b main"
|
|
6666
6763
|
],
|
|
6667
6764
|
"flags": {
|
|
6668
6765
|
"profile": {
|
|
@@ -6684,40 +6781,37 @@
|
|
|
6684
6781
|
"allowNo": false,
|
|
6685
6782
|
"type": "boolean"
|
|
6686
6783
|
},
|
|
6687
|
-
"
|
|
6688
|
-
"
|
|
6689
|
-
"
|
|
6784
|
+
"branch": {
|
|
6785
|
+
"char": "b",
|
|
6786
|
+
"description": "Branch, tag, or ref to fetch (defaults to repository default branch)",
|
|
6787
|
+
"name": "branch",
|
|
6690
6788
|
"required": false,
|
|
6691
|
-
"
|
|
6692
|
-
"
|
|
6789
|
+
"hasDynamicHelp": false,
|
|
6790
|
+
"multiple": false,
|
|
6791
|
+
"type": "option"
|
|
6693
6792
|
},
|
|
6694
|
-
"
|
|
6695
|
-
"
|
|
6696
|
-
"
|
|
6697
|
-
"name": "file",
|
|
6793
|
+
"path": {
|
|
6794
|
+
"description": "Subdirectory within the repo to import from",
|
|
6795
|
+
"name": "path",
|
|
6698
6796
|
"required": false,
|
|
6699
6797
|
"hasDynamicHelp": false,
|
|
6700
6798
|
"multiple": false,
|
|
6701
6799
|
"type": "option"
|
|
6702
6800
|
},
|
|
6703
|
-
"
|
|
6704
|
-
"char": "
|
|
6705
|
-
"description": "
|
|
6706
|
-
"name": "
|
|
6707
|
-
"required":
|
|
6708
|
-
"default": "summary",
|
|
6801
|
+
"repo": {
|
|
6802
|
+
"char": "r",
|
|
6803
|
+
"description": "Git repository URL (GitHub HTTPS, SSH, or any git URL)",
|
|
6804
|
+
"name": "repo",
|
|
6805
|
+
"required": true,
|
|
6709
6806
|
"hasDynamicHelp": false,
|
|
6710
6807
|
"multiple": false,
|
|
6711
|
-
"options": [
|
|
6712
|
-
"summary",
|
|
6713
|
-
"json"
|
|
6714
|
-
],
|
|
6715
6808
|
"type": "option"
|
|
6716
6809
|
},
|
|
6717
|
-
"
|
|
6718
|
-
"char": "
|
|
6719
|
-
"description": "
|
|
6720
|
-
"
|
|
6810
|
+
"token": {
|
|
6811
|
+
"char": "t",
|
|
6812
|
+
"description": "Personal access token for private repos (falls back to GITHUB_TOKEN env var)",
|
|
6813
|
+
"env": "GITHUB_TOKEN",
|
|
6814
|
+
"name": "token",
|
|
6721
6815
|
"required": false,
|
|
6722
6816
|
"hasDynamicHelp": false,
|
|
6723
6817
|
"multiple": false,
|
|
@@ -6726,7 +6820,7 @@
|
|
|
6726
6820
|
},
|
|
6727
6821
|
"hasDynamicHelp": false,
|
|
6728
6822
|
"hiddenAliases": [],
|
|
6729
|
-
"id": "
|
|
6823
|
+
"id": "workspace:git:pull",
|
|
6730
6824
|
"pluginAlias": "@xano/cli",
|
|
6731
6825
|
"pluginName": "@xano/cli",
|
|
6732
6826
|
"pluginType": "core",
|
|
@@ -6736,9 +6830,9 @@
|
|
|
6736
6830
|
"relativePath": [
|
|
6737
6831
|
"dist",
|
|
6738
6832
|
"commands",
|
|
6739
|
-
"
|
|
6740
|
-
"
|
|
6741
|
-
"
|
|
6833
|
+
"workspace",
|
|
6834
|
+
"git",
|
|
6835
|
+
"pull",
|
|
6742
6836
|
"index.js"
|
|
6743
6837
|
]
|
|
6744
6838
|
},
|
|
@@ -6828,100 +6922,6 @@
|
|
|
6828
6922
|
"index.js"
|
|
6829
6923
|
]
|
|
6830
6924
|
},
|
|
6831
|
-
"workspace:git:pull": {
|
|
6832
|
-
"aliases": [],
|
|
6833
|
-
"args": {
|
|
6834
|
-
"directory": {
|
|
6835
|
-
"description": "Output directory for imported files",
|
|
6836
|
-
"name": "directory",
|
|
6837
|
-
"required": true
|
|
6838
|
-
}
|
|
6839
|
-
},
|
|
6840
|
-
"description": "Pull XanoScript files from a git repository into a local directory",
|
|
6841
|
-
"examples": [
|
|
6842
|
-
"$ xano workspace git pull ./output -r https://github.com/owner/repo",
|
|
6843
|
-
"$ xano workspace git pull ./output -r https://github.com/owner/repo/tree/main/path/to/dir",
|
|
6844
|
-
"$ xano workspace git pull ./output -r https://github.com/owner/repo/blob/main/path/to/file.xs",
|
|
6845
|
-
"$ xano workspace git pull ./output -r git@github.com:owner/repo.git",
|
|
6846
|
-
"$ xano workspace git pull ./output -r https://github.com/owner/private-repo -t ghp_xxx",
|
|
6847
|
-
"$ xano workspace git pull ./output -r https://gitlab.com/owner/repo/-/tree/master/path",
|
|
6848
|
-
"$ xano workspace git pull ./output -r https://gitlab.com/owner/repo -b main"
|
|
6849
|
-
],
|
|
6850
|
-
"flags": {
|
|
6851
|
-
"profile": {
|
|
6852
|
-
"char": "p",
|
|
6853
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
6854
|
-
"env": "XANO_PROFILE",
|
|
6855
|
-
"name": "profile",
|
|
6856
|
-
"required": false,
|
|
6857
|
-
"hasDynamicHelp": false,
|
|
6858
|
-
"multiple": false,
|
|
6859
|
-
"type": "option"
|
|
6860
|
-
},
|
|
6861
|
-
"verbose": {
|
|
6862
|
-
"char": "v",
|
|
6863
|
-
"description": "Show detailed request/response information",
|
|
6864
|
-
"env": "XANO_VERBOSE",
|
|
6865
|
-
"name": "verbose",
|
|
6866
|
-
"required": false,
|
|
6867
|
-
"allowNo": false,
|
|
6868
|
-
"type": "boolean"
|
|
6869
|
-
},
|
|
6870
|
-
"branch": {
|
|
6871
|
-
"char": "b",
|
|
6872
|
-
"description": "Branch, tag, or ref to fetch (defaults to repository default branch)",
|
|
6873
|
-
"name": "branch",
|
|
6874
|
-
"required": false,
|
|
6875
|
-
"hasDynamicHelp": false,
|
|
6876
|
-
"multiple": false,
|
|
6877
|
-
"type": "option"
|
|
6878
|
-
},
|
|
6879
|
-
"path": {
|
|
6880
|
-
"description": "Subdirectory within the repo to import from",
|
|
6881
|
-
"name": "path",
|
|
6882
|
-
"required": false,
|
|
6883
|
-
"hasDynamicHelp": false,
|
|
6884
|
-
"multiple": false,
|
|
6885
|
-
"type": "option"
|
|
6886
|
-
},
|
|
6887
|
-
"repo": {
|
|
6888
|
-
"char": "r",
|
|
6889
|
-
"description": "Git repository URL (GitHub HTTPS, SSH, or any git URL)",
|
|
6890
|
-
"name": "repo",
|
|
6891
|
-
"required": true,
|
|
6892
|
-
"hasDynamicHelp": false,
|
|
6893
|
-
"multiple": false,
|
|
6894
|
-
"type": "option"
|
|
6895
|
-
},
|
|
6896
|
-
"token": {
|
|
6897
|
-
"char": "t",
|
|
6898
|
-
"description": "Personal access token for private repos (falls back to GITHUB_TOKEN env var)",
|
|
6899
|
-
"env": "GITHUB_TOKEN",
|
|
6900
|
-
"name": "token",
|
|
6901
|
-
"required": false,
|
|
6902
|
-
"hasDynamicHelp": false,
|
|
6903
|
-
"multiple": false,
|
|
6904
|
-
"type": "option"
|
|
6905
|
-
}
|
|
6906
|
-
},
|
|
6907
|
-
"hasDynamicHelp": false,
|
|
6908
|
-
"hiddenAliases": [],
|
|
6909
|
-
"id": "workspace:git:pull",
|
|
6910
|
-
"pluginAlias": "@xano/cli",
|
|
6911
|
-
"pluginName": "@xano/cli",
|
|
6912
|
-
"pluginType": "core",
|
|
6913
|
-
"strict": true,
|
|
6914
|
-
"enableJsonFlag": false,
|
|
6915
|
-
"isESM": true,
|
|
6916
|
-
"relativePath": [
|
|
6917
|
-
"dist",
|
|
6918
|
-
"commands",
|
|
6919
|
-
"workspace",
|
|
6920
|
-
"git",
|
|
6921
|
-
"pull",
|
|
6922
|
-
"index.js"
|
|
6923
|
-
]
|
|
6924
|
-
},
|
|
6925
6925
|
"tenant:cluster:license:set": {
|
|
6926
6926
|
"aliases": [],
|
|
6927
6927
|
"args": {
|
|
@@ -7027,5 +7027,5 @@
|
|
|
7027
7027
|
]
|
|
7028
7028
|
}
|
|
7029
7029
|
},
|
|
7030
|
-
"version": "0.0.
|
|
7030
|
+
"version": "0.0.56"
|
|
7031
7031
|
}
|