@xano/cli 0.0.55 → 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 +1515 -1515
- package/package.json +1 -1
package/oclif.manifest.json
CHANGED
|
@@ -86,90 +86,6 @@
|
|
|
86
86
|
"index.js"
|
|
87
87
|
]
|
|
88
88
|
},
|
|
89
|
-
"branch:delete": {
|
|
90
|
-
"aliases": [],
|
|
91
|
-
"args": {
|
|
92
|
-
"branch_label": {
|
|
93
|
-
"description": "Branch label to delete (cannot delete \"v1\" or the live branch)",
|
|
94
|
-
"name": "branch_label",
|
|
95
|
-
"required": true
|
|
96
|
-
}
|
|
97
|
-
},
|
|
98
|
-
"description": "Delete a branch (cannot delete \"v1\" or the live branch)",
|
|
99
|
-
"examples": [
|
|
100
|
-
"$ 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",
|
|
101
|
-
"$ xano branch delete dev --force\nDeleted branch: dev\n",
|
|
102
|
-
"$ xano branch delete staging -f -o json\n{\n \"deleted\": true,\n \"branch_label\": \"staging\"\n}\n"
|
|
103
|
-
],
|
|
104
|
-
"flags": {
|
|
105
|
-
"profile": {
|
|
106
|
-
"char": "p",
|
|
107
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
108
|
-
"env": "XANO_PROFILE",
|
|
109
|
-
"name": "profile",
|
|
110
|
-
"required": false,
|
|
111
|
-
"hasDynamicHelp": false,
|
|
112
|
-
"multiple": false,
|
|
113
|
-
"type": "option"
|
|
114
|
-
},
|
|
115
|
-
"verbose": {
|
|
116
|
-
"char": "v",
|
|
117
|
-
"description": "Show detailed request/response information",
|
|
118
|
-
"env": "XANO_VERBOSE",
|
|
119
|
-
"name": "verbose",
|
|
120
|
-
"required": false,
|
|
121
|
-
"allowNo": false,
|
|
122
|
-
"type": "boolean"
|
|
123
|
-
},
|
|
124
|
-
"force": {
|
|
125
|
-
"char": "f",
|
|
126
|
-
"description": "Skip confirmation prompt",
|
|
127
|
-
"name": "force",
|
|
128
|
-
"required": false,
|
|
129
|
-
"allowNo": false,
|
|
130
|
-
"type": "boolean"
|
|
131
|
-
},
|
|
132
|
-
"output": {
|
|
133
|
-
"char": "o",
|
|
134
|
-
"description": "Output format",
|
|
135
|
-
"name": "output",
|
|
136
|
-
"required": false,
|
|
137
|
-
"default": "summary",
|
|
138
|
-
"hasDynamicHelp": false,
|
|
139
|
-
"multiple": false,
|
|
140
|
-
"options": [
|
|
141
|
-
"summary",
|
|
142
|
-
"json"
|
|
143
|
-
],
|
|
144
|
-
"type": "option"
|
|
145
|
-
},
|
|
146
|
-
"workspace": {
|
|
147
|
-
"char": "w",
|
|
148
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
149
|
-
"name": "workspace",
|
|
150
|
-
"required": false,
|
|
151
|
-
"hasDynamicHelp": false,
|
|
152
|
-
"multiple": false,
|
|
153
|
-
"type": "option"
|
|
154
|
-
}
|
|
155
|
-
},
|
|
156
|
-
"hasDynamicHelp": false,
|
|
157
|
-
"hiddenAliases": [],
|
|
158
|
-
"id": "branch:delete",
|
|
159
|
-
"pluginAlias": "@xano/cli",
|
|
160
|
-
"pluginName": "@xano/cli",
|
|
161
|
-
"pluginType": "core",
|
|
162
|
-
"strict": true,
|
|
163
|
-
"enableJsonFlag": false,
|
|
164
|
-
"isESM": true,
|
|
165
|
-
"relativePath": [
|
|
166
|
-
"dist",
|
|
167
|
-
"commands",
|
|
168
|
-
"branch",
|
|
169
|
-
"delete",
|
|
170
|
-
"index.js"
|
|
171
|
-
]
|
|
172
|
-
},
|
|
173
89
|
"branch:create": {
|
|
174
90
|
"aliases": [],
|
|
175
91
|
"args": {},
|
|
@@ -277,20 +193,20 @@
|
|
|
277
193
|
"index.js"
|
|
278
194
|
]
|
|
279
195
|
},
|
|
280
|
-
"branch:
|
|
196
|
+
"branch:delete": {
|
|
281
197
|
"aliases": [],
|
|
282
198
|
"args": {
|
|
283
199
|
"branch_label": {
|
|
284
|
-
"description": "Branch label to
|
|
200
|
+
"description": "Branch label to delete (cannot delete \"v1\" or the live branch)",
|
|
285
201
|
"name": "branch_label",
|
|
286
202
|
"required": true
|
|
287
203
|
}
|
|
288
204
|
},
|
|
289
|
-
"description": "
|
|
205
|
+
"description": "Delete a branch (cannot delete \"v1\" or the live branch)",
|
|
290
206
|
"examples": [
|
|
291
|
-
"$ xano branch
|
|
292
|
-
"$ xano branch
|
|
293
|
-
"$ 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"
|
|
294
210
|
],
|
|
295
211
|
"flags": {
|
|
296
212
|
"profile": {
|
|
@@ -312,32 +228,13 @@
|
|
|
312
228
|
"allowNo": false,
|
|
313
229
|
"type": "boolean"
|
|
314
230
|
},
|
|
315
|
-
"
|
|
316
|
-
"char": "
|
|
317
|
-
"description": "
|
|
318
|
-
"name": "
|
|
319
|
-
"required": false,
|
|
320
|
-
"hasDynamicHelp": false,
|
|
321
|
-
"multiple": false,
|
|
322
|
-
"type": "option"
|
|
323
|
-
},
|
|
324
|
-
"description": {
|
|
325
|
-
"char": "d",
|
|
326
|
-
"description": "New description for the branch",
|
|
327
|
-
"name": "description",
|
|
328
|
-
"required": false,
|
|
329
|
-
"hasDynamicHelp": false,
|
|
330
|
-
"multiple": false,
|
|
331
|
-
"type": "option"
|
|
332
|
-
},
|
|
333
|
-
"label": {
|
|
334
|
-
"char": "l",
|
|
335
|
-
"description": "New label for the branch",
|
|
336
|
-
"name": "label",
|
|
231
|
+
"force": {
|
|
232
|
+
"char": "f",
|
|
233
|
+
"description": "Skip confirmation prompt",
|
|
234
|
+
"name": "force",
|
|
337
235
|
"required": false,
|
|
338
|
-
"
|
|
339
|
-
"
|
|
340
|
-
"type": "option"
|
|
236
|
+
"allowNo": false,
|
|
237
|
+
"type": "boolean"
|
|
341
238
|
},
|
|
342
239
|
"output": {
|
|
343
240
|
"char": "o",
|
|
@@ -365,7 +262,7 @@
|
|
|
365
262
|
},
|
|
366
263
|
"hasDynamicHelp": false,
|
|
367
264
|
"hiddenAliases": [],
|
|
368
|
-
"id": "branch:
|
|
265
|
+
"id": "branch:delete",
|
|
369
266
|
"pluginAlias": "@xano/cli",
|
|
370
267
|
"pluginName": "@xano/cli",
|
|
371
268
|
"pluginType": "core",
|
|
@@ -376,7 +273,7 @@
|
|
|
376
273
|
"dist",
|
|
377
274
|
"commands",
|
|
378
275
|
"branch",
|
|
379
|
-
"
|
|
276
|
+
"delete",
|
|
380
277
|
"index.js"
|
|
381
278
|
]
|
|
382
279
|
},
|
|
@@ -456,19 +353,20 @@
|
|
|
456
353
|
"index.js"
|
|
457
354
|
]
|
|
458
355
|
},
|
|
459
|
-
"
|
|
356
|
+
"branch:edit": {
|
|
460
357
|
"aliases": [],
|
|
461
358
|
"args": {
|
|
462
|
-
"
|
|
463
|
-
"description": "
|
|
464
|
-
"name": "
|
|
359
|
+
"branch_label": {
|
|
360
|
+
"description": "Branch label to edit (cannot edit \"v1\" label)",
|
|
361
|
+
"name": "branch_label",
|
|
465
362
|
"required": true
|
|
466
363
|
}
|
|
467
364
|
},
|
|
468
|
-
"description": "
|
|
365
|
+
"description": "Update an existing branch (cannot update \"v1\" label)",
|
|
469
366
|
"examples": [
|
|
470
|
-
"$ xano
|
|
471
|
-
"$ xano
|
|
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"
|
|
472
370
|
],
|
|
473
371
|
"flags": {
|
|
474
372
|
"profile": {
|
|
@@ -490,6 +388,33 @@
|
|
|
490
388
|
"allowNo": false,
|
|
491
389
|
"type": "boolean"
|
|
492
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
|
+
},
|
|
493
418
|
"output": {
|
|
494
419
|
"char": "o",
|
|
495
420
|
"description": "Output format",
|
|
@@ -503,11 +428,20 @@
|
|
|
503
428
|
"json"
|
|
504
429
|
],
|
|
505
430
|
"type": "option"
|
|
431
|
+
},
|
|
432
|
+
"workspace": {
|
|
433
|
+
"char": "w",
|
|
434
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
435
|
+
"name": "workspace",
|
|
436
|
+
"required": false,
|
|
437
|
+
"hasDynamicHelp": false,
|
|
438
|
+
"multiple": false,
|
|
439
|
+
"type": "option"
|
|
506
440
|
}
|
|
507
441
|
},
|
|
508
442
|
"hasDynamicHelp": false,
|
|
509
443
|
"hiddenAliases": [],
|
|
510
|
-
"id": "
|
|
444
|
+
"id": "branch:edit",
|
|
511
445
|
"pluginAlias": "@xano/cli",
|
|
512
446
|
"pluginName": "@xano/cli",
|
|
513
447
|
"pluginType": "core",
|
|
@@ -517,25 +451,25 @@
|
|
|
517
451
|
"relativePath": [
|
|
518
452
|
"dist",
|
|
519
453
|
"commands",
|
|
520
|
-
"
|
|
521
|
-
"
|
|
454
|
+
"branch",
|
|
455
|
+
"edit",
|
|
522
456
|
"index.js"
|
|
523
457
|
]
|
|
524
458
|
},
|
|
525
|
-
"branch:
|
|
459
|
+
"branch:list": {
|
|
526
460
|
"aliases": [],
|
|
527
461
|
"args": {
|
|
528
|
-
"
|
|
529
|
-
"description": "
|
|
530
|
-
"name": "
|
|
531
|
-
"required":
|
|
462
|
+
"workspace_id": {
|
|
463
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
464
|
+
"name": "workspace_id",
|
|
465
|
+
"required": false
|
|
532
466
|
}
|
|
533
467
|
},
|
|
534
|
-
"description": "
|
|
468
|
+
"description": "List all branches in a workspace",
|
|
535
469
|
"examples": [
|
|
536
|
-
"$ xano branch
|
|
537
|
-
"$ xano branch
|
|
538
|
-
"$ xano branch
|
|
470
|
+
"$ xano branch list\nAvailable branches:\n - v1 (live)\n - dev\n - staging\n",
|
|
471
|
+
"$ xano branch list 123\nAvailable branches:\n - v1 (live)\n - feature-auth\n",
|
|
472
|
+
"$ xano branch list --output json\n[\n {\n \"created_at\": \"2024-01-15T10:30:00Z\",\n \"label\": \"v1\",\n \"backup\": false,\n \"live\": true\n }\n]\n"
|
|
539
473
|
],
|
|
540
474
|
"flags": {
|
|
541
475
|
"profile": {
|
|
@@ -557,14 +491,6 @@
|
|
|
557
491
|
"allowNo": false,
|
|
558
492
|
"type": "boolean"
|
|
559
493
|
},
|
|
560
|
-
"force": {
|
|
561
|
-
"char": "f",
|
|
562
|
-
"description": "Skip confirmation prompt",
|
|
563
|
-
"name": "force",
|
|
564
|
-
"required": false,
|
|
565
|
-
"allowNo": false,
|
|
566
|
-
"type": "boolean"
|
|
567
|
-
},
|
|
568
494
|
"output": {
|
|
569
495
|
"char": "o",
|
|
570
496
|
"description": "Output format",
|
|
@@ -578,20 +504,11 @@
|
|
|
578
504
|
"json"
|
|
579
505
|
],
|
|
580
506
|
"type": "option"
|
|
581
|
-
},
|
|
582
|
-
"workspace": {
|
|
583
|
-
"char": "w",
|
|
584
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
585
|
-
"name": "workspace",
|
|
586
|
-
"required": false,
|
|
587
|
-
"hasDynamicHelp": false,
|
|
588
|
-
"multiple": false,
|
|
589
|
-
"type": "option"
|
|
590
507
|
}
|
|
591
508
|
},
|
|
592
509
|
"hasDynamicHelp": false,
|
|
593
510
|
"hiddenAliases": [],
|
|
594
|
-
"id": "branch:
|
|
511
|
+
"id": "branch:list",
|
|
595
512
|
"pluginAlias": "@xano/cli",
|
|
596
513
|
"pluginName": "@xano/cli",
|
|
597
514
|
"pluginType": "core",
|
|
@@ -602,17 +519,20 @@
|
|
|
602
519
|
"dist",
|
|
603
520
|
"commands",
|
|
604
521
|
"branch",
|
|
605
|
-
"
|
|
522
|
+
"list",
|
|
606
523
|
"index.js"
|
|
607
524
|
]
|
|
608
525
|
},
|
|
609
|
-
"
|
|
526
|
+
"function:create": {
|
|
610
527
|
"aliases": [],
|
|
611
528
|
"args": {},
|
|
612
|
-
"description": "
|
|
529
|
+
"description": "Create a new function in a workspace",
|
|
613
530
|
"examples": [
|
|
614
|
-
"$ xano
|
|
615
|
-
"$ 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"
|
|
616
536
|
],
|
|
617
537
|
"flags": {
|
|
618
538
|
"profile": {
|
|
@@ -634,24 +554,67 @@
|
|
|
634
554
|
"allowNo": false,
|
|
635
555
|
"type": "boolean"
|
|
636
556
|
},
|
|
637
|
-
"
|
|
638
|
-
"char": "
|
|
639
|
-
"
|
|
640
|
-
|
|
641
|
-
"required": false,
|
|
642
|
-
"default": "summary",
|
|
643
|
-
"hasDynamicHelp": false,
|
|
644
|
-
"multiple": false,
|
|
645
|
-
"options": [
|
|
646
|
-
"summary",
|
|
647
|
-
"json"
|
|
557
|
+
"edit": {
|
|
558
|
+
"char": "e",
|
|
559
|
+
"dependsOn": [
|
|
560
|
+
"file"
|
|
648
561
|
],
|
|
649
|
-
"
|
|
650
|
-
|
|
651
|
-
|
|
562
|
+
"description": "Open file in editor before creating function (requires --file)",
|
|
563
|
+
"name": "edit",
|
|
564
|
+
"required": false,
|
|
565
|
+
"allowNo": false,
|
|
566
|
+
"type": "boolean"
|
|
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
|
+
},
|
|
580
|
+
"output": {
|
|
581
|
+
"char": "o",
|
|
582
|
+
"description": "Output format",
|
|
583
|
+
"name": "output",
|
|
584
|
+
"required": false,
|
|
585
|
+
"default": "summary",
|
|
586
|
+
"hasDynamicHelp": false,
|
|
587
|
+
"multiple": false,
|
|
588
|
+
"options": [
|
|
589
|
+
"summary",
|
|
590
|
+
"json"
|
|
591
|
+
],
|
|
592
|
+
"type": "option"
|
|
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
|
+
},
|
|
605
|
+
"workspace": {
|
|
606
|
+
"char": "w",
|
|
607
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
608
|
+
"name": "workspace",
|
|
609
|
+
"required": false,
|
|
610
|
+
"hasDynamicHelp": false,
|
|
611
|
+
"multiple": false,
|
|
612
|
+
"type": "option"
|
|
613
|
+
}
|
|
614
|
+
},
|
|
652
615
|
"hasDynamicHelp": false,
|
|
653
616
|
"hiddenAliases": [],
|
|
654
|
-
"id": "
|
|
617
|
+
"id": "function:create",
|
|
655
618
|
"pluginAlias": "@xano/cli",
|
|
656
619
|
"pluginName": "@xano/cli",
|
|
657
620
|
"pluginType": "core",
|
|
@@ -661,25 +624,25 @@
|
|
|
661
624
|
"relativePath": [
|
|
662
625
|
"dist",
|
|
663
626
|
"commands",
|
|
664
|
-
"
|
|
665
|
-
"
|
|
627
|
+
"function",
|
|
628
|
+
"create",
|
|
666
629
|
"index.js"
|
|
667
630
|
]
|
|
668
631
|
},
|
|
669
|
-
"branch:
|
|
632
|
+
"branch:set_live": {
|
|
670
633
|
"aliases": [],
|
|
671
634
|
"args": {
|
|
672
|
-
"
|
|
673
|
-
"description": "
|
|
674
|
-
"name": "
|
|
675
|
-
"required":
|
|
635
|
+
"branch_label": {
|
|
636
|
+
"description": "Branch label to set as live (use \"v1\" for default branch)",
|
|
637
|
+
"name": "branch_label",
|
|
638
|
+
"required": true
|
|
676
639
|
}
|
|
677
640
|
},
|
|
678
|
-
"description": "
|
|
641
|
+
"description": "Set a branch as the live (active) branch for API requests",
|
|
679
642
|
"examples": [
|
|
680
|
-
"$ xano branch
|
|
681
|
-
"$ xano branch
|
|
682
|
-
"$ xano branch
|
|
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"
|
|
683
646
|
],
|
|
684
647
|
"flags": {
|
|
685
648
|
"profile": {
|
|
@@ -701,6 +664,14 @@
|
|
|
701
664
|
"allowNo": false,
|
|
702
665
|
"type": "boolean"
|
|
703
666
|
},
|
|
667
|
+
"force": {
|
|
668
|
+
"char": "f",
|
|
669
|
+
"description": "Skip confirmation prompt",
|
|
670
|
+
"name": "force",
|
|
671
|
+
"required": false,
|
|
672
|
+
"allowNo": false,
|
|
673
|
+
"type": "boolean"
|
|
674
|
+
},
|
|
704
675
|
"output": {
|
|
705
676
|
"char": "o",
|
|
706
677
|
"description": "Output format",
|
|
@@ -714,11 +685,20 @@
|
|
|
714
685
|
"json"
|
|
715
686
|
],
|
|
716
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"
|
|
717
697
|
}
|
|
718
698
|
},
|
|
719
699
|
"hasDynamicHelp": false,
|
|
720
700
|
"hiddenAliases": [],
|
|
721
|
-
"id": "branch:
|
|
701
|
+
"id": "branch:set_live",
|
|
722
702
|
"pluginAlias": "@xano/cli",
|
|
723
703
|
"pluginName": "@xano/cli",
|
|
724
704
|
"pluginType": "core",
|
|
@@ -729,20 +709,27 @@
|
|
|
729
709
|
"dist",
|
|
730
710
|
"commands",
|
|
731
711
|
"branch",
|
|
732
|
-
"
|
|
712
|
+
"set_live",
|
|
733
713
|
"index.js"
|
|
734
714
|
]
|
|
735
715
|
},
|
|
736
|
-
"function:
|
|
716
|
+
"function:get": {
|
|
737
717
|
"aliases": [],
|
|
738
|
-
"args": {
|
|
739
|
-
|
|
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",
|
|
740
726
|
"examples": [
|
|
741
|
-
"$ xano function:
|
|
742
|
-
"$ xano function:
|
|
743
|
-
"$ xano function:
|
|
744
|
-
"$
|
|
745
|
-
"$ xano function:
|
|
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"
|
|
746
733
|
],
|
|
747
734
|
"flags": {
|
|
748
735
|
"profile": {
|
|
@@ -764,28 +751,19 @@
|
|
|
764
751
|
"allowNo": false,
|
|
765
752
|
"type": "boolean"
|
|
766
753
|
},
|
|
767
|
-
"
|
|
768
|
-
"
|
|
769
|
-
"
|
|
770
|
-
"file"
|
|
771
|
-
],
|
|
772
|
-
"description": "Open file in editor before creating function (requires --file)",
|
|
773
|
-
"name": "edit",
|
|
754
|
+
"include_draft": {
|
|
755
|
+
"description": "Include draft version",
|
|
756
|
+
"name": "include_draft",
|
|
774
757
|
"required": false,
|
|
775
758
|
"allowNo": false,
|
|
776
759
|
"type": "boolean"
|
|
777
760
|
},
|
|
778
|
-
"
|
|
779
|
-
"
|
|
780
|
-
"
|
|
781
|
-
"exclusive": [
|
|
782
|
-
"stdin"
|
|
783
|
-
],
|
|
784
|
-
"name": "file",
|
|
761
|
+
"include_xanoscript": {
|
|
762
|
+
"description": "Include XanoScript in response",
|
|
763
|
+
"name": "include_xanoscript",
|
|
785
764
|
"required": false,
|
|
786
|
-
"
|
|
787
|
-
"
|
|
788
|
-
"type": "option"
|
|
765
|
+
"allowNo": false,
|
|
766
|
+
"type": "boolean"
|
|
789
767
|
},
|
|
790
768
|
"output": {
|
|
791
769
|
"char": "o",
|
|
@@ -797,21 +775,11 @@
|
|
|
797
775
|
"multiple": false,
|
|
798
776
|
"options": [
|
|
799
777
|
"summary",
|
|
800
|
-
"json"
|
|
778
|
+
"json",
|
|
779
|
+
"xs"
|
|
801
780
|
],
|
|
802
781
|
"type": "option"
|
|
803
782
|
},
|
|
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
783
|
"workspace": {
|
|
816
784
|
"char": "w",
|
|
817
785
|
"description": "Workspace ID (optional if set in profile)",
|
|
@@ -824,7 +792,7 @@
|
|
|
824
792
|
},
|
|
825
793
|
"hasDynamicHelp": false,
|
|
826
794
|
"hiddenAliases": [],
|
|
827
|
-
"id": "function:
|
|
795
|
+
"id": "function:get",
|
|
828
796
|
"pluginAlias": "@xano/cli",
|
|
829
797
|
"pluginName": "@xano/cli",
|
|
830
798
|
"pluginType": "core",
|
|
@@ -835,7 +803,73 @@
|
|
|
835
803
|
"dist",
|
|
836
804
|
"commands",
|
|
837
805
|
"function",
|
|
838
|
-
"
|
|
806
|
+
"get",
|
|
807
|
+
"index.js"
|
|
808
|
+
]
|
|
809
|
+
},
|
|
810
|
+
"platform:get": {
|
|
811
|
+
"aliases": [],
|
|
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",
|
|
820
|
+
"examples": [
|
|
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"
|
|
823
|
+
],
|
|
824
|
+
"flags": {
|
|
825
|
+
"profile": {
|
|
826
|
+
"char": "p",
|
|
827
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
828
|
+
"env": "XANO_PROFILE",
|
|
829
|
+
"name": "profile",
|
|
830
|
+
"required": false,
|
|
831
|
+
"hasDynamicHelp": false,
|
|
832
|
+
"multiple": false,
|
|
833
|
+
"type": "option"
|
|
834
|
+
},
|
|
835
|
+
"verbose": {
|
|
836
|
+
"char": "v",
|
|
837
|
+
"description": "Show detailed request/response information",
|
|
838
|
+
"env": "XANO_VERBOSE",
|
|
839
|
+
"name": "verbose",
|
|
840
|
+
"required": false,
|
|
841
|
+
"allowNo": false,
|
|
842
|
+
"type": "boolean"
|
|
843
|
+
},
|
|
844
|
+
"output": {
|
|
845
|
+
"char": "o",
|
|
846
|
+
"description": "Output format",
|
|
847
|
+
"name": "output",
|
|
848
|
+
"required": false,
|
|
849
|
+
"default": "summary",
|
|
850
|
+
"hasDynamicHelp": false,
|
|
851
|
+
"multiple": false,
|
|
852
|
+
"options": [
|
|
853
|
+
"summary",
|
|
854
|
+
"json"
|
|
855
|
+
],
|
|
856
|
+
"type": "option"
|
|
857
|
+
}
|
|
858
|
+
},
|
|
859
|
+
"hasDynamicHelp": false,
|
|
860
|
+
"hiddenAliases": [],
|
|
861
|
+
"id": "platform:get",
|
|
862
|
+
"pluginAlias": "@xano/cli",
|
|
863
|
+
"pluginName": "@xano/cli",
|
|
864
|
+
"pluginType": "core",
|
|
865
|
+
"strict": true,
|
|
866
|
+
"enableJsonFlag": false,
|
|
867
|
+
"isESM": true,
|
|
868
|
+
"relativePath": [
|
|
869
|
+
"dist",
|
|
870
|
+
"commands",
|
|
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,119 +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
|
-
"output": {
|
|
1014
|
-
"char": "o",
|
|
1015
|
-
"description": "Output format",
|
|
1016
|
-
"name": "output",
|
|
1017
|
-
"required": false,
|
|
1018
|
-
"default": "summary",
|
|
1019
|
-
"hasDynamicHelp": false,
|
|
1020
|
-
"multiple": false,
|
|
1021
|
-
"options": [
|
|
1022
|
-
"summary",
|
|
1023
|
-
"json",
|
|
1024
|
-
"xs"
|
|
1025
|
-
],
|
|
1026
|
-
"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
|
-
}
|
|
1037
|
-
},
|
|
1038
|
-
"hasDynamicHelp": false,
|
|
1039
|
-
"hiddenAliases": [],
|
|
1040
|
-
"id": "function:get",
|
|
1041
|
-
"pluginAlias": "@xano/cli",
|
|
1042
|
-
"pluginName": "@xano/cli",
|
|
1043
|
-
"pluginType": "core",
|
|
1044
|
-
"strict": true,
|
|
1045
|
-
"enableJsonFlag": false,
|
|
1046
|
-
"isESM": true,
|
|
1047
|
-
"relativePath": [
|
|
1048
|
-
"dist",
|
|
1049
|
-
"commands",
|
|
1050
|
-
"function",
|
|
1051
|
-
"get",
|
|
1052
|
-
"index.js"
|
|
1053
|
-
]
|
|
1054
|
-
},
|
|
1055
|
-
"function:list": {
|
|
1056
|
-
"aliases": [],
|
|
1057
|
-
"args": {},
|
|
1058
|
-
"description": "List all functions in a workspace from the Xano Metadata API",
|
|
1059
|
-
"examples": [
|
|
1060
|
-
"$ xano function:list -w 40\nAvailable functions:\n - function-1 (ID: 1)\n - function-2 (ID: 2)\n - function-3 (ID: 3)\n",
|
|
1061
|
-
"$ xano function:list --profile production\nAvailable functions:\n - my-function (ID: 1)\n - another-function (ID: 2)\n",
|
|
1062
|
-
"$ xano function:list -w 40 --output json\n[\n {\n \"id\": 1,\n \"name\": \"function-1\"\n }\n]\n",
|
|
1063
|
-
"$ xano function:list -p staging -o json --include_draft\n[\n {\n \"id\": 1,\n \"name\": \"function-1\"\n }\n]\n"
|
|
1064
|
-
],
|
|
1065
|
-
"flags": {
|
|
1066
|
-
"profile": {
|
|
1067
|
-
"char": "p",
|
|
1068
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
1069
|
-
"env": "XANO_PROFILE",
|
|
1070
|
-
"name": "profile",
|
|
1071
|
-
"required": false,
|
|
1072
|
-
"hasDynamicHelp": false,
|
|
1073
|
-
"multiple": false,
|
|
1074
|
-
"type": "option"
|
|
1075
|
-
},
|
|
1076
|
-
"verbose": {
|
|
1077
|
-
"char": "v",
|
|
1078
|
-
"description": "Show detailed request/response information",
|
|
1079
|
-
"env": "XANO_VERBOSE",
|
|
1080
|
-
"name": "verbose",
|
|
1081
|
-
"required": false,
|
|
1082
|
-
"allowNo": false,
|
|
1083
|
-
"type": "boolean"
|
|
1084
|
-
},
|
|
1085
|
-
"include_draft": {
|
|
1086
|
-
"description": "Include draft functions",
|
|
1087
|
-
"name": "include_draft",
|
|
1088
|
-
"required": false,
|
|
1089
|
-
"allowNo": false,
|
|
1090
|
-
"type": "boolean"
|
|
1091
|
-
},
|
|
1092
|
-
"include_xanoscript": {
|
|
1093
|
-
"description": "Include XanoScript in response",
|
|
1094
|
-
"name": "include_xanoscript",
|
|
1095
|
-
"required": false,
|
|
1096
|
-
"allowNo": false,
|
|
1097
|
-
"type": "boolean"
|
|
1098
|
-
},
|
|
1099
|
-
"order": {
|
|
1100
|
-
"description": "Sort order",
|
|
1101
|
-
"name": "order",
|
|
1102
|
-
"required": false,
|
|
1103
|
-
"default": "desc",
|
|
1104
|
-
"hasDynamicHelp": false,
|
|
1105
|
-
"multiple": false,
|
|
1106
|
-
"options": [
|
|
1107
|
-
"asc",
|
|
1108
|
-
"desc"
|
|
1109
|
-
],
|
|
1110
|
-
"type": "option"
|
|
1111
|
-
},
|
|
1112
1023
|
"output": {
|
|
1113
1024
|
"char": "o",
|
|
1114
1025
|
"description": "Output format",
|
|
@@ -1122,47 +1033,11 @@
|
|
|
1122
1033
|
"json"
|
|
1123
1034
|
],
|
|
1124
1035
|
"type": "option"
|
|
1125
|
-
},
|
|
1126
|
-
"page": {
|
|
1127
|
-
"description": "Page number for pagination",
|
|
1128
|
-
"name": "page",
|
|
1129
|
-
"required": false,
|
|
1130
|
-
"default": 1,
|
|
1131
|
-
"hasDynamicHelp": false,
|
|
1132
|
-
"multiple": false,
|
|
1133
|
-
"type": "option"
|
|
1134
|
-
},
|
|
1135
|
-
"per_page": {
|
|
1136
|
-
"description": "Number of results per page",
|
|
1137
|
-
"name": "per_page",
|
|
1138
|
-
"required": false,
|
|
1139
|
-
"default": 50,
|
|
1140
|
-
"hasDynamicHelp": false,
|
|
1141
|
-
"multiple": false,
|
|
1142
|
-
"type": "option"
|
|
1143
|
-
},
|
|
1144
|
-
"sort": {
|
|
1145
|
-
"description": "Sort field",
|
|
1146
|
-
"name": "sort",
|
|
1147
|
-
"required": false,
|
|
1148
|
-
"default": "created_at",
|
|
1149
|
-
"hasDynamicHelp": false,
|
|
1150
|
-
"multiple": false,
|
|
1151
|
-
"type": "option"
|
|
1152
|
-
},
|
|
1153
|
-
"workspace": {
|
|
1154
|
-
"char": "w",
|
|
1155
|
-
"description": "Workspace ID (optional if set in profile)",
|
|
1156
|
-
"name": "workspace",
|
|
1157
|
-
"required": false,
|
|
1158
|
-
"hasDynamicHelp": false,
|
|
1159
|
-
"multiple": false,
|
|
1160
|
-
"type": "option"
|
|
1161
1036
|
}
|
|
1162
1037
|
},
|
|
1163
1038
|
"hasDynamicHelp": false,
|
|
1164
1039
|
"hiddenAliases": [],
|
|
1165
|
-
"id": "
|
|
1040
|
+
"id": "platform:list",
|
|
1166
1041
|
"pluginAlias": "@xano/cli",
|
|
1167
1042
|
"pluginName": "@xano/cli",
|
|
1168
1043
|
"pluginType": "core",
|
|
@@ -1172,7 +1047,7 @@
|
|
|
1172
1047
|
"relativePath": [
|
|
1173
1048
|
"dist",
|
|
1174
1049
|
"commands",
|
|
1175
|
-
"
|
|
1050
|
+
"platform",
|
|
1176
1051
|
"list",
|
|
1177
1052
|
"index.js"
|
|
1178
1053
|
]
|
|
@@ -1306,67 +1181,6 @@
|
|
|
1306
1181
|
"index.js"
|
|
1307
1182
|
]
|
|
1308
1183
|
},
|
|
1309
|
-
"profile:list": {
|
|
1310
|
-
"aliases": [],
|
|
1311
|
-
"args": {},
|
|
1312
|
-
"description": "List all available profile configurations",
|
|
1313
|
-
"examples": [
|
|
1314
|
-
"$ xano profile:list\nAvailable profiles:\n - default\n - production\n - staging\n - development\n",
|
|
1315
|
-
"$ 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",
|
|
1316
|
-
"$ 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"
|
|
1317
|
-
],
|
|
1318
|
-
"flags": {
|
|
1319
|
-
"details": {
|
|
1320
|
-
"char": "d",
|
|
1321
|
-
"description": "Show detailed information for each profile",
|
|
1322
|
-
"name": "details",
|
|
1323
|
-
"required": false,
|
|
1324
|
-
"allowNo": false,
|
|
1325
|
-
"type": "boolean"
|
|
1326
|
-
}
|
|
1327
|
-
},
|
|
1328
|
-
"hasDynamicHelp": false,
|
|
1329
|
-
"hiddenAliases": [],
|
|
1330
|
-
"id": "profile:list",
|
|
1331
|
-
"pluginAlias": "@xano/cli",
|
|
1332
|
-
"pluginName": "@xano/cli",
|
|
1333
|
-
"pluginType": "core",
|
|
1334
|
-
"strict": true,
|
|
1335
|
-
"enableJsonFlag": false,
|
|
1336
|
-
"isESM": true,
|
|
1337
|
-
"relativePath": [
|
|
1338
|
-
"dist",
|
|
1339
|
-
"commands",
|
|
1340
|
-
"profile",
|
|
1341
|
-
"list",
|
|
1342
|
-
"index.js"
|
|
1343
|
-
]
|
|
1344
|
-
},
|
|
1345
|
-
"profile:get": {
|
|
1346
|
-
"aliases": [],
|
|
1347
|
-
"args": {},
|
|
1348
|
-
"description": "Get the current default profile name",
|
|
1349
|
-
"examples": [
|
|
1350
|
-
"$ xano profile get\nproduction\n"
|
|
1351
|
-
],
|
|
1352
|
-
"flags": {},
|
|
1353
|
-
"hasDynamicHelp": false,
|
|
1354
|
-
"hiddenAliases": [],
|
|
1355
|
-
"id": "profile:get",
|
|
1356
|
-
"pluginAlias": "@xano/cli",
|
|
1357
|
-
"pluginName": "@xano/cli",
|
|
1358
|
-
"pluginType": "core",
|
|
1359
|
-
"strict": true,
|
|
1360
|
-
"enableJsonFlag": false,
|
|
1361
|
-
"isESM": true,
|
|
1362
|
-
"relativePath": [
|
|
1363
|
-
"dist",
|
|
1364
|
-
"commands",
|
|
1365
|
-
"profile",
|
|
1366
|
-
"get",
|
|
1367
|
-
"index.js"
|
|
1368
|
-
]
|
|
1369
|
-
},
|
|
1370
1184
|
"profile:edit": {
|
|
1371
1185
|
"aliases": [],
|
|
1372
1186
|
"args": {
|
|
@@ -1481,6 +1295,42 @@
|
|
|
1481
1295
|
"index.js"
|
|
1482
1296
|
]
|
|
1483
1297
|
},
|
|
1298
|
+
"profile:list": {
|
|
1299
|
+
"aliases": [],
|
|
1300
|
+
"args": {},
|
|
1301
|
+
"description": "List all available profile configurations",
|
|
1302
|
+
"examples": [
|
|
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"
|
|
1306
|
+
],
|
|
1307
|
+
"flags": {
|
|
1308
|
+
"details": {
|
|
1309
|
+
"char": "d",
|
|
1310
|
+
"description": "Show detailed information for each profile",
|
|
1311
|
+
"name": "details",
|
|
1312
|
+
"required": false,
|
|
1313
|
+
"allowNo": false,
|
|
1314
|
+
"type": "boolean"
|
|
1315
|
+
}
|
|
1316
|
+
},
|
|
1317
|
+
"hasDynamicHelp": false,
|
|
1318
|
+
"hiddenAliases": [],
|
|
1319
|
+
"id": "profile:list",
|
|
1320
|
+
"pluginAlias": "@xano/cli",
|
|
1321
|
+
"pluginName": "@xano/cli",
|
|
1322
|
+
"pluginType": "core",
|
|
1323
|
+
"strict": true,
|
|
1324
|
+
"enableJsonFlag": false,
|
|
1325
|
+
"isESM": true,
|
|
1326
|
+
"relativePath": [
|
|
1327
|
+
"dist",
|
|
1328
|
+
"commands",
|
|
1329
|
+
"profile",
|
|
1330
|
+
"list",
|
|
1331
|
+
"index.js"
|
|
1332
|
+
]
|
|
1333
|
+
},
|
|
1484
1334
|
"profile:me": {
|
|
1485
1335
|
"aliases": [],
|
|
1486
1336
|
"args": {},
|
|
@@ -1542,98 +1392,15 @@
|
|
|
1542
1392
|
"index.js"
|
|
1543
1393
|
]
|
|
1544
1394
|
},
|
|
1545
|
-
"
|
|
1546
|
-
"aliases": [],
|
|
1547
|
-
"args": {},
|
|
1548
|
-
"description": "Print the access token for the default profile",
|
|
1549
|
-
"examples": [
|
|
1550
|
-
"$ xano profile:token\neyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...\n",
|
|
1551
|
-
"$ xano profile:token | pbcopy\n# Copies the token to clipboard on macOS\n"
|
|
1552
|
-
],
|
|
1553
|
-
"flags": {},
|
|
1554
|
-
"hasDynamicHelp": false,
|
|
1555
|
-
"hiddenAliases": [],
|
|
1556
|
-
"id": "profile:token",
|
|
1557
|
-
"pluginAlias": "@xano/cli",
|
|
1558
|
-
"pluginName": "@xano/cli",
|
|
1559
|
-
"pluginType": "core",
|
|
1560
|
-
"strict": true,
|
|
1561
|
-
"enableJsonFlag": false,
|
|
1562
|
-
"isESM": true,
|
|
1563
|
-
"relativePath": [
|
|
1564
|
-
"dist",
|
|
1565
|
-
"commands",
|
|
1566
|
-
"profile",
|
|
1567
|
-
"token",
|
|
1568
|
-
"index.js"
|
|
1569
|
-
]
|
|
1570
|
-
},
|
|
1571
|
-
"profile:set": {
|
|
1572
|
-
"aliases": [],
|
|
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",
|
|
1581
|
-
"examples": [
|
|
1582
|
-
"$ xano profile set production\nDefault profile set to 'production'\n"
|
|
1583
|
-
],
|
|
1584
|
-
"flags": {},
|
|
1585
|
-
"hasDynamicHelp": false,
|
|
1586
|
-
"hiddenAliases": [],
|
|
1587
|
-
"id": "profile:set",
|
|
1588
|
-
"pluginAlias": "@xano/cli",
|
|
1589
|
-
"pluginName": "@xano/cli",
|
|
1590
|
-
"pluginType": "core",
|
|
1591
|
-
"strict": true,
|
|
1592
|
-
"enableJsonFlag": false,
|
|
1593
|
-
"isESM": true,
|
|
1594
|
-
"relativePath": [
|
|
1595
|
-
"dist",
|
|
1596
|
-
"commands",
|
|
1597
|
-
"profile",
|
|
1598
|
-
"set",
|
|
1599
|
-
"index.js"
|
|
1600
|
-
]
|
|
1601
|
-
},
|
|
1602
|
-
"profile:workspace": {
|
|
1603
|
-
"aliases": [],
|
|
1604
|
-
"args": {},
|
|
1605
|
-
"description": "Print the workspace ID for the default profile",
|
|
1606
|
-
"examples": [
|
|
1607
|
-
"$ xano profile:workspace\nabc123-workspace-id\n",
|
|
1608
|
-
"$ xano profile:workspace | pbcopy\n# Copies the workspace ID to clipboard on macOS\n"
|
|
1609
|
-
],
|
|
1610
|
-
"flags": {},
|
|
1611
|
-
"hasDynamicHelp": false,
|
|
1612
|
-
"hiddenAliases": [],
|
|
1613
|
-
"id": "profile:workspace",
|
|
1614
|
-
"pluginAlias": "@xano/cli",
|
|
1615
|
-
"pluginName": "@xano/cli",
|
|
1616
|
-
"pluginType": "core",
|
|
1617
|
-
"strict": true,
|
|
1618
|
-
"enableJsonFlag": false,
|
|
1619
|
-
"isESM": true,
|
|
1620
|
-
"relativePath": [
|
|
1621
|
-
"dist",
|
|
1622
|
-
"commands",
|
|
1623
|
-
"profile",
|
|
1624
|
-
"workspace",
|
|
1625
|
-
"index.js"
|
|
1626
|
-
]
|
|
1627
|
-
},
|
|
1628
|
-
"static_host:list": {
|
|
1395
|
+
"function:list": {
|
|
1629
1396
|
"aliases": [],
|
|
1630
1397
|
"args": {},
|
|
1631
|
-
"description": "List all
|
|
1398
|
+
"description": "List all functions in a workspace from the Xano Metadata API",
|
|
1632
1399
|
"examples": [
|
|
1633
|
-
"$ xano
|
|
1634
|
-
"$ xano
|
|
1635
|
-
"$ xano
|
|
1636
|
-
"$ 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"
|
|
1637
1404
|
],
|
|
1638
1405
|
"flags": {
|
|
1639
1406
|
"profile": {
|
|
@@ -1655,6 +1422,33 @@
|
|
|
1655
1422
|
"allowNo": false,
|
|
1656
1423
|
"type": "boolean"
|
|
1657
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
|
+
},
|
|
1658
1452
|
"output": {
|
|
1659
1453
|
"char": "o",
|
|
1660
1454
|
"description": "Output format",
|
|
@@ -1687,6 +1481,15 @@
|
|
|
1687
1481
|
"multiple": false,
|
|
1688
1482
|
"type": "option"
|
|
1689
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
|
+
},
|
|
1690
1493
|
"workspace": {
|
|
1691
1494
|
"char": "w",
|
|
1692
1495
|
"description": "Workspace ID (optional if set in profile)",
|
|
@@ -1699,7 +1502,7 @@
|
|
|
1699
1502
|
},
|
|
1700
1503
|
"hasDynamicHelp": false,
|
|
1701
1504
|
"hiddenAliases": [],
|
|
1702
|
-
"id": "
|
|
1505
|
+
"id": "function:list",
|
|
1703
1506
|
"pluginAlias": "@xano/cli",
|
|
1704
1507
|
"pluginName": "@xano/cli",
|
|
1705
1508
|
"pluginType": "core",
|
|
@@ -1709,11 +1512,93 @@
|
|
|
1709
1512
|
"relativePath": [
|
|
1710
1513
|
"dist",
|
|
1711
1514
|
"commands",
|
|
1712
|
-
"
|
|
1515
|
+
"function",
|
|
1713
1516
|
"list",
|
|
1714
1517
|
"index.js"
|
|
1715
1518
|
]
|
|
1716
1519
|
},
|
|
1520
|
+
"profile:get": {
|
|
1521
|
+
"aliases": [],
|
|
1522
|
+
"args": {},
|
|
1523
|
+
"description": "Get the current default profile name",
|
|
1524
|
+
"examples": [
|
|
1525
|
+
"$ xano profile get\nproduction\n"
|
|
1526
|
+
],
|
|
1527
|
+
"flags": {},
|
|
1528
|
+
"hasDynamicHelp": false,
|
|
1529
|
+
"hiddenAliases": [],
|
|
1530
|
+
"id": "profile:get",
|
|
1531
|
+
"pluginAlias": "@xano/cli",
|
|
1532
|
+
"pluginName": "@xano/cli",
|
|
1533
|
+
"pluginType": "core",
|
|
1534
|
+
"strict": true,
|
|
1535
|
+
"enableJsonFlag": false,
|
|
1536
|
+
"isESM": true,
|
|
1537
|
+
"relativePath": [
|
|
1538
|
+
"dist",
|
|
1539
|
+
"commands",
|
|
1540
|
+
"profile",
|
|
1541
|
+
"get",
|
|
1542
|
+
"index.js"
|
|
1543
|
+
]
|
|
1544
|
+
},
|
|
1545
|
+
"profile:token": {
|
|
1546
|
+
"aliases": [],
|
|
1547
|
+
"args": {},
|
|
1548
|
+
"description": "Print the access token for the default profile",
|
|
1549
|
+
"examples": [
|
|
1550
|
+
"$ xano profile:token\neyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...\n",
|
|
1551
|
+
"$ xano profile:token | pbcopy\n# Copies the token to clipboard on macOS\n"
|
|
1552
|
+
],
|
|
1553
|
+
"flags": {},
|
|
1554
|
+
"hasDynamicHelp": false,
|
|
1555
|
+
"hiddenAliases": [],
|
|
1556
|
+
"id": "profile:token",
|
|
1557
|
+
"pluginAlias": "@xano/cli",
|
|
1558
|
+
"pluginName": "@xano/cli",
|
|
1559
|
+
"pluginType": "core",
|
|
1560
|
+
"strict": true,
|
|
1561
|
+
"enableJsonFlag": false,
|
|
1562
|
+
"isESM": true,
|
|
1563
|
+
"relativePath": [
|
|
1564
|
+
"dist",
|
|
1565
|
+
"commands",
|
|
1566
|
+
"profile",
|
|
1567
|
+
"token",
|
|
1568
|
+
"index.js"
|
|
1569
|
+
]
|
|
1570
|
+
},
|
|
1571
|
+
"profile:set": {
|
|
1572
|
+
"aliases": [],
|
|
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",
|
|
1581
|
+
"examples": [
|
|
1582
|
+
"$ xano profile set production\nDefault profile set to 'production'\n"
|
|
1583
|
+
],
|
|
1584
|
+
"flags": {},
|
|
1585
|
+
"hasDynamicHelp": false,
|
|
1586
|
+
"hiddenAliases": [],
|
|
1587
|
+
"id": "profile:set",
|
|
1588
|
+
"pluginAlias": "@xano/cli",
|
|
1589
|
+
"pluginName": "@xano/cli",
|
|
1590
|
+
"pluginType": "core",
|
|
1591
|
+
"strict": true,
|
|
1592
|
+
"enableJsonFlag": false,
|
|
1593
|
+
"isESM": true,
|
|
1594
|
+
"relativePath": [
|
|
1595
|
+
"dist",
|
|
1596
|
+
"commands",
|
|
1597
|
+
"profile",
|
|
1598
|
+
"set",
|
|
1599
|
+
"index.js"
|
|
1600
|
+
]
|
|
1601
|
+
},
|
|
1717
1602
|
"profile:wizard": {
|
|
1718
1603
|
"aliases": [],
|
|
1719
1604
|
"args": {},
|
|
@@ -1744,7 +1629,33 @@
|
|
|
1744
1629
|
},
|
|
1745
1630
|
"hasDynamicHelp": false,
|
|
1746
1631
|
"hiddenAliases": [],
|
|
1747
|
-
"id": "profile:wizard",
|
|
1632
|
+
"id": "profile:wizard",
|
|
1633
|
+
"pluginAlias": "@xano/cli",
|
|
1634
|
+
"pluginName": "@xano/cli",
|
|
1635
|
+
"pluginType": "core",
|
|
1636
|
+
"strict": true,
|
|
1637
|
+
"enableJsonFlag": false,
|
|
1638
|
+
"isESM": true,
|
|
1639
|
+
"relativePath": [
|
|
1640
|
+
"dist",
|
|
1641
|
+
"commands",
|
|
1642
|
+
"profile",
|
|
1643
|
+
"wizard",
|
|
1644
|
+
"index.js"
|
|
1645
|
+
]
|
|
1646
|
+
},
|
|
1647
|
+
"profile:workspace": {
|
|
1648
|
+
"aliases": [],
|
|
1649
|
+
"args": {},
|
|
1650
|
+
"description": "Print the workspace ID for the default profile",
|
|
1651
|
+
"examples": [
|
|
1652
|
+
"$ xano profile:workspace\nabc123-workspace-id\n",
|
|
1653
|
+
"$ xano profile:workspace | pbcopy\n# Copies the workspace ID to clipboard on macOS\n"
|
|
1654
|
+
],
|
|
1655
|
+
"flags": {},
|
|
1656
|
+
"hasDynamicHelp": false,
|
|
1657
|
+
"hiddenAliases": [],
|
|
1658
|
+
"id": "profile:workspace",
|
|
1748
1659
|
"pluginAlias": "@xano/cli",
|
|
1749
1660
|
"pluginName": "@xano/cli",
|
|
1750
1661
|
"pluginType": "core",
|
|
@@ -1755,7 +1666,7 @@
|
|
|
1755
1666
|
"dist",
|
|
1756
1667
|
"commands",
|
|
1757
1668
|
"profile",
|
|
1758
|
-
"
|
|
1669
|
+
"workspace",
|
|
1759
1670
|
"index.js"
|
|
1760
1671
|
]
|
|
1761
1672
|
},
|
|
@@ -2206,6 +2117,84 @@
|
|
|
2206
2117
|
"index.js"
|
|
2207
2118
|
]
|
|
2208
2119
|
},
|
|
2120
|
+
"release:import": {
|
|
2121
|
+
"aliases": [],
|
|
2122
|
+
"args": {},
|
|
2123
|
+
"description": "Import a release file into a workspace",
|
|
2124
|
+
"examples": [
|
|
2125
|
+
"$ xano release import --file ./my-release.tar.gz\nImported release as #15\n",
|
|
2126
|
+
"$ xano release import --file ./my-release.tar.gz -o json"
|
|
2127
|
+
],
|
|
2128
|
+
"flags": {
|
|
2129
|
+
"profile": {
|
|
2130
|
+
"char": "p",
|
|
2131
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
2132
|
+
"env": "XANO_PROFILE",
|
|
2133
|
+
"name": "profile",
|
|
2134
|
+
"required": false,
|
|
2135
|
+
"hasDynamicHelp": false,
|
|
2136
|
+
"multiple": false,
|
|
2137
|
+
"type": "option"
|
|
2138
|
+
},
|
|
2139
|
+
"verbose": {
|
|
2140
|
+
"char": "v",
|
|
2141
|
+
"description": "Show detailed request/response information",
|
|
2142
|
+
"env": "XANO_VERBOSE",
|
|
2143
|
+
"name": "verbose",
|
|
2144
|
+
"required": false,
|
|
2145
|
+
"allowNo": false,
|
|
2146
|
+
"type": "boolean"
|
|
2147
|
+
},
|
|
2148
|
+
"file": {
|
|
2149
|
+
"char": "f",
|
|
2150
|
+
"description": "Path to the release file (.tar.gz)",
|
|
2151
|
+
"name": "file",
|
|
2152
|
+
"required": true,
|
|
2153
|
+
"hasDynamicHelp": false,
|
|
2154
|
+
"multiple": false,
|
|
2155
|
+
"type": "option"
|
|
2156
|
+
},
|
|
2157
|
+
"output": {
|
|
2158
|
+
"char": "o",
|
|
2159
|
+
"description": "Output format",
|
|
2160
|
+
"name": "output",
|
|
2161
|
+
"required": false,
|
|
2162
|
+
"default": "summary",
|
|
2163
|
+
"hasDynamicHelp": false,
|
|
2164
|
+
"multiple": false,
|
|
2165
|
+
"options": [
|
|
2166
|
+
"summary",
|
|
2167
|
+
"json"
|
|
2168
|
+
],
|
|
2169
|
+
"type": "option"
|
|
2170
|
+
},
|
|
2171
|
+
"workspace": {
|
|
2172
|
+
"char": "w",
|
|
2173
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
2174
|
+
"name": "workspace",
|
|
2175
|
+
"required": false,
|
|
2176
|
+
"hasDynamicHelp": false,
|
|
2177
|
+
"multiple": false,
|
|
2178
|
+
"type": "option"
|
|
2179
|
+
}
|
|
2180
|
+
},
|
|
2181
|
+
"hasDynamicHelp": false,
|
|
2182
|
+
"hiddenAliases": [],
|
|
2183
|
+
"id": "release:import",
|
|
2184
|
+
"pluginAlias": "@xano/cli",
|
|
2185
|
+
"pluginName": "@xano/cli",
|
|
2186
|
+
"pluginType": "core",
|
|
2187
|
+
"strict": true,
|
|
2188
|
+
"enableJsonFlag": false,
|
|
2189
|
+
"isESM": true,
|
|
2190
|
+
"relativePath": [
|
|
2191
|
+
"dist",
|
|
2192
|
+
"commands",
|
|
2193
|
+
"release",
|
|
2194
|
+
"import",
|
|
2195
|
+
"index.js"
|
|
2196
|
+
]
|
|
2197
|
+
},
|
|
2209
2198
|
"release:list": {
|
|
2210
2199
|
"aliases": [],
|
|
2211
2200
|
"args": {},
|
|
@@ -2275,13 +2264,22 @@
|
|
|
2275
2264
|
"index.js"
|
|
2276
2265
|
]
|
|
2277
2266
|
},
|
|
2278
|
-
"release:
|
|
2267
|
+
"release:push": {
|
|
2279
2268
|
"aliases": [],
|
|
2280
|
-
"args": {
|
|
2281
|
-
|
|
2269
|
+
"args": {
|
|
2270
|
+
"directory": {
|
|
2271
|
+
"description": "Directory containing .xs documents to create the release from",
|
|
2272
|
+
"name": "directory",
|
|
2273
|
+
"required": true
|
|
2274
|
+
}
|
|
2275
|
+
},
|
|
2276
|
+
"description": "Create a new release from local XanoScript files via the multidoc endpoint",
|
|
2282
2277
|
"examples": [
|
|
2283
|
-
"$ xano release
|
|
2284
|
-
"$ xano release
|
|
2278
|
+
"$ xano release push ./my-release -n \"v1.0\"\nCreated release: v1.0 - ID: 10\n",
|
|
2279
|
+
"$ xano release push ./output -n \"v2.0\" -w 40 -d \"Major update\"\nCreated release: v2.0 - ID: 15\n",
|
|
2280
|
+
"$ xano release push ./backup -n \"v1.1-hotfix\" --hotfix --profile production\nCreated release: v1.1-hotfix - ID: 20\n",
|
|
2281
|
+
"$ xano release push ./my-release -n \"v1.0\" --no-records --no-env\nCreate release from schema only, skip records and environment variables\n",
|
|
2282
|
+
"$ xano release push ./my-release -n \"v1.0\" -o json\nOutput release details as JSON\n"
|
|
2285
2283
|
],
|
|
2286
2284
|
"flags": {
|
|
2287
2285
|
"profile": {
|
|
@@ -2303,10 +2301,34 @@
|
|
|
2303
2301
|
"allowNo": false,
|
|
2304
2302
|
"type": "boolean"
|
|
2305
2303
|
},
|
|
2306
|
-
"
|
|
2307
|
-
"char": "
|
|
2308
|
-
"description": "
|
|
2309
|
-
"name": "
|
|
2304
|
+
"description": {
|
|
2305
|
+
"char": "d",
|
|
2306
|
+
"description": "Release description",
|
|
2307
|
+
"name": "description",
|
|
2308
|
+
"required": false,
|
|
2309
|
+
"default": "",
|
|
2310
|
+
"hasDynamicHelp": false,
|
|
2311
|
+
"multiple": false,
|
|
2312
|
+
"type": "option"
|
|
2313
|
+
},
|
|
2314
|
+
"env": {
|
|
2315
|
+
"description": "Include environment variables (default: true, use --no-env to exclude)",
|
|
2316
|
+
"name": "env",
|
|
2317
|
+
"required": false,
|
|
2318
|
+
"allowNo": true,
|
|
2319
|
+
"type": "boolean"
|
|
2320
|
+
},
|
|
2321
|
+
"hotfix": {
|
|
2322
|
+
"description": "Mark as a hotfix release",
|
|
2323
|
+
"name": "hotfix",
|
|
2324
|
+
"required": false,
|
|
2325
|
+
"allowNo": false,
|
|
2326
|
+
"type": "boolean"
|
|
2327
|
+
},
|
|
2328
|
+
"name": {
|
|
2329
|
+
"char": "n",
|
|
2330
|
+
"description": "Name for the release",
|
|
2331
|
+
"name": "name",
|
|
2310
2332
|
"required": true,
|
|
2311
2333
|
"hasDynamicHelp": false,
|
|
2312
2334
|
"multiple": false,
|
|
@@ -2326,9 +2348,16 @@
|
|
|
2326
2348
|
],
|
|
2327
2349
|
"type": "option"
|
|
2328
2350
|
},
|
|
2351
|
+
"records": {
|
|
2352
|
+
"description": "Include records (default: true, use --no-records to exclude)",
|
|
2353
|
+
"name": "records",
|
|
2354
|
+
"required": false,
|
|
2355
|
+
"allowNo": true,
|
|
2356
|
+
"type": "boolean"
|
|
2357
|
+
},
|
|
2329
2358
|
"workspace": {
|
|
2330
2359
|
"char": "w",
|
|
2331
|
-
"description": "Workspace ID (
|
|
2360
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
2332
2361
|
"name": "workspace",
|
|
2333
2362
|
"required": false,
|
|
2334
2363
|
"hasDynamicHelp": false,
|
|
@@ -2338,7 +2367,7 @@
|
|
|
2338
2367
|
},
|
|
2339
2368
|
"hasDynamicHelp": false,
|
|
2340
2369
|
"hiddenAliases": [],
|
|
2341
|
-
"id": "release:
|
|
2370
|
+
"id": "release:push",
|
|
2342
2371
|
"pluginAlias": "@xano/cli",
|
|
2343
2372
|
"pluginName": "@xano/cli",
|
|
2344
2373
|
"pluginType": "core",
|
|
@@ -2349,7 +2378,7 @@
|
|
|
2349
2378
|
"dist",
|
|
2350
2379
|
"commands",
|
|
2351
2380
|
"release",
|
|
2352
|
-
"
|
|
2381
|
+
"push",
|
|
2353
2382
|
"index.js"
|
|
2354
2383
|
]
|
|
2355
2384
|
},
|
|
@@ -2388,25 +2417,114 @@
|
|
|
2388
2417
|
"allowNo": false,
|
|
2389
2418
|
"type": "boolean"
|
|
2390
2419
|
},
|
|
2391
|
-
"env": {
|
|
2392
|
-
"description": "Include environment variables",
|
|
2393
|
-
"name": "env",
|
|
2420
|
+
"env": {
|
|
2421
|
+
"description": "Include environment variables",
|
|
2422
|
+
"name": "env",
|
|
2423
|
+
"required": false,
|
|
2424
|
+
"allowNo": false,
|
|
2425
|
+
"type": "boolean"
|
|
2426
|
+
},
|
|
2427
|
+
"records": {
|
|
2428
|
+
"description": "Include records",
|
|
2429
|
+
"name": "records",
|
|
2430
|
+
"required": false,
|
|
2431
|
+
"allowNo": false,
|
|
2432
|
+
"type": "boolean"
|
|
2433
|
+
},
|
|
2434
|
+
"release": {
|
|
2435
|
+
"char": "r",
|
|
2436
|
+
"description": "Release name to pull from",
|
|
2437
|
+
"name": "release",
|
|
2438
|
+
"required": true,
|
|
2439
|
+
"hasDynamicHelp": false,
|
|
2440
|
+
"multiple": false,
|
|
2441
|
+
"type": "option"
|
|
2442
|
+
},
|
|
2443
|
+
"workspace": {
|
|
2444
|
+
"char": "w",
|
|
2445
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
2446
|
+
"name": "workspace",
|
|
2447
|
+
"required": false,
|
|
2448
|
+
"hasDynamicHelp": false,
|
|
2449
|
+
"multiple": false,
|
|
2450
|
+
"type": "option"
|
|
2451
|
+
}
|
|
2452
|
+
},
|
|
2453
|
+
"hasDynamicHelp": false,
|
|
2454
|
+
"hiddenAliases": [],
|
|
2455
|
+
"id": "release:pull",
|
|
2456
|
+
"pluginAlias": "@xano/cli",
|
|
2457
|
+
"pluginName": "@xano/cli",
|
|
2458
|
+
"pluginType": "core",
|
|
2459
|
+
"strict": true,
|
|
2460
|
+
"enableJsonFlag": false,
|
|
2461
|
+
"isESM": true,
|
|
2462
|
+
"relativePath": [
|
|
2463
|
+
"dist",
|
|
2464
|
+
"commands",
|
|
2465
|
+
"release",
|
|
2466
|
+
"pull",
|
|
2467
|
+
"index.js"
|
|
2468
|
+
]
|
|
2469
|
+
},
|
|
2470
|
+
"static_host:list": {
|
|
2471
|
+
"aliases": [],
|
|
2472
|
+
"args": {},
|
|
2473
|
+
"description": "List all static hosts in a workspace from the Xano Metadata API",
|
|
2474
|
+
"examples": [
|
|
2475
|
+
"$ xano static_host:list -w 40\nAvailable static hosts:\n - my-static-host (ID: 1)\n - another-host (ID: 2)\n",
|
|
2476
|
+
"$ xano static_host:list --profile production\nAvailable static hosts:\n - my-static-host (ID: 1)\n - another-host (ID: 2)\n",
|
|
2477
|
+
"$ xano static_host:list -w 40 --output json\n[\n {\n \"id\": 1,\n \"name\": \"my-static-host\",\n \"domain\": \"example.com\"\n }\n]\n",
|
|
2478
|
+
"$ xano static_host:list -p staging -o json --page 2\n[\n {\n \"id\": 3,\n \"name\": \"static-host-3\"\n }\n]\n"
|
|
2479
|
+
],
|
|
2480
|
+
"flags": {
|
|
2481
|
+
"profile": {
|
|
2482
|
+
"char": "p",
|
|
2483
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
2484
|
+
"env": "XANO_PROFILE",
|
|
2485
|
+
"name": "profile",
|
|
2486
|
+
"required": false,
|
|
2487
|
+
"hasDynamicHelp": false,
|
|
2488
|
+
"multiple": false,
|
|
2489
|
+
"type": "option"
|
|
2490
|
+
},
|
|
2491
|
+
"verbose": {
|
|
2492
|
+
"char": "v",
|
|
2493
|
+
"description": "Show detailed request/response information",
|
|
2494
|
+
"env": "XANO_VERBOSE",
|
|
2495
|
+
"name": "verbose",
|
|
2496
|
+
"required": false,
|
|
2497
|
+
"allowNo": false,
|
|
2498
|
+
"type": "boolean"
|
|
2499
|
+
},
|
|
2500
|
+
"output": {
|
|
2501
|
+
"char": "o",
|
|
2502
|
+
"description": "Output format",
|
|
2503
|
+
"name": "output",
|
|
2504
|
+
"required": false,
|
|
2505
|
+
"default": "summary",
|
|
2506
|
+
"hasDynamicHelp": false,
|
|
2507
|
+
"multiple": false,
|
|
2508
|
+
"options": [
|
|
2509
|
+
"summary",
|
|
2510
|
+
"json"
|
|
2511
|
+
],
|
|
2512
|
+
"type": "option"
|
|
2513
|
+
},
|
|
2514
|
+
"page": {
|
|
2515
|
+
"description": "Page number for pagination",
|
|
2516
|
+
"name": "page",
|
|
2394
2517
|
"required": false,
|
|
2395
|
-
"
|
|
2396
|
-
"
|
|
2518
|
+
"default": 1,
|
|
2519
|
+
"hasDynamicHelp": false,
|
|
2520
|
+
"multiple": false,
|
|
2521
|
+
"type": "option"
|
|
2397
2522
|
},
|
|
2398
|
-
"
|
|
2399
|
-
"description": "
|
|
2400
|
-
"name": "
|
|
2523
|
+
"per_page": {
|
|
2524
|
+
"description": "Number of results per page",
|
|
2525
|
+
"name": "per_page",
|
|
2401
2526
|
"required": false,
|
|
2402
|
-
"
|
|
2403
|
-
"type": "boolean"
|
|
2404
|
-
},
|
|
2405
|
-
"release": {
|
|
2406
|
-
"char": "r",
|
|
2407
|
-
"description": "Release name to pull from",
|
|
2408
|
-
"name": "release",
|
|
2409
|
-
"required": true,
|
|
2527
|
+
"default": 50,
|
|
2410
2528
|
"hasDynamicHelp": false,
|
|
2411
2529
|
"multiple": false,
|
|
2412
2530
|
"type": "option"
|
|
@@ -2423,7 +2541,7 @@
|
|
|
2423
2541
|
},
|
|
2424
2542
|
"hasDynamicHelp": false,
|
|
2425
2543
|
"hiddenAliases": [],
|
|
2426
|
-
"id": "
|
|
2544
|
+
"id": "static_host:list",
|
|
2427
2545
|
"pluginAlias": "@xano/cli",
|
|
2428
2546
|
"pluginName": "@xano/cli",
|
|
2429
2547
|
"pluginType": "core",
|
|
@@ -2433,27 +2551,25 @@
|
|
|
2433
2551
|
"relativePath": [
|
|
2434
2552
|
"dist",
|
|
2435
2553
|
"commands",
|
|
2436
|
-
"
|
|
2437
|
-
"
|
|
2554
|
+
"static_host",
|
|
2555
|
+
"list",
|
|
2438
2556
|
"index.js"
|
|
2439
2557
|
]
|
|
2440
2558
|
},
|
|
2441
|
-
"
|
|
2559
|
+
"tenant:delete": {
|
|
2442
2560
|
"aliases": [],
|
|
2443
2561
|
"args": {
|
|
2444
|
-
"
|
|
2445
|
-
"description": "
|
|
2446
|
-
"name": "
|
|
2562
|
+
"tenant_name": {
|
|
2563
|
+
"description": "Tenant name to delete",
|
|
2564
|
+
"name": "tenant_name",
|
|
2447
2565
|
"required": true
|
|
2448
2566
|
}
|
|
2449
2567
|
},
|
|
2450
|
-
"description": "
|
|
2568
|
+
"description": "Delete a tenant permanently. This destroys all associated infrastructure and cannot be undone.",
|
|
2451
2569
|
"examples": [
|
|
2452
|
-
"$ xano
|
|
2453
|
-
"$ xano
|
|
2454
|
-
"$ xano
|
|
2455
|
-
"$ xano release push ./my-release -n \"v1.0\" --no-records --no-env\nCreate release from schema only, skip records and environment variables\n",
|
|
2456
|
-
"$ xano release push ./my-release -n \"v1.0\" -o json\nOutput release details as JSON\n"
|
|
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"
|
|
2457
2573
|
],
|
|
2458
2574
|
"flags": {
|
|
2459
2575
|
"profile": {
|
|
@@ -2475,39 +2591,14 @@
|
|
|
2475
2591
|
"allowNo": false,
|
|
2476
2592
|
"type": "boolean"
|
|
2477
2593
|
},
|
|
2478
|
-
"
|
|
2479
|
-
"char": "
|
|
2480
|
-
"description": "
|
|
2481
|
-
"name": "
|
|
2482
|
-
"required": false,
|
|
2483
|
-
"default": "",
|
|
2484
|
-
"hasDynamicHelp": false,
|
|
2485
|
-
"multiple": false,
|
|
2486
|
-
"type": "option"
|
|
2487
|
-
},
|
|
2488
|
-
"env": {
|
|
2489
|
-
"description": "Include environment variables (default: true, use --no-env to exclude)",
|
|
2490
|
-
"name": "env",
|
|
2491
|
-
"required": false,
|
|
2492
|
-
"allowNo": true,
|
|
2493
|
-
"type": "boolean"
|
|
2494
|
-
},
|
|
2495
|
-
"hotfix": {
|
|
2496
|
-
"description": "Mark as a hotfix release",
|
|
2497
|
-
"name": "hotfix",
|
|
2594
|
+
"force": {
|
|
2595
|
+
"char": "f",
|
|
2596
|
+
"description": "Skip confirmation prompt",
|
|
2597
|
+
"name": "force",
|
|
2498
2598
|
"required": false,
|
|
2499
2599
|
"allowNo": false,
|
|
2500
2600
|
"type": "boolean"
|
|
2501
2601
|
},
|
|
2502
|
-
"name": {
|
|
2503
|
-
"char": "n",
|
|
2504
|
-
"description": "Name for the release",
|
|
2505
|
-
"name": "name",
|
|
2506
|
-
"required": true,
|
|
2507
|
-
"hasDynamicHelp": false,
|
|
2508
|
-
"multiple": false,
|
|
2509
|
-
"type": "option"
|
|
2510
|
-
},
|
|
2511
2602
|
"output": {
|
|
2512
2603
|
"char": "o",
|
|
2513
2604
|
"description": "Output format",
|
|
@@ -2522,16 +2613,9 @@
|
|
|
2522
2613
|
],
|
|
2523
2614
|
"type": "option"
|
|
2524
2615
|
},
|
|
2525
|
-
"records": {
|
|
2526
|
-
"description": "Include records (default: true, use --no-records to exclude)",
|
|
2527
|
-
"name": "records",
|
|
2528
|
-
"required": false,
|
|
2529
|
-
"allowNo": true,
|
|
2530
|
-
"type": "boolean"
|
|
2531
|
-
},
|
|
2532
2616
|
"workspace": {
|
|
2533
2617
|
"char": "w",
|
|
2534
|
-
"description": "Workspace ID (
|
|
2618
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
2535
2619
|
"name": "workspace",
|
|
2536
2620
|
"required": false,
|
|
2537
2621
|
"hasDynamicHelp": false,
|
|
@@ -2541,7 +2625,7 @@
|
|
|
2541
2625
|
},
|
|
2542
2626
|
"hasDynamicHelp": false,
|
|
2543
2627
|
"hiddenAliases": [],
|
|
2544
|
-
"id": "
|
|
2628
|
+
"id": "tenant:delete",
|
|
2545
2629
|
"pluginAlias": "@xano/cli",
|
|
2546
2630
|
"pluginName": "@xano/cli",
|
|
2547
2631
|
"pluginType": "core",
|
|
@@ -2551,8 +2635,8 @@
|
|
|
2551
2635
|
"relativePath": [
|
|
2552
2636
|
"dist",
|
|
2553
2637
|
"commands",
|
|
2554
|
-
"
|
|
2555
|
-
"
|
|
2638
|
+
"tenant",
|
|
2639
|
+
"delete",
|
|
2556
2640
|
"index.js"
|
|
2557
2641
|
]
|
|
2558
2642
|
},
|
|
@@ -2779,20 +2863,19 @@
|
|
|
2779
2863
|
"index.js"
|
|
2780
2864
|
]
|
|
2781
2865
|
},
|
|
2782
|
-
"tenant:
|
|
2866
|
+
"tenant:edit": {
|
|
2783
2867
|
"aliases": [],
|
|
2784
2868
|
"args": {
|
|
2785
2869
|
"tenant_name": {
|
|
2786
|
-
"description": "Tenant name to
|
|
2870
|
+
"description": "Tenant name to edit",
|
|
2787
2871
|
"name": "tenant_name",
|
|
2788
2872
|
"required": true
|
|
2789
2873
|
}
|
|
2790
2874
|
},
|
|
2791
|
-
"description": "
|
|
2875
|
+
"description": "Edit an existing tenant",
|
|
2792
2876
|
"examples": [
|
|
2793
|
-
"$ xano tenant
|
|
2794
|
-
"$ xano tenant
|
|
2795
|
-
"$ xano tenant delete t1234-abcd-xyz1 -f -o json"
|
|
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"
|
|
2796
2879
|
],
|
|
2797
2880
|
"flags": {
|
|
2798
2881
|
"profile": {
|
|
@@ -2814,10 +2897,131 @@
|
|
|
2814
2897
|
"allowNo": false,
|
|
2815
2898
|
"type": "boolean"
|
|
2816
2899
|
},
|
|
2817
|
-
"
|
|
2818
|
-
"char": "
|
|
2819
|
-
"description": "
|
|
2820
|
-
"name": "
|
|
2900
|
+
"description": {
|
|
2901
|
+
"char": "d",
|
|
2902
|
+
"description": "New description",
|
|
2903
|
+
"name": "description",
|
|
2904
|
+
"required": false,
|
|
2905
|
+
"hasDynamicHelp": false,
|
|
2906
|
+
"multiple": false,
|
|
2907
|
+
"type": "option"
|
|
2908
|
+
},
|
|
2909
|
+
"display": {
|
|
2910
|
+
"description": "New display name",
|
|
2911
|
+
"name": "display",
|
|
2912
|
+
"required": false,
|
|
2913
|
+
"hasDynamicHelp": false,
|
|
2914
|
+
"multiple": false,
|
|
2915
|
+
"type": "option"
|
|
2916
|
+
},
|
|
2917
|
+
"domain": {
|
|
2918
|
+
"description": "Custom domain",
|
|
2919
|
+
"name": "domain",
|
|
2920
|
+
"required": false,
|
|
2921
|
+
"hasDynamicHelp": false,
|
|
2922
|
+
"multiple": false,
|
|
2923
|
+
"type": "option"
|
|
2924
|
+
},
|
|
2925
|
+
"ingress": {
|
|
2926
|
+
"description": "Enable/disable ingress",
|
|
2927
|
+
"name": "ingress",
|
|
2928
|
+
"required": false,
|
|
2929
|
+
"allowNo": true,
|
|
2930
|
+
"type": "boolean"
|
|
2931
|
+
},
|
|
2932
|
+
"output": {
|
|
2933
|
+
"char": "o",
|
|
2934
|
+
"description": "Output format",
|
|
2935
|
+
"name": "output",
|
|
2936
|
+
"required": false,
|
|
2937
|
+
"default": "summary",
|
|
2938
|
+
"hasDynamicHelp": false,
|
|
2939
|
+
"multiple": false,
|
|
2940
|
+
"options": [
|
|
2941
|
+
"summary",
|
|
2942
|
+
"json"
|
|
2943
|
+
],
|
|
2944
|
+
"type": "option"
|
|
2945
|
+
},
|
|
2946
|
+
"proxy": {
|
|
2947
|
+
"description": "Proxy URL",
|
|
2948
|
+
"name": "proxy",
|
|
2949
|
+
"required": false,
|
|
2950
|
+
"hasDynamicHelp": false,
|
|
2951
|
+
"multiple": false,
|
|
2952
|
+
"type": "option"
|
|
2953
|
+
},
|
|
2954
|
+
"rbac": {
|
|
2955
|
+
"description": "Enable/disable RBAC",
|
|
2956
|
+
"name": "rbac",
|
|
2957
|
+
"required": false,
|
|
2958
|
+
"allowNo": true,
|
|
2959
|
+
"type": "boolean"
|
|
2960
|
+
},
|
|
2961
|
+
"tasks": {
|
|
2962
|
+
"description": "Enable/disable background tasks",
|
|
2963
|
+
"name": "tasks",
|
|
2964
|
+
"required": false,
|
|
2965
|
+
"allowNo": true,
|
|
2966
|
+
"type": "boolean"
|
|
2967
|
+
},
|
|
2968
|
+
"workspace": {
|
|
2969
|
+
"char": "w",
|
|
2970
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
2971
|
+
"name": "workspace",
|
|
2972
|
+
"required": false,
|
|
2973
|
+
"hasDynamicHelp": false,
|
|
2974
|
+
"multiple": false,
|
|
2975
|
+
"type": "option"
|
|
2976
|
+
}
|
|
2977
|
+
},
|
|
2978
|
+
"hasDynamicHelp": false,
|
|
2979
|
+
"hiddenAliases": [],
|
|
2980
|
+
"id": "tenant:edit",
|
|
2981
|
+
"pluginAlias": "@xano/cli",
|
|
2982
|
+
"pluginName": "@xano/cli",
|
|
2983
|
+
"pluginType": "core",
|
|
2984
|
+
"strict": true,
|
|
2985
|
+
"enableJsonFlag": false,
|
|
2986
|
+
"isESM": true,
|
|
2987
|
+
"relativePath": [
|
|
2988
|
+
"dist",
|
|
2989
|
+
"commands",
|
|
2990
|
+
"tenant",
|
|
2991
|
+
"edit",
|
|
2992
|
+
"index.js"
|
|
2993
|
+
]
|
|
2994
|
+
},
|
|
2995
|
+
"tenant:deploy_release": {
|
|
2996
|
+
"aliases": [],
|
|
2997
|
+
"args": {
|
|
2998
|
+
"tenant_name": {
|
|
2999
|
+
"description": "Tenant name to deploy to",
|
|
3000
|
+
"name": "tenant_name",
|
|
3001
|
+
"required": true
|
|
3002
|
+
}
|
|
3003
|
+
},
|
|
3004
|
+
"description": "Deploy a release to a tenant",
|
|
3005
|
+
"examples": [
|
|
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"
|
|
3008
|
+
],
|
|
3009
|
+
"flags": {
|
|
3010
|
+
"profile": {
|
|
3011
|
+
"char": "p",
|
|
3012
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
3013
|
+
"env": "XANO_PROFILE",
|
|
3014
|
+
"name": "profile",
|
|
3015
|
+
"required": false,
|
|
3016
|
+
"hasDynamicHelp": false,
|
|
3017
|
+
"multiple": false,
|
|
3018
|
+
"type": "option"
|
|
3019
|
+
},
|
|
3020
|
+
"verbose": {
|
|
3021
|
+
"char": "v",
|
|
3022
|
+
"description": "Show detailed request/response information",
|
|
3023
|
+
"env": "XANO_VERBOSE",
|
|
3024
|
+
"name": "verbose",
|
|
2821
3025
|
"required": false,
|
|
2822
3026
|
"allowNo": false,
|
|
2823
3027
|
"type": "boolean"
|
|
@@ -2836,6 +3040,15 @@
|
|
|
2836
3040
|
],
|
|
2837
3041
|
"type": "option"
|
|
2838
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
|
+
},
|
|
2839
3052
|
"workspace": {
|
|
2840
3053
|
"char": "w",
|
|
2841
3054
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -2848,7 +3061,7 @@
|
|
|
2848
3061
|
},
|
|
2849
3062
|
"hasDynamicHelp": false,
|
|
2850
3063
|
"hiddenAliases": [],
|
|
2851
|
-
"id": "tenant:
|
|
3064
|
+
"id": "tenant:deploy_release",
|
|
2852
3065
|
"pluginAlias": "@xano/cli",
|
|
2853
3066
|
"pluginName": "@xano/cli",
|
|
2854
3067
|
"pluginType": "core",
|
|
@@ -2859,7 +3072,7 @@
|
|
|
2859
3072
|
"dist",
|
|
2860
3073
|
"commands",
|
|
2861
3074
|
"tenant",
|
|
2862
|
-
"
|
|
3075
|
+
"deploy_release",
|
|
2863
3076
|
"index.js"
|
|
2864
3077
|
]
|
|
2865
3078
|
},
|
|
@@ -2938,19 +3151,19 @@
|
|
|
2938
3151
|
"index.js"
|
|
2939
3152
|
]
|
|
2940
3153
|
},
|
|
2941
|
-
"tenant:
|
|
3154
|
+
"tenant:impersonate": {
|
|
2942
3155
|
"aliases": [],
|
|
2943
3156
|
"args": {
|
|
2944
3157
|
"tenant_name": {
|
|
2945
|
-
"description": "Tenant name to
|
|
3158
|
+
"description": "Tenant name to impersonate",
|
|
2946
3159
|
"name": "tenant_name",
|
|
2947
3160
|
"required": true
|
|
2948
3161
|
}
|
|
2949
3162
|
},
|
|
2950
|
-
"description": "
|
|
3163
|
+
"description": "Impersonate a tenant and open it in the browser",
|
|
2951
3164
|
"examples": [
|
|
2952
|
-
"$ xano tenant
|
|
2953
|
-
"$ xano tenant
|
|
3165
|
+
"$ xano tenant impersonate my-tenant\nOpening browser...\nImpersonation successful!\n",
|
|
3166
|
+
"$ xano tenant impersonate my-tenant -o json"
|
|
2954
3167
|
],
|
|
2955
3168
|
"flags": {
|
|
2956
3169
|
"profile": {
|
|
@@ -2972,38 +3185,6 @@
|
|
|
2972
3185
|
"allowNo": false,
|
|
2973
3186
|
"type": "boolean"
|
|
2974
3187
|
},
|
|
2975
|
-
"description": {
|
|
2976
|
-
"char": "d",
|
|
2977
|
-
"description": "New description",
|
|
2978
|
-
"name": "description",
|
|
2979
|
-
"required": false,
|
|
2980
|
-
"hasDynamicHelp": false,
|
|
2981
|
-
"multiple": false,
|
|
2982
|
-
"type": "option"
|
|
2983
|
-
},
|
|
2984
|
-
"display": {
|
|
2985
|
-
"description": "New display name",
|
|
2986
|
-
"name": "display",
|
|
2987
|
-
"required": false,
|
|
2988
|
-
"hasDynamicHelp": false,
|
|
2989
|
-
"multiple": false,
|
|
2990
|
-
"type": "option"
|
|
2991
|
-
},
|
|
2992
|
-
"domain": {
|
|
2993
|
-
"description": "Custom domain",
|
|
2994
|
-
"name": "domain",
|
|
2995
|
-
"required": false,
|
|
2996
|
-
"hasDynamicHelp": false,
|
|
2997
|
-
"multiple": false,
|
|
2998
|
-
"type": "option"
|
|
2999
|
-
},
|
|
3000
|
-
"ingress": {
|
|
3001
|
-
"description": "Enable/disable ingress",
|
|
3002
|
-
"name": "ingress",
|
|
3003
|
-
"required": false,
|
|
3004
|
-
"allowNo": true,
|
|
3005
|
-
"type": "boolean"
|
|
3006
|
-
},
|
|
3007
3188
|
"output": {
|
|
3008
3189
|
"char": "o",
|
|
3009
3190
|
"description": "Output format",
|
|
@@ -3018,26 +3199,12 @@
|
|
|
3018
3199
|
],
|
|
3019
3200
|
"type": "option"
|
|
3020
3201
|
},
|
|
3021
|
-
"
|
|
3022
|
-
"
|
|
3023
|
-
"
|
|
3024
|
-
"
|
|
3025
|
-
"hasDynamicHelp": false,
|
|
3026
|
-
"multiple": false,
|
|
3027
|
-
"type": "option"
|
|
3028
|
-
},
|
|
3029
|
-
"rbac": {
|
|
3030
|
-
"description": "Enable/disable RBAC",
|
|
3031
|
-
"name": "rbac",
|
|
3032
|
-
"required": false,
|
|
3033
|
-
"allowNo": true,
|
|
3034
|
-
"type": "boolean"
|
|
3035
|
-
},
|
|
3036
|
-
"tasks": {
|
|
3037
|
-
"description": "Enable/disable background tasks",
|
|
3038
|
-
"name": "tasks",
|
|
3202
|
+
"url-only": {
|
|
3203
|
+
"char": "u",
|
|
3204
|
+
"description": "Print the URL without opening the browser",
|
|
3205
|
+
"name": "url-only",
|
|
3039
3206
|
"required": false,
|
|
3040
|
-
"allowNo":
|
|
3207
|
+
"allowNo": false,
|
|
3041
3208
|
"type": "boolean"
|
|
3042
3209
|
},
|
|
3043
3210
|
"workspace": {
|
|
@@ -3052,7 +3219,7 @@
|
|
|
3052
3219
|
},
|
|
3053
3220
|
"hasDynamicHelp": false,
|
|
3054
3221
|
"hiddenAliases": [],
|
|
3055
|
-
"id": "tenant:
|
|
3222
|
+
"id": "tenant:impersonate",
|
|
3056
3223
|
"pluginAlias": "@xano/cli",
|
|
3057
3224
|
"pluginName": "@xano/cli",
|
|
3058
3225
|
"pluginType": "core",
|
|
@@ -3063,23 +3230,17 @@
|
|
|
3063
3230
|
"dist",
|
|
3064
3231
|
"commands",
|
|
3065
3232
|
"tenant",
|
|
3066
|
-
"
|
|
3233
|
+
"impersonate",
|
|
3067
3234
|
"index.js"
|
|
3068
3235
|
]
|
|
3069
3236
|
},
|
|
3070
|
-
"tenant:
|
|
3237
|
+
"tenant:list": {
|
|
3071
3238
|
"aliases": [],
|
|
3072
|
-
"args": {
|
|
3073
|
-
|
|
3074
|
-
"description": "Tenant name to deploy to",
|
|
3075
|
-
"name": "tenant_name",
|
|
3076
|
-
"required": true
|
|
3077
|
-
}
|
|
3078
|
-
},
|
|
3079
|
-
"description": "Deploy a release to a tenant",
|
|
3239
|
+
"args": {},
|
|
3240
|
+
"description": "List all tenants in a workspace",
|
|
3080
3241
|
"examples": [
|
|
3081
|
-
"$ xano tenant
|
|
3082
|
-
"$ 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"
|
|
3083
3244
|
],
|
|
3084
3245
|
"flags": {
|
|
3085
3246
|
"profile": {
|
|
@@ -3115,15 +3276,6 @@
|
|
|
3115
3276
|
],
|
|
3116
3277
|
"type": "option"
|
|
3117
3278
|
},
|
|
3118
|
-
"release": {
|
|
3119
|
-
"char": "r",
|
|
3120
|
-
"description": "Release name to deploy",
|
|
3121
|
-
"name": "release",
|
|
3122
|
-
"required": true,
|
|
3123
|
-
"hasDynamicHelp": false,
|
|
3124
|
-
"multiple": false,
|
|
3125
|
-
"type": "option"
|
|
3126
|
-
},
|
|
3127
3279
|
"workspace": {
|
|
3128
3280
|
"char": "w",
|
|
3129
3281
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -3136,7 +3288,7 @@
|
|
|
3136
3288
|
},
|
|
3137
3289
|
"hasDynamicHelp": false,
|
|
3138
3290
|
"hiddenAliases": [],
|
|
3139
|
-
"id": "tenant:
|
|
3291
|
+
"id": "tenant:list",
|
|
3140
3292
|
"pluginAlias": "@xano/cli",
|
|
3141
3293
|
"pluginName": "@xano/cli",
|
|
3142
3294
|
"pluginType": "core",
|
|
@@ -3147,25 +3299,27 @@
|
|
|
3147
3299
|
"dist",
|
|
3148
3300
|
"commands",
|
|
3149
3301
|
"tenant",
|
|
3150
|
-
"
|
|
3302
|
+
"list",
|
|
3151
3303
|
"index.js"
|
|
3152
3304
|
]
|
|
3153
3305
|
},
|
|
3154
|
-
"tenant:
|
|
3306
|
+
"tenant:push": {
|
|
3155
3307
|
"aliases": [],
|
|
3156
3308
|
"args": {
|
|
3157
3309
|
"directory": {
|
|
3158
|
-
"description": "
|
|
3310
|
+
"description": "Directory containing documents to push (as produced by tenant pull or workspace pull)",
|
|
3159
3311
|
"name": "directory",
|
|
3160
3312
|
"required": true
|
|
3161
3313
|
}
|
|
3162
3314
|
},
|
|
3163
|
-
"description": "
|
|
3315
|
+
"description": "Push local documents to a tenant via the Xano Metadata API multidoc endpoint",
|
|
3164
3316
|
"examples": [
|
|
3165
|
-
"$ xano tenant
|
|
3166
|
-
"$ xano tenant
|
|
3167
|
-
"$ xano tenant
|
|
3168
|
-
"$ 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"
|
|
3169
3323
|
],
|
|
3170
3324
|
"flags": {
|
|
3171
3325
|
"profile": {
|
|
@@ -3187,36 +3341,36 @@
|
|
|
3187
3341
|
"allowNo": false,
|
|
3188
3342
|
"type": "boolean"
|
|
3189
3343
|
},
|
|
3190
|
-
"draft": {
|
|
3191
|
-
"description": "Include draft versions",
|
|
3192
|
-
"name": "draft",
|
|
3193
|
-
"required": false,
|
|
3194
|
-
"allowNo": false,
|
|
3195
|
-
"type": "boolean"
|
|
3196
|
-
},
|
|
3197
3344
|
"env": {
|
|
3198
|
-
"description": "Include environment variables",
|
|
3345
|
+
"description": "Include environment variables in import (default: true, use --no-env to exclude)",
|
|
3199
3346
|
"name": "env",
|
|
3200
3347
|
"required": false,
|
|
3201
|
-
"allowNo":
|
|
3348
|
+
"allowNo": true,
|
|
3202
3349
|
"type": "boolean"
|
|
3203
3350
|
},
|
|
3204
3351
|
"records": {
|
|
3205
|
-
"description": "Include records",
|
|
3352
|
+
"description": "Include records in import (default: true, use --no-records to exclude)",
|
|
3206
3353
|
"name": "records",
|
|
3207
3354
|
"required": false,
|
|
3208
|
-
"allowNo":
|
|
3355
|
+
"allowNo": true,
|
|
3209
3356
|
"type": "boolean"
|
|
3210
3357
|
},
|
|
3211
3358
|
"tenant": {
|
|
3212
3359
|
"char": "t",
|
|
3213
|
-
"description": "Tenant name to
|
|
3360
|
+
"description": "Tenant name to push to",
|
|
3214
3361
|
"name": "tenant",
|
|
3215
3362
|
"required": true,
|
|
3216
3363
|
"hasDynamicHelp": false,
|
|
3217
3364
|
"multiple": false,
|
|
3218
3365
|
"type": "option"
|
|
3219
3366
|
},
|
|
3367
|
+
"truncate": {
|
|
3368
|
+
"description": "Truncate all table records before importing",
|
|
3369
|
+
"name": "truncate",
|
|
3370
|
+
"required": false,
|
|
3371
|
+
"allowNo": false,
|
|
3372
|
+
"type": "boolean"
|
|
3373
|
+
},
|
|
3220
3374
|
"workspace": {
|
|
3221
3375
|
"char": "w",
|
|
3222
3376
|
"description": "Workspace ID (optional if set in profile)",
|
|
@@ -3229,7 +3383,7 @@
|
|
|
3229
3383
|
},
|
|
3230
3384
|
"hasDynamicHelp": false,
|
|
3231
3385
|
"hiddenAliases": [],
|
|
3232
|
-
"id": "tenant:
|
|
3386
|
+
"id": "tenant:push",
|
|
3233
3387
|
"pluginAlias": "@xano/cli",
|
|
3234
3388
|
"pluginName": "@xano/cli",
|
|
3235
3389
|
"pluginType": "core",
|
|
@@ -3240,17 +3394,25 @@
|
|
|
3240
3394
|
"dist",
|
|
3241
3395
|
"commands",
|
|
3242
3396
|
"tenant",
|
|
3243
|
-
"
|
|
3397
|
+
"push",
|
|
3244
3398
|
"index.js"
|
|
3245
3399
|
]
|
|
3246
3400
|
},
|
|
3247
|
-
"tenant:
|
|
3401
|
+
"tenant:pull": {
|
|
3248
3402
|
"aliases": [],
|
|
3249
|
-
"args": {
|
|
3250
|
-
|
|
3403
|
+
"args": {
|
|
3404
|
+
"directory": {
|
|
3405
|
+
"description": "Output directory for pulled documents",
|
|
3406
|
+
"name": "directory",
|
|
3407
|
+
"required": true
|
|
3408
|
+
}
|
|
3409
|
+
},
|
|
3410
|
+
"description": "Pull a tenant multidoc from the Xano Metadata API and split into individual files",
|
|
3251
3411
|
"examples": [
|
|
3252
|
-
"$ xano tenant
|
|
3253
|
-
"$ 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"
|
|
3254
3416
|
],
|
|
3255
3417
|
"flags": {
|
|
3256
3418
|
"profile": {
|
|
@@ -3272,23 +3434,39 @@
|
|
|
3272
3434
|
"allowNo": false,
|
|
3273
3435
|
"type": "boolean"
|
|
3274
3436
|
},
|
|
3275
|
-
"
|
|
3276
|
-
"
|
|
3277
|
-
"
|
|
3278
|
-
"name": "output",
|
|
3437
|
+
"draft": {
|
|
3438
|
+
"description": "Include draft versions",
|
|
3439
|
+
"name": "draft",
|
|
3279
3440
|
"required": false,
|
|
3280
|
-
"
|
|
3441
|
+
"allowNo": false,
|
|
3442
|
+
"type": "boolean"
|
|
3443
|
+
},
|
|
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",
|
|
3454
|
+
"required": false,
|
|
3455
|
+
"allowNo": false,
|
|
3456
|
+
"type": "boolean"
|
|
3457
|
+
},
|
|
3458
|
+
"tenant": {
|
|
3459
|
+
"char": "t",
|
|
3460
|
+
"description": "Tenant name to pull from",
|
|
3461
|
+
"name": "tenant",
|
|
3462
|
+
"required": true,
|
|
3281
3463
|
"hasDynamicHelp": false,
|
|
3282
3464
|
"multiple": false,
|
|
3283
|
-
"options": [
|
|
3284
|
-
"summary",
|
|
3285
|
-
"json"
|
|
3286
|
-
],
|
|
3287
3465
|
"type": "option"
|
|
3288
3466
|
},
|
|
3289
3467
|
"workspace": {
|
|
3290
3468
|
"char": "w",
|
|
3291
|
-
"description": "Workspace ID (
|
|
3469
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
3292
3470
|
"name": "workspace",
|
|
3293
3471
|
"required": false,
|
|
3294
3472
|
"hasDynamicHelp": false,
|
|
@@ -3298,7 +3476,7 @@
|
|
|
3298
3476
|
},
|
|
3299
3477
|
"hasDynamicHelp": false,
|
|
3300
3478
|
"hiddenAliases": [],
|
|
3301
|
-
"id": "tenant:
|
|
3479
|
+
"id": "tenant:pull",
|
|
3302
3480
|
"pluginAlias": "@xano/cli",
|
|
3303
3481
|
"pluginName": "@xano/cli",
|
|
3304
3482
|
"pluginType": "core",
|
|
@@ -3309,23 +3487,23 @@
|
|
|
3309
3487
|
"dist",
|
|
3310
3488
|
"commands",
|
|
3311
3489
|
"tenant",
|
|
3312
|
-
"
|
|
3490
|
+
"pull",
|
|
3313
3491
|
"index.js"
|
|
3314
3492
|
]
|
|
3315
3493
|
},
|
|
3316
|
-
"
|
|
3494
|
+
"unit_test:run": {
|
|
3317
3495
|
"aliases": [],
|
|
3318
3496
|
"args": {
|
|
3319
|
-
"
|
|
3320
|
-
"description": "
|
|
3321
|
-
"name": "
|
|
3497
|
+
"unit_test_id": {
|
|
3498
|
+
"description": "ID of the unit test to run",
|
|
3499
|
+
"name": "unit_test_id",
|
|
3322
3500
|
"required": true
|
|
3323
3501
|
}
|
|
3324
3502
|
},
|
|
3325
|
-
"description": "
|
|
3503
|
+
"description": "Run a unit test",
|
|
3326
3504
|
"examples": [
|
|
3327
|
-
"$ xano
|
|
3328
|
-
"$ 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"
|
|
3329
3507
|
],
|
|
3330
3508
|
"flags": {
|
|
3331
3509
|
"profile": {
|
|
@@ -3361,14 +3539,6 @@
|
|
|
3361
3539
|
],
|
|
3362
3540
|
"type": "option"
|
|
3363
3541
|
},
|
|
3364
|
-
"url-only": {
|
|
3365
|
-
"char": "u",
|
|
3366
|
-
"description": "Print the URL without opening the browser",
|
|
3367
|
-
"name": "url-only",
|
|
3368
|
-
"required": false,
|
|
3369
|
-
"allowNo": false,
|
|
3370
|
-
"type": "boolean"
|
|
3371
|
-
},
|
|
3372
3542
|
"workspace": {
|
|
3373
3543
|
"char": "w",
|
|
3374
3544
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -3381,7 +3551,7 @@
|
|
|
3381
3551
|
},
|
|
3382
3552
|
"hasDynamicHelp": false,
|
|
3383
3553
|
"hiddenAliases": [],
|
|
3384
|
-
"id": "
|
|
3554
|
+
"id": "unit_test:run",
|
|
3385
3555
|
"pluginAlias": "@xano/cli",
|
|
3386
3556
|
"pluginName": "@xano/cli",
|
|
3387
3557
|
"pluginType": "core",
|
|
@@ -3391,28 +3561,19 @@
|
|
|
3391
3561
|
"relativePath": [
|
|
3392
3562
|
"dist",
|
|
3393
3563
|
"commands",
|
|
3394
|
-
"
|
|
3395
|
-
"
|
|
3564
|
+
"unit_test",
|
|
3565
|
+
"run",
|
|
3396
3566
|
"index.js"
|
|
3397
3567
|
]
|
|
3398
3568
|
},
|
|
3399
|
-
"
|
|
3569
|
+
"unit_test:list": {
|
|
3400
3570
|
"aliases": [],
|
|
3401
|
-
"args": {
|
|
3402
|
-
|
|
3403
|
-
"description": "Directory containing documents to push (as produced by tenant pull or workspace pull)",
|
|
3404
|
-
"name": "directory",
|
|
3405
|
-
"required": true
|
|
3406
|
-
}
|
|
3407
|
-
},
|
|
3408
|
-
"description": "Push local documents to a tenant via the Xano Metadata API multidoc endpoint",
|
|
3571
|
+
"args": {},
|
|
3572
|
+
"description": "List all unit tests in a workspace",
|
|
3409
3573
|
"examples": [
|
|
3410
|
-
"$ xano
|
|
3411
|
-
"$ xano
|
|
3412
|
-
"$ xano
|
|
3413
|
-
"$ xano tenant push ./my-workspace -t my-tenant --no-records\nPush schema only, skip importing table records\n",
|
|
3414
|
-
"$ xano tenant push ./my-workspace -t my-tenant --no-env\nPush without overwriting environment variables\n",
|
|
3415
|
-
"$ xano tenant push ./my-workspace -t my-tenant --truncate\nTruncate all table records before importing\n"
|
|
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"
|
|
3416
3577
|
],
|
|
3417
3578
|
"flags": {
|
|
3418
3579
|
"profile": {
|
|
@@ -3434,39 +3595,45 @@
|
|
|
3434
3595
|
"allowNo": false,
|
|
3435
3596
|
"type": "boolean"
|
|
3436
3597
|
},
|
|
3437
|
-
"
|
|
3438
|
-
"
|
|
3439
|
-
"
|
|
3440
|
-
"
|
|
3441
|
-
"allowNo": true,
|
|
3442
|
-
"type": "boolean"
|
|
3443
|
-
},
|
|
3444
|
-
"records": {
|
|
3445
|
-
"description": "Include records in import (default: true, use --no-records to exclude)",
|
|
3446
|
-
"name": "records",
|
|
3598
|
+
"branch": {
|
|
3599
|
+
"char": "b",
|
|
3600
|
+
"description": "Filter by branch name",
|
|
3601
|
+
"name": "branch",
|
|
3447
3602
|
"required": false,
|
|
3448
|
-
"
|
|
3449
|
-
"
|
|
3603
|
+
"hasDynamicHelp": false,
|
|
3604
|
+
"multiple": false,
|
|
3605
|
+
"type": "option"
|
|
3450
3606
|
},
|
|
3451
|
-
"
|
|
3452
|
-
"
|
|
3453
|
-
"
|
|
3454
|
-
"
|
|
3455
|
-
"required": true,
|
|
3607
|
+
"obj-type": {
|
|
3608
|
+
"description": "Filter by object type",
|
|
3609
|
+
"name": "obj-type",
|
|
3610
|
+
"required": false,
|
|
3456
3611
|
"hasDynamicHelp": false,
|
|
3457
3612
|
"multiple": false,
|
|
3613
|
+
"options": [
|
|
3614
|
+
"function",
|
|
3615
|
+
"query",
|
|
3616
|
+
"middleware"
|
|
3617
|
+
],
|
|
3458
3618
|
"type": "option"
|
|
3459
3619
|
},
|
|
3460
|
-
"
|
|
3461
|
-
"
|
|
3462
|
-
"
|
|
3620
|
+
"output": {
|
|
3621
|
+
"char": "o",
|
|
3622
|
+
"description": "Output format",
|
|
3623
|
+
"name": "output",
|
|
3463
3624
|
"required": false,
|
|
3464
|
-
"
|
|
3465
|
-
"
|
|
3625
|
+
"default": "summary",
|
|
3626
|
+
"hasDynamicHelp": false,
|
|
3627
|
+
"multiple": false,
|
|
3628
|
+
"options": [
|
|
3629
|
+
"summary",
|
|
3630
|
+
"json"
|
|
3631
|
+
],
|
|
3632
|
+
"type": "option"
|
|
3466
3633
|
},
|
|
3467
3634
|
"workspace": {
|
|
3468
3635
|
"char": "w",
|
|
3469
|
-
"description": "Workspace ID (
|
|
3636
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
3470
3637
|
"name": "workspace",
|
|
3471
3638
|
"required": false,
|
|
3472
3639
|
"hasDynamicHelp": false,
|
|
@@ -3476,7 +3643,7 @@
|
|
|
3476
3643
|
},
|
|
3477
3644
|
"hasDynamicHelp": false,
|
|
3478
3645
|
"hiddenAliases": [],
|
|
3479
|
-
"id": "
|
|
3646
|
+
"id": "unit_test:list",
|
|
3480
3647
|
"pluginAlias": "@xano/cli",
|
|
3481
3648
|
"pluginName": "@xano/cli",
|
|
3482
3649
|
"pluginType": "core",
|
|
@@ -3486,19 +3653,18 @@
|
|
|
3486
3653
|
"relativePath": [
|
|
3487
3654
|
"dist",
|
|
3488
3655
|
"commands",
|
|
3489
|
-
"
|
|
3490
|
-
"
|
|
3656
|
+
"unit_test",
|
|
3657
|
+
"list",
|
|
3491
3658
|
"index.js"
|
|
3492
3659
|
]
|
|
3493
3660
|
},
|
|
3494
|
-
"unit_test:
|
|
3661
|
+
"unit_test:run_all": {
|
|
3495
3662
|
"aliases": [],
|
|
3496
3663
|
"args": {},
|
|
3497
|
-
"description": "
|
|
3664
|
+
"description": "Run all unit tests in a workspace",
|
|
3498
3665
|
"examples": [
|
|
3499
|
-
"$ xano unit-test
|
|
3500
|
-
"$ xano unit-test
|
|
3501
|
-
"$ xano unit-test list --obj-type function"
|
|
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"
|
|
3502
3668
|
],
|
|
3503
3669
|
"flags": {
|
|
3504
3670
|
"profile": {
|
|
@@ -3568,7 +3734,7 @@
|
|
|
3568
3734
|
},
|
|
3569
3735
|
"hasDynamicHelp": false,
|
|
3570
3736
|
"hiddenAliases": [],
|
|
3571
|
-
"id": "unit_test:
|
|
3737
|
+
"id": "unit_test:run_all",
|
|
3572
3738
|
"pluginAlias": "@xano/cli",
|
|
3573
3739
|
"pluginName": "@xano/cli",
|
|
3574
3740
|
"pluginType": "core",
|
|
@@ -3579,23 +3745,24 @@
|
|
|
3579
3745
|
"dist",
|
|
3580
3746
|
"commands",
|
|
3581
3747
|
"unit_test",
|
|
3582
|
-
"
|
|
3748
|
+
"run_all",
|
|
3583
3749
|
"index.js"
|
|
3584
3750
|
]
|
|
3585
3751
|
},
|
|
3586
|
-
"
|
|
3752
|
+
"workflow_test:get": {
|
|
3587
3753
|
"aliases": [],
|
|
3588
3754
|
"args": {
|
|
3589
|
-
"
|
|
3590
|
-
"description": "ID of the
|
|
3591
|
-
"name": "
|
|
3755
|
+
"workflow_test_id": {
|
|
3756
|
+
"description": "ID of the workflow test",
|
|
3757
|
+
"name": "workflow_test_id",
|
|
3592
3758
|
"required": true
|
|
3593
3759
|
}
|
|
3594
3760
|
},
|
|
3595
|
-
"description": "
|
|
3761
|
+
"description": "Get a specific workflow test",
|
|
3596
3762
|
"examples": [
|
|
3597
|
-
"$ xano
|
|
3598
|
-
"$ xano
|
|
3763
|
+
"$ xano workflow-test get 1\nWorkflow Test: my-test (ID: 1)\n Description: Validates auth endpoints\n Branch: main\n",
|
|
3764
|
+
"$ xano workflow-test get 1 -o xs",
|
|
3765
|
+
"$ xano workflow-test get 1 -o json"
|
|
3599
3766
|
],
|
|
3600
3767
|
"flags": {
|
|
3601
3768
|
"profile": {
|
|
@@ -3617,6 +3784,13 @@
|
|
|
3617
3784
|
"allowNo": false,
|
|
3618
3785
|
"type": "boolean"
|
|
3619
3786
|
},
|
|
3787
|
+
"include-draft": {
|
|
3788
|
+
"description": "Include draft version",
|
|
3789
|
+
"name": "include-draft",
|
|
3790
|
+
"required": false,
|
|
3791
|
+
"allowNo": false,
|
|
3792
|
+
"type": "boolean"
|
|
3793
|
+
},
|
|
3620
3794
|
"output": {
|
|
3621
3795
|
"char": "o",
|
|
3622
3796
|
"description": "Output format",
|
|
@@ -3627,7 +3801,8 @@
|
|
|
3627
3801
|
"multiple": false,
|
|
3628
3802
|
"options": [
|
|
3629
3803
|
"summary",
|
|
3630
|
-
"json"
|
|
3804
|
+
"json",
|
|
3805
|
+
"xs"
|
|
3631
3806
|
],
|
|
3632
3807
|
"type": "option"
|
|
3633
3808
|
},
|
|
@@ -3643,7 +3818,7 @@
|
|
|
3643
3818
|
},
|
|
3644
3819
|
"hasDynamicHelp": false,
|
|
3645
3820
|
"hiddenAliases": [],
|
|
3646
|
-
"id": "
|
|
3821
|
+
"id": "workflow_test:get",
|
|
3647
3822
|
"pluginAlias": "@xano/cli",
|
|
3648
3823
|
"pluginName": "@xano/cli",
|
|
3649
3824
|
"pluginType": "core",
|
|
@@ -3653,18 +3828,24 @@
|
|
|
3653
3828
|
"relativePath": [
|
|
3654
3829
|
"dist",
|
|
3655
3830
|
"commands",
|
|
3656
|
-
"
|
|
3657
|
-
"
|
|
3831
|
+
"workflow_test",
|
|
3832
|
+
"get",
|
|
3658
3833
|
"index.js"
|
|
3659
3834
|
]
|
|
3660
3835
|
},
|
|
3661
|
-
"
|
|
3836
|
+
"workflow_test:delete": {
|
|
3662
3837
|
"aliases": [],
|
|
3663
|
-
"args": {
|
|
3664
|
-
|
|
3838
|
+
"args": {
|
|
3839
|
+
"workflow_test_id": {
|
|
3840
|
+
"description": "ID of the workflow test to delete",
|
|
3841
|
+
"name": "workflow_test_id",
|
|
3842
|
+
"required": true
|
|
3843
|
+
}
|
|
3844
|
+
},
|
|
3845
|
+
"description": "Delete a workflow test",
|
|
3665
3846
|
"examples": [
|
|
3666
|
-
"$ xano
|
|
3667
|
-
"$ xano
|
|
3847
|
+
"$ xano workflow-test delete 1\nAre you sure you want to delete workflow test 1? (y/N) y\nDeleted workflow test 1\n",
|
|
3848
|
+
"$ xano workflow-test delete 1 --force"
|
|
3668
3849
|
],
|
|
3669
3850
|
"flags": {
|
|
3670
3851
|
"profile": {
|
|
@@ -3686,27 +3867,13 @@
|
|
|
3686
3867
|
"allowNo": false,
|
|
3687
3868
|
"type": "boolean"
|
|
3688
3869
|
},
|
|
3689
|
-
"
|
|
3690
|
-
"char": "
|
|
3691
|
-
"description": "
|
|
3692
|
-
"name": "
|
|
3693
|
-
"required": false,
|
|
3694
|
-
"hasDynamicHelp": false,
|
|
3695
|
-
"multiple": false,
|
|
3696
|
-
"type": "option"
|
|
3697
|
-
},
|
|
3698
|
-
"obj-type": {
|
|
3699
|
-
"description": "Filter by object type",
|
|
3700
|
-
"name": "obj-type",
|
|
3870
|
+
"force": {
|
|
3871
|
+
"char": "f",
|
|
3872
|
+
"description": "Skip confirmation prompt",
|
|
3873
|
+
"name": "force",
|
|
3701
3874
|
"required": false,
|
|
3702
|
-
"
|
|
3703
|
-
"
|
|
3704
|
-
"options": [
|
|
3705
|
-
"function",
|
|
3706
|
-
"query",
|
|
3707
|
-
"middleware"
|
|
3708
|
-
],
|
|
3709
|
-
"type": "option"
|
|
3875
|
+
"allowNo": false,
|
|
3876
|
+
"type": "boolean"
|
|
3710
3877
|
},
|
|
3711
3878
|
"output": {
|
|
3712
3879
|
"char": "o",
|
|
@@ -3734,7 +3901,7 @@
|
|
|
3734
3901
|
},
|
|
3735
3902
|
"hasDynamicHelp": false,
|
|
3736
3903
|
"hiddenAliases": [],
|
|
3737
|
-
"id": "
|
|
3904
|
+
"id": "workflow_test:delete",
|
|
3738
3905
|
"pluginAlias": "@xano/cli",
|
|
3739
3906
|
"pluginName": "@xano/cli",
|
|
3740
3907
|
"pluginType": "core",
|
|
@@ -3744,25 +3911,24 @@
|
|
|
3744
3911
|
"relativePath": [
|
|
3745
3912
|
"dist",
|
|
3746
3913
|
"commands",
|
|
3747
|
-
"
|
|
3748
|
-
"
|
|
3914
|
+
"workflow_test",
|
|
3915
|
+
"delete",
|
|
3749
3916
|
"index.js"
|
|
3750
3917
|
]
|
|
3751
3918
|
},
|
|
3752
|
-
"
|
|
3919
|
+
"workflow_test:run": {
|
|
3753
3920
|
"aliases": [],
|
|
3754
3921
|
"args": {
|
|
3755
|
-
"
|
|
3756
|
-
"description": "
|
|
3757
|
-
"name": "
|
|
3922
|
+
"workflow_test_id": {
|
|
3923
|
+
"description": "ID of the workflow test to run",
|
|
3924
|
+
"name": "workflow_test_id",
|
|
3758
3925
|
"required": true
|
|
3759
3926
|
}
|
|
3760
3927
|
},
|
|
3761
|
-
"description": "
|
|
3928
|
+
"description": "Run a workflow test",
|
|
3762
3929
|
"examples": [
|
|
3763
|
-
"$ xano
|
|
3764
|
-
"$ xano
|
|
3765
|
-
"$ xano workspace create new-project -d \"New project workspace\" -o json\n{\n \"id\": 789,\n \"name\": \"new-project\",\n \"description\": \"New project workspace\"\n}\n"
|
|
3930
|
+
"$ xano workflow-test run 1\nRunning workflow test 1...\nResult: PASS (1.234s)\n",
|
|
3931
|
+
"$ xano workflow-test run 1 -o json"
|
|
3766
3932
|
],
|
|
3767
3933
|
"flags": {
|
|
3768
3934
|
"profile": {
|
|
@@ -3784,15 +3950,6 @@
|
|
|
3784
3950
|
"allowNo": false,
|
|
3785
3951
|
"type": "boolean"
|
|
3786
3952
|
},
|
|
3787
|
-
"description": {
|
|
3788
|
-
"char": "d",
|
|
3789
|
-
"description": "Description for the workspace",
|
|
3790
|
-
"name": "description",
|
|
3791
|
-
"required": false,
|
|
3792
|
-
"hasDynamicHelp": false,
|
|
3793
|
-
"multiple": false,
|
|
3794
|
-
"type": "option"
|
|
3795
|
-
},
|
|
3796
3953
|
"output": {
|
|
3797
3954
|
"char": "o",
|
|
3798
3955
|
"description": "Output format",
|
|
@@ -3806,11 +3963,20 @@
|
|
|
3806
3963
|
"json"
|
|
3807
3964
|
],
|
|
3808
3965
|
"type": "option"
|
|
3966
|
+
},
|
|
3967
|
+
"workspace": {
|
|
3968
|
+
"char": "w",
|
|
3969
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
3970
|
+
"name": "workspace",
|
|
3971
|
+
"required": false,
|
|
3972
|
+
"hasDynamicHelp": false,
|
|
3973
|
+
"multiple": false,
|
|
3974
|
+
"type": "option"
|
|
3809
3975
|
}
|
|
3810
3976
|
},
|
|
3811
3977
|
"hasDynamicHelp": false,
|
|
3812
3978
|
"hiddenAliases": [],
|
|
3813
|
-
"id": "
|
|
3979
|
+
"id": "workflow_test:run",
|
|
3814
3980
|
"pluginAlias": "@xano/cli",
|
|
3815
3981
|
"pluginName": "@xano/cli",
|
|
3816
3982
|
"pluginType": "core",
|
|
@@ -3820,26 +3986,19 @@
|
|
|
3820
3986
|
"relativePath": [
|
|
3821
3987
|
"dist",
|
|
3822
3988
|
"commands",
|
|
3823
|
-
"
|
|
3824
|
-
"
|
|
3989
|
+
"workflow_test",
|
|
3990
|
+
"run",
|
|
3825
3991
|
"index.js"
|
|
3826
3992
|
]
|
|
3827
3993
|
},
|
|
3828
|
-
"
|
|
3994
|
+
"workflow_test:list": {
|
|
3829
3995
|
"aliases": [],
|
|
3830
|
-
"args": {
|
|
3831
|
-
|
|
3832
|
-
"description": "Workspace ID to edit (uses profile workspace if not provided)",
|
|
3833
|
-
"name": "workspace_id",
|
|
3834
|
-
"required": false
|
|
3835
|
-
}
|
|
3836
|
-
},
|
|
3837
|
-
"description": "Edit an existing workspace via the Xano Metadata API",
|
|
3996
|
+
"args": {},
|
|
3997
|
+
"description": "List all workflow tests in a workspace",
|
|
3838
3998
|
"examples": [
|
|
3839
|
-
"$ xano
|
|
3840
|
-
"$ xano
|
|
3841
|
-
"$ xano
|
|
3842
|
-
"$ xano workspace edit 123 --no-swagger -o json\n{\n \"id\": 123,\n \"name\": \"my-workspace\",\n \"swagger\": false\n}\n"
|
|
3999
|
+
"$ xano workflow-test list\nWorkflow tests in workspace 5:\n - my-test (ID: 1)\n - auth-flow (ID: 2) - Validates auth endpoints\n",
|
|
4000
|
+
"$ xano workflow-test list -w 5 --output json",
|
|
4001
|
+
"$ xano workflow-test list --branch main"
|
|
3843
4002
|
],
|
|
3844
4003
|
"flags": {
|
|
3845
4004
|
"profile": {
|
|
@@ -3861,19 +4020,10 @@
|
|
|
3861
4020
|
"allowNo": false,
|
|
3862
4021
|
"type": "boolean"
|
|
3863
4022
|
},
|
|
3864
|
-
"
|
|
3865
|
-
"char": "
|
|
3866
|
-
"description": "
|
|
3867
|
-
"name": "
|
|
3868
|
-
"required": false,
|
|
3869
|
-
"hasDynamicHelp": false,
|
|
3870
|
-
"multiple": false,
|
|
3871
|
-
"type": "option"
|
|
3872
|
-
},
|
|
3873
|
-
"name": {
|
|
3874
|
-
"char": "n",
|
|
3875
|
-
"description": "New name for the workspace",
|
|
3876
|
-
"name": "name",
|
|
4023
|
+
"branch": {
|
|
4024
|
+
"char": "b",
|
|
4025
|
+
"description": "Filter by branch name",
|
|
4026
|
+
"name": "branch",
|
|
3877
4027
|
"required": false,
|
|
3878
4028
|
"hasDynamicHelp": false,
|
|
3879
4029
|
"multiple": false,
|
|
@@ -3893,24 +4043,19 @@
|
|
|
3893
4043
|
],
|
|
3894
4044
|
"type": "option"
|
|
3895
4045
|
},
|
|
3896
|
-
"
|
|
3897
|
-
"
|
|
3898
|
-
"
|
|
3899
|
-
"
|
|
3900
|
-
"allowNo": true,
|
|
3901
|
-
"type": "boolean"
|
|
3902
|
-
},
|
|
3903
|
-
"swagger": {
|
|
3904
|
-
"description": "Enable or disable swagger documentation",
|
|
3905
|
-
"name": "swagger",
|
|
4046
|
+
"workspace": {
|
|
4047
|
+
"char": "w",
|
|
4048
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
4049
|
+
"name": "workspace",
|
|
3906
4050
|
"required": false,
|
|
3907
|
-
"
|
|
3908
|
-
"
|
|
4051
|
+
"hasDynamicHelp": false,
|
|
4052
|
+
"multiple": false,
|
|
4053
|
+
"type": "option"
|
|
3909
4054
|
}
|
|
3910
4055
|
},
|
|
3911
4056
|
"hasDynamicHelp": false,
|
|
3912
4057
|
"hiddenAliases": [],
|
|
3913
|
-
"id": "
|
|
4058
|
+
"id": "workflow_test:list",
|
|
3914
4059
|
"pluginAlias": "@xano/cli",
|
|
3915
4060
|
"pluginName": "@xano/cli",
|
|
3916
4061
|
"pluginType": "core",
|
|
@@ -3920,25 +4065,18 @@
|
|
|
3920
4065
|
"relativePath": [
|
|
3921
4066
|
"dist",
|
|
3922
4067
|
"commands",
|
|
3923
|
-
"
|
|
3924
|
-
"
|
|
3925
|
-
"index.js"
|
|
3926
|
-
]
|
|
3927
|
-
},
|
|
3928
|
-
"
|
|
3929
|
-
"aliases": [],
|
|
3930
|
-
"args": {
|
|
3931
|
-
|
|
3932
|
-
"description": "Workspace ID to get details for (uses profile workspace if not provided)",
|
|
3933
|
-
"name": "workspace_id",
|
|
3934
|
-
"required": false
|
|
3935
|
-
}
|
|
3936
|
-
},
|
|
3937
|
-
"description": "Get details of a specific workspace from the Xano Metadata API",
|
|
4068
|
+
"workflow_test",
|
|
4069
|
+
"list",
|
|
4070
|
+
"index.js"
|
|
4071
|
+
]
|
|
4072
|
+
},
|
|
4073
|
+
"workflow_test:run_all": {
|
|
4074
|
+
"aliases": [],
|
|
4075
|
+
"args": {},
|
|
4076
|
+
"description": "Run all workflow tests in a workspace",
|
|
3938
4077
|
"examples": [
|
|
3939
|
-
"$ xano
|
|
3940
|
-
"$ xano
|
|
3941
|
-
"$ xano workspace get 456 -p production -o json\n{\n \"id\": 456,\n \"name\": \"production-workspace\"\n}\n"
|
|
4078
|
+
"$ xano workflow-test run-all\nRunning 3 workflow tests...\n\nPASS my-test (1.234s)\nPASS auth-flow (0.567s)\nFAIL data-validation (0.890s)\n Error: assertion failed at step 3\n\nResults: 2 passed, 1 failed (2.691s total)\n",
|
|
4079
|
+
"$ xano workflow-test run-all --branch main -o json"
|
|
3942
4080
|
],
|
|
3943
4081
|
"flags": {
|
|
3944
4082
|
"profile": {
|
|
@@ -3960,6 +4098,15 @@
|
|
|
3960
4098
|
"allowNo": false,
|
|
3961
4099
|
"type": "boolean"
|
|
3962
4100
|
},
|
|
4101
|
+
"branch": {
|
|
4102
|
+
"char": "b",
|
|
4103
|
+
"description": "Filter by branch name",
|
|
4104
|
+
"name": "branch",
|
|
4105
|
+
"required": false,
|
|
4106
|
+
"hasDynamicHelp": false,
|
|
4107
|
+
"multiple": false,
|
|
4108
|
+
"type": "option"
|
|
4109
|
+
},
|
|
3963
4110
|
"output": {
|
|
3964
4111
|
"char": "o",
|
|
3965
4112
|
"description": "Output format",
|
|
@@ -3973,11 +4120,20 @@
|
|
|
3973
4120
|
"json"
|
|
3974
4121
|
],
|
|
3975
4122
|
"type": "option"
|
|
4123
|
+
},
|
|
4124
|
+
"workspace": {
|
|
4125
|
+
"char": "w",
|
|
4126
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
4127
|
+
"name": "workspace",
|
|
4128
|
+
"required": false,
|
|
4129
|
+
"hasDynamicHelp": false,
|
|
4130
|
+
"multiple": false,
|
|
4131
|
+
"type": "option"
|
|
3976
4132
|
}
|
|
3977
4133
|
},
|
|
3978
4134
|
"hasDynamicHelp": false,
|
|
3979
4135
|
"hiddenAliases": [],
|
|
3980
|
-
"id": "
|
|
4136
|
+
"id": "workflow_test:run_all",
|
|
3981
4137
|
"pluginAlias": "@xano/cli",
|
|
3982
4138
|
"pluginName": "@xano/cli",
|
|
3983
4139
|
"pluginType": "core",
|
|
@@ -3987,8 +4143,8 @@
|
|
|
3987
4143
|
"relativePath": [
|
|
3988
4144
|
"dist",
|
|
3989
4145
|
"commands",
|
|
3990
|
-
"
|
|
3991
|
-
"
|
|
4146
|
+
"workflow_test",
|
|
4147
|
+
"run_all",
|
|
3992
4148
|
"index.js"
|
|
3993
4149
|
]
|
|
3994
4150
|
},
|
|
@@ -4067,19 +4223,20 @@
|
|
|
4067
4223
|
"index.js"
|
|
4068
4224
|
]
|
|
4069
4225
|
},
|
|
4070
|
-
"
|
|
4226
|
+
"workspace:create": {
|
|
4071
4227
|
"aliases": [],
|
|
4072
4228
|
"args": {
|
|
4073
|
-
"
|
|
4074
|
-
"description": "
|
|
4075
|
-
"name": "
|
|
4229
|
+
"name": {
|
|
4230
|
+
"description": "Name of the workspace",
|
|
4231
|
+
"name": "name",
|
|
4076
4232
|
"required": true
|
|
4077
4233
|
}
|
|
4078
4234
|
},
|
|
4079
|
-
"description": "
|
|
4235
|
+
"description": "Create a new workspace via the Xano Metadata API",
|
|
4080
4236
|
"examples": [
|
|
4081
|
-
"$ xano
|
|
4082
|
-
"$ xano
|
|
4237
|
+
"$ xano workspace create my-workspace\nCreated workspace: my-workspace (ID: 123)\n",
|
|
4238
|
+
"$ xano workspace create my-app --description \"My application workspace\"\nCreated workspace: my-app (ID: 456)\n Description: My application workspace\n",
|
|
4239
|
+
"$ xano workspace create new-project -d \"New project workspace\" -o json\n{\n \"id\": 789,\n \"name\": \"new-project\",\n \"description\": \"New project workspace\"\n}\n"
|
|
4083
4240
|
],
|
|
4084
4241
|
"flags": {
|
|
4085
4242
|
"profile": {
|
|
@@ -4101,13 +4258,14 @@
|
|
|
4101
4258
|
"allowNo": false,
|
|
4102
4259
|
"type": "boolean"
|
|
4103
4260
|
},
|
|
4104
|
-
"
|
|
4105
|
-
"char": "
|
|
4106
|
-
"description": "
|
|
4107
|
-
"name": "
|
|
4261
|
+
"description": {
|
|
4262
|
+
"char": "d",
|
|
4263
|
+
"description": "Description for the workspace",
|
|
4264
|
+
"name": "description",
|
|
4108
4265
|
"required": false,
|
|
4109
|
-
"
|
|
4110
|
-
"
|
|
4266
|
+
"hasDynamicHelp": false,
|
|
4267
|
+
"multiple": false,
|
|
4268
|
+
"type": "option"
|
|
4111
4269
|
},
|
|
4112
4270
|
"output": {
|
|
4113
4271
|
"char": "o",
|
|
@@ -4122,20 +4280,11 @@
|
|
|
4122
4280
|
"json"
|
|
4123
4281
|
],
|
|
4124
4282
|
"type": "option"
|
|
4125
|
-
},
|
|
4126
|
-
"workspace": {
|
|
4127
|
-
"char": "w",
|
|
4128
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
4129
|
-
"name": "workspace",
|
|
4130
|
-
"required": false,
|
|
4131
|
-
"hasDynamicHelp": false,
|
|
4132
|
-
"multiple": false,
|
|
4133
|
-
"type": "option"
|
|
4134
4283
|
}
|
|
4135
4284
|
},
|
|
4136
4285
|
"hasDynamicHelp": false,
|
|
4137
4286
|
"hiddenAliases": [],
|
|
4138
|
-
"id": "
|
|
4287
|
+
"id": "workspace:create",
|
|
4139
4288
|
"pluginAlias": "@xano/cli",
|
|
4140
4289
|
"pluginName": "@xano/cli",
|
|
4141
4290
|
"pluginType": "core",
|
|
@@ -4145,25 +4294,25 @@
|
|
|
4145
4294
|
"relativePath": [
|
|
4146
4295
|
"dist",
|
|
4147
4296
|
"commands",
|
|
4148
|
-
"
|
|
4149
|
-
"
|
|
4297
|
+
"workspace",
|
|
4298
|
+
"create",
|
|
4150
4299
|
"index.js"
|
|
4151
4300
|
]
|
|
4152
4301
|
},
|
|
4153
|
-
"
|
|
4302
|
+
"workspace:get": {
|
|
4154
4303
|
"aliases": [],
|
|
4155
4304
|
"args": {
|
|
4156
|
-
"
|
|
4157
|
-
"description": "ID
|
|
4158
|
-
"name": "
|
|
4159
|
-
"required":
|
|
4305
|
+
"workspace_id": {
|
|
4306
|
+
"description": "Workspace ID to get details for (uses profile workspace if not provided)",
|
|
4307
|
+
"name": "workspace_id",
|
|
4308
|
+
"required": false
|
|
4160
4309
|
}
|
|
4161
4310
|
},
|
|
4162
|
-
"description": "Get a specific
|
|
4311
|
+
"description": "Get details of a specific workspace from the Xano Metadata API",
|
|
4163
4312
|
"examples": [
|
|
4164
|
-
"$ xano
|
|
4165
|
-
"$ xano
|
|
4166
|
-
"$ xano
|
|
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"
|
|
4167
4316
|
],
|
|
4168
4317
|
"flags": {
|
|
4169
4318
|
"profile": {
|
|
@@ -4185,13 +4334,6 @@
|
|
|
4185
4334
|
"allowNo": false,
|
|
4186
4335
|
"type": "boolean"
|
|
4187
4336
|
},
|
|
4188
|
-
"include-draft": {
|
|
4189
|
-
"description": "Include draft version",
|
|
4190
|
-
"name": "include-draft",
|
|
4191
|
-
"required": false,
|
|
4192
|
-
"allowNo": false,
|
|
4193
|
-
"type": "boolean"
|
|
4194
|
-
},
|
|
4195
4337
|
"output": {
|
|
4196
4338
|
"char": "o",
|
|
4197
4339
|
"description": "Output format",
|
|
@@ -4202,24 +4344,14 @@
|
|
|
4202
4344
|
"multiple": false,
|
|
4203
4345
|
"options": [
|
|
4204
4346
|
"summary",
|
|
4205
|
-
"json"
|
|
4206
|
-
"xs"
|
|
4347
|
+
"json"
|
|
4207
4348
|
],
|
|
4208
4349
|
"type": "option"
|
|
4209
|
-
},
|
|
4210
|
-
"workspace": {
|
|
4211
|
-
"char": "w",
|
|
4212
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
4213
|
-
"name": "workspace",
|
|
4214
|
-
"required": false,
|
|
4215
|
-
"hasDynamicHelp": false,
|
|
4216
|
-
"multiple": false,
|
|
4217
|
-
"type": "option"
|
|
4218
4350
|
}
|
|
4219
4351
|
},
|
|
4220
4352
|
"hasDynamicHelp": false,
|
|
4221
4353
|
"hiddenAliases": [],
|
|
4222
|
-
"id": "
|
|
4354
|
+
"id": "workspace:get",
|
|
4223
4355
|
"pluginAlias": "@xano/cli",
|
|
4224
4356
|
"pluginName": "@xano/cli",
|
|
4225
4357
|
"pluginType": "core",
|
|
@@ -4229,20 +4361,26 @@
|
|
|
4229
4361
|
"relativePath": [
|
|
4230
4362
|
"dist",
|
|
4231
4363
|
"commands",
|
|
4232
|
-
"
|
|
4364
|
+
"workspace",
|
|
4233
4365
|
"get",
|
|
4234
4366
|
"index.js"
|
|
4235
4367
|
]
|
|
4236
4368
|
},
|
|
4237
|
-
"workspace:
|
|
4369
|
+
"workspace:edit": {
|
|
4238
4370
|
"aliases": [],
|
|
4239
|
-
"args": {
|
|
4240
|
-
|
|
4371
|
+
"args": {
|
|
4372
|
+
"workspace_id": {
|
|
4373
|
+
"description": "Workspace ID to edit (uses profile workspace if not provided)",
|
|
4374
|
+
"name": "workspace_id",
|
|
4375
|
+
"required": false
|
|
4376
|
+
}
|
|
4377
|
+
},
|
|
4378
|
+
"description": "Edit an existing workspace via the Xano Metadata API",
|
|
4241
4379
|
"examples": [
|
|
4242
|
-
"$ xano workspace
|
|
4243
|
-
"$ xano workspace
|
|
4244
|
-
"$ xano workspace
|
|
4245
|
-
"$ xano workspace
|
|
4380
|
+
"$ xano workspace edit 123 --name \"new-name\"\nUpdated workspace: new-name (ID: 123)\n",
|
|
4381
|
+
"$ xano workspace edit --name \"updated-workspace\" --description \"Updated description\"\nUpdated workspace: updated-workspace (ID: 123)\n Description: Updated description\n",
|
|
4382
|
+
"$ xano workspace edit 123 --swagger --require-token\nUpdated workspace: my-workspace (ID: 123)\n Swagger: enabled\n Require Token: true\n",
|
|
4383
|
+
"$ xano workspace edit 123 --no-swagger -o json\n{\n \"id\": 123,\n \"name\": \"my-workspace\",\n \"swagger\": false\n}\n"
|
|
4246
4384
|
],
|
|
4247
4385
|
"flags": {
|
|
4248
4386
|
"profile": {
|
|
@@ -4264,6 +4402,24 @@
|
|
|
4264
4402
|
"allowNo": false,
|
|
4265
4403
|
"type": "boolean"
|
|
4266
4404
|
},
|
|
4405
|
+
"description": {
|
|
4406
|
+
"char": "d",
|
|
4407
|
+
"description": "New description for the workspace",
|
|
4408
|
+
"name": "description",
|
|
4409
|
+
"required": false,
|
|
4410
|
+
"hasDynamicHelp": false,
|
|
4411
|
+
"multiple": false,
|
|
4412
|
+
"type": "option"
|
|
4413
|
+
},
|
|
4414
|
+
"name": {
|
|
4415
|
+
"char": "n",
|
|
4416
|
+
"description": "New name for the workspace",
|
|
4417
|
+
"name": "name",
|
|
4418
|
+
"required": false,
|
|
4419
|
+
"hasDynamicHelp": false,
|
|
4420
|
+
"multiple": false,
|
|
4421
|
+
"type": "option"
|
|
4422
|
+
},
|
|
4267
4423
|
"output": {
|
|
4268
4424
|
"char": "o",
|
|
4269
4425
|
"description": "Output format",
|
|
@@ -4277,11 +4433,25 @@
|
|
|
4277
4433
|
"json"
|
|
4278
4434
|
],
|
|
4279
4435
|
"type": "option"
|
|
4436
|
+
},
|
|
4437
|
+
"require-token": {
|
|
4438
|
+
"description": "Whether to require a token for documentation access",
|
|
4439
|
+
"name": "require-token",
|
|
4440
|
+
"required": false,
|
|
4441
|
+
"allowNo": true,
|
|
4442
|
+
"type": "boolean"
|
|
4443
|
+
},
|
|
4444
|
+
"swagger": {
|
|
4445
|
+
"description": "Enable or disable swagger documentation",
|
|
4446
|
+
"name": "swagger",
|
|
4447
|
+
"required": false,
|
|
4448
|
+
"allowNo": true,
|
|
4449
|
+
"type": "boolean"
|
|
4280
4450
|
}
|
|
4281
4451
|
},
|
|
4282
4452
|
"hasDynamicHelp": false,
|
|
4283
4453
|
"hiddenAliases": [],
|
|
4284
|
-
"id": "workspace:
|
|
4454
|
+
"id": "workspace:edit",
|
|
4285
4455
|
"pluginAlias": "@xano/cli",
|
|
4286
4456
|
"pluginName": "@xano/cli",
|
|
4287
4457
|
"pluginType": "core",
|
|
@@ -4292,7 +4462,7 @@
|
|
|
4292
4462
|
"dist",
|
|
4293
4463
|
"commands",
|
|
4294
4464
|
"workspace",
|
|
4295
|
-
"
|
|
4465
|
+
"edit",
|
|
4296
4466
|
"index.js"
|
|
4297
4467
|
]
|
|
4298
4468
|
},
|
|
@@ -4507,102 +4677,19 @@
|
|
|
4507
4677
|
"dist",
|
|
4508
4678
|
"commands",
|
|
4509
4679
|
"workspace",
|
|
4510
|
-
"push",
|
|
4511
|
-
"index.js"
|
|
4512
|
-
]
|
|
4513
|
-
},
|
|
4514
|
-
"workflow_test:list": {
|
|
4515
|
-
"aliases": [],
|
|
4516
|
-
"args": {},
|
|
4517
|
-
"description": "List all workflow tests in a workspace",
|
|
4518
|
-
"examples": [
|
|
4519
|
-
"$ xano workflow-test list\nWorkflow tests in workspace 5:\n - my-test (ID: 1)\n - auth-flow (ID: 2) - Validates auth endpoints\n",
|
|
4520
|
-
"$ xano workflow-test list -w 5 --output json",
|
|
4521
|
-
"$ xano workflow-test list --branch main"
|
|
4522
|
-
],
|
|
4523
|
-
"flags": {
|
|
4524
|
-
"profile": {
|
|
4525
|
-
"char": "p",
|
|
4526
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
4527
|
-
"env": "XANO_PROFILE",
|
|
4528
|
-
"name": "profile",
|
|
4529
|
-
"required": false,
|
|
4530
|
-
"hasDynamicHelp": false,
|
|
4531
|
-
"multiple": false,
|
|
4532
|
-
"type": "option"
|
|
4533
|
-
},
|
|
4534
|
-
"verbose": {
|
|
4535
|
-
"char": "v",
|
|
4536
|
-
"description": "Show detailed request/response information",
|
|
4537
|
-
"env": "XANO_VERBOSE",
|
|
4538
|
-
"name": "verbose",
|
|
4539
|
-
"required": false,
|
|
4540
|
-
"allowNo": false,
|
|
4541
|
-
"type": "boolean"
|
|
4542
|
-
},
|
|
4543
|
-
"branch": {
|
|
4544
|
-
"char": "b",
|
|
4545
|
-
"description": "Filter by branch name",
|
|
4546
|
-
"name": "branch",
|
|
4547
|
-
"required": false,
|
|
4548
|
-
"hasDynamicHelp": false,
|
|
4549
|
-
"multiple": false,
|
|
4550
|
-
"type": "option"
|
|
4551
|
-
},
|
|
4552
|
-
"output": {
|
|
4553
|
-
"char": "o",
|
|
4554
|
-
"description": "Output format",
|
|
4555
|
-
"name": "output",
|
|
4556
|
-
"required": false,
|
|
4557
|
-
"default": "summary",
|
|
4558
|
-
"hasDynamicHelp": false,
|
|
4559
|
-
"multiple": false,
|
|
4560
|
-
"options": [
|
|
4561
|
-
"summary",
|
|
4562
|
-
"json"
|
|
4563
|
-
],
|
|
4564
|
-
"type": "option"
|
|
4565
|
-
},
|
|
4566
|
-
"workspace": {
|
|
4567
|
-
"char": "w",
|
|
4568
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
4569
|
-
"name": "workspace",
|
|
4570
|
-
"required": false,
|
|
4571
|
-
"hasDynamicHelp": false,
|
|
4572
|
-
"multiple": false,
|
|
4573
|
-
"type": "option"
|
|
4574
|
-
}
|
|
4575
|
-
},
|
|
4576
|
-
"hasDynamicHelp": false,
|
|
4577
|
-
"hiddenAliases": [],
|
|
4578
|
-
"id": "workflow_test:list",
|
|
4579
|
-
"pluginAlias": "@xano/cli",
|
|
4580
|
-
"pluginName": "@xano/cli",
|
|
4581
|
-
"pluginType": "core",
|
|
4582
|
-
"strict": true,
|
|
4583
|
-
"enableJsonFlag": false,
|
|
4584
|
-
"isESM": true,
|
|
4585
|
-
"relativePath": [
|
|
4586
|
-
"dist",
|
|
4587
|
-
"commands",
|
|
4588
|
-
"workflow_test",
|
|
4589
|
-
"list",
|
|
4680
|
+
"push",
|
|
4590
4681
|
"index.js"
|
|
4591
4682
|
]
|
|
4592
4683
|
},
|
|
4593
|
-
"
|
|
4684
|
+
"workspace:list": {
|
|
4594
4685
|
"aliases": [],
|
|
4595
|
-
"args": {
|
|
4596
|
-
|
|
4597
|
-
"description": "ID of the workflow test to run",
|
|
4598
|
-
"name": "workflow_test_id",
|
|
4599
|
-
"required": true
|
|
4600
|
-
}
|
|
4601
|
-
},
|
|
4602
|
-
"description": "Run a workflow test",
|
|
4686
|
+
"args": {},
|
|
4687
|
+
"description": "List all workspaces from the Xano Metadata API",
|
|
4603
4688
|
"examples": [
|
|
4604
|
-
"$ xano
|
|
4605
|
-
"$ xano
|
|
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"
|
|
4606
4693
|
],
|
|
4607
4694
|
"flags": {
|
|
4608
4695
|
"profile": {
|
|
@@ -4637,20 +4724,11 @@
|
|
|
4637
4724
|
"json"
|
|
4638
4725
|
],
|
|
4639
4726
|
"type": "option"
|
|
4640
|
-
},
|
|
4641
|
-
"workspace": {
|
|
4642
|
-
"char": "w",
|
|
4643
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
4644
|
-
"name": "workspace",
|
|
4645
|
-
"required": false,
|
|
4646
|
-
"hasDynamicHelp": false,
|
|
4647
|
-
"multiple": false,
|
|
4648
|
-
"type": "option"
|
|
4649
4727
|
}
|
|
4650
4728
|
},
|
|
4651
4729
|
"hasDynamicHelp": false,
|
|
4652
4730
|
"hiddenAliases": [],
|
|
4653
|
-
"id": "
|
|
4731
|
+
"id": "workspace:list",
|
|
4654
4732
|
"pluginAlias": "@xano/cli",
|
|
4655
4733
|
"pluginName": "@xano/cli",
|
|
4656
4734
|
"pluginType": "core",
|
|
@@ -4660,8 +4738,8 @@
|
|
|
4660
4738
|
"relativePath": [
|
|
4661
4739
|
"dist",
|
|
4662
4740
|
"commands",
|
|
4663
|
-
"
|
|
4664
|
-
"
|
|
4741
|
+
"workspace",
|
|
4742
|
+
"list",
|
|
4665
4743
|
"index.js"
|
|
4666
4744
|
]
|
|
4667
4745
|
},
|
|
@@ -4852,13 +4930,21 @@
|
|
|
4852
4930
|
"index.js"
|
|
4853
4931
|
]
|
|
4854
4932
|
},
|
|
4855
|
-
"
|
|
4933
|
+
"static_host:build:list": {
|
|
4856
4934
|
"aliases": [],
|
|
4857
|
-
"args": {
|
|
4858
|
-
|
|
4935
|
+
"args": {
|
|
4936
|
+
"static_host": {
|
|
4937
|
+
"description": "Static Host name",
|
|
4938
|
+
"name": "static_host",
|
|
4939
|
+
"required": true
|
|
4940
|
+
}
|
|
4941
|
+
},
|
|
4942
|
+
"description": "List all builds for a static host",
|
|
4859
4943
|
"examples": [
|
|
4860
|
-
"$ xano
|
|
4861
|
-
"$ xano
|
|
4944
|
+
"$ xano static_host:build:list default -w 40\nAvailable builds:\n - v1.0.0 (ID: 1) - Status: completed\n - v1.0.1 (ID: 2) - Status: pending\n",
|
|
4945
|
+
"$ xano static_host:build:list myhost --profile production\nAvailable builds:\n - production (ID: 1) - Status: completed\n - staging (ID: 2) - Status: completed\n",
|
|
4946
|
+
"$ xano static_host:build:list default -w 40 --output json\n[\n {\n \"id\": 1,\n \"name\": \"v1.0.0\",\n \"status\": \"completed\"\n }\n]\n",
|
|
4947
|
+
"$ xano static_host:build:list default -p staging -o json --page 2\n[\n {\n \"id\": 3,\n \"name\": \"v1.0.2\"\n }\n]\n"
|
|
4862
4948
|
],
|
|
4863
4949
|
"flags": {
|
|
4864
4950
|
"profile": {
|
|
@@ -4880,15 +4966,6 @@
|
|
|
4880
4966
|
"allowNo": false,
|
|
4881
4967
|
"type": "boolean"
|
|
4882
4968
|
},
|
|
4883
|
-
"branch": {
|
|
4884
|
-
"char": "b",
|
|
4885
|
-
"description": "Filter by branch name",
|
|
4886
|
-
"name": "branch",
|
|
4887
|
-
"required": false,
|
|
4888
|
-
"hasDynamicHelp": false,
|
|
4889
|
-
"multiple": false,
|
|
4890
|
-
"type": "option"
|
|
4891
|
-
},
|
|
4892
4969
|
"output": {
|
|
4893
4970
|
"char": "o",
|
|
4894
4971
|
"description": "Output format",
|
|
@@ -4903,9 +4980,27 @@
|
|
|
4903
4980
|
],
|
|
4904
4981
|
"type": "option"
|
|
4905
4982
|
},
|
|
4983
|
+
"page": {
|
|
4984
|
+
"description": "Page number for pagination",
|
|
4985
|
+
"name": "page",
|
|
4986
|
+
"required": false,
|
|
4987
|
+
"default": 1,
|
|
4988
|
+
"hasDynamicHelp": false,
|
|
4989
|
+
"multiple": false,
|
|
4990
|
+
"type": "option"
|
|
4991
|
+
},
|
|
4992
|
+
"per_page": {
|
|
4993
|
+
"description": "Number of results per page",
|
|
4994
|
+
"name": "per_page",
|
|
4995
|
+
"required": false,
|
|
4996
|
+
"default": 50,
|
|
4997
|
+
"hasDynamicHelp": false,
|
|
4998
|
+
"multiple": false,
|
|
4999
|
+
"type": "option"
|
|
5000
|
+
},
|
|
4906
5001
|
"workspace": {
|
|
4907
5002
|
"char": "w",
|
|
4908
|
-
"description": "Workspace ID (
|
|
5003
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
4909
5004
|
"name": "workspace",
|
|
4910
5005
|
"required": false,
|
|
4911
5006
|
"hasDynamicHelp": false,
|
|
@@ -4915,7 +5010,7 @@
|
|
|
4915
5010
|
},
|
|
4916
5011
|
"hasDynamicHelp": false,
|
|
4917
5012
|
"hiddenAliases": [],
|
|
4918
|
-
"id": "
|
|
5013
|
+
"id": "static_host:build:list",
|
|
4919
5014
|
"pluginAlias": "@xano/cli",
|
|
4920
5015
|
"pluginName": "@xano/cli",
|
|
4921
5016
|
"pluginType": "core",
|
|
@@ -4925,26 +5020,26 @@
|
|
|
4925
5020
|
"relativePath": [
|
|
4926
5021
|
"dist",
|
|
4927
5022
|
"commands",
|
|
4928
|
-
"
|
|
4929
|
-
"
|
|
5023
|
+
"static_host",
|
|
5024
|
+
"build",
|
|
5025
|
+
"list",
|
|
4930
5026
|
"index.js"
|
|
4931
5027
|
]
|
|
4932
5028
|
},
|
|
4933
|
-
"
|
|
5029
|
+
"tenant:backup:delete": {
|
|
4934
5030
|
"aliases": [],
|
|
4935
5031
|
"args": {
|
|
4936
|
-
"
|
|
4937
|
-
"description": "
|
|
4938
|
-
"name": "
|
|
5032
|
+
"tenant_name": {
|
|
5033
|
+
"description": "Tenant name that owns the backup",
|
|
5034
|
+
"name": "tenant_name",
|
|
4939
5035
|
"required": true
|
|
4940
5036
|
}
|
|
4941
5037
|
},
|
|
4942
|
-
"description": "
|
|
5038
|
+
"description": "Delete a tenant backup permanently. This action cannot be undone.",
|
|
4943
5039
|
"examples": [
|
|
4944
|
-
"$ xano
|
|
4945
|
-
"$ xano
|
|
4946
|
-
"$ xano
|
|
4947
|
-
"$ xano static_host:build:list default -p staging -o json --page 2\n[\n {\n \"id\": 3,\n \"name\": \"v1.0.2\"\n }\n]\n"
|
|
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"
|
|
4948
5043
|
],
|
|
4949
5044
|
"flags": {
|
|
4950
5045
|
"profile": {
|
|
@@ -4966,6 +5061,22 @@
|
|
|
4966
5061
|
"allowNo": false,
|
|
4967
5062
|
"type": "boolean"
|
|
4968
5063
|
},
|
|
5064
|
+
"backup_id": {
|
|
5065
|
+
"description": "Backup ID to delete",
|
|
5066
|
+
"name": "backup_id",
|
|
5067
|
+
"required": true,
|
|
5068
|
+
"hasDynamicHelp": false,
|
|
5069
|
+
"multiple": false,
|
|
5070
|
+
"type": "option"
|
|
5071
|
+
},
|
|
5072
|
+
"force": {
|
|
5073
|
+
"char": "f",
|
|
5074
|
+
"description": "Skip confirmation prompt",
|
|
5075
|
+
"name": "force",
|
|
5076
|
+
"required": false,
|
|
5077
|
+
"allowNo": false,
|
|
5078
|
+
"type": "boolean"
|
|
5079
|
+
},
|
|
4969
5080
|
"output": {
|
|
4970
5081
|
"char": "o",
|
|
4971
5082
|
"description": "Output format",
|
|
@@ -4980,27 +5091,9 @@
|
|
|
4980
5091
|
],
|
|
4981
5092
|
"type": "option"
|
|
4982
5093
|
},
|
|
4983
|
-
"page": {
|
|
4984
|
-
"description": "Page number for pagination",
|
|
4985
|
-
"name": "page",
|
|
4986
|
-
"required": false,
|
|
4987
|
-
"default": 1,
|
|
4988
|
-
"hasDynamicHelp": false,
|
|
4989
|
-
"multiple": false,
|
|
4990
|
-
"type": "option"
|
|
4991
|
-
},
|
|
4992
|
-
"per_page": {
|
|
4993
|
-
"description": "Number of results per page",
|
|
4994
|
-
"name": "per_page",
|
|
4995
|
-
"required": false,
|
|
4996
|
-
"default": 50,
|
|
4997
|
-
"hasDynamicHelp": false,
|
|
4998
|
-
"multiple": false,
|
|
4999
|
-
"type": "option"
|
|
5000
|
-
},
|
|
5001
5094
|
"workspace": {
|
|
5002
5095
|
"char": "w",
|
|
5003
|
-
"description": "Workspace ID (
|
|
5096
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
5004
5097
|
"name": "workspace",
|
|
5005
5098
|
"required": false,
|
|
5006
5099
|
"hasDynamicHelp": false,
|
|
@@ -5010,7 +5103,7 @@
|
|
|
5010
5103
|
},
|
|
5011
5104
|
"hasDynamicHelp": false,
|
|
5012
5105
|
"hiddenAliases": [],
|
|
5013
|
-
"id": "
|
|
5106
|
+
"id": "tenant:backup:delete",
|
|
5014
5107
|
"pluginAlias": "@xano/cli",
|
|
5015
5108
|
"pluginName": "@xano/cli",
|
|
5016
5109
|
"pluginType": "core",
|
|
@@ -5020,26 +5113,25 @@
|
|
|
5020
5113
|
"relativePath": [
|
|
5021
5114
|
"dist",
|
|
5022
5115
|
"commands",
|
|
5023
|
-
"
|
|
5024
|
-
"
|
|
5025
|
-
"
|
|
5116
|
+
"tenant",
|
|
5117
|
+
"backup",
|
|
5118
|
+
"delete",
|
|
5026
5119
|
"index.js"
|
|
5027
5120
|
]
|
|
5028
5121
|
},
|
|
5029
|
-
"tenant:backup:
|
|
5122
|
+
"tenant:backup:create": {
|
|
5030
5123
|
"aliases": [],
|
|
5031
5124
|
"args": {
|
|
5032
5125
|
"tenant_name": {
|
|
5033
|
-
"description": "Tenant name
|
|
5126
|
+
"description": "Tenant name to back up",
|
|
5034
5127
|
"name": "tenant_name",
|
|
5035
5128
|
"required": true
|
|
5036
5129
|
}
|
|
5037
5130
|
},
|
|
5038
|
-
"description": "
|
|
5131
|
+
"description": "Create a backup for a tenant",
|
|
5039
5132
|
"examples": [
|
|
5040
|
-
"$ xano tenant backup
|
|
5041
|
-
"$ xano tenant backup
|
|
5042
|
-
"$ xano tenant backup delete t1234-abcd-xyz1 --backup_id 10 -o json"
|
|
5133
|
+
"$ xano tenant backup create t1234-abcd-xyz1 --description \"Pre-deploy backup\"\nCreated backup #15 for tenant t1234-abcd-xyz1\n",
|
|
5134
|
+
"$ xano tenant backup create t1234-abcd-xyz1 -d \"Daily backup\" -o json"
|
|
5043
5135
|
],
|
|
5044
5136
|
"flags": {
|
|
5045
5137
|
"profile": {
|
|
@@ -5061,22 +5153,16 @@
|
|
|
5061
5153
|
"allowNo": false,
|
|
5062
5154
|
"type": "boolean"
|
|
5063
5155
|
},
|
|
5064
|
-
"
|
|
5065
|
-
"
|
|
5066
|
-
"
|
|
5067
|
-
"
|
|
5156
|
+
"description": {
|
|
5157
|
+
"char": "d",
|
|
5158
|
+
"description": "Backup description",
|
|
5159
|
+
"name": "description",
|
|
5160
|
+
"required": false,
|
|
5161
|
+
"default": "",
|
|
5068
5162
|
"hasDynamicHelp": false,
|
|
5069
5163
|
"multiple": false,
|
|
5070
5164
|
"type": "option"
|
|
5071
5165
|
},
|
|
5072
|
-
"force": {
|
|
5073
|
-
"char": "f",
|
|
5074
|
-
"description": "Skip confirmation prompt",
|
|
5075
|
-
"name": "force",
|
|
5076
|
-
"required": false,
|
|
5077
|
-
"allowNo": false,
|
|
5078
|
-
"type": "boolean"
|
|
5079
|
-
},
|
|
5080
5166
|
"output": {
|
|
5081
5167
|
"char": "o",
|
|
5082
5168
|
"description": "Output format",
|
|
@@ -5103,7 +5189,7 @@
|
|
|
5103
5189
|
},
|
|
5104
5190
|
"hasDynamicHelp": false,
|
|
5105
5191
|
"hiddenAliases": [],
|
|
5106
|
-
"id": "tenant:backup:
|
|
5192
|
+
"id": "tenant:backup:create",
|
|
5107
5193
|
"pluginAlias": "@xano/cli",
|
|
5108
5194
|
"pluginName": "@xano/cli",
|
|
5109
5195
|
"pluginType": "core",
|
|
@@ -5115,7 +5201,7 @@
|
|
|
5115
5201
|
"commands",
|
|
5116
5202
|
"tenant",
|
|
5117
5203
|
"backup",
|
|
5118
|
-
"
|
|
5204
|
+
"create",
|
|
5119
5205
|
"index.js"
|
|
5120
5206
|
]
|
|
5121
5207
|
},
|
|
@@ -5212,19 +5298,19 @@
|
|
|
5212
5298
|
"index.js"
|
|
5213
5299
|
]
|
|
5214
5300
|
},
|
|
5215
|
-
"tenant:backup:
|
|
5301
|
+
"tenant:backup:list": {
|
|
5216
5302
|
"aliases": [],
|
|
5217
5303
|
"args": {
|
|
5218
5304
|
"tenant_name": {
|
|
5219
|
-
"description": "Tenant name to
|
|
5305
|
+
"description": "Tenant name to list backups for",
|
|
5220
5306
|
"name": "tenant_name",
|
|
5221
5307
|
"required": true
|
|
5222
5308
|
}
|
|
5223
5309
|
},
|
|
5224
|
-
"description": "
|
|
5310
|
+
"description": "List backups for a tenant",
|
|
5225
5311
|
"examples": [
|
|
5226
|
-
"$ xano tenant backup
|
|
5227
|
-
"$ xano tenant backup
|
|
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"
|
|
5228
5314
|
],
|
|
5229
5315
|
"flags": {
|
|
5230
5316
|
"profile": {
|
|
@@ -5246,16 +5332,6 @@
|
|
|
5246
5332
|
"allowNo": false,
|
|
5247
5333
|
"type": "boolean"
|
|
5248
5334
|
},
|
|
5249
|
-
"description": {
|
|
5250
|
-
"char": "d",
|
|
5251
|
-
"description": "Backup description",
|
|
5252
|
-
"name": "description",
|
|
5253
|
-
"required": false,
|
|
5254
|
-
"default": "",
|
|
5255
|
-
"hasDynamicHelp": false,
|
|
5256
|
-
"multiple": false,
|
|
5257
|
-
"type": "option"
|
|
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",
|
|
@@ -5341,18 +5445,9 @@
|
|
|
5341
5445
|
"hasDynamicHelp": false,
|
|
5342
5446
|
"multiple": false,
|
|
5343
5447
|
"options": [
|
|
5344
|
-
"summary",
|
|
5345
|
-
"json"
|
|
5346
|
-
],
|
|
5347
|
-
"type": "option"
|
|
5348
|
-
},
|
|
5349
|
-
"page": {
|
|
5350
|
-
"description": "Page number for pagination",
|
|
5351
|
-
"name": "page",
|
|
5352
|
-
"required": false,
|
|
5353
|
-
"default": 1,
|
|
5354
|
-
"hasDynamicHelp": false,
|
|
5355
|
-
"multiple": false,
|
|
5448
|
+
"summary",
|
|
5449
|
+
"json"
|
|
5450
|
+
],
|
|
5356
5451
|
"type": "option"
|
|
5357
5452
|
},
|
|
5358
5453
|
"workspace": {
|
|
@@ -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,7 +5474,7 @@
|
|
|
5379
5474
|
"commands",
|
|
5380
5475
|
"tenant",
|
|
5381
5476
|
"backup",
|
|
5382
|
-
"
|
|
5477
|
+
"import",
|
|
5383
5478
|
"index.js"
|
|
5384
5479
|
]
|
|
5385
5480
|
},
|
|
@@ -5597,20 +5692,19 @@
|
|
|
5597
5692
|
"index.js"
|
|
5598
5693
|
]
|
|
5599
5694
|
},
|
|
5600
|
-
"tenant:cluster:
|
|
5695
|
+
"tenant:cluster:edit": {
|
|
5601
5696
|
"aliases": [],
|
|
5602
5697
|
"args": {
|
|
5603
5698
|
"cluster_id": {
|
|
5604
|
-
"description": "Cluster ID to
|
|
5699
|
+
"description": "Cluster ID to edit",
|
|
5605
5700
|
"name": "cluster_id",
|
|
5606
5701
|
"required": true
|
|
5607
5702
|
}
|
|
5608
5703
|
},
|
|
5609
|
-
"description": "
|
|
5704
|
+
"description": "Update an existing tenant cluster",
|
|
5610
5705
|
"examples": [
|
|
5611
|
-
"$ xano tenant cluster
|
|
5612
|
-
"$ xano tenant cluster
|
|
5613
|
-
"$ xano tenant cluster delete 3 -f -o json"
|
|
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"
|
|
5614
5708
|
],
|
|
5615
5709
|
"flags": {
|
|
5616
5710
|
"profile": {
|
|
@@ -5632,13 +5726,31 @@
|
|
|
5632
5726
|
"allowNo": false,
|
|
5633
5727
|
"type": "boolean"
|
|
5634
5728
|
},
|
|
5635
|
-
"
|
|
5636
|
-
"char": "
|
|
5637
|
-
"description": "
|
|
5638
|
-
"name": "
|
|
5639
|
-
"required":
|
|
5640
|
-
"
|
|
5641
|
-
"
|
|
5729
|
+
"description": {
|
|
5730
|
+
"char": "d",
|
|
5731
|
+
"description": "Cluster description",
|
|
5732
|
+
"name": "description",
|
|
5733
|
+
"required": true,
|
|
5734
|
+
"hasDynamicHelp": false,
|
|
5735
|
+
"multiple": false,
|
|
5736
|
+
"type": "option"
|
|
5737
|
+
},
|
|
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"
|
|
5642
5754
|
},
|
|
5643
5755
|
"output": {
|
|
5644
5756
|
"char": "o",
|
|
@@ -5653,11 +5765,23 @@
|
|
|
5653
5765
|
"json"
|
|
5654
5766
|
],
|
|
5655
5767
|
"type": "option"
|
|
5768
|
+
},
|
|
5769
|
+
"type": {
|
|
5770
|
+
"description": "Cluster type",
|
|
5771
|
+
"name": "type",
|
|
5772
|
+
"required": true,
|
|
5773
|
+
"hasDynamicHelp": false,
|
|
5774
|
+
"multiple": false,
|
|
5775
|
+
"options": [
|
|
5776
|
+
"standard",
|
|
5777
|
+
"run"
|
|
5778
|
+
],
|
|
5779
|
+
"type": "option"
|
|
5656
5780
|
}
|
|
5657
5781
|
},
|
|
5658
5782
|
"hasDynamicHelp": false,
|
|
5659
5783
|
"hiddenAliases": [],
|
|
5660
|
-
"id": "tenant:cluster:
|
|
5784
|
+
"id": "tenant:cluster:edit",
|
|
5661
5785
|
"pluginAlias": "@xano/cli",
|
|
5662
5786
|
"pluginName": "@xano/cli",
|
|
5663
5787
|
"pluginType": "core",
|
|
@@ -5669,23 +5793,24 @@
|
|
|
5669
5793
|
"commands",
|
|
5670
5794
|
"tenant",
|
|
5671
5795
|
"cluster",
|
|
5672
|
-
"
|
|
5796
|
+
"edit",
|
|
5673
5797
|
"index.js"
|
|
5674
5798
|
]
|
|
5675
5799
|
},
|
|
5676
|
-
"tenant:cluster:
|
|
5800
|
+
"tenant:cluster:delete": {
|
|
5677
5801
|
"aliases": [],
|
|
5678
5802
|
"args": {
|
|
5679
5803
|
"cluster_id": {
|
|
5680
|
-
"description": "Cluster ID to
|
|
5804
|
+
"description": "Cluster ID to delete",
|
|
5681
5805
|
"name": "cluster_id",
|
|
5682
5806
|
"required": true
|
|
5683
5807
|
}
|
|
5684
5808
|
},
|
|
5685
|
-
"description": "
|
|
5809
|
+
"description": "Delete a tenant cluster. This action cannot be undone.",
|
|
5686
5810
|
"examples": [
|
|
5687
|
-
"$ xano tenant cluster
|
|
5688
|
-
"$ xano tenant cluster
|
|
5811
|
+
"$ xano tenant cluster delete 3\nAre you sure you want to delete tenant cluster 3? This action cannot be undone. (y/N) y\nTenant cluster 3 deleted successfully\n",
|
|
5812
|
+
"$ xano tenant cluster delete 3 --force\nTenant cluster 3 deleted successfully\n",
|
|
5813
|
+
"$ xano tenant cluster delete 3 -f -o json"
|
|
5689
5814
|
],
|
|
5690
5815
|
"flags": {
|
|
5691
5816
|
"profile": {
|
|
@@ -5707,6 +5832,14 @@
|
|
|
5707
5832
|
"allowNo": false,
|
|
5708
5833
|
"type": "boolean"
|
|
5709
5834
|
},
|
|
5835
|
+
"force": {
|
|
5836
|
+
"char": "f",
|
|
5837
|
+
"description": "Skip confirmation prompt",
|
|
5838
|
+
"name": "force",
|
|
5839
|
+
"required": false,
|
|
5840
|
+
"allowNo": false,
|
|
5841
|
+
"type": "boolean"
|
|
5842
|
+
},
|
|
5710
5843
|
"output": {
|
|
5711
5844
|
"char": "o",
|
|
5712
5845
|
"description": "Output format",
|
|
@@ -5724,7 +5857,7 @@
|
|
|
5724
5857
|
},
|
|
5725
5858
|
"hasDynamicHelp": false,
|
|
5726
5859
|
"hiddenAliases": [],
|
|
5727
|
-
"id": "tenant:cluster:
|
|
5860
|
+
"id": "tenant:cluster:delete",
|
|
5728
5861
|
"pluginAlias": "@xano/cli",
|
|
5729
5862
|
"pluginName": "@xano/cli",
|
|
5730
5863
|
"pluginType": "core",
|
|
@@ -5736,23 +5869,23 @@
|
|
|
5736
5869
|
"commands",
|
|
5737
5870
|
"tenant",
|
|
5738
5871
|
"cluster",
|
|
5739
|
-
"
|
|
5872
|
+
"delete",
|
|
5740
5873
|
"index.js"
|
|
5741
5874
|
]
|
|
5742
5875
|
},
|
|
5743
|
-
"tenant:cluster:
|
|
5876
|
+
"tenant:cluster:get": {
|
|
5744
5877
|
"aliases": [],
|
|
5745
5878
|
"args": {
|
|
5746
5879
|
"cluster_id": {
|
|
5747
|
-
"description": "Cluster ID to
|
|
5880
|
+
"description": "Cluster ID to retrieve",
|
|
5748
5881
|
"name": "cluster_id",
|
|
5749
5882
|
"required": true
|
|
5750
5883
|
}
|
|
5751
5884
|
},
|
|
5752
|
-
"description": "
|
|
5885
|
+
"description": "Get details of a specific tenant cluster",
|
|
5753
5886
|
"examples": [
|
|
5754
|
-
"$ xano tenant cluster
|
|
5755
|
-
"$ 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"
|
|
5756
5889
|
],
|
|
5757
5890
|
"flags": {
|
|
5758
5891
|
"profile": {
|
|
@@ -5774,32 +5907,6 @@
|
|
|
5774
5907
|
"allowNo": false,
|
|
5775
5908
|
"type": "boolean"
|
|
5776
5909
|
},
|
|
5777
|
-
"description": {
|
|
5778
|
-
"char": "d",
|
|
5779
|
-
"description": "Cluster description",
|
|
5780
|
-
"name": "description",
|
|
5781
|
-
"required": true,
|
|
5782
|
-
"hasDynamicHelp": false,
|
|
5783
|
-
"multiple": false,
|
|
5784
|
-
"type": "option"
|
|
5785
|
-
},
|
|
5786
|
-
"domain": {
|
|
5787
|
-
"description": "Custom domain for the cluster",
|
|
5788
|
-
"name": "domain",
|
|
5789
|
-
"required": true,
|
|
5790
|
-
"hasDynamicHelp": false,
|
|
5791
|
-
"multiple": false,
|
|
5792
|
-
"type": "option"
|
|
5793
|
-
},
|
|
5794
|
-
"name": {
|
|
5795
|
-
"char": "n",
|
|
5796
|
-
"description": "Cluster name",
|
|
5797
|
-
"name": "name",
|
|
5798
|
-
"required": true,
|
|
5799
|
-
"hasDynamicHelp": false,
|
|
5800
|
-
"multiple": false,
|
|
5801
|
-
"type": "option"
|
|
5802
|
-
},
|
|
5803
5910
|
"output": {
|
|
5804
5911
|
"char": "o",
|
|
5805
5912
|
"description": "Output format",
|
|
@@ -5813,23 +5920,11 @@
|
|
|
5813
5920
|
"json"
|
|
5814
5921
|
],
|
|
5815
5922
|
"type": "option"
|
|
5816
|
-
},
|
|
5817
|
-
"type": {
|
|
5818
|
-
"description": "Cluster type",
|
|
5819
|
-
"name": "type",
|
|
5820
|
-
"required": true,
|
|
5821
|
-
"hasDynamicHelp": false,
|
|
5822
|
-
"multiple": false,
|
|
5823
|
-
"options": [
|
|
5824
|
-
"standard",
|
|
5825
|
-
"run"
|
|
5826
|
-
],
|
|
5827
|
-
"type": "option"
|
|
5828
5923
|
}
|
|
5829
5924
|
},
|
|
5830
5925
|
"hasDynamicHelp": false,
|
|
5831
5926
|
"hiddenAliases": [],
|
|
5832
|
-
"id": "tenant:cluster:
|
|
5927
|
+
"id": "tenant:cluster:get",
|
|
5833
5928
|
"pluginAlias": "@xano/cli",
|
|
5834
5929
|
"pluginName": "@xano/cli",
|
|
5835
5930
|
"pluginType": "core",
|
|
@@ -5841,7 +5936,7 @@
|
|
|
5841
5936
|
"commands",
|
|
5842
5937
|
"tenant",
|
|
5843
5938
|
"cluster",
|
|
5844
|
-
"
|
|
5939
|
+
"get",
|
|
5845
5940
|
"index.js"
|
|
5846
5941
|
]
|
|
5847
5942
|
},
|
|
@@ -5906,19 +6001,20 @@
|
|
|
5906
6001
|
"index.js"
|
|
5907
6002
|
]
|
|
5908
6003
|
},
|
|
5909
|
-
"tenant:
|
|
6004
|
+
"tenant:env:delete": {
|
|
5910
6005
|
"aliases": [],
|
|
5911
6006
|
"args": {
|
|
5912
6007
|
"tenant_name": {
|
|
5913
|
-
"description": "Tenant name
|
|
6008
|
+
"description": "Tenant name",
|
|
5914
6009
|
"name": "tenant_name",
|
|
5915
6010
|
"required": true
|
|
5916
6011
|
}
|
|
5917
6012
|
},
|
|
5918
|
-
"description": "
|
|
6013
|
+
"description": "Delete an environment variable from a tenant",
|
|
5919
6014
|
"examples": [
|
|
5920
|
-
"$ xano tenant
|
|
5921
|
-
"$ 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"
|
|
5922
6018
|
],
|
|
5923
6019
|
"flags": {
|
|
5924
6020
|
"profile": {
|
|
@@ -5940,20 +6036,18 @@
|
|
|
5940
6036
|
"allowNo": false,
|
|
5941
6037
|
"type": "boolean"
|
|
5942
6038
|
},
|
|
5943
|
-
"
|
|
5944
|
-
"char": "
|
|
5945
|
-
"description": "
|
|
5946
|
-
"name": "
|
|
6039
|
+
"force": {
|
|
6040
|
+
"char": "f",
|
|
6041
|
+
"description": "Skip confirmation prompt",
|
|
6042
|
+
"name": "force",
|
|
5947
6043
|
"required": false,
|
|
5948
|
-
"
|
|
5949
|
-
"
|
|
5950
|
-
"multiple": false,
|
|
5951
|
-
"type": "option"
|
|
6044
|
+
"allowNo": false,
|
|
6045
|
+
"type": "boolean"
|
|
5952
6046
|
},
|
|
5953
|
-
"
|
|
5954
|
-
"char": "
|
|
5955
|
-
"description": "
|
|
5956
|
-
"name": "
|
|
6047
|
+
"name": {
|
|
6048
|
+
"char": "n",
|
|
6049
|
+
"description": "Environment variable name",
|
|
6050
|
+
"name": "name",
|
|
5957
6051
|
"required": true,
|
|
5958
6052
|
"hasDynamicHelp": false,
|
|
5959
6053
|
"multiple": false,
|
|
@@ -5985,7 +6079,7 @@
|
|
|
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,11 +6252,11 @@
|
|
|
6176
6252
|
"commands",
|
|
6177
6253
|
"tenant",
|
|
6178
6254
|
"env",
|
|
6179
|
-
"
|
|
6255
|
+
"list",
|
|
6180
6256
|
"index.js"
|
|
6181
6257
|
]
|
|
6182
6258
|
},
|
|
6183
|
-
"tenant:env:
|
|
6259
|
+
"tenant:env:get_all": {
|
|
6184
6260
|
"aliases": [],
|
|
6185
6261
|
"args": {
|
|
6186
6262
|
"tenant_name": {
|
|
@@ -6189,10 +6265,12 @@
|
|
|
6189
6265
|
"required": true
|
|
6190
6266
|
}
|
|
6191
6267
|
},
|
|
6192
|
-
"description": "
|
|
6268
|
+
"description": "Get all environment variables for a tenant and save to a YAML file",
|
|
6193
6269
|
"examples": [
|
|
6194
|
-
"$ xano tenant env
|
|
6195
|
-
"$ xano tenant env
|
|
6270
|
+
"$ xano tenant env get_all my-tenant\nEnvironment variables saved to env_my-tenant.yaml\n",
|
|
6271
|
+
"$ xano tenant env get_all my-tenant --file ./my-env.yaml",
|
|
6272
|
+
"$ xano tenant env get_all my-tenant --view",
|
|
6273
|
+
"$ xano tenant env get_all my-tenant -o json"
|
|
6196
6274
|
],
|
|
6197
6275
|
"flags": {
|
|
6198
6276
|
"profile": {
|
|
@@ -6214,6 +6292,15 @@
|
|
|
6214
6292
|
"allowNo": false,
|
|
6215
6293
|
"type": "boolean"
|
|
6216
6294
|
},
|
|
6295
|
+
"file": {
|
|
6296
|
+
"char": "f",
|
|
6297
|
+
"description": "Output file path (default: env_<tenant_name>.yaml)",
|
|
6298
|
+
"name": "file",
|
|
6299
|
+
"required": false,
|
|
6300
|
+
"hasDynamicHelp": false,
|
|
6301
|
+
"multiple": false,
|
|
6302
|
+
"type": "option"
|
|
6303
|
+
},
|
|
6217
6304
|
"output": {
|
|
6218
6305
|
"char": "o",
|
|
6219
6306
|
"description": "Output format",
|
|
@@ -6228,6 +6315,13 @@
|
|
|
6228
6315
|
],
|
|
6229
6316
|
"type": "option"
|
|
6230
6317
|
},
|
|
6318
|
+
"view": {
|
|
6319
|
+
"description": "Print environment variables to stdout instead of saving to file",
|
|
6320
|
+
"name": "view",
|
|
6321
|
+
"required": false,
|
|
6322
|
+
"allowNo": false,
|
|
6323
|
+
"type": "boolean"
|
|
6324
|
+
},
|
|
6231
6325
|
"workspace": {
|
|
6232
6326
|
"char": "w",
|
|
6233
6327
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -6240,7 +6334,7 @@
|
|
|
6240
6334
|
},
|
|
6241
6335
|
"hasDynamicHelp": false,
|
|
6242
6336
|
"hiddenAliases": [],
|
|
6243
|
-
"id": "tenant:env:
|
|
6337
|
+
"id": "tenant:env:get_all",
|
|
6244
6338
|
"pluginAlias": "@xano/cli",
|
|
6245
6339
|
"pluginName": "@xano/cli",
|
|
6246
6340
|
"pluginType": "core",
|
|
@@ -6252,11 +6346,11 @@
|
|
|
6252
6346
|
"commands",
|
|
6253
6347
|
"tenant",
|
|
6254
6348
|
"env",
|
|
6255
|
-
"
|
|
6349
|
+
"get_all",
|
|
6256
6350
|
"index.js"
|
|
6257
6351
|
]
|
|
6258
6352
|
},
|
|
6259
|
-
"tenant:env:
|
|
6353
|
+
"tenant:env:set": {
|
|
6260
6354
|
"aliases": [],
|
|
6261
6355
|
"args": {
|
|
6262
6356
|
"tenant_name": {
|
|
@@ -6265,12 +6359,10 @@
|
|
|
6265
6359
|
"required": true
|
|
6266
6360
|
}
|
|
6267
6361
|
},
|
|
6268
|
-
"description": "
|
|
6362
|
+
"description": "Set (create or update) an environment variable for a tenant",
|
|
6269
6363
|
"examples": [
|
|
6270
|
-
"$ xano tenant env
|
|
6271
|
-
"$ xano tenant env
|
|
6272
|
-
"$ xano tenant env get_all my-tenant --view",
|
|
6273
|
-
"$ xano tenant env get_all my-tenant -o json"
|
|
6364
|
+
"$ xano tenant env set my-tenant --name DATABASE_URL --value postgres://localhost:5432/mydb\nEnvironment variable 'DATABASE_URL' set for tenant my-tenant\n",
|
|
6365
|
+
"$ xano tenant env set my-tenant --name DATABASE_URL --value postgres://localhost:5432/mydb -w 5 -o json"
|
|
6274
6366
|
],
|
|
6275
6367
|
"flags": {
|
|
6276
6368
|
"profile": {
|
|
@@ -6292,11 +6384,11 @@
|
|
|
6292
6384
|
"allowNo": false,
|
|
6293
6385
|
"type": "boolean"
|
|
6294
6386
|
},
|
|
6295
|
-
"
|
|
6296
|
-
"char": "
|
|
6297
|
-
"description": "
|
|
6298
|
-
"name": "
|
|
6299
|
-
"required":
|
|
6387
|
+
"name": {
|
|
6388
|
+
"char": "n",
|
|
6389
|
+
"description": "Environment variable name",
|
|
6390
|
+
"name": "name",
|
|
6391
|
+
"required": true,
|
|
6300
6392
|
"hasDynamicHelp": false,
|
|
6301
6393
|
"multiple": false,
|
|
6302
6394
|
"type": "option"
|
|
@@ -6315,12 +6407,13 @@
|
|
|
6315
6407
|
],
|
|
6316
6408
|
"type": "option"
|
|
6317
6409
|
},
|
|
6318
|
-
"
|
|
6319
|
-
"description": "
|
|
6320
|
-
"name": "
|
|
6321
|
-
"required":
|
|
6322
|
-
"
|
|
6323
|
-
"
|
|
6410
|
+
"value": {
|
|
6411
|
+
"description": "Environment variable value",
|
|
6412
|
+
"name": "value",
|
|
6413
|
+
"required": true,
|
|
6414
|
+
"hasDynamicHelp": false,
|
|
6415
|
+
"multiple": false,
|
|
6416
|
+
"type": "option"
|
|
6324
6417
|
},
|
|
6325
6418
|
"workspace": {
|
|
6326
6419
|
"char": "w",
|
|
@@ -6334,7 +6427,7 @@
|
|
|
6334
6427
|
},
|
|
6335
6428
|
"hasDynamicHelp": false,
|
|
6336
6429
|
"hiddenAliases": [],
|
|
6337
|
-
"id": "tenant:env:
|
|
6430
|
+
"id": "tenant:env:set",
|
|
6338
6431
|
"pluginAlias": "@xano/cli",
|
|
6339
6432
|
"pluginName": "@xano/cli",
|
|
6340
6433
|
"pluginType": "core",
|
|
@@ -6346,11 +6439,11 @@
|
|
|
6346
6439
|
"commands",
|
|
6347
6440
|
"tenant",
|
|
6348
6441
|
"env",
|
|
6349
|
-
"
|
|
6442
|
+
"set",
|
|
6350
6443
|
"index.js"
|
|
6351
6444
|
]
|
|
6352
6445
|
},
|
|
6353
|
-
"tenant:env:
|
|
6446
|
+
"tenant:env:set_all": {
|
|
6354
6447
|
"aliases": [],
|
|
6355
6448
|
"args": {
|
|
6356
6449
|
"tenant_name": {
|
|
@@ -6359,10 +6452,11 @@
|
|
|
6359
6452
|
"required": true
|
|
6360
6453
|
}
|
|
6361
6454
|
},
|
|
6362
|
-
"description": "Set
|
|
6455
|
+
"description": "Set all environment variables for a tenant from a YAML file (replaces all existing)",
|
|
6363
6456
|
"examples": [
|
|
6364
|
-
"$ xano tenant env
|
|
6365
|
-
"$ 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"
|
|
6366
6460
|
],
|
|
6367
6461
|
"flags": {
|
|
6368
6462
|
"profile": {
|
|
@@ -6384,11 +6478,18 @@
|
|
|
6384
6478
|
"allowNo": false,
|
|
6385
6479
|
"type": "boolean"
|
|
6386
6480
|
},
|
|
6387
|
-
"
|
|
6388
|
-
"
|
|
6389
|
-
"
|
|
6390
|
-
"
|
|
6391
|
-
"
|
|
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,
|
|
6392
6493
|
"hasDynamicHelp": false,
|
|
6393
6494
|
"multiple": false,
|
|
6394
6495
|
"type": "option"
|
|
@@ -6407,14 +6508,6 @@
|
|
|
6407
6508
|
],
|
|
6408
6509
|
"type": "option"
|
|
6409
6510
|
},
|
|
6410
|
-
"value": {
|
|
6411
|
-
"description": "Environment variable value",
|
|
6412
|
-
"name": "value",
|
|
6413
|
-
"required": true,
|
|
6414
|
-
"hasDynamicHelp": false,
|
|
6415
|
-
"multiple": false,
|
|
6416
|
-
"type": "option"
|
|
6417
|
-
},
|
|
6418
6511
|
"workspace": {
|
|
6419
6512
|
"char": "w",
|
|
6420
6513
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -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
|
},
|
|
@@ -6537,7 +6630,7 @@
|
|
|
6537
6630
|
"index.js"
|
|
6538
6631
|
]
|
|
6539
6632
|
},
|
|
6540
|
-
"tenant:
|
|
6633
|
+
"tenant:license:set": {
|
|
6541
6634
|
"aliases": [],
|
|
6542
6635
|
"args": {
|
|
6543
6636
|
"tenant_name": {
|
|
@@ -6546,11 +6639,12 @@
|
|
|
6546
6639
|
"required": true
|
|
6547
6640
|
}
|
|
6548
6641
|
},
|
|
6549
|
-
"description": "Set
|
|
6642
|
+
"description": "Set/update the license for a tenant",
|
|
6550
6643
|
"examples": [
|
|
6551
|
-
"$ xano tenant
|
|
6552
|
-
"$ xano tenant
|
|
6553
|
-
"$ xano tenant
|
|
6644
|
+
"$ xano tenant license set my-tenant\nReads from license_my-tenant.yaml\n",
|
|
6645
|
+
"$ xano tenant license set my-tenant --file ./license.yaml",
|
|
6646
|
+
"$ xano tenant license set my-tenant --value 'key: value'",
|
|
6647
|
+
"$ xano tenant license set my-tenant -o json"
|
|
6554
6648
|
],
|
|
6555
6649
|
"flags": {
|
|
6556
6650
|
"profile": {
|
|
@@ -6574,6 +6668,9 @@
|
|
|
6574
6668
|
},
|
|
6575
6669
|
"clean": {
|
|
6576
6670
|
"description": "Remove the source file after successful upload",
|
|
6671
|
+
"exclusive": [
|
|
6672
|
+
"value"
|
|
6673
|
+
],
|
|
6577
6674
|
"name": "clean",
|
|
6578
6675
|
"required": false,
|
|
6579
6676
|
"allowNo": false,
|
|
@@ -6581,7 +6678,10 @@
|
|
|
6581
6678
|
},
|
|
6582
6679
|
"file": {
|
|
6583
6680
|
"char": "f",
|
|
6584
|
-
"description": "Path to
|
|
6681
|
+
"description": "Path to license file (default: license_<tenant_name>.yaml)",
|
|
6682
|
+
"exclusive": [
|
|
6683
|
+
"value"
|
|
6684
|
+
],
|
|
6585
6685
|
"name": "file",
|
|
6586
6686
|
"required": false,
|
|
6587
6687
|
"hasDynamicHelp": false,
|
|
@@ -6602,6 +6702,18 @@
|
|
|
6602
6702
|
],
|
|
6603
6703
|
"type": "option"
|
|
6604
6704
|
},
|
|
6705
|
+
"value": {
|
|
6706
|
+
"description": "Inline license value",
|
|
6707
|
+
"exclusive": [
|
|
6708
|
+
"file",
|
|
6709
|
+
"clean"
|
|
6710
|
+
],
|
|
6711
|
+
"name": "value",
|
|
6712
|
+
"required": false,
|
|
6713
|
+
"hasDynamicHelp": false,
|
|
6714
|
+
"multiple": false,
|
|
6715
|
+
"type": "option"
|
|
6716
|
+
},
|
|
6605
6717
|
"workspace": {
|
|
6606
6718
|
"char": "w",
|
|
6607
6719
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -6614,7 +6726,7 @@
|
|
|
6614
6726
|
},
|
|
6615
6727
|
"hasDynamicHelp": false,
|
|
6616
6728
|
"hiddenAliases": [],
|
|
6617
|
-
"id": "tenant:
|
|
6729
|
+
"id": "tenant:license:set",
|
|
6618
6730
|
"pluginAlias": "@xano/cli",
|
|
6619
6731
|
"pluginName": "@xano/cli",
|
|
6620
6732
|
"pluginType": "core",
|
|
@@ -6625,8 +6737,8 @@
|
|
|
6625
6737
|
"dist",
|
|
6626
6738
|
"commands",
|
|
6627
6739
|
"tenant",
|
|
6628
|
-
"
|
|
6629
|
-
"
|
|
6740
|
+
"license",
|
|
6741
|
+
"set",
|
|
6630
6742
|
"index.js"
|
|
6631
6743
|
]
|
|
6632
6744
|
},
|
|
@@ -6724,21 +6836,21 @@
|
|
|
6724
6836
|
"index.js"
|
|
6725
6837
|
]
|
|
6726
6838
|
},
|
|
6727
|
-
"tenant:license:
|
|
6839
|
+
"tenant:cluster:license:get": {
|
|
6728
6840
|
"aliases": [],
|
|
6729
6841
|
"args": {
|
|
6730
|
-
"
|
|
6731
|
-
"description": "Tenant
|
|
6732
|
-
"name": "
|
|
6842
|
+
"cluster_id": {
|
|
6843
|
+
"description": "Tenant cluster ID",
|
|
6844
|
+
"name": "cluster_id",
|
|
6733
6845
|
"required": true
|
|
6734
6846
|
}
|
|
6735
6847
|
},
|
|
6736
|
-
"description": "
|
|
6848
|
+
"description": "Get the license (kubeconfig) for a tenant cluster",
|
|
6737
6849
|
"examples": [
|
|
6738
|
-
"$ xano tenant license
|
|
6739
|
-
"$ xano tenant license
|
|
6740
|
-
"$ xano tenant license
|
|
6741
|
-
"$ xano tenant license
|
|
6850
|
+
"$ xano tenant cluster license get 1\nLicense saved to kubeconfig-1.yaml\n",
|
|
6851
|
+
"$ xano tenant cluster license get 1 --file ./my-kubeconfig.yaml\nLicense saved to my-kubeconfig.yaml\n",
|
|
6852
|
+
"$ xano tenant cluster license get 1 --view",
|
|
6853
|
+
"$ xano tenant cluster license get 1 -o json"
|
|
6742
6854
|
],
|
|
6743
6855
|
"flags": {
|
|
6744
6856
|
"profile": {
|
|
@@ -6760,22 +6872,9 @@
|
|
|
6760
6872
|
"allowNo": false,
|
|
6761
6873
|
"type": "boolean"
|
|
6762
6874
|
},
|
|
6763
|
-
"clean": {
|
|
6764
|
-
"description": "Remove the source file after successful upload",
|
|
6765
|
-
"exclusive": [
|
|
6766
|
-
"value"
|
|
6767
|
-
],
|
|
6768
|
-
"name": "clean",
|
|
6769
|
-
"required": false,
|
|
6770
|
-
"allowNo": false,
|
|
6771
|
-
"type": "boolean"
|
|
6772
|
-
},
|
|
6773
6875
|
"file": {
|
|
6774
6876
|
"char": "f",
|
|
6775
|
-
"description": "
|
|
6776
|
-
"exclusive": [
|
|
6777
|
-
"value"
|
|
6778
|
-
],
|
|
6877
|
+
"description": "Output file path (default: kubeconfig_<cluster_id>.yaml)",
|
|
6779
6878
|
"name": "file",
|
|
6780
6879
|
"required": false,
|
|
6781
6880
|
"hasDynamicHelp": false,
|
|
@@ -6796,31 +6895,17 @@
|
|
|
6796
6895
|
],
|
|
6797
6896
|
"type": "option"
|
|
6798
6897
|
},
|
|
6799
|
-
"
|
|
6800
|
-
"description": "
|
|
6801
|
-
"
|
|
6802
|
-
"file",
|
|
6803
|
-
"clean"
|
|
6804
|
-
],
|
|
6805
|
-
"name": "value",
|
|
6806
|
-
"required": false,
|
|
6807
|
-
"hasDynamicHelp": false,
|
|
6808
|
-
"multiple": false,
|
|
6809
|
-
"type": "option"
|
|
6810
|
-
},
|
|
6811
|
-
"workspace": {
|
|
6812
|
-
"char": "w",
|
|
6813
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
6814
|
-
"name": "workspace",
|
|
6898
|
+
"view": {
|
|
6899
|
+
"description": "Print license to stdout instead of saving to file",
|
|
6900
|
+
"name": "view",
|
|
6815
6901
|
"required": false,
|
|
6816
|
-
"
|
|
6817
|
-
"
|
|
6818
|
-
"type": "option"
|
|
6902
|
+
"allowNo": false,
|
|
6903
|
+
"type": "boolean"
|
|
6819
6904
|
}
|
|
6820
6905
|
},
|
|
6821
6906
|
"hasDynamicHelp": false,
|
|
6822
6907
|
"hiddenAliases": [],
|
|
6823
|
-
"id": "tenant:license:
|
|
6908
|
+
"id": "tenant:cluster:license:get",
|
|
6824
6909
|
"pluginAlias": "@xano/cli",
|
|
6825
6910
|
"pluginName": "@xano/cli",
|
|
6826
6911
|
"pluginType": "core",
|
|
@@ -6831,8 +6916,9 @@
|
|
|
6831
6916
|
"dist",
|
|
6832
6917
|
"commands",
|
|
6833
6918
|
"tenant",
|
|
6919
|
+
"cluster",
|
|
6834
6920
|
"license",
|
|
6835
|
-
"
|
|
6921
|
+
"get",
|
|
6836
6922
|
"index.js"
|
|
6837
6923
|
]
|
|
6838
6924
|
},
|
|
@@ -6939,93 +7025,7 @@
|
|
|
6939
7025
|
"set",
|
|
6940
7026
|
"index.js"
|
|
6941
7027
|
]
|
|
6942
|
-
},
|
|
6943
|
-
"tenant:cluster:license:get": {
|
|
6944
|
-
"aliases": [],
|
|
6945
|
-
"args": {
|
|
6946
|
-
"cluster_id": {
|
|
6947
|
-
"description": "Tenant cluster ID",
|
|
6948
|
-
"name": "cluster_id",
|
|
6949
|
-
"required": true
|
|
6950
|
-
}
|
|
6951
|
-
},
|
|
6952
|
-
"description": "Get the license (kubeconfig) for a tenant cluster",
|
|
6953
|
-
"examples": [
|
|
6954
|
-
"$ xano tenant cluster license get 1\nLicense saved to kubeconfig-1.yaml\n",
|
|
6955
|
-
"$ xano tenant cluster license get 1 --file ./my-kubeconfig.yaml\nLicense saved to my-kubeconfig.yaml\n",
|
|
6956
|
-
"$ xano tenant cluster license get 1 --view",
|
|
6957
|
-
"$ xano tenant cluster license get 1 -o json"
|
|
6958
|
-
],
|
|
6959
|
-
"flags": {
|
|
6960
|
-
"profile": {
|
|
6961
|
-
"char": "p",
|
|
6962
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
6963
|
-
"env": "XANO_PROFILE",
|
|
6964
|
-
"name": "profile",
|
|
6965
|
-
"required": false,
|
|
6966
|
-
"hasDynamicHelp": false,
|
|
6967
|
-
"multiple": false,
|
|
6968
|
-
"type": "option"
|
|
6969
|
-
},
|
|
6970
|
-
"verbose": {
|
|
6971
|
-
"char": "v",
|
|
6972
|
-
"description": "Show detailed request/response information",
|
|
6973
|
-
"env": "XANO_VERBOSE",
|
|
6974
|
-
"name": "verbose",
|
|
6975
|
-
"required": false,
|
|
6976
|
-
"allowNo": false,
|
|
6977
|
-
"type": "boolean"
|
|
6978
|
-
},
|
|
6979
|
-
"file": {
|
|
6980
|
-
"char": "f",
|
|
6981
|
-
"description": "Output file path (default: kubeconfig_<cluster_id>.yaml)",
|
|
6982
|
-
"name": "file",
|
|
6983
|
-
"required": false,
|
|
6984
|
-
"hasDynamicHelp": false,
|
|
6985
|
-
"multiple": false,
|
|
6986
|
-
"type": "option"
|
|
6987
|
-
},
|
|
6988
|
-
"output": {
|
|
6989
|
-
"char": "o",
|
|
6990
|
-
"description": "Output format",
|
|
6991
|
-
"name": "output",
|
|
6992
|
-
"required": false,
|
|
6993
|
-
"default": "summary",
|
|
6994
|
-
"hasDynamicHelp": false,
|
|
6995
|
-
"multiple": false,
|
|
6996
|
-
"options": [
|
|
6997
|
-
"summary",
|
|
6998
|
-
"json"
|
|
6999
|
-
],
|
|
7000
|
-
"type": "option"
|
|
7001
|
-
},
|
|
7002
|
-
"view": {
|
|
7003
|
-
"description": "Print license to stdout instead of saving to file",
|
|
7004
|
-
"name": "view",
|
|
7005
|
-
"required": false,
|
|
7006
|
-
"allowNo": false,
|
|
7007
|
-
"type": "boolean"
|
|
7008
|
-
}
|
|
7009
|
-
},
|
|
7010
|
-
"hasDynamicHelp": false,
|
|
7011
|
-
"hiddenAliases": [],
|
|
7012
|
-
"id": "tenant:cluster:license:get",
|
|
7013
|
-
"pluginAlias": "@xano/cli",
|
|
7014
|
-
"pluginName": "@xano/cli",
|
|
7015
|
-
"pluginType": "core",
|
|
7016
|
-
"strict": true,
|
|
7017
|
-
"enableJsonFlag": false,
|
|
7018
|
-
"isESM": true,
|
|
7019
|
-
"relativePath": [
|
|
7020
|
-
"dist",
|
|
7021
|
-
"commands",
|
|
7022
|
-
"tenant",
|
|
7023
|
-
"cluster",
|
|
7024
|
-
"license",
|
|
7025
|
-
"get",
|
|
7026
|
-
"index.js"
|
|
7027
|
-
]
|
|
7028
7028
|
}
|
|
7029
7029
|
},
|
|
7030
|
-
"version": "0.0.
|
|
7030
|
+
"version": "0.0.56"
|
|
7031
7031
|
}
|