@xano/cli 0.0.73-beta.0 → 0.0.75-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/oclif.manifest.json
CHANGED
|
@@ -200,20 +200,20 @@
|
|
|
200
200
|
"index.js"
|
|
201
201
|
]
|
|
202
202
|
},
|
|
203
|
-
"branch:
|
|
203
|
+
"branch:delete": {
|
|
204
204
|
"aliases": [],
|
|
205
205
|
"args": {
|
|
206
|
-
"
|
|
207
|
-
"description": "
|
|
208
|
-
"name": "
|
|
209
|
-
"required":
|
|
206
|
+
"branch_label": {
|
|
207
|
+
"description": "Branch label to delete (cannot delete \"v1\" or the live branch)",
|
|
208
|
+
"name": "branch_label",
|
|
209
|
+
"required": true
|
|
210
210
|
}
|
|
211
211
|
},
|
|
212
|
-
"description": "
|
|
212
|
+
"description": "Delete a branch (cannot delete \"v1\" or the live branch)",
|
|
213
213
|
"examples": [
|
|
214
|
-
"$ xano branch
|
|
215
|
-
"$ xano branch
|
|
216
|
-
"$ xano branch
|
|
214
|
+
"$ 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",
|
|
215
|
+
"$ xano branch delete dev --force\nDeleted branch: dev\n",
|
|
216
|
+
"$ xano branch delete staging -f -o json\n{\n \"deleted\": true,\n \"branch_label\": \"staging\"\n}\n"
|
|
217
217
|
],
|
|
218
218
|
"flags": {
|
|
219
219
|
"profile": {
|
|
@@ -235,6 +235,14 @@
|
|
|
235
235
|
"allowNo": false,
|
|
236
236
|
"type": "boolean"
|
|
237
237
|
},
|
|
238
|
+
"force": {
|
|
239
|
+
"char": "f",
|
|
240
|
+
"description": "Skip confirmation prompt",
|
|
241
|
+
"name": "force",
|
|
242
|
+
"required": false,
|
|
243
|
+
"allowNo": false,
|
|
244
|
+
"type": "boolean"
|
|
245
|
+
},
|
|
238
246
|
"output": {
|
|
239
247
|
"char": "o",
|
|
240
248
|
"description": "Output format",
|
|
@@ -248,11 +256,20 @@
|
|
|
248
256
|
"json"
|
|
249
257
|
],
|
|
250
258
|
"type": "option"
|
|
259
|
+
},
|
|
260
|
+
"workspace": {
|
|
261
|
+
"char": "w",
|
|
262
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
263
|
+
"name": "workspace",
|
|
264
|
+
"required": false,
|
|
265
|
+
"hasDynamicHelp": false,
|
|
266
|
+
"multiple": false,
|
|
267
|
+
"type": "option"
|
|
251
268
|
}
|
|
252
269
|
},
|
|
253
270
|
"hasDynamicHelp": false,
|
|
254
271
|
"hiddenAliases": [],
|
|
255
|
-
"id": "branch:
|
|
272
|
+
"id": "branch:delete",
|
|
256
273
|
"pluginAlias": "@xano/cli",
|
|
257
274
|
"pluginName": "@xano/cli",
|
|
258
275
|
"pluginType": "core",
|
|
@@ -263,24 +280,24 @@
|
|
|
263
280
|
"dist",
|
|
264
281
|
"commands",
|
|
265
282
|
"branch",
|
|
266
|
-
"
|
|
283
|
+
"delete",
|
|
267
284
|
"index.js"
|
|
268
285
|
]
|
|
269
286
|
},
|
|
270
|
-
"branch:
|
|
287
|
+
"branch:edit": {
|
|
271
288
|
"aliases": [],
|
|
272
289
|
"args": {
|
|
273
290
|
"branch_label": {
|
|
274
|
-
"description": "Branch label to
|
|
291
|
+
"description": "Branch label to edit (cannot edit \"v1\" label)",
|
|
275
292
|
"name": "branch_label",
|
|
276
293
|
"required": true
|
|
277
294
|
}
|
|
278
295
|
},
|
|
279
|
-
"description": "
|
|
296
|
+
"description": "Update an existing branch (cannot update \"v1\" label)",
|
|
280
297
|
"examples": [
|
|
281
|
-
"$ xano branch
|
|
282
|
-
"$ xano branch
|
|
283
|
-
"$ xano branch
|
|
298
|
+
"$ xano branch edit dev --label development\nUpdated branch: development\n",
|
|
299
|
+
"$ xano branch edit feature-auth -l feature-authentication --color \"#ff5733\"\nUpdated branch: feature-authentication\n Color: #ff5733\n",
|
|
300
|
+
"$ xano branch edit staging --description \"Staging environment\" -o json\n{\n \"created_at\": \"2024-02-10T09:15:00Z\",\n \"label\": \"staging\",\n \"backup\": false\n}\n"
|
|
284
301
|
],
|
|
285
302
|
"flags": {
|
|
286
303
|
"profile": {
|
|
@@ -302,13 +319,32 @@
|
|
|
302
319
|
"allowNo": false,
|
|
303
320
|
"type": "boolean"
|
|
304
321
|
},
|
|
305
|
-
"
|
|
306
|
-
"char": "
|
|
307
|
-
"description": "
|
|
308
|
-
"name": "
|
|
322
|
+
"color": {
|
|
323
|
+
"char": "c",
|
|
324
|
+
"description": "New color hex code for the branch (e.g., \"#ff5733\")",
|
|
325
|
+
"name": "color",
|
|
309
326
|
"required": false,
|
|
310
|
-
"
|
|
311
|
-
"
|
|
327
|
+
"hasDynamicHelp": false,
|
|
328
|
+
"multiple": false,
|
|
329
|
+
"type": "option"
|
|
330
|
+
},
|
|
331
|
+
"description": {
|
|
332
|
+
"char": "d",
|
|
333
|
+
"description": "New description for the branch",
|
|
334
|
+
"name": "description",
|
|
335
|
+
"required": false,
|
|
336
|
+
"hasDynamicHelp": false,
|
|
337
|
+
"multiple": false,
|
|
338
|
+
"type": "option"
|
|
339
|
+
},
|
|
340
|
+
"label": {
|
|
341
|
+
"char": "l",
|
|
342
|
+
"description": "New label for the branch",
|
|
343
|
+
"name": "label",
|
|
344
|
+
"required": false,
|
|
345
|
+
"hasDynamicHelp": false,
|
|
346
|
+
"multiple": false,
|
|
347
|
+
"type": "option"
|
|
312
348
|
},
|
|
313
349
|
"output": {
|
|
314
350
|
"char": "o",
|
|
@@ -336,7 +372,7 @@
|
|
|
336
372
|
},
|
|
337
373
|
"hasDynamicHelp": false,
|
|
338
374
|
"hiddenAliases": [],
|
|
339
|
-
"id": "branch:
|
|
375
|
+
"id": "branch:edit",
|
|
340
376
|
"pluginAlias": "@xano/cli",
|
|
341
377
|
"pluginName": "@xano/cli",
|
|
342
378
|
"pluginType": "core",
|
|
@@ -347,20 +383,24 @@
|
|
|
347
383
|
"dist",
|
|
348
384
|
"commands",
|
|
349
385
|
"branch",
|
|
350
|
-
"
|
|
386
|
+
"edit",
|
|
351
387
|
"index.js"
|
|
352
388
|
]
|
|
353
389
|
},
|
|
354
|
-
"
|
|
390
|
+
"branch:get": {
|
|
355
391
|
"aliases": [],
|
|
356
|
-
"args": {
|
|
357
|
-
|
|
392
|
+
"args": {
|
|
393
|
+
"branch_label": {
|
|
394
|
+
"description": "Branch label (e.g., \"v1\", \"dev\")",
|
|
395
|
+
"name": "branch_label",
|
|
396
|
+
"required": true
|
|
397
|
+
}
|
|
398
|
+
},
|
|
399
|
+
"description": "Get details for a specific branch",
|
|
358
400
|
"examples": [
|
|
359
|
-
"$ xano
|
|
360
|
-
"$ xano
|
|
361
|
-
"$ xano
|
|
362
|
-
"$ cat function.xs | xano function:create -w 40 --stdin\nFunction created successfully!\nID: 123\nName: my_function\n",
|
|
363
|
-
"$ xano function:create -w 40 -f function.xs -o json\n{\n \"id\": 123,\n \"name\": \"my_function\",\n ...\n}\n"
|
|
401
|
+
"$ xano branch get v1\nBranch: v1 (live)\n Created: 2024-01-15\n",
|
|
402
|
+
"$ xano branch get dev -w 123\nBranch: dev\n Created: 2024-02-01\n",
|
|
403
|
+
"$ xano branch get staging --output json\n{\n \"created_at\": \"2024-02-10T09:15:00Z\",\n \"label\": \"staging\",\n \"backup\": false,\n \"live\": false\n}\n"
|
|
364
404
|
],
|
|
365
405
|
"flags": {
|
|
366
406
|
"profile": {
|
|
@@ -382,29 +422,6 @@
|
|
|
382
422
|
"allowNo": false,
|
|
383
423
|
"type": "boolean"
|
|
384
424
|
},
|
|
385
|
-
"edit": {
|
|
386
|
-
"char": "e",
|
|
387
|
-
"dependsOn": [
|
|
388
|
-
"file"
|
|
389
|
-
],
|
|
390
|
-
"description": "Open file in editor before creating function (requires --file)",
|
|
391
|
-
"name": "edit",
|
|
392
|
-
"required": false,
|
|
393
|
-
"allowNo": false,
|
|
394
|
-
"type": "boolean"
|
|
395
|
-
},
|
|
396
|
-
"file": {
|
|
397
|
-
"char": "f",
|
|
398
|
-
"description": "Path to file containing XanoScript code",
|
|
399
|
-
"exclusive": [
|
|
400
|
-
"stdin"
|
|
401
|
-
],
|
|
402
|
-
"name": "file",
|
|
403
|
-
"required": false,
|
|
404
|
-
"hasDynamicHelp": false,
|
|
405
|
-
"multiple": false,
|
|
406
|
-
"type": "option"
|
|
407
|
-
},
|
|
408
425
|
"output": {
|
|
409
426
|
"char": "o",
|
|
410
427
|
"description": "Output format",
|
|
@@ -419,20 +436,9 @@
|
|
|
419
436
|
],
|
|
420
437
|
"type": "option"
|
|
421
438
|
},
|
|
422
|
-
"stdin": {
|
|
423
|
-
"char": "s",
|
|
424
|
-
"description": "Read XanoScript code from stdin",
|
|
425
|
-
"exclusive": [
|
|
426
|
-
"file"
|
|
427
|
-
],
|
|
428
|
-
"name": "stdin",
|
|
429
|
-
"required": false,
|
|
430
|
-
"allowNo": false,
|
|
431
|
-
"type": "boolean"
|
|
432
|
-
},
|
|
433
439
|
"workspace": {
|
|
434
440
|
"char": "w",
|
|
435
|
-
"description": "Workspace ID (
|
|
441
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
436
442
|
"name": "workspace",
|
|
437
443
|
"required": false,
|
|
438
444
|
"hasDynamicHelp": false,
|
|
@@ -442,7 +448,7 @@
|
|
|
442
448
|
},
|
|
443
449
|
"hasDynamicHelp": false,
|
|
444
450
|
"hiddenAliases": [],
|
|
445
|
-
"id": "
|
|
451
|
+
"id": "branch:get",
|
|
446
452
|
"pluginAlias": "@xano/cli",
|
|
447
453
|
"pluginName": "@xano/cli",
|
|
448
454
|
"pluginType": "core",
|
|
@@ -452,25 +458,25 @@
|
|
|
452
458
|
"relativePath": [
|
|
453
459
|
"dist",
|
|
454
460
|
"commands",
|
|
455
|
-
"
|
|
456
|
-
"
|
|
461
|
+
"branch",
|
|
462
|
+
"get",
|
|
457
463
|
"index.js"
|
|
458
464
|
]
|
|
459
465
|
},
|
|
460
|
-
"branch:
|
|
466
|
+
"branch:list": {
|
|
461
467
|
"aliases": [],
|
|
462
468
|
"args": {
|
|
463
|
-
"
|
|
464
|
-
"description": "
|
|
465
|
-
"name": "
|
|
466
|
-
"required":
|
|
469
|
+
"workspace_id": {
|
|
470
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
471
|
+
"name": "workspace_id",
|
|
472
|
+
"required": false
|
|
467
473
|
}
|
|
468
474
|
},
|
|
469
|
-
"description": "
|
|
475
|
+
"description": "List all branches in a workspace",
|
|
470
476
|
"examples": [
|
|
471
|
-
"$ xano branch
|
|
472
|
-
"$ xano branch
|
|
473
|
-
"$ xano branch
|
|
477
|
+
"$ xano branch list\nAvailable branches:\n - v1 (live)\n - dev\n - staging\n",
|
|
478
|
+
"$ xano branch list 123\nAvailable branches:\n - v1 (live)\n - feature-auth\n",
|
|
479
|
+
"$ 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"
|
|
474
480
|
],
|
|
475
481
|
"flags": {
|
|
476
482
|
"profile": {
|
|
@@ -505,20 +511,11 @@
|
|
|
505
511
|
"json"
|
|
506
512
|
],
|
|
507
513
|
"type": "option"
|
|
508
|
-
},
|
|
509
|
-
"workspace": {
|
|
510
|
-
"char": "w",
|
|
511
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
512
|
-
"name": "workspace",
|
|
513
|
-
"required": false,
|
|
514
|
-
"hasDynamicHelp": false,
|
|
515
|
-
"multiple": false,
|
|
516
|
-
"type": "option"
|
|
517
514
|
}
|
|
518
515
|
},
|
|
519
516
|
"hasDynamicHelp": false,
|
|
520
517
|
"hiddenAliases": [],
|
|
521
|
-
"id": "branch:
|
|
518
|
+
"id": "branch:list",
|
|
522
519
|
"pluginAlias": "@xano/cli",
|
|
523
520
|
"pluginName": "@xano/cli",
|
|
524
521
|
"pluginType": "core",
|
|
@@ -529,24 +526,24 @@
|
|
|
529
526
|
"dist",
|
|
530
527
|
"commands",
|
|
531
528
|
"branch",
|
|
532
|
-
"
|
|
529
|
+
"list",
|
|
533
530
|
"index.js"
|
|
534
531
|
]
|
|
535
532
|
},
|
|
536
|
-
"branch:
|
|
533
|
+
"branch:set_live": {
|
|
537
534
|
"aliases": [],
|
|
538
535
|
"args": {
|
|
539
536
|
"branch_label": {
|
|
540
|
-
"description": "Branch label to
|
|
537
|
+
"description": "Branch label to set as live (use \"v1\" for default branch)",
|
|
541
538
|
"name": "branch_label",
|
|
542
539
|
"required": true
|
|
543
540
|
}
|
|
544
541
|
},
|
|
545
|
-
"description": "
|
|
542
|
+
"description": "Set a branch as the live (active) branch for API requests",
|
|
546
543
|
"examples": [
|
|
547
|
-
"$ xano branch
|
|
548
|
-
"$ xano branch
|
|
549
|
-
"$ xano branch
|
|
544
|
+
"$ 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",
|
|
545
|
+
"$ xano branch set-live v1 --force\nBranch 'v1' is now live\n",
|
|
546
|
+
"$ 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"
|
|
550
547
|
],
|
|
551
548
|
"flags": {
|
|
552
549
|
"profile": {
|
|
@@ -602,7 +599,7 @@
|
|
|
602
599
|
},
|
|
603
600
|
"hasDynamicHelp": false,
|
|
604
601
|
"hiddenAliases": [],
|
|
605
|
-
"id": "branch:
|
|
602
|
+
"id": "branch:set_live",
|
|
606
603
|
"pluginAlias": "@xano/cli",
|
|
607
604
|
"pluginName": "@xano/cli",
|
|
608
605
|
"pluginType": "core",
|
|
@@ -613,24 +610,20 @@
|
|
|
613
610
|
"dist",
|
|
614
611
|
"commands",
|
|
615
612
|
"branch",
|
|
616
|
-
"
|
|
613
|
+
"set_live",
|
|
617
614
|
"index.js"
|
|
618
615
|
]
|
|
619
616
|
},
|
|
620
|
-
"
|
|
617
|
+
"function:create": {
|
|
621
618
|
"aliases": [],
|
|
622
|
-
"args": {
|
|
623
|
-
|
|
624
|
-
"description": "Branch label to edit (cannot edit \"v1\" label)",
|
|
625
|
-
"name": "branch_label",
|
|
626
|
-
"required": true
|
|
627
|
-
}
|
|
628
|
-
},
|
|
629
|
-
"description": "Update an existing branch (cannot update \"v1\" label)",
|
|
619
|
+
"args": {},
|
|
620
|
+
"description": "Create a new function in a workspace",
|
|
630
621
|
"examples": [
|
|
631
|
-
"$ xano
|
|
632
|
-
"$ xano
|
|
633
|
-
"$ xano
|
|
622
|
+
"$ xano function:create -w 40 -f function.xs\nFunction created successfully!\nID: 123\nName: my_function\n",
|
|
623
|
+
"$ xano function:create -f function.xs\nFunction created successfully!\nID: 123\nName: my_function\n",
|
|
624
|
+
"$ 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",
|
|
625
|
+
"$ cat function.xs | xano function:create -w 40 --stdin\nFunction created successfully!\nID: 123\nName: my_function\n",
|
|
626
|
+
"$ xano function:create -w 40 -f function.xs -o json\n{\n \"id\": 123,\n \"name\": \"my_function\",\n ...\n}\n"
|
|
634
627
|
],
|
|
635
628
|
"flags": {
|
|
636
629
|
"profile": {
|
|
@@ -652,28 +645,24 @@
|
|
|
652
645
|
"allowNo": false,
|
|
653
646
|
"type": "boolean"
|
|
654
647
|
},
|
|
655
|
-
"
|
|
656
|
-
"char": "
|
|
657
|
-
"
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
"
|
|
661
|
-
"
|
|
662
|
-
"type": "option"
|
|
663
|
-
},
|
|
664
|
-
"description": {
|
|
665
|
-
"char": "d",
|
|
666
|
-
"description": "New description for the branch",
|
|
667
|
-
"name": "description",
|
|
648
|
+
"edit": {
|
|
649
|
+
"char": "e",
|
|
650
|
+
"dependsOn": [
|
|
651
|
+
"file"
|
|
652
|
+
],
|
|
653
|
+
"description": "Open file in editor before creating function (requires --file)",
|
|
654
|
+
"name": "edit",
|
|
668
655
|
"required": false,
|
|
669
|
-
"
|
|
670
|
-
"
|
|
671
|
-
"type": "option"
|
|
656
|
+
"allowNo": false,
|
|
657
|
+
"type": "boolean"
|
|
672
658
|
},
|
|
673
|
-
"
|
|
674
|
-
"char": "
|
|
675
|
-
"description": "
|
|
676
|
-
"
|
|
659
|
+
"file": {
|
|
660
|
+
"char": "f",
|
|
661
|
+
"description": "Path to file containing XanoScript code",
|
|
662
|
+
"exclusive": [
|
|
663
|
+
"stdin"
|
|
664
|
+
],
|
|
665
|
+
"name": "file",
|
|
677
666
|
"required": false,
|
|
678
667
|
"hasDynamicHelp": false,
|
|
679
668
|
"multiple": false,
|
|
@@ -693,11 +682,22 @@
|
|
|
693
682
|
],
|
|
694
683
|
"type": "option"
|
|
695
684
|
},
|
|
696
|
-
"
|
|
697
|
-
"char": "
|
|
698
|
-
"description": "
|
|
699
|
-
"
|
|
700
|
-
|
|
685
|
+
"stdin": {
|
|
686
|
+
"char": "s",
|
|
687
|
+
"description": "Read XanoScript code from stdin",
|
|
688
|
+
"exclusive": [
|
|
689
|
+
"file"
|
|
690
|
+
],
|
|
691
|
+
"name": "stdin",
|
|
692
|
+
"required": false,
|
|
693
|
+
"allowNo": false,
|
|
694
|
+
"type": "boolean"
|
|
695
|
+
},
|
|
696
|
+
"workspace": {
|
|
697
|
+
"char": "w",
|
|
698
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
699
|
+
"name": "workspace",
|
|
700
|
+
"required": false,
|
|
701
701
|
"hasDynamicHelp": false,
|
|
702
702
|
"multiple": false,
|
|
703
703
|
"type": "option"
|
|
@@ -705,7 +705,7 @@
|
|
|
705
705
|
},
|
|
706
706
|
"hasDynamicHelp": false,
|
|
707
707
|
"hiddenAliases": [],
|
|
708
|
-
"id": "
|
|
708
|
+
"id": "function:create",
|
|
709
709
|
"pluginAlias": "@xano/cli",
|
|
710
710
|
"pluginName": "@xano/cli",
|
|
711
711
|
"pluginType": "core",
|
|
@@ -715,8 +715,8 @@
|
|
|
715
715
|
"relativePath": [
|
|
716
716
|
"dist",
|
|
717
717
|
"commands",
|
|
718
|
-
"
|
|
719
|
-
"
|
|
718
|
+
"function",
|
|
719
|
+
"create",
|
|
720
720
|
"index.js"
|
|
721
721
|
]
|
|
722
722
|
},
|
|
@@ -839,6 +839,100 @@
|
|
|
839
839
|
"index.js"
|
|
840
840
|
]
|
|
841
841
|
},
|
|
842
|
+
"function:get": {
|
|
843
|
+
"aliases": [],
|
|
844
|
+
"args": {
|
|
845
|
+
"function_id": {
|
|
846
|
+
"description": "Function ID",
|
|
847
|
+
"name": "function_id",
|
|
848
|
+
"required": false
|
|
849
|
+
}
|
|
850
|
+
},
|
|
851
|
+
"description": "Get a specific function from a workspace",
|
|
852
|
+
"examples": [
|
|
853
|
+
"$ xano function:get 145 -w 40\nFunction: yo (ID: 145)\nCreated: 2025-10-10 10:30:00\nDescription: Sample function\n",
|
|
854
|
+
"$ xano function:get 145 --profile production\nFunction: yo (ID: 145)\nCreated: 2025-10-10 10:30:00\n",
|
|
855
|
+
"$ xano function:get\nSelect a function:\n ❯ yo (ID: 145) - Sample function\n another-func (ID: 146)\n",
|
|
856
|
+
"$ xano function:get 145 -w 40 --output json\n{\n \"id\": 145,\n \"name\": \"yo\",\n \"description\": \"Sample function\"\n}\n",
|
|
857
|
+
"$ xano function:get 145 -p staging -o json --include_draft\n{\n \"id\": 145,\n \"name\": \"yo\"\n}\n",
|
|
858
|
+
"$ xano function:get 145 -p staging -o xs\nfunction yo {\n input {\n }\n stack {\n }\n response = null\n}\n"
|
|
859
|
+
],
|
|
860
|
+
"flags": {
|
|
861
|
+
"profile": {
|
|
862
|
+
"char": "p",
|
|
863
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
864
|
+
"env": "XANO_PROFILE",
|
|
865
|
+
"name": "profile",
|
|
866
|
+
"required": false,
|
|
867
|
+
"hasDynamicHelp": false,
|
|
868
|
+
"multiple": false,
|
|
869
|
+
"type": "option"
|
|
870
|
+
},
|
|
871
|
+
"verbose": {
|
|
872
|
+
"char": "v",
|
|
873
|
+
"description": "Show detailed request/response information",
|
|
874
|
+
"env": "XANO_VERBOSE",
|
|
875
|
+
"name": "verbose",
|
|
876
|
+
"required": false,
|
|
877
|
+
"allowNo": false,
|
|
878
|
+
"type": "boolean"
|
|
879
|
+
},
|
|
880
|
+
"include_draft": {
|
|
881
|
+
"description": "Include draft version",
|
|
882
|
+
"name": "include_draft",
|
|
883
|
+
"required": false,
|
|
884
|
+
"allowNo": false,
|
|
885
|
+
"type": "boolean"
|
|
886
|
+
},
|
|
887
|
+
"include_xanoscript": {
|
|
888
|
+
"description": "Include XanoScript in response",
|
|
889
|
+
"name": "include_xanoscript",
|
|
890
|
+
"required": false,
|
|
891
|
+
"allowNo": false,
|
|
892
|
+
"type": "boolean"
|
|
893
|
+
},
|
|
894
|
+
"output": {
|
|
895
|
+
"char": "o",
|
|
896
|
+
"description": "Output format",
|
|
897
|
+
"name": "output",
|
|
898
|
+
"required": false,
|
|
899
|
+
"default": "summary",
|
|
900
|
+
"hasDynamicHelp": false,
|
|
901
|
+
"multiple": false,
|
|
902
|
+
"options": [
|
|
903
|
+
"summary",
|
|
904
|
+
"json",
|
|
905
|
+
"xs"
|
|
906
|
+
],
|
|
907
|
+
"type": "option"
|
|
908
|
+
},
|
|
909
|
+
"workspace": {
|
|
910
|
+
"char": "w",
|
|
911
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
912
|
+
"name": "workspace",
|
|
913
|
+
"required": false,
|
|
914
|
+
"hasDynamicHelp": false,
|
|
915
|
+
"multiple": false,
|
|
916
|
+
"type": "option"
|
|
917
|
+
}
|
|
918
|
+
},
|
|
919
|
+
"hasDynamicHelp": false,
|
|
920
|
+
"hiddenAliases": [],
|
|
921
|
+
"id": "function:get",
|
|
922
|
+
"pluginAlias": "@xano/cli",
|
|
923
|
+
"pluginName": "@xano/cli",
|
|
924
|
+
"pluginType": "core",
|
|
925
|
+
"strict": true,
|
|
926
|
+
"enableJsonFlag": false,
|
|
927
|
+
"isESM": true,
|
|
928
|
+
"relativePath": [
|
|
929
|
+
"dist",
|
|
930
|
+
"commands",
|
|
931
|
+
"function",
|
|
932
|
+
"get",
|
|
933
|
+
"index.js"
|
|
934
|
+
]
|
|
935
|
+
},
|
|
842
936
|
"function:list": {
|
|
843
937
|
"aliases": [],
|
|
844
938
|
"args": {},
|
|
@@ -964,13 +1058,19 @@
|
|
|
964
1058
|
"index.js"
|
|
965
1059
|
]
|
|
966
1060
|
},
|
|
967
|
-
"platform:
|
|
1061
|
+
"platform:get": {
|
|
968
1062
|
"aliases": [],
|
|
969
|
-
"args": {
|
|
970
|
-
|
|
1063
|
+
"args": {
|
|
1064
|
+
"platform_id": {
|
|
1065
|
+
"description": "Platform ID to retrieve",
|
|
1066
|
+
"name": "platform_id",
|
|
1067
|
+
"required": true
|
|
1068
|
+
}
|
|
1069
|
+
},
|
|
1070
|
+
"description": "Get details of a specific platform",
|
|
971
1071
|
"examples": [
|
|
972
|
-
"$ xano platform
|
|
973
|
-
"$ xano platform
|
|
1072
|
+
"$ 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",
|
|
1073
|
+
"$ xano platform get 23629 -o json"
|
|
974
1074
|
],
|
|
975
1075
|
"flags": {
|
|
976
1076
|
"profile": {
|
|
@@ -1009,7 +1109,7 @@
|
|
|
1009
1109
|
},
|
|
1010
1110
|
"hasDynamicHelp": false,
|
|
1011
1111
|
"hiddenAliases": [],
|
|
1012
|
-
"id": "platform:
|
|
1112
|
+
"id": "platform:get",
|
|
1013
1113
|
"pluginAlias": "@xano/cli",
|
|
1014
1114
|
"pluginName": "@xano/cli",
|
|
1015
1115
|
"pluginType": "core",
|
|
@@ -1020,27 +1120,17 @@
|
|
|
1020
1120
|
"dist",
|
|
1021
1121
|
"commands",
|
|
1022
1122
|
"platform",
|
|
1023
|
-
"
|
|
1123
|
+
"get",
|
|
1024
1124
|
"index.js"
|
|
1025
1125
|
]
|
|
1026
1126
|
},
|
|
1027
|
-
"
|
|
1127
|
+
"platform:list": {
|
|
1028
1128
|
"aliases": [],
|
|
1029
|
-
"args": {
|
|
1030
|
-
|
|
1031
|
-
"description": "Function ID",
|
|
1032
|
-
"name": "function_id",
|
|
1033
|
-
"required": false
|
|
1034
|
-
}
|
|
1035
|
-
},
|
|
1036
|
-
"description": "Get a specific function from a workspace",
|
|
1129
|
+
"args": {},
|
|
1130
|
+
"description": "List all platforms",
|
|
1037
1131
|
"examples": [
|
|
1038
|
-
"$ xano
|
|
1039
|
-
"$ xano
|
|
1040
|
-
"$ xano function:get\nSelect a function:\n ❯ yo (ID: 145) - Sample function\n another-func (ID: 146)\n",
|
|
1041
|
-
"$ xano function:get 145 -w 40 --output json\n{\n \"id\": 145,\n \"name\": \"yo\",\n \"description\": \"Sample function\"\n}\n",
|
|
1042
|
-
"$ xano function:get 145 -p staging -o json --include_draft\n{\n \"id\": 145,\n \"name\": \"yo\"\n}\n",
|
|
1043
|
-
"$ xano function:get 145 -p staging -o xs\nfunction yo {\n input {\n }\n stack {\n }\n response = null\n}\n"
|
|
1132
|
+
"$ xano platform list\nPlatforms:\n ID: 23629 | Helm: 0.1.356 | Created: 2025-11-28\n",
|
|
1133
|
+
"$ xano platform list --output json"
|
|
1044
1134
|
],
|
|
1045
1135
|
"flags": {
|
|
1046
1136
|
"profile": {
|
|
@@ -1062,20 +1152,6 @@
|
|
|
1062
1152
|
"allowNo": false,
|
|
1063
1153
|
"type": "boolean"
|
|
1064
1154
|
},
|
|
1065
|
-
"include_draft": {
|
|
1066
|
-
"description": "Include draft version",
|
|
1067
|
-
"name": "include_draft",
|
|
1068
|
-
"required": false,
|
|
1069
|
-
"allowNo": false,
|
|
1070
|
-
"type": "boolean"
|
|
1071
|
-
},
|
|
1072
|
-
"include_xanoscript": {
|
|
1073
|
-
"description": "Include XanoScript in response",
|
|
1074
|
-
"name": "include_xanoscript",
|
|
1075
|
-
"required": false,
|
|
1076
|
-
"allowNo": false,
|
|
1077
|
-
"type": "boolean"
|
|
1078
|
-
},
|
|
1079
1155
|
"output": {
|
|
1080
1156
|
"char": "o",
|
|
1081
1157
|
"description": "Output format",
|
|
@@ -1086,24 +1162,14 @@
|
|
|
1086
1162
|
"multiple": false,
|
|
1087
1163
|
"options": [
|
|
1088
1164
|
"summary",
|
|
1089
|
-
"json"
|
|
1090
|
-
"xs"
|
|
1165
|
+
"json"
|
|
1091
1166
|
],
|
|
1092
1167
|
"type": "option"
|
|
1093
|
-
},
|
|
1094
|
-
"workspace": {
|
|
1095
|
-
"char": "w",
|
|
1096
|
-
"description": "Workspace ID (optional if set in profile)",
|
|
1097
|
-
"name": "workspace",
|
|
1098
|
-
"required": false,
|
|
1099
|
-
"hasDynamicHelp": false,
|
|
1100
|
-
"multiple": false,
|
|
1101
|
-
"type": "option"
|
|
1102
1168
|
}
|
|
1103
1169
|
},
|
|
1104
1170
|
"hasDynamicHelp": false,
|
|
1105
1171
|
"hiddenAliases": [],
|
|
1106
|
-
"id": "
|
|
1172
|
+
"id": "platform:list",
|
|
1107
1173
|
"pluginAlias": "@xano/cli",
|
|
1108
1174
|
"pluginName": "@xano/cli",
|
|
1109
1175
|
"pluginType": "core",
|
|
@@ -1113,8 +1179,8 @@
|
|
|
1113
1179
|
"relativePath": [
|
|
1114
1180
|
"dist",
|
|
1115
1181
|
"commands",
|
|
1116
|
-
"
|
|
1117
|
-
"
|
|
1182
|
+
"platform",
|
|
1183
|
+
"list",
|
|
1118
1184
|
"index.js"
|
|
1119
1185
|
]
|
|
1120
1186
|
},
|
|
@@ -1214,31 +1280,6 @@
|
|
|
1214
1280
|
"index.js"
|
|
1215
1281
|
]
|
|
1216
1282
|
},
|
|
1217
|
-
"profile:get": {
|
|
1218
|
-
"aliases": [],
|
|
1219
|
-
"args": {},
|
|
1220
|
-
"description": "Get the current default profile name",
|
|
1221
|
-
"examples": [
|
|
1222
|
-
"$ xano profile get\nproduction\n"
|
|
1223
|
-
],
|
|
1224
|
-
"flags": {},
|
|
1225
|
-
"hasDynamicHelp": false,
|
|
1226
|
-
"hiddenAliases": [],
|
|
1227
|
-
"id": "profile:get",
|
|
1228
|
-
"pluginAlias": "@xano/cli",
|
|
1229
|
-
"pluginName": "@xano/cli",
|
|
1230
|
-
"pluginType": "core",
|
|
1231
|
-
"strict": true,
|
|
1232
|
-
"enableJsonFlag": false,
|
|
1233
|
-
"isESM": true,
|
|
1234
|
-
"relativePath": [
|
|
1235
|
-
"dist",
|
|
1236
|
-
"commands",
|
|
1237
|
-
"profile",
|
|
1238
|
-
"get",
|
|
1239
|
-
"index.js"
|
|
1240
|
-
]
|
|
1241
|
-
},
|
|
1242
1283
|
"profile:delete": {
|
|
1243
1284
|
"aliases": [],
|
|
1244
1285
|
"args": {
|
|
@@ -1411,6 +1452,31 @@
|
|
|
1411
1452
|
"index.js"
|
|
1412
1453
|
]
|
|
1413
1454
|
},
|
|
1455
|
+
"profile:get": {
|
|
1456
|
+
"aliases": [],
|
|
1457
|
+
"args": {},
|
|
1458
|
+
"description": "Get the current default profile name",
|
|
1459
|
+
"examples": [
|
|
1460
|
+
"$ xano profile get\nproduction\n"
|
|
1461
|
+
],
|
|
1462
|
+
"flags": {},
|
|
1463
|
+
"hasDynamicHelp": false,
|
|
1464
|
+
"hiddenAliases": [],
|
|
1465
|
+
"id": "profile:get",
|
|
1466
|
+
"pluginAlias": "@xano/cli",
|
|
1467
|
+
"pluginName": "@xano/cli",
|
|
1468
|
+
"pluginType": "core",
|
|
1469
|
+
"strict": true,
|
|
1470
|
+
"enableJsonFlag": false,
|
|
1471
|
+
"isESM": true,
|
|
1472
|
+
"relativePath": [
|
|
1473
|
+
"dist",
|
|
1474
|
+
"commands",
|
|
1475
|
+
"profile",
|
|
1476
|
+
"get",
|
|
1477
|
+
"index.js"
|
|
1478
|
+
]
|
|
1479
|
+
},
|
|
1414
1480
|
"profile:list": {
|
|
1415
1481
|
"aliases": [],
|
|
1416
1482
|
"args": {},
|
|
@@ -1447,19 +1513,14 @@
|
|
|
1447
1513
|
"index.js"
|
|
1448
1514
|
]
|
|
1449
1515
|
},
|
|
1450
|
-
"
|
|
1516
|
+
"profile:me": {
|
|
1451
1517
|
"aliases": [],
|
|
1452
|
-
"args": {
|
|
1453
|
-
|
|
1454
|
-
"description": "Platform ID to retrieve",
|
|
1455
|
-
"name": "platform_id",
|
|
1456
|
-
"required": true
|
|
1457
|
-
}
|
|
1458
|
-
},
|
|
1459
|
-
"description": "Get details of a specific platform",
|
|
1518
|
+
"args": {},
|
|
1519
|
+
"description": "Get information about the currently authenticated user",
|
|
1460
1520
|
"examples": [
|
|
1461
|
-
"$ xano
|
|
1462
|
-
"$ xano
|
|
1521
|
+
"$ xano profile:me\nUser Information:\n ID: 1\n Name: John Doe\n Email: john@example.com\n",
|
|
1522
|
+
"$ xano profile:me --profile production\nUser Information:\n ID: 42\n Name: Admin User\n Email: admin@example.com\n",
|
|
1523
|
+
"$ xano profile:me --output json\n{\n \"id\": 1,\n \"name\": \"John Doe\",\n \"email\": \"john@example.com\"\n}\n"
|
|
1463
1524
|
],
|
|
1464
1525
|
"flags": {
|
|
1465
1526
|
"profile": {
|
|
@@ -1498,7 +1559,7 @@
|
|
|
1498
1559
|
},
|
|
1499
1560
|
"hasDynamicHelp": false,
|
|
1500
1561
|
"hiddenAliases": [],
|
|
1501
|
-
"id": "
|
|
1562
|
+
"id": "profile:me",
|
|
1502
1563
|
"pluginAlias": "@xano/cli",
|
|
1503
1564
|
"pluginName": "@xano/cli",
|
|
1504
1565
|
"pluginType": "core",
|
|
@@ -1508,23 +1569,28 @@
|
|
|
1508
1569
|
"relativePath": [
|
|
1509
1570
|
"dist",
|
|
1510
1571
|
"commands",
|
|
1511
|
-
"
|
|
1512
|
-
"
|
|
1572
|
+
"profile",
|
|
1573
|
+
"me",
|
|
1513
1574
|
"index.js"
|
|
1514
1575
|
]
|
|
1515
1576
|
},
|
|
1516
|
-
"profile:
|
|
1577
|
+
"profile:set": {
|
|
1517
1578
|
"aliases": [],
|
|
1518
|
-
"args": {
|
|
1519
|
-
|
|
1579
|
+
"args": {
|
|
1580
|
+
"name": {
|
|
1581
|
+
"description": "Profile name to set as default",
|
|
1582
|
+
"name": "name",
|
|
1583
|
+
"required": true
|
|
1584
|
+
}
|
|
1585
|
+
},
|
|
1586
|
+
"description": "Set the default profile",
|
|
1520
1587
|
"examples": [
|
|
1521
|
-
"$ xano profile
|
|
1522
|
-
"$ xano profile:token | pbcopy\n# Copies the token to clipboard on macOS\n"
|
|
1588
|
+
"$ xano profile set production\nDefault profile set to 'production'\n"
|
|
1523
1589
|
],
|
|
1524
1590
|
"flags": {},
|
|
1525
1591
|
"hasDynamicHelp": false,
|
|
1526
1592
|
"hiddenAliases": [],
|
|
1527
|
-
"id": "profile:
|
|
1593
|
+
"id": "profile:set",
|
|
1528
1594
|
"pluginAlias": "@xano/cli",
|
|
1529
1595
|
"pluginName": "@xano/cli",
|
|
1530
1596
|
"pluginType": "core",
|
|
@@ -1535,57 +1601,22 @@
|
|
|
1535
1601
|
"dist",
|
|
1536
1602
|
"commands",
|
|
1537
1603
|
"profile",
|
|
1538
|
-
"
|
|
1604
|
+
"set",
|
|
1539
1605
|
"index.js"
|
|
1540
1606
|
]
|
|
1541
1607
|
},
|
|
1542
|
-
"profile:
|
|
1608
|
+
"profile:token": {
|
|
1543
1609
|
"aliases": [],
|
|
1544
1610
|
"args": {},
|
|
1545
|
-
"description": "
|
|
1611
|
+
"description": "Print the access token for the default profile",
|
|
1546
1612
|
"examples": [
|
|
1547
|
-
"$ xano profile:
|
|
1548
|
-
"$ xano profile:
|
|
1549
|
-
"$ xano profile:me --output json\n{\n \"id\": 1,\n \"name\": \"John Doe\",\n \"email\": \"john@example.com\"\n}\n"
|
|
1613
|
+
"$ xano profile:token\neyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...\n",
|
|
1614
|
+
"$ xano profile:token | pbcopy\n# Copies the token to clipboard on macOS\n"
|
|
1550
1615
|
],
|
|
1551
|
-
"flags": {
|
|
1552
|
-
"profile": {
|
|
1553
|
-
"char": "p",
|
|
1554
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
1555
|
-
"env": "XANO_PROFILE",
|
|
1556
|
-
"name": "profile",
|
|
1557
|
-
"required": false,
|
|
1558
|
-
"hasDynamicHelp": false,
|
|
1559
|
-
"multiple": false,
|
|
1560
|
-
"type": "option"
|
|
1561
|
-
},
|
|
1562
|
-
"verbose": {
|
|
1563
|
-
"char": "v",
|
|
1564
|
-
"description": "Show detailed request/response information",
|
|
1565
|
-
"env": "XANO_VERBOSE",
|
|
1566
|
-
"name": "verbose",
|
|
1567
|
-
"required": false,
|
|
1568
|
-
"allowNo": false,
|
|
1569
|
-
"type": "boolean"
|
|
1570
|
-
},
|
|
1571
|
-
"output": {
|
|
1572
|
-
"char": "o",
|
|
1573
|
-
"description": "Output format",
|
|
1574
|
-
"name": "output",
|
|
1575
|
-
"required": false,
|
|
1576
|
-
"default": "summary",
|
|
1577
|
-
"hasDynamicHelp": false,
|
|
1578
|
-
"multiple": false,
|
|
1579
|
-
"options": [
|
|
1580
|
-
"summary",
|
|
1581
|
-
"json"
|
|
1582
|
-
],
|
|
1583
|
-
"type": "option"
|
|
1584
|
-
}
|
|
1585
|
-
},
|
|
1616
|
+
"flags": {},
|
|
1586
1617
|
"hasDynamicHelp": false,
|
|
1587
1618
|
"hiddenAliases": [],
|
|
1588
|
-
"id": "profile:
|
|
1619
|
+
"id": "profile:token",
|
|
1589
1620
|
"pluginAlias": "@xano/cli",
|
|
1590
1621
|
"pluginName": "@xano/cli",
|
|
1591
1622
|
"pluginType": "core",
|
|
@@ -1596,7 +1627,7 @@
|
|
|
1596
1627
|
"dist",
|
|
1597
1628
|
"commands",
|
|
1598
1629
|
"profile",
|
|
1599
|
-
"
|
|
1630
|
+
"token",
|
|
1600
1631
|
"index.js"
|
|
1601
1632
|
]
|
|
1602
1633
|
},
|
|
@@ -1790,126 +1821,6 @@
|
|
|
1790
1821
|
"index.js"
|
|
1791
1822
|
]
|
|
1792
1823
|
},
|
|
1793
|
-
"static_host:list": {
|
|
1794
|
-
"aliases": [],
|
|
1795
|
-
"args": {},
|
|
1796
|
-
"description": "List all static hosts in a workspace from the Xano Metadata API",
|
|
1797
|
-
"examples": [
|
|
1798
|
-
"$ xano static_host:list -w 40\nAvailable static hosts:\n - my-static-host (ID: 1)\n - another-host (ID: 2)\n",
|
|
1799
|
-
"$ xano static_host:list --profile production\nAvailable static hosts:\n - my-static-host (ID: 1)\n - another-host (ID: 2)\n",
|
|
1800
|
-
"$ 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",
|
|
1801
|
-
"$ xano static_host:list -p staging -o json --page 2\n[\n {\n \"id\": 3,\n \"name\": \"static-host-3\"\n }\n]\n"
|
|
1802
|
-
],
|
|
1803
|
-
"flags": {
|
|
1804
|
-
"profile": {
|
|
1805
|
-
"char": "p",
|
|
1806
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
1807
|
-
"env": "XANO_PROFILE",
|
|
1808
|
-
"name": "profile",
|
|
1809
|
-
"required": false,
|
|
1810
|
-
"hasDynamicHelp": false,
|
|
1811
|
-
"multiple": false,
|
|
1812
|
-
"type": "option"
|
|
1813
|
-
},
|
|
1814
|
-
"verbose": {
|
|
1815
|
-
"char": "v",
|
|
1816
|
-
"description": "Show detailed request/response information",
|
|
1817
|
-
"env": "XANO_VERBOSE",
|
|
1818
|
-
"name": "verbose",
|
|
1819
|
-
"required": false,
|
|
1820
|
-
"allowNo": false,
|
|
1821
|
-
"type": "boolean"
|
|
1822
|
-
},
|
|
1823
|
-
"output": {
|
|
1824
|
-
"char": "o",
|
|
1825
|
-
"description": "Output format",
|
|
1826
|
-
"name": "output",
|
|
1827
|
-
"required": false,
|
|
1828
|
-
"default": "summary",
|
|
1829
|
-
"hasDynamicHelp": false,
|
|
1830
|
-
"multiple": false,
|
|
1831
|
-
"options": [
|
|
1832
|
-
"summary",
|
|
1833
|
-
"json"
|
|
1834
|
-
],
|
|
1835
|
-
"type": "option"
|
|
1836
|
-
},
|
|
1837
|
-
"page": {
|
|
1838
|
-
"description": "Page number for pagination",
|
|
1839
|
-
"name": "page",
|
|
1840
|
-
"required": false,
|
|
1841
|
-
"default": 1,
|
|
1842
|
-
"hasDynamicHelp": false,
|
|
1843
|
-
"multiple": false,
|
|
1844
|
-
"type": "option"
|
|
1845
|
-
},
|
|
1846
|
-
"per_page": {
|
|
1847
|
-
"description": "Number of results per page",
|
|
1848
|
-
"name": "per_page",
|
|
1849
|
-
"required": false,
|
|
1850
|
-
"default": 50,
|
|
1851
|
-
"hasDynamicHelp": false,
|
|
1852
|
-
"multiple": false,
|
|
1853
|
-
"type": "option"
|
|
1854
|
-
},
|
|
1855
|
-
"workspace": {
|
|
1856
|
-
"char": "w",
|
|
1857
|
-
"description": "Workspace ID (optional if set in profile)",
|
|
1858
|
-
"name": "workspace",
|
|
1859
|
-
"required": false,
|
|
1860
|
-
"hasDynamicHelp": false,
|
|
1861
|
-
"multiple": false,
|
|
1862
|
-
"type": "option"
|
|
1863
|
-
}
|
|
1864
|
-
},
|
|
1865
|
-
"hasDynamicHelp": false,
|
|
1866
|
-
"hiddenAliases": [],
|
|
1867
|
-
"id": "static_host:list",
|
|
1868
|
-
"pluginAlias": "@xano/cli",
|
|
1869
|
-
"pluginName": "@xano/cli",
|
|
1870
|
-
"pluginType": "core",
|
|
1871
|
-
"strict": true,
|
|
1872
|
-
"enableJsonFlag": false,
|
|
1873
|
-
"isESM": true,
|
|
1874
|
-
"relativePath": [
|
|
1875
|
-
"dist",
|
|
1876
|
-
"commands",
|
|
1877
|
-
"static_host",
|
|
1878
|
-
"list",
|
|
1879
|
-
"index.js"
|
|
1880
|
-
]
|
|
1881
|
-
},
|
|
1882
|
-
"profile:set": {
|
|
1883
|
-
"aliases": [],
|
|
1884
|
-
"args": {
|
|
1885
|
-
"name": {
|
|
1886
|
-
"description": "Profile name to set as default",
|
|
1887
|
-
"name": "name",
|
|
1888
|
-
"required": true
|
|
1889
|
-
}
|
|
1890
|
-
},
|
|
1891
|
-
"description": "Set the default profile",
|
|
1892
|
-
"examples": [
|
|
1893
|
-
"$ xano profile set production\nDefault profile set to 'production'\n"
|
|
1894
|
-
],
|
|
1895
|
-
"flags": {},
|
|
1896
|
-
"hasDynamicHelp": false,
|
|
1897
|
-
"hiddenAliases": [],
|
|
1898
|
-
"id": "profile:set",
|
|
1899
|
-
"pluginAlias": "@xano/cli",
|
|
1900
|
-
"pluginName": "@xano/cli",
|
|
1901
|
-
"pluginType": "core",
|
|
1902
|
-
"strict": true,
|
|
1903
|
-
"enableJsonFlag": false,
|
|
1904
|
-
"isESM": true,
|
|
1905
|
-
"relativePath": [
|
|
1906
|
-
"dist",
|
|
1907
|
-
"commands",
|
|
1908
|
-
"profile",
|
|
1909
|
-
"set",
|
|
1910
|
-
"index.js"
|
|
1911
|
-
]
|
|
1912
|
-
},
|
|
1913
1824
|
"release:delete": {
|
|
1914
1825
|
"aliases": [],
|
|
1915
1826
|
"args": {
|
|
@@ -2171,13 +2082,19 @@
|
|
|
2171
2082
|
"index.js"
|
|
2172
2083
|
]
|
|
2173
2084
|
},
|
|
2174
|
-
"release:
|
|
2085
|
+
"release:get": {
|
|
2175
2086
|
"aliases": [],
|
|
2176
|
-
"args": {
|
|
2177
|
-
|
|
2087
|
+
"args": {
|
|
2088
|
+
"release_name": {
|
|
2089
|
+
"description": "Release name to retrieve",
|
|
2090
|
+
"name": "release_name",
|
|
2091
|
+
"required": true
|
|
2092
|
+
}
|
|
2093
|
+
},
|
|
2094
|
+
"description": "Get details of a specific release",
|
|
2178
2095
|
"examples": [
|
|
2179
|
-
"$ xano release
|
|
2180
|
-
"$ xano release
|
|
2096
|
+
"$ xano release get v1.0\nRelease: v1.0 - ID: 10\n Branch: main\n Description: Initial release\n Hotfix: false\n",
|
|
2097
|
+
"$ xano release get v1.0 -w 5 -o json"
|
|
2181
2098
|
],
|
|
2182
2099
|
"flags": {
|
|
2183
2100
|
"profile": {
|
|
@@ -2225,7 +2142,7 @@
|
|
|
2225
2142
|
},
|
|
2226
2143
|
"hasDynamicHelp": false,
|
|
2227
2144
|
"hiddenAliases": [],
|
|
2228
|
-
"id": "release:
|
|
2145
|
+
"id": "release:get",
|
|
2229
2146
|
"pluginAlias": "@xano/cli",
|
|
2230
2147
|
"pluginName": "@xano/cli",
|
|
2231
2148
|
"pluginType": "core",
|
|
@@ -2236,23 +2153,17 @@
|
|
|
2236
2153
|
"dist",
|
|
2237
2154
|
"commands",
|
|
2238
2155
|
"release",
|
|
2239
|
-
"
|
|
2156
|
+
"get",
|
|
2240
2157
|
"index.js"
|
|
2241
2158
|
]
|
|
2242
2159
|
},
|
|
2243
|
-
"release:
|
|
2160
|
+
"release:import": {
|
|
2244
2161
|
"aliases": [],
|
|
2245
|
-
"args": {
|
|
2246
|
-
|
|
2247
|
-
"description": "Release name to retrieve",
|
|
2248
|
-
"name": "release_name",
|
|
2249
|
-
"required": true
|
|
2250
|
-
}
|
|
2251
|
-
},
|
|
2252
|
-
"description": "Get details of a specific release",
|
|
2162
|
+
"args": {},
|
|
2163
|
+
"description": "Import a release file into a workspace",
|
|
2253
2164
|
"examples": [
|
|
2254
|
-
"$ xano release
|
|
2255
|
-
"$ xano release
|
|
2165
|
+
"$ xano release import --file ./my-release.tar.gz\nImported release as #15\n",
|
|
2166
|
+
"$ xano release import --file ./my-release.tar.gz -o json"
|
|
2256
2167
|
],
|
|
2257
2168
|
"flags": {
|
|
2258
2169
|
"profile": {
|
|
@@ -2274,6 +2185,15 @@
|
|
|
2274
2185
|
"allowNo": false,
|
|
2275
2186
|
"type": "boolean"
|
|
2276
2187
|
},
|
|
2188
|
+
"file": {
|
|
2189
|
+
"char": "f",
|
|
2190
|
+
"description": "Path to the release file (.tar.gz)",
|
|
2191
|
+
"name": "file",
|
|
2192
|
+
"required": true,
|
|
2193
|
+
"hasDynamicHelp": false,
|
|
2194
|
+
"multiple": false,
|
|
2195
|
+
"type": "option"
|
|
2196
|
+
},
|
|
2277
2197
|
"output": {
|
|
2278
2198
|
"char": "o",
|
|
2279
2199
|
"description": "Output format",
|
|
@@ -2300,7 +2220,7 @@
|
|
|
2300
2220
|
},
|
|
2301
2221
|
"hasDynamicHelp": false,
|
|
2302
2222
|
"hiddenAliases": [],
|
|
2303
|
-
"id": "release:
|
|
2223
|
+
"id": "release:import",
|
|
2304
2224
|
"pluginAlias": "@xano/cli",
|
|
2305
2225
|
"pluginName": "@xano/cli",
|
|
2306
2226
|
"pluginType": "core",
|
|
@@ -2311,17 +2231,17 @@
|
|
|
2311
2231
|
"dist",
|
|
2312
2232
|
"commands",
|
|
2313
2233
|
"release",
|
|
2314
|
-
"
|
|
2234
|
+
"import",
|
|
2315
2235
|
"index.js"
|
|
2316
2236
|
]
|
|
2317
2237
|
},
|
|
2318
|
-
"release:
|
|
2238
|
+
"release:list": {
|
|
2319
2239
|
"aliases": [],
|
|
2320
2240
|
"args": {},
|
|
2321
|
-
"description": "
|
|
2241
|
+
"description": "List all releases in a workspace",
|
|
2322
2242
|
"examples": [
|
|
2323
|
-
"$ xano release
|
|
2324
|
-
"$ xano release
|
|
2243
|
+
"$ xano release list\nReleases in workspace 5:\n - v1.0 (ID: 10) - main\n - v1.1-hotfix (ID: 11) - main [hotfix]\n",
|
|
2244
|
+
"$ xano release list -w 5 --output json"
|
|
2325
2245
|
],
|
|
2326
2246
|
"flags": {
|
|
2327
2247
|
"profile": {
|
|
@@ -2343,15 +2263,6 @@
|
|
|
2343
2263
|
"allowNo": false,
|
|
2344
2264
|
"type": "boolean"
|
|
2345
2265
|
},
|
|
2346
|
-
"file": {
|
|
2347
|
-
"char": "f",
|
|
2348
|
-
"description": "Path to the release file (.tar.gz)",
|
|
2349
|
-
"name": "file",
|
|
2350
|
-
"required": true,
|
|
2351
|
-
"hasDynamicHelp": false,
|
|
2352
|
-
"multiple": false,
|
|
2353
|
-
"type": "option"
|
|
2354
|
-
},
|
|
2355
2266
|
"output": {
|
|
2356
2267
|
"char": "o",
|
|
2357
2268
|
"description": "Output format",
|
|
@@ -2378,7 +2289,7 @@
|
|
|
2378
2289
|
},
|
|
2379
2290
|
"hasDynamicHelp": false,
|
|
2380
2291
|
"hiddenAliases": [],
|
|
2381
|
-
"id": "release:
|
|
2292
|
+
"id": "release:list",
|
|
2382
2293
|
"pluginAlias": "@xano/cli",
|
|
2383
2294
|
"pluginName": "@xano/cli",
|
|
2384
2295
|
"pluginType": "core",
|
|
@@ -2389,26 +2300,24 @@
|
|
|
2389
2300
|
"dist",
|
|
2390
2301
|
"commands",
|
|
2391
2302
|
"release",
|
|
2392
|
-
"
|
|
2303
|
+
"list",
|
|
2393
2304
|
"index.js"
|
|
2394
2305
|
]
|
|
2395
2306
|
},
|
|
2396
|
-
"release:
|
|
2307
|
+
"release:pull": {
|
|
2397
2308
|
"aliases": [],
|
|
2398
2309
|
"args": {
|
|
2399
2310
|
"directory": {
|
|
2400
|
-
"description": "
|
|
2311
|
+
"description": "Output directory for pulled documents",
|
|
2401
2312
|
"name": "directory",
|
|
2402
2313
|
"required": true
|
|
2403
2314
|
}
|
|
2404
2315
|
},
|
|
2405
|
-
"description": "
|
|
2316
|
+
"description": "Pull a release multidoc from the Xano Metadata API and split into individual files",
|
|
2406
2317
|
"examples": [
|
|
2407
|
-
"$ xano release
|
|
2408
|
-
"$ xano release
|
|
2409
|
-
"$ xano release
|
|
2410
|
-
"$ xano release push ./my-release -n \"v1.0\" --no-records --no-env\nCreate release from schema only, skip records and environment variables\n",
|
|
2411
|
-
"$ xano release push ./my-release -n \"v1.0\" -o json\nOutput release details as JSON\n"
|
|
2318
|
+
"$ xano release pull ./my-release -r v1.0\nPulled 42 documents from release 'v1.0' to ./my-release\n",
|
|
2319
|
+
"$ xano release pull ./output -r v1.0 -w 40\nPulled 15 documents from release 'v1.0' to ./output\n",
|
|
2320
|
+
"$ xano release pull ./backup -r v1.0 --profile production --env --records\nPulled 58 documents from release 'v1.0' to ./backup\n"
|
|
2412
2321
|
],
|
|
2413
2322
|
"flags": {
|
|
2414
2323
|
"profile": {
|
|
@@ -2430,60 +2339,29 @@
|
|
|
2430
2339
|
"allowNo": false,
|
|
2431
2340
|
"type": "boolean"
|
|
2432
2341
|
},
|
|
2433
|
-
"description": {
|
|
2434
|
-
"char": "d",
|
|
2435
|
-
"description": "Release description",
|
|
2436
|
-
"name": "description",
|
|
2437
|
-
"required": false,
|
|
2438
|
-
"default": "",
|
|
2439
|
-
"hasDynamicHelp": false,
|
|
2440
|
-
"multiple": false,
|
|
2441
|
-
"type": "option"
|
|
2442
|
-
},
|
|
2443
2342
|
"env": {
|
|
2444
|
-
"description": "Include environment variables
|
|
2343
|
+
"description": "Include environment variables",
|
|
2445
2344
|
"name": "env",
|
|
2446
2345
|
"required": false,
|
|
2447
|
-
"allowNo":
|
|
2346
|
+
"allowNo": false,
|
|
2448
2347
|
"type": "boolean"
|
|
2449
2348
|
},
|
|
2450
|
-
"
|
|
2451
|
-
"description": "
|
|
2452
|
-
"name": "
|
|
2349
|
+
"records": {
|
|
2350
|
+
"description": "Include records",
|
|
2351
|
+
"name": "records",
|
|
2453
2352
|
"required": false,
|
|
2454
2353
|
"allowNo": false,
|
|
2455
2354
|
"type": "boolean"
|
|
2456
2355
|
},
|
|
2457
|
-
"
|
|
2458
|
-
"char": "
|
|
2459
|
-
"description": "
|
|
2460
|
-
"name": "
|
|
2356
|
+
"release": {
|
|
2357
|
+
"char": "r",
|
|
2358
|
+
"description": "Release name to pull from",
|
|
2359
|
+
"name": "release",
|
|
2461
2360
|
"required": true,
|
|
2462
2361
|
"hasDynamicHelp": false,
|
|
2463
2362
|
"multiple": false,
|
|
2464
2363
|
"type": "option"
|
|
2465
2364
|
},
|
|
2466
|
-
"output": {
|
|
2467
|
-
"char": "o",
|
|
2468
|
-
"description": "Output format",
|
|
2469
|
-
"name": "output",
|
|
2470
|
-
"required": false,
|
|
2471
|
-
"default": "summary",
|
|
2472
|
-
"hasDynamicHelp": false,
|
|
2473
|
-
"multiple": false,
|
|
2474
|
-
"options": [
|
|
2475
|
-
"summary",
|
|
2476
|
-
"json"
|
|
2477
|
-
],
|
|
2478
|
-
"type": "option"
|
|
2479
|
-
},
|
|
2480
|
-
"records": {
|
|
2481
|
-
"description": "Include records (default: true, use --no-records to exclude)",
|
|
2482
|
-
"name": "records",
|
|
2483
|
-
"required": false,
|
|
2484
|
-
"allowNo": true,
|
|
2485
|
-
"type": "boolean"
|
|
2486
|
-
},
|
|
2487
2365
|
"workspace": {
|
|
2488
2366
|
"char": "w",
|
|
2489
2367
|
"description": "Workspace ID (optional if set in profile)",
|
|
@@ -2496,7 +2374,7 @@
|
|
|
2496
2374
|
},
|
|
2497
2375
|
"hasDynamicHelp": false,
|
|
2498
2376
|
"hiddenAliases": [],
|
|
2499
|
-
"id": "release:
|
|
2377
|
+
"id": "release:pull",
|
|
2500
2378
|
"pluginAlias": "@xano/cli",
|
|
2501
2379
|
"pluginName": "@xano/cli",
|
|
2502
2380
|
"pluginType": "core",
|
|
@@ -2507,24 +2385,26 @@
|
|
|
2507
2385
|
"dist",
|
|
2508
2386
|
"commands",
|
|
2509
2387
|
"release",
|
|
2510
|
-
"
|
|
2388
|
+
"pull",
|
|
2511
2389
|
"index.js"
|
|
2512
2390
|
]
|
|
2513
2391
|
},
|
|
2514
|
-
"release:
|
|
2392
|
+
"release:push": {
|
|
2515
2393
|
"aliases": [],
|
|
2516
2394
|
"args": {
|
|
2517
2395
|
"directory": {
|
|
2518
|
-
"description": "
|
|
2396
|
+
"description": "Directory containing .xs documents to create the release from",
|
|
2519
2397
|
"name": "directory",
|
|
2520
2398
|
"required": true
|
|
2521
2399
|
}
|
|
2522
2400
|
},
|
|
2523
|
-
"description": "
|
|
2401
|
+
"description": "Create a new release from local XanoScript files via the multidoc endpoint",
|
|
2524
2402
|
"examples": [
|
|
2525
|
-
"$ xano release
|
|
2526
|
-
"$ xano release
|
|
2527
|
-
"$ xano release
|
|
2403
|
+
"$ xano release push ./my-release -n \"v1.0\"\nCreated release: v1.0 - ID: 10\n",
|
|
2404
|
+
"$ xano release push ./output -n \"v2.0\" -w 40 -d \"Major update\"\nCreated release: v2.0 - ID: 15\n",
|
|
2405
|
+
"$ xano release push ./backup -n \"v1.1-hotfix\" --hotfix --profile production\nCreated release: v1.1-hotfix - ID: 20\n",
|
|
2406
|
+
"$ xano release push ./my-release -n \"v1.0\" --no-records --no-env\nCreate release from schema only, skip records and environment variables\n",
|
|
2407
|
+
"$ xano release push ./my-release -n \"v1.0\" -o json\nOutput release details as JSON\n"
|
|
2528
2408
|
],
|
|
2529
2409
|
"flags": {
|
|
2530
2410
|
"profile": {
|
|
@@ -2546,29 +2426,60 @@
|
|
|
2546
2426
|
"allowNo": false,
|
|
2547
2427
|
"type": "boolean"
|
|
2548
2428
|
},
|
|
2429
|
+
"description": {
|
|
2430
|
+
"char": "d",
|
|
2431
|
+
"description": "Release description",
|
|
2432
|
+
"name": "description",
|
|
2433
|
+
"required": false,
|
|
2434
|
+
"default": "",
|
|
2435
|
+
"hasDynamicHelp": false,
|
|
2436
|
+
"multiple": false,
|
|
2437
|
+
"type": "option"
|
|
2438
|
+
},
|
|
2549
2439
|
"env": {
|
|
2550
|
-
"description": "Include environment variables",
|
|
2440
|
+
"description": "Include environment variables (default: true, use --no-env to exclude)",
|
|
2551
2441
|
"name": "env",
|
|
2552
2442
|
"required": false,
|
|
2553
|
-
"allowNo":
|
|
2443
|
+
"allowNo": true,
|
|
2554
2444
|
"type": "boolean"
|
|
2555
2445
|
},
|
|
2556
|
-
"
|
|
2557
|
-
"description": "
|
|
2558
|
-
"name": "
|
|
2446
|
+
"hotfix": {
|
|
2447
|
+
"description": "Mark as a hotfix release",
|
|
2448
|
+
"name": "hotfix",
|
|
2559
2449
|
"required": false,
|
|
2560
2450
|
"allowNo": false,
|
|
2561
2451
|
"type": "boolean"
|
|
2562
2452
|
},
|
|
2563
|
-
"
|
|
2564
|
-
"char": "
|
|
2565
|
-
"description": "
|
|
2566
|
-
"name": "
|
|
2453
|
+
"name": {
|
|
2454
|
+
"char": "n",
|
|
2455
|
+
"description": "Name for the release",
|
|
2456
|
+
"name": "name",
|
|
2567
2457
|
"required": true,
|
|
2568
2458
|
"hasDynamicHelp": false,
|
|
2569
2459
|
"multiple": false,
|
|
2570
2460
|
"type": "option"
|
|
2571
2461
|
},
|
|
2462
|
+
"output": {
|
|
2463
|
+
"char": "o",
|
|
2464
|
+
"description": "Output format",
|
|
2465
|
+
"name": "output",
|
|
2466
|
+
"required": false,
|
|
2467
|
+
"default": "summary",
|
|
2468
|
+
"hasDynamicHelp": false,
|
|
2469
|
+
"multiple": false,
|
|
2470
|
+
"options": [
|
|
2471
|
+
"summary",
|
|
2472
|
+
"json"
|
|
2473
|
+
],
|
|
2474
|
+
"type": "option"
|
|
2475
|
+
},
|
|
2476
|
+
"records": {
|
|
2477
|
+
"description": "Include records (default: true, use --no-records to exclude)",
|
|
2478
|
+
"name": "records",
|
|
2479
|
+
"required": false,
|
|
2480
|
+
"allowNo": true,
|
|
2481
|
+
"type": "boolean"
|
|
2482
|
+
},
|
|
2572
2483
|
"workspace": {
|
|
2573
2484
|
"char": "w",
|
|
2574
2485
|
"description": "Workspace ID (optional if set in profile)",
|
|
@@ -2581,7 +2492,7 @@
|
|
|
2581
2492
|
},
|
|
2582
2493
|
"hasDynamicHelp": false,
|
|
2583
2494
|
"hiddenAliases": [],
|
|
2584
|
-
"id": "release:
|
|
2495
|
+
"id": "release:push",
|
|
2585
2496
|
"pluginAlias": "@xano/cli",
|
|
2586
2497
|
"pluginName": "@xano/cli",
|
|
2587
2498
|
"pluginType": "core",
|
|
@@ -2592,23 +2503,19 @@
|
|
|
2592
2503
|
"dist",
|
|
2593
2504
|
"commands",
|
|
2594
2505
|
"release",
|
|
2595
|
-
"
|
|
2506
|
+
"push",
|
|
2596
2507
|
"index.js"
|
|
2597
2508
|
]
|
|
2598
2509
|
},
|
|
2599
|
-
"
|
|
2510
|
+
"static_host:list": {
|
|
2600
2511
|
"aliases": [],
|
|
2601
|
-
"args": {
|
|
2602
|
-
|
|
2603
|
-
"description": "Tenant name to deploy to",
|
|
2604
|
-
"name": "tenant_name",
|
|
2605
|
-
"required": true
|
|
2606
|
-
}
|
|
2607
|
-
},
|
|
2608
|
-
"description": "Deploy a platform version to a tenant",
|
|
2512
|
+
"args": {},
|
|
2513
|
+
"description": "List all static hosts in a workspace from the Xano Metadata API",
|
|
2609
2514
|
"examples": [
|
|
2610
|
-
"$ xano
|
|
2611
|
-
"$ xano
|
|
2515
|
+
"$ xano static_host:list -w 40\nAvailable static hosts:\n - my-static-host (ID: 1)\n - another-host (ID: 2)\n",
|
|
2516
|
+
"$ xano static_host:list --profile production\nAvailable static hosts:\n - my-static-host (ID: 1)\n - another-host (ID: 2)\n",
|
|
2517
|
+
"$ 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",
|
|
2518
|
+
"$ xano static_host:list -p staging -o json --page 2\n[\n {\n \"id\": 3,\n \"name\": \"static-host-3\"\n }\n]\n"
|
|
2612
2519
|
],
|
|
2613
2520
|
"flags": {
|
|
2614
2521
|
"profile": {
|
|
@@ -2644,17 +2551,27 @@
|
|
|
2644
2551
|
],
|
|
2645
2552
|
"type": "option"
|
|
2646
2553
|
},
|
|
2647
|
-
"
|
|
2648
|
-
"description": "
|
|
2649
|
-
"name": "
|
|
2650
|
-
"required":
|
|
2554
|
+
"page": {
|
|
2555
|
+
"description": "Page number for pagination",
|
|
2556
|
+
"name": "page",
|
|
2557
|
+
"required": false,
|
|
2558
|
+
"default": 1,
|
|
2559
|
+
"hasDynamicHelp": false,
|
|
2560
|
+
"multiple": false,
|
|
2561
|
+
"type": "option"
|
|
2562
|
+
},
|
|
2563
|
+
"per_page": {
|
|
2564
|
+
"description": "Number of results per page",
|
|
2565
|
+
"name": "per_page",
|
|
2566
|
+
"required": false,
|
|
2567
|
+
"default": 50,
|
|
2651
2568
|
"hasDynamicHelp": false,
|
|
2652
2569
|
"multiple": false,
|
|
2653
2570
|
"type": "option"
|
|
2654
2571
|
},
|
|
2655
2572
|
"workspace": {
|
|
2656
2573
|
"char": "w",
|
|
2657
|
-
"description": "Workspace ID (
|
|
2574
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
2658
2575
|
"name": "workspace",
|
|
2659
2576
|
"required": false,
|
|
2660
2577
|
"hasDynamicHelp": false,
|
|
@@ -2664,7 +2581,7 @@
|
|
|
2664
2581
|
},
|
|
2665
2582
|
"hasDynamicHelp": false,
|
|
2666
2583
|
"hiddenAliases": [],
|
|
2667
|
-
"id": "
|
|
2584
|
+
"id": "static_host:list",
|
|
2668
2585
|
"pluginAlias": "@xano/cli",
|
|
2669
2586
|
"pluginName": "@xano/cli",
|
|
2670
2587
|
"pluginType": "core",
|
|
@@ -2674,8 +2591,8 @@
|
|
|
2674
2591
|
"relativePath": [
|
|
2675
2592
|
"dist",
|
|
2676
2593
|
"commands",
|
|
2677
|
-
"
|
|
2678
|
-
"
|
|
2594
|
+
"static_host",
|
|
2595
|
+
"list",
|
|
2679
2596
|
"index.js"
|
|
2680
2597
|
]
|
|
2681
2598
|
},
|
|
@@ -2819,19 +2736,20 @@
|
|
|
2819
2736
|
"index.js"
|
|
2820
2737
|
]
|
|
2821
2738
|
},
|
|
2822
|
-
"tenant:
|
|
2739
|
+
"tenant:delete": {
|
|
2823
2740
|
"aliases": [],
|
|
2824
2741
|
"args": {
|
|
2825
2742
|
"tenant_name": {
|
|
2826
|
-
"description": "Tenant name to
|
|
2743
|
+
"description": "Tenant name to delete",
|
|
2827
2744
|
"name": "tenant_name",
|
|
2828
2745
|
"required": true
|
|
2829
2746
|
}
|
|
2830
2747
|
},
|
|
2831
|
-
"description": "
|
|
2748
|
+
"description": "Delete a tenant permanently. This destroys all associated infrastructure and cannot be undone.",
|
|
2832
2749
|
"examples": [
|
|
2833
|
-
"$ xano tenant
|
|
2834
|
-
"$ xano tenant
|
|
2750
|
+
"$ 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",
|
|
2751
|
+
"$ xano tenant delete t1234-abcd-xyz1 --force\nDeleted tenant t1234-abcd-xyz1\n",
|
|
2752
|
+
"$ xano tenant delete t1234-abcd-xyz1 -f -o json"
|
|
2835
2753
|
],
|
|
2836
2754
|
"flags": {
|
|
2837
2755
|
"profile": {
|
|
@@ -2853,6 +2771,14 @@
|
|
|
2853
2771
|
"allowNo": false,
|
|
2854
2772
|
"type": "boolean"
|
|
2855
2773
|
},
|
|
2774
|
+
"force": {
|
|
2775
|
+
"char": "f",
|
|
2776
|
+
"description": "Skip confirmation prompt",
|
|
2777
|
+
"name": "force",
|
|
2778
|
+
"required": false,
|
|
2779
|
+
"allowNo": false,
|
|
2780
|
+
"type": "boolean"
|
|
2781
|
+
},
|
|
2856
2782
|
"output": {
|
|
2857
2783
|
"char": "o",
|
|
2858
2784
|
"description": "Output format",
|
|
@@ -2867,15 +2793,6 @@
|
|
|
2867
2793
|
],
|
|
2868
2794
|
"type": "option"
|
|
2869
2795
|
},
|
|
2870
|
-
"release": {
|
|
2871
|
-
"char": "r",
|
|
2872
|
-
"description": "Release name to deploy",
|
|
2873
|
-
"name": "release",
|
|
2874
|
-
"required": true,
|
|
2875
|
-
"hasDynamicHelp": false,
|
|
2876
|
-
"multiple": false,
|
|
2877
|
-
"type": "option"
|
|
2878
|
-
},
|
|
2879
2796
|
"workspace": {
|
|
2880
2797
|
"char": "w",
|
|
2881
2798
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -2888,7 +2805,7 @@
|
|
|
2888
2805
|
},
|
|
2889
2806
|
"hasDynamicHelp": false,
|
|
2890
2807
|
"hiddenAliases": [],
|
|
2891
|
-
"id": "tenant:
|
|
2808
|
+
"id": "tenant:delete",
|
|
2892
2809
|
"pluginAlias": "@xano/cli",
|
|
2893
2810
|
"pluginName": "@xano/cli",
|
|
2894
2811
|
"pluginType": "core",
|
|
@@ -2899,24 +2816,23 @@
|
|
|
2899
2816
|
"dist",
|
|
2900
2817
|
"commands",
|
|
2901
2818
|
"tenant",
|
|
2902
|
-
"
|
|
2819
|
+
"delete",
|
|
2903
2820
|
"index.js"
|
|
2904
2821
|
]
|
|
2905
2822
|
},
|
|
2906
|
-
"tenant:
|
|
2823
|
+
"tenant:deploy_platform": {
|
|
2907
2824
|
"aliases": [],
|
|
2908
2825
|
"args": {
|
|
2909
2826
|
"tenant_name": {
|
|
2910
|
-
"description": "Tenant name to
|
|
2827
|
+
"description": "Tenant name to deploy to",
|
|
2911
2828
|
"name": "tenant_name",
|
|
2912
2829
|
"required": true
|
|
2913
2830
|
}
|
|
2914
2831
|
},
|
|
2915
|
-
"description": "
|
|
2832
|
+
"description": "Deploy a platform version to a tenant",
|
|
2916
2833
|
"examples": [
|
|
2917
|
-
"$ xano tenant
|
|
2918
|
-
"$ xano tenant
|
|
2919
|
-
"$ xano tenant delete t1234-abcd-xyz1 -f -o json"
|
|
2834
|
+
"$ xano tenant deploy_platform t1234-abcd-xyz1 --platform_id 5\nDeployed platform 5 to tenant: My Tenant (my-tenant)\n",
|
|
2835
|
+
"$ xano tenant deploy_platform t1234-abcd-xyz1 --platform_id 5 -o json"
|
|
2920
2836
|
],
|
|
2921
2837
|
"flags": {
|
|
2922
2838
|
"profile": {
|
|
@@ -2938,14 +2854,6 @@
|
|
|
2938
2854
|
"allowNo": false,
|
|
2939
2855
|
"type": "boolean"
|
|
2940
2856
|
},
|
|
2941
|
-
"force": {
|
|
2942
|
-
"char": "f",
|
|
2943
|
-
"description": "Skip confirmation prompt",
|
|
2944
|
-
"name": "force",
|
|
2945
|
-
"required": false,
|
|
2946
|
-
"allowNo": false,
|
|
2947
|
-
"type": "boolean"
|
|
2948
|
-
},
|
|
2949
2857
|
"output": {
|
|
2950
2858
|
"char": "o",
|
|
2951
2859
|
"description": "Output format",
|
|
@@ -2960,6 +2868,14 @@
|
|
|
2960
2868
|
],
|
|
2961
2869
|
"type": "option"
|
|
2962
2870
|
},
|
|
2871
|
+
"platform_id": {
|
|
2872
|
+
"description": "Platform ID to deploy",
|
|
2873
|
+
"name": "platform_id",
|
|
2874
|
+
"required": true,
|
|
2875
|
+
"hasDynamicHelp": false,
|
|
2876
|
+
"multiple": false,
|
|
2877
|
+
"type": "option"
|
|
2878
|
+
},
|
|
2963
2879
|
"workspace": {
|
|
2964
2880
|
"char": "w",
|
|
2965
2881
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -2972,7 +2888,7 @@
|
|
|
2972
2888
|
},
|
|
2973
2889
|
"hasDynamicHelp": false,
|
|
2974
2890
|
"hiddenAliases": [],
|
|
2975
|
-
"id": "tenant:
|
|
2891
|
+
"id": "tenant:deploy_platform",
|
|
2976
2892
|
"pluginAlias": "@xano/cli",
|
|
2977
2893
|
"pluginName": "@xano/cli",
|
|
2978
2894
|
"pluginType": "core",
|
|
@@ -2983,23 +2899,107 @@
|
|
|
2983
2899
|
"dist",
|
|
2984
2900
|
"commands",
|
|
2985
2901
|
"tenant",
|
|
2986
|
-
"
|
|
2902
|
+
"deploy_platform",
|
|
2987
2903
|
"index.js"
|
|
2988
2904
|
]
|
|
2989
2905
|
},
|
|
2990
|
-
"tenant:
|
|
2906
|
+
"tenant:deploy_release": {
|
|
2991
2907
|
"aliases": [],
|
|
2992
2908
|
"args": {
|
|
2993
2909
|
"tenant_name": {
|
|
2994
|
-
"description": "Tenant name to
|
|
2910
|
+
"description": "Tenant name to deploy to",
|
|
2995
2911
|
"name": "tenant_name",
|
|
2996
2912
|
"required": true
|
|
2997
2913
|
}
|
|
2998
2914
|
},
|
|
2999
|
-
"description": "
|
|
2915
|
+
"description": "Deploy a release to a tenant",
|
|
3000
2916
|
"examples": [
|
|
3001
|
-
"$ xano tenant
|
|
3002
|
-
"$ xano tenant
|
|
2917
|
+
"$ xano tenant deploy_release t1234-abcd-xyz1 --release v1.0\nDeployed release \"v1.0\" to tenant: My Tenant (my-tenant)\n",
|
|
2918
|
+
"$ xano tenant deploy_release t1234-abcd-xyz1 --release v1.0 -o json"
|
|
2919
|
+
],
|
|
2920
|
+
"flags": {
|
|
2921
|
+
"profile": {
|
|
2922
|
+
"char": "p",
|
|
2923
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
2924
|
+
"env": "XANO_PROFILE",
|
|
2925
|
+
"name": "profile",
|
|
2926
|
+
"required": false,
|
|
2927
|
+
"hasDynamicHelp": false,
|
|
2928
|
+
"multiple": false,
|
|
2929
|
+
"type": "option"
|
|
2930
|
+
},
|
|
2931
|
+
"verbose": {
|
|
2932
|
+
"char": "v",
|
|
2933
|
+
"description": "Show detailed request/response information",
|
|
2934
|
+
"env": "XANO_VERBOSE",
|
|
2935
|
+
"name": "verbose",
|
|
2936
|
+
"required": false,
|
|
2937
|
+
"allowNo": false,
|
|
2938
|
+
"type": "boolean"
|
|
2939
|
+
},
|
|
2940
|
+
"output": {
|
|
2941
|
+
"char": "o",
|
|
2942
|
+
"description": "Output format",
|
|
2943
|
+
"name": "output",
|
|
2944
|
+
"required": false,
|
|
2945
|
+
"default": "summary",
|
|
2946
|
+
"hasDynamicHelp": false,
|
|
2947
|
+
"multiple": false,
|
|
2948
|
+
"options": [
|
|
2949
|
+
"summary",
|
|
2950
|
+
"json"
|
|
2951
|
+
],
|
|
2952
|
+
"type": "option"
|
|
2953
|
+
},
|
|
2954
|
+
"release": {
|
|
2955
|
+
"char": "r",
|
|
2956
|
+
"description": "Release name to deploy",
|
|
2957
|
+
"name": "release",
|
|
2958
|
+
"required": true,
|
|
2959
|
+
"hasDynamicHelp": false,
|
|
2960
|
+
"multiple": false,
|
|
2961
|
+
"type": "option"
|
|
2962
|
+
},
|
|
2963
|
+
"workspace": {
|
|
2964
|
+
"char": "w",
|
|
2965
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
2966
|
+
"name": "workspace",
|
|
2967
|
+
"required": false,
|
|
2968
|
+
"hasDynamicHelp": false,
|
|
2969
|
+
"multiple": false,
|
|
2970
|
+
"type": "option"
|
|
2971
|
+
}
|
|
2972
|
+
},
|
|
2973
|
+
"hasDynamicHelp": false,
|
|
2974
|
+
"hiddenAliases": [],
|
|
2975
|
+
"id": "tenant:deploy_release",
|
|
2976
|
+
"pluginAlias": "@xano/cli",
|
|
2977
|
+
"pluginName": "@xano/cli",
|
|
2978
|
+
"pluginType": "core",
|
|
2979
|
+
"strict": true,
|
|
2980
|
+
"enableJsonFlag": false,
|
|
2981
|
+
"isESM": true,
|
|
2982
|
+
"relativePath": [
|
|
2983
|
+
"dist",
|
|
2984
|
+
"commands",
|
|
2985
|
+
"tenant",
|
|
2986
|
+
"deploy_release",
|
|
2987
|
+
"index.js"
|
|
2988
|
+
]
|
|
2989
|
+
},
|
|
2990
|
+
"tenant:edit": {
|
|
2991
|
+
"aliases": [],
|
|
2992
|
+
"args": {
|
|
2993
|
+
"tenant_name": {
|
|
2994
|
+
"description": "Tenant name to edit",
|
|
2995
|
+
"name": "tenant_name",
|
|
2996
|
+
"required": true
|
|
2997
|
+
}
|
|
2998
|
+
},
|
|
2999
|
+
"description": "Edit an existing tenant",
|
|
3000
|
+
"examples": [
|
|
3001
|
+
"$ xano tenant edit t1234-abcd-xyz1 --display \"New Name\" --description \"Updated description\"\nUpdated tenant: New Name (my-tenant) - ID: 42\n",
|
|
3002
|
+
"$ xano tenant edit t1234-abcd-xyz1 --no-tasks --no-ingress -o json"
|
|
3003
3003
|
],
|
|
3004
3004
|
"flags": {
|
|
3005
3005
|
"profile": {
|
|
@@ -3450,8 +3450,8 @@
|
|
|
3450
3450
|
"$ xano tenant push ./my-workspace -t my-tenant\nPushed 42 documents to tenant my-tenant from ./my-workspace\n",
|
|
3451
3451
|
"$ xano tenant push ./output -t my-tenant -w 40\nPushed 15 documents to tenant my-tenant from ./output\n",
|
|
3452
3452
|
"$ xano tenant push ./backup -t my-tenant --profile production\nPushed 58 documents to tenant my-tenant from ./backup\n",
|
|
3453
|
-
"$ xano tenant push ./my-workspace -t my-tenant --
|
|
3454
|
-
"$ xano tenant push ./my-workspace -t my-tenant --
|
|
3453
|
+
"$ xano tenant push ./my-workspace -t my-tenant --records\nInclude table records in import\n",
|
|
3454
|
+
"$ xano tenant push ./my-workspace -t my-tenant --env\nInclude environment variables in import\n",
|
|
3455
3455
|
"$ xano tenant push ./my-workspace -t my-tenant --truncate\nTruncate all table records before importing\n"
|
|
3456
3456
|
],
|
|
3457
3457
|
"flags": {
|
|
@@ -3475,17 +3475,17 @@
|
|
|
3475
3475
|
"type": "boolean"
|
|
3476
3476
|
},
|
|
3477
3477
|
"env": {
|
|
3478
|
-
"description": "Include environment variables in import
|
|
3478
|
+
"description": "Include environment variables in import",
|
|
3479
3479
|
"name": "env",
|
|
3480
3480
|
"required": false,
|
|
3481
|
-
"allowNo":
|
|
3481
|
+
"allowNo": false,
|
|
3482
3482
|
"type": "boolean"
|
|
3483
3483
|
},
|
|
3484
3484
|
"records": {
|
|
3485
|
-
"description": "Include records in import
|
|
3485
|
+
"description": "Include records in import",
|
|
3486
3486
|
"name": "records",
|
|
3487
3487
|
"required": false,
|
|
3488
|
-
"allowNo":
|
|
3488
|
+
"allowNo": false,
|
|
3489
3489
|
"type": "boolean"
|
|
3490
3490
|
},
|
|
3491
3491
|
"tenant": {
|
|
@@ -3497,6 +3497,13 @@
|
|
|
3497
3497
|
"multiple": false,
|
|
3498
3498
|
"type": "option"
|
|
3499
3499
|
},
|
|
3500
|
+
"transaction": {
|
|
3501
|
+
"description": "Wrap import in a database transaction (use --no-transaction for debugging purposes)",
|
|
3502
|
+
"name": "transaction",
|
|
3503
|
+
"required": false,
|
|
3504
|
+
"allowNo": true,
|
|
3505
|
+
"type": "boolean"
|
|
3506
|
+
},
|
|
3500
3507
|
"truncate": {
|
|
3501
3508
|
"description": "Truncate all table records before importing",
|
|
3502
3509
|
"name": "truncate",
|
|
@@ -3531,13 +3538,14 @@
|
|
|
3531
3538
|
"index.js"
|
|
3532
3539
|
]
|
|
3533
3540
|
},
|
|
3534
|
-
"unit_test:
|
|
3541
|
+
"unit_test:list": {
|
|
3535
3542
|
"aliases": [],
|
|
3536
3543
|
"args": {},
|
|
3537
|
-
"description": "
|
|
3544
|
+
"description": "List all unit tests in a workspace",
|
|
3538
3545
|
"examples": [
|
|
3539
|
-
"$ xano unit-test
|
|
3540
|
-
"$ xano unit-test
|
|
3546
|
+
"$ 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",
|
|
3547
|
+
"$ xano unit-test list -w 5 --output json",
|
|
3548
|
+
"$ xano unit-test list --obj-type function"
|
|
3541
3549
|
],
|
|
3542
3550
|
"flags": {
|
|
3543
3551
|
"profile": {
|
|
@@ -3607,7 +3615,7 @@
|
|
|
3607
3615
|
},
|
|
3608
3616
|
"hasDynamicHelp": false,
|
|
3609
3617
|
"hiddenAliases": [],
|
|
3610
|
-
"id": "unit_test:
|
|
3618
|
+
"id": "unit_test:list",
|
|
3611
3619
|
"pluginAlias": "@xano/cli",
|
|
3612
3620
|
"pluginName": "@xano/cli",
|
|
3613
3621
|
"pluginType": "core",
|
|
@@ -3618,18 +3626,23 @@
|
|
|
3618
3626
|
"dist",
|
|
3619
3627
|
"commands",
|
|
3620
3628
|
"unit_test",
|
|
3621
|
-
"
|
|
3629
|
+
"list",
|
|
3622
3630
|
"index.js"
|
|
3623
3631
|
]
|
|
3624
3632
|
},
|
|
3625
|
-
"unit_test:
|
|
3633
|
+
"unit_test:run": {
|
|
3626
3634
|
"aliases": [],
|
|
3627
|
-
"args": {
|
|
3628
|
-
|
|
3635
|
+
"args": {
|
|
3636
|
+
"unit_test_id": {
|
|
3637
|
+
"description": "ID of the unit test to run",
|
|
3638
|
+
"name": "unit_test_id",
|
|
3639
|
+
"required": true
|
|
3640
|
+
}
|
|
3641
|
+
},
|
|
3642
|
+
"description": "Run a unit test",
|
|
3629
3643
|
"examples": [
|
|
3630
|
-
"$ xano unit-test
|
|
3631
|
-
"$ xano unit-test
|
|
3632
|
-
"$ xano unit-test list --obj-type function"
|
|
3644
|
+
"$ xano unit-test run abc-123\nRunning unit test abc-123...\nResult: PASS\n",
|
|
3645
|
+
"$ xano unit-test run abc-123 -o json"
|
|
3633
3646
|
],
|
|
3634
3647
|
"flags": {
|
|
3635
3648
|
"profile": {
|
|
@@ -3651,28 +3664,6 @@
|
|
|
3651
3664
|
"allowNo": false,
|
|
3652
3665
|
"type": "boolean"
|
|
3653
3666
|
},
|
|
3654
|
-
"branch": {
|
|
3655
|
-
"char": "b",
|
|
3656
|
-
"description": "Filter by branch name",
|
|
3657
|
-
"name": "branch",
|
|
3658
|
-
"required": false,
|
|
3659
|
-
"hasDynamicHelp": false,
|
|
3660
|
-
"multiple": false,
|
|
3661
|
-
"type": "option"
|
|
3662
|
-
},
|
|
3663
|
-
"obj-type": {
|
|
3664
|
-
"description": "Filter by object type",
|
|
3665
|
-
"name": "obj-type",
|
|
3666
|
-
"required": false,
|
|
3667
|
-
"hasDynamicHelp": false,
|
|
3668
|
-
"multiple": false,
|
|
3669
|
-
"options": [
|
|
3670
|
-
"function",
|
|
3671
|
-
"query",
|
|
3672
|
-
"middleware"
|
|
3673
|
-
],
|
|
3674
|
-
"type": "option"
|
|
3675
|
-
},
|
|
3676
3667
|
"output": {
|
|
3677
3668
|
"char": "o",
|
|
3678
3669
|
"description": "Output format",
|
|
@@ -3699,7 +3690,7 @@
|
|
|
3699
3690
|
},
|
|
3700
3691
|
"hasDynamicHelp": false,
|
|
3701
3692
|
"hiddenAliases": [],
|
|
3702
|
-
"id": "unit_test:
|
|
3693
|
+
"id": "unit_test:run",
|
|
3703
3694
|
"pluginAlias": "@xano/cli",
|
|
3704
3695
|
"pluginName": "@xano/cli",
|
|
3705
3696
|
"pluginType": "core",
|
|
@@ -3710,23 +3701,17 @@
|
|
|
3710
3701
|
"dist",
|
|
3711
3702
|
"commands",
|
|
3712
3703
|
"unit_test",
|
|
3713
|
-
"
|
|
3704
|
+
"run",
|
|
3714
3705
|
"index.js"
|
|
3715
3706
|
]
|
|
3716
3707
|
},
|
|
3717
|
-
"unit_test:
|
|
3708
|
+
"unit_test:run_all": {
|
|
3718
3709
|
"aliases": [],
|
|
3719
|
-
"args": {
|
|
3720
|
-
|
|
3721
|
-
"description": "ID of the unit test to run",
|
|
3722
|
-
"name": "unit_test_id",
|
|
3723
|
-
"required": true
|
|
3724
|
-
}
|
|
3725
|
-
},
|
|
3726
|
-
"description": "Run a unit test",
|
|
3710
|
+
"args": {},
|
|
3711
|
+
"description": "Run all unit tests in a workspace",
|
|
3727
3712
|
"examples": [
|
|
3728
|
-
"$ xano unit-test run
|
|
3729
|
-
"$ xano unit-test run
|
|
3713
|
+
"$ 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",
|
|
3714
|
+
"$ xano unit-test run-all --obj-type function -o json"
|
|
3730
3715
|
],
|
|
3731
3716
|
"flags": {
|
|
3732
3717
|
"profile": {
|
|
@@ -3748,6 +3733,28 @@
|
|
|
3748
3733
|
"allowNo": false,
|
|
3749
3734
|
"type": "boolean"
|
|
3750
3735
|
},
|
|
3736
|
+
"branch": {
|
|
3737
|
+
"char": "b",
|
|
3738
|
+
"description": "Filter by branch name",
|
|
3739
|
+
"name": "branch",
|
|
3740
|
+
"required": false,
|
|
3741
|
+
"hasDynamicHelp": false,
|
|
3742
|
+
"multiple": false,
|
|
3743
|
+
"type": "option"
|
|
3744
|
+
},
|
|
3745
|
+
"obj-type": {
|
|
3746
|
+
"description": "Filter by object type",
|
|
3747
|
+
"name": "obj-type",
|
|
3748
|
+
"required": false,
|
|
3749
|
+
"hasDynamicHelp": false,
|
|
3750
|
+
"multiple": false,
|
|
3751
|
+
"options": [
|
|
3752
|
+
"function",
|
|
3753
|
+
"query",
|
|
3754
|
+
"middleware"
|
|
3755
|
+
],
|
|
3756
|
+
"type": "option"
|
|
3757
|
+
},
|
|
3751
3758
|
"output": {
|
|
3752
3759
|
"char": "o",
|
|
3753
3760
|
"description": "Output format",
|
|
@@ -3774,7 +3781,7 @@
|
|
|
3774
3781
|
},
|
|
3775
3782
|
"hasDynamicHelp": false,
|
|
3776
3783
|
"hiddenAliases": [],
|
|
3777
|
-
"id": "unit_test:
|
|
3784
|
+
"id": "unit_test:run_all",
|
|
3778
3785
|
"pluginAlias": "@xano/cli",
|
|
3779
3786
|
"pluginName": "@xano/cli",
|
|
3780
3787
|
"pluginType": "core",
|
|
@@ -3785,24 +3792,24 @@
|
|
|
3785
3792
|
"dist",
|
|
3786
3793
|
"commands",
|
|
3787
3794
|
"unit_test",
|
|
3788
|
-
"
|
|
3795
|
+
"run_all",
|
|
3789
3796
|
"index.js"
|
|
3790
3797
|
]
|
|
3791
3798
|
},
|
|
3792
|
-
"
|
|
3799
|
+
"workspace:create": {
|
|
3793
3800
|
"aliases": [],
|
|
3794
3801
|
"args": {
|
|
3795
|
-
"
|
|
3796
|
-
"description": "
|
|
3797
|
-
"name": "
|
|
3802
|
+
"name": {
|
|
3803
|
+
"description": "Name of the workspace",
|
|
3804
|
+
"name": "name",
|
|
3798
3805
|
"required": true
|
|
3799
3806
|
}
|
|
3800
3807
|
},
|
|
3801
|
-
"description": "
|
|
3808
|
+
"description": "Create a new workspace via the Xano Metadata API",
|
|
3802
3809
|
"examples": [
|
|
3803
|
-
"$ xano
|
|
3804
|
-
"$ xano
|
|
3805
|
-
"$ xano
|
|
3810
|
+
"$ xano workspace create my-workspace\nCreated workspace: my-workspace (ID: 123)\n",
|
|
3811
|
+
"$ xano workspace create my-app --description \"My application workspace\"\nCreated workspace: my-app (ID: 456)\n Description: My application workspace\n",
|
|
3812
|
+
"$ 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"
|
|
3806
3813
|
],
|
|
3807
3814
|
"flags": {
|
|
3808
3815
|
"profile": {
|
|
@@ -3824,12 +3831,14 @@
|
|
|
3824
3831
|
"allowNo": false,
|
|
3825
3832
|
"type": "boolean"
|
|
3826
3833
|
},
|
|
3827
|
-
"
|
|
3828
|
-
"
|
|
3829
|
-
"
|
|
3834
|
+
"description": {
|
|
3835
|
+
"char": "d",
|
|
3836
|
+
"description": "Description for the workspace",
|
|
3837
|
+
"name": "description",
|
|
3830
3838
|
"required": false,
|
|
3831
|
-
"
|
|
3832
|
-
"
|
|
3839
|
+
"hasDynamicHelp": false,
|
|
3840
|
+
"multiple": false,
|
|
3841
|
+
"type": "option"
|
|
3833
3842
|
},
|
|
3834
3843
|
"output": {
|
|
3835
3844
|
"char": "o",
|
|
@@ -3841,24 +3850,14 @@
|
|
|
3841
3850
|
"multiple": false,
|
|
3842
3851
|
"options": [
|
|
3843
3852
|
"summary",
|
|
3844
|
-
"json"
|
|
3845
|
-
"xs"
|
|
3853
|
+
"json"
|
|
3846
3854
|
],
|
|
3847
3855
|
"type": "option"
|
|
3848
|
-
},
|
|
3849
|
-
"workspace": {
|
|
3850
|
-
"char": "w",
|
|
3851
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
3852
|
-
"name": "workspace",
|
|
3853
|
-
"required": false,
|
|
3854
|
-
"hasDynamicHelp": false,
|
|
3855
|
-
"multiple": false,
|
|
3856
|
-
"type": "option"
|
|
3857
3856
|
}
|
|
3858
3857
|
},
|
|
3859
3858
|
"hasDynamicHelp": false,
|
|
3860
3859
|
"hiddenAliases": [],
|
|
3861
|
-
"id": "
|
|
3860
|
+
"id": "workspace:create",
|
|
3862
3861
|
"pluginAlias": "@xano/cli",
|
|
3863
3862
|
"pluginName": "@xano/cli",
|
|
3864
3863
|
"pluginType": "core",
|
|
@@ -3868,20 +3867,26 @@
|
|
|
3868
3867
|
"relativePath": [
|
|
3869
3868
|
"dist",
|
|
3870
3869
|
"commands",
|
|
3871
|
-
"
|
|
3872
|
-
"
|
|
3870
|
+
"workspace",
|
|
3871
|
+
"create",
|
|
3873
3872
|
"index.js"
|
|
3874
3873
|
]
|
|
3875
3874
|
},
|
|
3876
|
-
"
|
|
3875
|
+
"workspace:delete": {
|
|
3877
3876
|
"aliases": [],
|
|
3878
|
-
"args": {
|
|
3879
|
-
|
|
3877
|
+
"args": {
|
|
3878
|
+
"workspace_id": {
|
|
3879
|
+
"description": "Workspace ID to delete",
|
|
3880
|
+
"name": "workspace_id",
|
|
3881
|
+
"required": true
|
|
3882
|
+
}
|
|
3883
|
+
},
|
|
3884
|
+
"description": "Delete a workspace via the Xano Metadata API. Cannot delete workspaces with active tenants.",
|
|
3880
3885
|
"examples": [
|
|
3881
|
-
"$ xano
|
|
3882
|
-
"$ xano
|
|
3883
|
-
"$ xano
|
|
3884
|
-
],
|
|
3886
|
+
"$ xano workspace delete 123\nAre you sure you want to delete workspace 123? This action cannot be undone. (y/N) y\nDeleted workspace 123\n",
|
|
3887
|
+
"$ xano workspace delete 123 --force\nDeleted workspace 123\n",
|
|
3888
|
+
"$ xano workspace delete 123 -f -o json\n{\n \"deleted\": true,\n \"workspace_id\": 123\n}\n"
|
|
3889
|
+
],
|
|
3885
3890
|
"flags": {
|
|
3886
3891
|
"profile": {
|
|
3887
3892
|
"char": "p",
|
|
@@ -3902,14 +3907,13 @@
|
|
|
3902
3907
|
"allowNo": false,
|
|
3903
3908
|
"type": "boolean"
|
|
3904
3909
|
},
|
|
3905
|
-
"
|
|
3906
|
-
"char": "
|
|
3907
|
-
"description": "
|
|
3908
|
-
"name": "
|
|
3910
|
+
"force": {
|
|
3911
|
+
"char": "f",
|
|
3912
|
+
"description": "Skip confirmation prompt",
|
|
3913
|
+
"name": "force",
|
|
3909
3914
|
"required": false,
|
|
3910
|
-
"
|
|
3911
|
-
"
|
|
3912
|
-
"type": "option"
|
|
3915
|
+
"allowNo": false,
|
|
3916
|
+
"type": "boolean"
|
|
3913
3917
|
},
|
|
3914
3918
|
"output": {
|
|
3915
3919
|
"char": "o",
|
|
@@ -3924,20 +3928,11 @@
|
|
|
3924
3928
|
"json"
|
|
3925
3929
|
],
|
|
3926
3930
|
"type": "option"
|
|
3927
|
-
},
|
|
3928
|
-
"workspace": {
|
|
3929
|
-
"char": "w",
|
|
3930
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
3931
|
-
"name": "workspace",
|
|
3932
|
-
"required": false,
|
|
3933
|
-
"hasDynamicHelp": false,
|
|
3934
|
-
"multiple": false,
|
|
3935
|
-
"type": "option"
|
|
3936
3931
|
}
|
|
3937
3932
|
},
|
|
3938
3933
|
"hasDynamicHelp": false,
|
|
3939
3934
|
"hiddenAliases": [],
|
|
3940
|
-
"id": "
|
|
3935
|
+
"id": "workspace:delete",
|
|
3941
3936
|
"pluginAlias": "@xano/cli",
|
|
3942
3937
|
"pluginName": "@xano/cli",
|
|
3943
3938
|
"pluginType": "core",
|
|
@@ -3947,24 +3942,26 @@
|
|
|
3947
3942
|
"relativePath": [
|
|
3948
3943
|
"dist",
|
|
3949
3944
|
"commands",
|
|
3950
|
-
"
|
|
3951
|
-
"
|
|
3945
|
+
"workspace",
|
|
3946
|
+
"delete",
|
|
3952
3947
|
"index.js"
|
|
3953
3948
|
]
|
|
3954
3949
|
},
|
|
3955
|
-
"
|
|
3950
|
+
"workspace:edit": {
|
|
3956
3951
|
"aliases": [],
|
|
3957
3952
|
"args": {
|
|
3958
|
-
"
|
|
3959
|
-
"description": "ID
|
|
3960
|
-
"name": "
|
|
3961
|
-
"required":
|
|
3953
|
+
"workspace_id": {
|
|
3954
|
+
"description": "Workspace ID to edit (uses profile workspace if not provided)",
|
|
3955
|
+
"name": "workspace_id",
|
|
3956
|
+
"required": false
|
|
3962
3957
|
}
|
|
3963
3958
|
},
|
|
3964
|
-
"description": "
|
|
3959
|
+
"description": "Edit an existing workspace via the Xano Metadata API",
|
|
3965
3960
|
"examples": [
|
|
3966
|
-
"$ xano
|
|
3967
|
-
"$ xano
|
|
3961
|
+
"$ xano workspace edit 123 --name \"new-name\"\nUpdated workspace: new-name (ID: 123)\n",
|
|
3962
|
+
"$ xano workspace edit --name \"updated-workspace\" --description \"Updated description\"\nUpdated workspace: updated-workspace (ID: 123)\n Description: Updated description\n",
|
|
3963
|
+
"$ xano workspace edit 123 --swagger --require-token\nUpdated workspace: my-workspace (ID: 123)\n Swagger: enabled\n Require Token: true\n",
|
|
3964
|
+
"$ xano workspace edit 123 --no-swagger -o json\n{\n \"id\": 123,\n \"name\": \"my-workspace\",\n \"swagger\": false\n}\n"
|
|
3968
3965
|
],
|
|
3969
3966
|
"flags": {
|
|
3970
3967
|
"profile": {
|
|
@@ -3986,13 +3983,23 @@
|
|
|
3986
3983
|
"allowNo": false,
|
|
3987
3984
|
"type": "boolean"
|
|
3988
3985
|
},
|
|
3989
|
-
"
|
|
3990
|
-
"char": "
|
|
3991
|
-
"description": "
|
|
3992
|
-
"name": "
|
|
3986
|
+
"description": {
|
|
3987
|
+
"char": "d",
|
|
3988
|
+
"description": "New description for the workspace",
|
|
3989
|
+
"name": "description",
|
|
3993
3990
|
"required": false,
|
|
3994
|
-
"
|
|
3995
|
-
"
|
|
3991
|
+
"hasDynamicHelp": false,
|
|
3992
|
+
"multiple": false,
|
|
3993
|
+
"type": "option"
|
|
3994
|
+
},
|
|
3995
|
+
"name": {
|
|
3996
|
+
"char": "n",
|
|
3997
|
+
"description": "New name for the workspace",
|
|
3998
|
+
"name": "name",
|
|
3999
|
+
"required": false,
|
|
4000
|
+
"hasDynamicHelp": false,
|
|
4001
|
+
"multiple": false,
|
|
4002
|
+
"type": "option"
|
|
3996
4003
|
},
|
|
3997
4004
|
"output": {
|
|
3998
4005
|
"char": "o",
|
|
@@ -4008,19 +4015,24 @@
|
|
|
4008
4015
|
],
|
|
4009
4016
|
"type": "option"
|
|
4010
4017
|
},
|
|
4011
|
-
"
|
|
4012
|
-
"
|
|
4013
|
-
"
|
|
4014
|
-
"name": "workspace",
|
|
4018
|
+
"require-token": {
|
|
4019
|
+
"description": "Whether to require a token for documentation access",
|
|
4020
|
+
"name": "require-token",
|
|
4015
4021
|
"required": false,
|
|
4016
|
-
"
|
|
4017
|
-
"
|
|
4018
|
-
|
|
4022
|
+
"allowNo": true,
|
|
4023
|
+
"type": "boolean"
|
|
4024
|
+
},
|
|
4025
|
+
"swagger": {
|
|
4026
|
+
"description": "Enable or disable swagger documentation",
|
|
4027
|
+
"name": "swagger",
|
|
4028
|
+
"required": false,
|
|
4029
|
+
"allowNo": true,
|
|
4030
|
+
"type": "boolean"
|
|
4019
4031
|
}
|
|
4020
4032
|
},
|
|
4021
4033
|
"hasDynamicHelp": false,
|
|
4022
4034
|
"hiddenAliases": [],
|
|
4023
|
-
"id": "
|
|
4035
|
+
"id": "workspace:edit",
|
|
4024
4036
|
"pluginAlias": "@xano/cli",
|
|
4025
4037
|
"pluginName": "@xano/cli",
|
|
4026
4038
|
"pluginType": "core",
|
|
@@ -4030,18 +4042,25 @@
|
|
|
4030
4042
|
"relativePath": [
|
|
4031
4043
|
"dist",
|
|
4032
4044
|
"commands",
|
|
4033
|
-
"
|
|
4034
|
-
"
|
|
4045
|
+
"workspace",
|
|
4046
|
+
"edit",
|
|
4035
4047
|
"index.js"
|
|
4036
4048
|
]
|
|
4037
4049
|
},
|
|
4038
|
-
"
|
|
4050
|
+
"workspace:get": {
|
|
4039
4051
|
"aliases": [],
|
|
4040
|
-
"args": {
|
|
4041
|
-
|
|
4052
|
+
"args": {
|
|
4053
|
+
"workspace_id": {
|
|
4054
|
+
"description": "Workspace ID to get details for (uses profile workspace if not provided)",
|
|
4055
|
+
"name": "workspace_id",
|
|
4056
|
+
"required": false
|
|
4057
|
+
}
|
|
4058
|
+
},
|
|
4059
|
+
"description": "Get details of a specific workspace from the Xano Metadata API",
|
|
4042
4060
|
"examples": [
|
|
4043
|
-
"$ xano
|
|
4044
|
-
"$ xano
|
|
4061
|
+
"$ xano workspace get 123\nWorkspace: my-workspace (ID: 123)\n Description: My workspace description\n Created: 2024-01-15\n",
|
|
4062
|
+
"$ xano workspace get --output json\n{\n \"id\": 123,\n \"name\": \"my-workspace\",\n \"description\": \"My workspace description\"\n}\n",
|
|
4063
|
+
"$ xano workspace get 456 -p production -o json\n{\n \"id\": 456,\n \"name\": \"production-workspace\"\n}\n"
|
|
4045
4064
|
],
|
|
4046
4065
|
"flags": {
|
|
4047
4066
|
"profile": {
|
|
@@ -4063,15 +4082,6 @@
|
|
|
4063
4082
|
"allowNo": false,
|
|
4064
4083
|
"type": "boolean"
|
|
4065
4084
|
},
|
|
4066
|
-
"branch": {
|
|
4067
|
-
"char": "b",
|
|
4068
|
-
"description": "Filter by branch name",
|
|
4069
|
-
"name": "branch",
|
|
4070
|
-
"required": false,
|
|
4071
|
-
"hasDynamicHelp": false,
|
|
4072
|
-
"multiple": false,
|
|
4073
|
-
"type": "option"
|
|
4074
|
-
},
|
|
4075
4085
|
"output": {
|
|
4076
4086
|
"char": "o",
|
|
4077
4087
|
"description": "Output format",
|
|
@@ -4085,20 +4095,11 @@
|
|
|
4085
4095
|
"json"
|
|
4086
4096
|
],
|
|
4087
4097
|
"type": "option"
|
|
4088
|
-
},
|
|
4089
|
-
"workspace": {
|
|
4090
|
-
"char": "w",
|
|
4091
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
4092
|
-
"name": "workspace",
|
|
4093
|
-
"required": false,
|
|
4094
|
-
"hasDynamicHelp": false,
|
|
4095
|
-
"multiple": false,
|
|
4096
|
-
"type": "option"
|
|
4097
4098
|
}
|
|
4098
4099
|
},
|
|
4099
4100
|
"hasDynamicHelp": false,
|
|
4100
4101
|
"hiddenAliases": [],
|
|
4101
|
-
"id": "
|
|
4102
|
+
"id": "workspace:get",
|
|
4102
4103
|
"pluginAlias": "@xano/cli",
|
|
4103
4104
|
"pluginName": "@xano/cli",
|
|
4104
4105
|
"pluginType": "core",
|
|
@@ -4108,25 +4109,20 @@
|
|
|
4108
4109
|
"relativePath": [
|
|
4109
4110
|
"dist",
|
|
4110
4111
|
"commands",
|
|
4111
|
-
"
|
|
4112
|
-
"
|
|
4112
|
+
"workspace",
|
|
4113
|
+
"get",
|
|
4113
4114
|
"index.js"
|
|
4114
4115
|
]
|
|
4115
4116
|
},
|
|
4116
|
-
"workspace:
|
|
4117
|
+
"workspace:list": {
|
|
4117
4118
|
"aliases": [],
|
|
4118
|
-
"args": {
|
|
4119
|
-
|
|
4120
|
-
"description": "Name of the workspace",
|
|
4121
|
-
"name": "name",
|
|
4122
|
-
"required": true
|
|
4123
|
-
}
|
|
4124
|
-
},
|
|
4125
|
-
"description": "Create a new workspace via the Xano Metadata API",
|
|
4119
|
+
"args": {},
|
|
4120
|
+
"description": "List all workspaces from the Xano Metadata API",
|
|
4126
4121
|
"examples": [
|
|
4127
|
-
"$ xano workspace
|
|
4128
|
-
"$ xano workspace
|
|
4129
|
-
"$ xano workspace
|
|
4122
|
+
"$ xano workspace:list\nAvailable workspaces:\n - workspace-1 (ID: 1)\n - workspace-2 (ID: 2)\n - workspace-3 (ID: 3)\n",
|
|
4123
|
+
"$ xano workspace:list --profile production\nAvailable workspaces:\n - my-app (ID: 1)\n - staging-env (ID: 2)\n",
|
|
4124
|
+
"$ 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",
|
|
4125
|
+
"$ xano workspace:list -p staging -o json\n{\n \"workspaces\": [\n {\n \"id\": 1,\n \"name\": \"my-app\"\n }\n ]\n}\n"
|
|
4130
4126
|
],
|
|
4131
4127
|
"flags": {
|
|
4132
4128
|
"profile": {
|
|
@@ -4148,15 +4144,6 @@
|
|
|
4148
4144
|
"allowNo": false,
|
|
4149
4145
|
"type": "boolean"
|
|
4150
4146
|
},
|
|
4151
|
-
"description": {
|
|
4152
|
-
"char": "d",
|
|
4153
|
-
"description": "Description for the workspace",
|
|
4154
|
-
"name": "description",
|
|
4155
|
-
"required": false,
|
|
4156
|
-
"hasDynamicHelp": false,
|
|
4157
|
-
"multiple": false,
|
|
4158
|
-
"type": "option"
|
|
4159
|
-
},
|
|
4160
4147
|
"output": {
|
|
4161
4148
|
"char": "o",
|
|
4162
4149
|
"description": "Output format",
|
|
@@ -4174,7 +4161,7 @@
|
|
|
4174
4161
|
},
|
|
4175
4162
|
"hasDynamicHelp": false,
|
|
4176
4163
|
"hiddenAliases": [],
|
|
4177
|
-
"id": "workspace:
|
|
4164
|
+
"id": "workspace:list",
|
|
4178
4165
|
"pluginAlias": "@xano/cli",
|
|
4179
4166
|
"pluginName": "@xano/cli",
|
|
4180
4167
|
"pluginType": "core",
|
|
@@ -4185,24 +4172,26 @@
|
|
|
4185
4172
|
"dist",
|
|
4186
4173
|
"commands",
|
|
4187
4174
|
"workspace",
|
|
4188
|
-
"
|
|
4175
|
+
"list",
|
|
4189
4176
|
"index.js"
|
|
4190
4177
|
]
|
|
4191
4178
|
},
|
|
4192
|
-
"workspace:
|
|
4179
|
+
"workspace:pull": {
|
|
4193
4180
|
"aliases": [],
|
|
4194
4181
|
"args": {
|
|
4195
|
-
"
|
|
4196
|
-
"description": "
|
|
4197
|
-
"name": "
|
|
4182
|
+
"directory": {
|
|
4183
|
+
"description": "Output directory for pulled documents",
|
|
4184
|
+
"name": "directory",
|
|
4198
4185
|
"required": true
|
|
4199
4186
|
}
|
|
4200
4187
|
},
|
|
4201
|
-
"description": "
|
|
4188
|
+
"description": "Pull a workspace multidoc from the Xano Metadata API and split into individual files",
|
|
4202
4189
|
"examples": [
|
|
4203
|
-
"$ xano workspace
|
|
4204
|
-
"$ xano workspace
|
|
4205
|
-
"$ xano workspace
|
|
4190
|
+
"$ xano workspace pull ./my-workspace\nPulled 42 documents to ./my-workspace\n",
|
|
4191
|
+
"$ xano workspace pull ./output -w 40\nPulled 15 documents to ./output\n",
|
|
4192
|
+
"$ xano workspace pull ./backup --profile production --env --records\nPulled 58 documents to ./backup\n",
|
|
4193
|
+
"$ xano workspace pull ./my-workspace --draft\nPulled 42 documents to ./my-workspace\n",
|
|
4194
|
+
"$ xano workspace pull ./my-workspace -b dev\nPulled 42 documents to ./my-workspace\n"
|
|
4206
4195
|
],
|
|
4207
4196
|
"flags": {
|
|
4208
4197
|
"profile": {
|
|
@@ -4224,32 +4213,49 @@
|
|
|
4224
4213
|
"allowNo": false,
|
|
4225
4214
|
"type": "boolean"
|
|
4226
4215
|
},
|
|
4227
|
-
"
|
|
4228
|
-
"char": "
|
|
4229
|
-
"description": "
|
|
4230
|
-
"name": "
|
|
4216
|
+
"branch": {
|
|
4217
|
+
"char": "b",
|
|
4218
|
+
"description": "Branch name (optional if set in profile, defaults to live)",
|
|
4219
|
+
"name": "branch",
|
|
4220
|
+
"required": false,
|
|
4221
|
+
"hasDynamicHelp": false,
|
|
4222
|
+
"multiple": false,
|
|
4223
|
+
"type": "option"
|
|
4224
|
+
},
|
|
4225
|
+
"env": {
|
|
4226
|
+
"description": "Include environment variables",
|
|
4227
|
+
"name": "env",
|
|
4231
4228
|
"required": false,
|
|
4232
4229
|
"allowNo": false,
|
|
4233
4230
|
"type": "boolean"
|
|
4234
4231
|
},
|
|
4235
|
-
"
|
|
4236
|
-
"
|
|
4237
|
-
"
|
|
4238
|
-
"
|
|
4232
|
+
"draft": {
|
|
4233
|
+
"description": "Include draft versions",
|
|
4234
|
+
"name": "draft",
|
|
4235
|
+
"required": false,
|
|
4236
|
+
"allowNo": false,
|
|
4237
|
+
"type": "boolean"
|
|
4238
|
+
},
|
|
4239
|
+
"records": {
|
|
4240
|
+
"description": "Include records",
|
|
4241
|
+
"name": "records",
|
|
4242
|
+
"required": false,
|
|
4243
|
+
"allowNo": false,
|
|
4244
|
+
"type": "boolean"
|
|
4245
|
+
},
|
|
4246
|
+
"workspace": {
|
|
4247
|
+
"char": "w",
|
|
4248
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
4249
|
+
"name": "workspace",
|
|
4239
4250
|
"required": false,
|
|
4240
|
-
"default": "summary",
|
|
4241
4251
|
"hasDynamicHelp": false,
|
|
4242
4252
|
"multiple": false,
|
|
4243
|
-
"options": [
|
|
4244
|
-
"summary",
|
|
4245
|
-
"json"
|
|
4246
|
-
],
|
|
4247
4253
|
"type": "option"
|
|
4248
4254
|
}
|
|
4249
4255
|
},
|
|
4250
4256
|
"hasDynamicHelp": false,
|
|
4251
4257
|
"hiddenAliases": [],
|
|
4252
|
-
"id": "workspace:
|
|
4258
|
+
"id": "workspace:pull",
|
|
4253
4259
|
"pluginAlias": "@xano/cli",
|
|
4254
4260
|
"pluginName": "@xano/cli",
|
|
4255
4261
|
"pluginType": "core",
|
|
@@ -4260,30 +4266,36 @@
|
|
|
4260
4266
|
"dist",
|
|
4261
4267
|
"commands",
|
|
4262
4268
|
"workspace",
|
|
4263
|
-
"
|
|
4269
|
+
"pull",
|
|
4264
4270
|
"index.js"
|
|
4265
4271
|
]
|
|
4266
4272
|
},
|
|
4267
|
-
"workspace:
|
|
4273
|
+
"workspace:push": {
|
|
4268
4274
|
"aliases": [],
|
|
4269
4275
|
"args": {
|
|
4270
|
-
"
|
|
4271
|
-
"description": "
|
|
4272
|
-
"name": "
|
|
4273
|
-
"required":
|
|
4276
|
+
"directory": {
|
|
4277
|
+
"description": "Directory containing documents to push (as produced by workspace pull)",
|
|
4278
|
+
"name": "directory",
|
|
4279
|
+
"required": true
|
|
4274
4280
|
}
|
|
4275
4281
|
},
|
|
4276
|
-
"description": "
|
|
4282
|
+
"description": "Push local documents to a workspace. Shows a preview of changes before pushing unless --yes is specified.",
|
|
4277
4283
|
"examples": [
|
|
4278
|
-
"$ xano workspace
|
|
4279
|
-
"$ xano workspace
|
|
4280
|
-
"$ xano workspace
|
|
4281
|
-
"$ xano workspace
|
|
4282
|
-
|
|
4283
|
-
|
|
4284
|
-
"
|
|
4285
|
-
|
|
4286
|
-
|
|
4284
|
+
"$ xano workspace push ./my-workspace\nShows preview of changes, requires confirmation\n",
|
|
4285
|
+
"$ xano workspace push ./my-workspace --force\nSkip preview and push immediately (for CI/CD)\n",
|
|
4286
|
+
"$ xano workspace push ./my-workspace --delete\nShows preview including deletions, requires confirmation\n",
|
|
4287
|
+
"$ xano workspace push ./output -w 40\nPushed 15 documents from ./output\n",
|
|
4288
|
+
"$ xano workspace push ./backup --profile production\nPushed 58 documents from ./backup\n",
|
|
4289
|
+
"$ xano workspace push ./my-workspace -b dev\nPushed 42 documents from ./my-workspace\n",
|
|
4290
|
+
"$ xano workspace push ./my-functions --partial\nPush some files without a workspace block (implies --no-delete)\n",
|
|
4291
|
+
"$ xano workspace push ./my-workspace --no-records\nPush schema only, skip importing table records\n",
|
|
4292
|
+
"$ xano workspace push ./my-workspace --no-env\nPush without overwriting environment variables\n",
|
|
4293
|
+
"$ xano workspace push ./my-workspace --truncate\nTruncate all table records before importing\n"
|
|
4294
|
+
],
|
|
4295
|
+
"flags": {
|
|
4296
|
+
"profile": {
|
|
4297
|
+
"char": "p",
|
|
4298
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
4287
4299
|
"env": "XANO_PROFILE",
|
|
4288
4300
|
"name": "profile",
|
|
4289
4301
|
"required": false,
|
|
@@ -4300,56 +4312,84 @@
|
|
|
4300
4312
|
"allowNo": false,
|
|
4301
4313
|
"type": "boolean"
|
|
4302
4314
|
},
|
|
4303
|
-
"
|
|
4304
|
-
"char": "
|
|
4305
|
-
"description": "
|
|
4306
|
-
"name": "
|
|
4315
|
+
"branch": {
|
|
4316
|
+
"char": "b",
|
|
4317
|
+
"description": "Branch name (optional if set in profile, defaults to live)",
|
|
4318
|
+
"name": "branch",
|
|
4307
4319
|
"required": false,
|
|
4308
4320
|
"hasDynamicHelp": false,
|
|
4309
4321
|
"multiple": false,
|
|
4310
4322
|
"type": "option"
|
|
4311
4323
|
},
|
|
4312
|
-
"
|
|
4313
|
-
"
|
|
4314
|
-
"
|
|
4315
|
-
"name": "name",
|
|
4324
|
+
"delete": {
|
|
4325
|
+
"description": "Delete workspace objects not included in the push",
|
|
4326
|
+
"name": "delete",
|
|
4316
4327
|
"required": false,
|
|
4317
|
-
"
|
|
4318
|
-
"
|
|
4319
|
-
"type": "option"
|
|
4328
|
+
"allowNo": false,
|
|
4329
|
+
"type": "boolean"
|
|
4320
4330
|
},
|
|
4321
|
-
"
|
|
4322
|
-
"
|
|
4323
|
-
"
|
|
4324
|
-
"name": "output",
|
|
4331
|
+
"env": {
|
|
4332
|
+
"description": "Include environment variables in import",
|
|
4333
|
+
"name": "env",
|
|
4325
4334
|
"required": false,
|
|
4326
|
-
"
|
|
4327
|
-
"
|
|
4328
|
-
"multiple": false,
|
|
4329
|
-
"options": [
|
|
4330
|
-
"summary",
|
|
4331
|
-
"json"
|
|
4332
|
-
],
|
|
4333
|
-
"type": "option"
|
|
4335
|
+
"allowNo": false,
|
|
4336
|
+
"type": "boolean"
|
|
4334
4337
|
},
|
|
4335
|
-
"
|
|
4336
|
-
"description": "
|
|
4337
|
-
"name": "
|
|
4338
|
+
"partial": {
|
|
4339
|
+
"description": "Partial push — workspace block is not required, existing objects are kept (implies --no-delete)",
|
|
4340
|
+
"name": "partial",
|
|
4341
|
+
"required": false,
|
|
4342
|
+
"allowNo": false,
|
|
4343
|
+
"type": "boolean"
|
|
4344
|
+
},
|
|
4345
|
+
"records": {
|
|
4346
|
+
"description": "Include records in import",
|
|
4347
|
+
"name": "records",
|
|
4348
|
+
"required": false,
|
|
4349
|
+
"allowNo": false,
|
|
4350
|
+
"type": "boolean"
|
|
4351
|
+
},
|
|
4352
|
+
"sync-guids": {
|
|
4353
|
+
"description": "Write server-assigned GUIDs back to local files (use --no-sync-guids to skip)",
|
|
4354
|
+
"name": "sync-guids",
|
|
4338
4355
|
"required": false,
|
|
4339
4356
|
"allowNo": true,
|
|
4340
4357
|
"type": "boolean"
|
|
4341
4358
|
},
|
|
4342
|
-
"
|
|
4343
|
-
"description": "
|
|
4344
|
-
"name": "
|
|
4359
|
+
"transaction": {
|
|
4360
|
+
"description": "Wrap import in a database transaction (use --no-transaction for debugging purposes)",
|
|
4361
|
+
"name": "transaction",
|
|
4345
4362
|
"required": false,
|
|
4346
4363
|
"allowNo": true,
|
|
4347
4364
|
"type": "boolean"
|
|
4365
|
+
},
|
|
4366
|
+
"truncate": {
|
|
4367
|
+
"description": "Truncate all table records before importing",
|
|
4368
|
+
"name": "truncate",
|
|
4369
|
+
"required": false,
|
|
4370
|
+
"allowNo": false,
|
|
4371
|
+
"type": "boolean"
|
|
4372
|
+
},
|
|
4373
|
+
"workspace": {
|
|
4374
|
+
"char": "w",
|
|
4375
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
4376
|
+
"name": "workspace",
|
|
4377
|
+
"required": false,
|
|
4378
|
+
"hasDynamicHelp": false,
|
|
4379
|
+
"multiple": false,
|
|
4380
|
+
"type": "option"
|
|
4381
|
+
},
|
|
4382
|
+
"force": {
|
|
4383
|
+
"description": "Skip preview and confirmation prompt (for CI/CD pipelines)",
|
|
4384
|
+
"name": "force",
|
|
4385
|
+
"required": false,
|
|
4386
|
+
"allowNo": false,
|
|
4387
|
+
"type": "boolean"
|
|
4348
4388
|
}
|
|
4349
4389
|
},
|
|
4350
4390
|
"hasDynamicHelp": false,
|
|
4351
4391
|
"hiddenAliases": [],
|
|
4352
|
-
"id": "workspace:
|
|
4392
|
+
"id": "workspace:push",
|
|
4353
4393
|
"pluginAlias": "@xano/cli",
|
|
4354
4394
|
"pluginName": "@xano/cli",
|
|
4355
4395
|
"pluginType": "core",
|
|
@@ -4360,24 +4400,23 @@
|
|
|
4360
4400
|
"dist",
|
|
4361
4401
|
"commands",
|
|
4362
4402
|
"workspace",
|
|
4363
|
-
"
|
|
4403
|
+
"push",
|
|
4364
4404
|
"index.js"
|
|
4365
4405
|
]
|
|
4366
4406
|
},
|
|
4367
|
-
"
|
|
4407
|
+
"workflow_test:delete": {
|
|
4368
4408
|
"aliases": [],
|
|
4369
4409
|
"args": {
|
|
4370
|
-
"
|
|
4371
|
-
"description": "
|
|
4372
|
-
"name": "
|
|
4373
|
-
"required":
|
|
4410
|
+
"workflow_test_id": {
|
|
4411
|
+
"description": "ID of the workflow test to delete",
|
|
4412
|
+
"name": "workflow_test_id",
|
|
4413
|
+
"required": true
|
|
4374
4414
|
}
|
|
4375
4415
|
},
|
|
4376
|
-
"description": "
|
|
4416
|
+
"description": "Delete a workflow test",
|
|
4377
4417
|
"examples": [
|
|
4378
|
-
"$ xano
|
|
4379
|
-
"$ xano
|
|
4380
|
-
"$ xano workspace get 456 -p production -o json\n{\n \"id\": 456,\n \"name\": \"production-workspace\"\n}\n"
|
|
4418
|
+
"$ xano workflow-test delete 1\nAre you sure you want to delete workflow test 1? (y/N) y\nDeleted workflow test 1\n",
|
|
4419
|
+
"$ xano workflow-test delete 1 --force"
|
|
4381
4420
|
],
|
|
4382
4421
|
"flags": {
|
|
4383
4422
|
"profile": {
|
|
@@ -4399,6 +4438,14 @@
|
|
|
4399
4438
|
"allowNo": false,
|
|
4400
4439
|
"type": "boolean"
|
|
4401
4440
|
},
|
|
4441
|
+
"force": {
|
|
4442
|
+
"char": "f",
|
|
4443
|
+
"description": "Skip confirmation prompt",
|
|
4444
|
+
"name": "force",
|
|
4445
|
+
"required": false,
|
|
4446
|
+
"allowNo": false,
|
|
4447
|
+
"type": "boolean"
|
|
4448
|
+
},
|
|
4402
4449
|
"output": {
|
|
4403
4450
|
"char": "o",
|
|
4404
4451
|
"description": "Output format",
|
|
@@ -4412,11 +4459,20 @@
|
|
|
4412
4459
|
"json"
|
|
4413
4460
|
],
|
|
4414
4461
|
"type": "option"
|
|
4462
|
+
},
|
|
4463
|
+
"workspace": {
|
|
4464
|
+
"char": "w",
|
|
4465
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
4466
|
+
"name": "workspace",
|
|
4467
|
+
"required": false,
|
|
4468
|
+
"hasDynamicHelp": false,
|
|
4469
|
+
"multiple": false,
|
|
4470
|
+
"type": "option"
|
|
4415
4471
|
}
|
|
4416
4472
|
},
|
|
4417
4473
|
"hasDynamicHelp": false,
|
|
4418
4474
|
"hiddenAliases": [],
|
|
4419
|
-
"id": "
|
|
4475
|
+
"id": "workflow_test:delete",
|
|
4420
4476
|
"pluginAlias": "@xano/cli",
|
|
4421
4477
|
"pluginName": "@xano/cli",
|
|
4422
4478
|
"pluginType": "core",
|
|
@@ -4426,20 +4482,25 @@
|
|
|
4426
4482
|
"relativePath": [
|
|
4427
4483
|
"dist",
|
|
4428
4484
|
"commands",
|
|
4429
|
-
"
|
|
4430
|
-
"
|
|
4485
|
+
"workflow_test",
|
|
4486
|
+
"delete",
|
|
4431
4487
|
"index.js"
|
|
4432
4488
|
]
|
|
4433
4489
|
},
|
|
4434
|
-
"
|
|
4490
|
+
"workflow_test:get": {
|
|
4435
4491
|
"aliases": [],
|
|
4436
|
-
"args": {
|
|
4437
|
-
|
|
4492
|
+
"args": {
|
|
4493
|
+
"workflow_test_id": {
|
|
4494
|
+
"description": "ID of the workflow test",
|
|
4495
|
+
"name": "workflow_test_id",
|
|
4496
|
+
"required": true
|
|
4497
|
+
}
|
|
4498
|
+
},
|
|
4499
|
+
"description": "Get a specific workflow test",
|
|
4438
4500
|
"examples": [
|
|
4439
|
-
"$ xano
|
|
4440
|
-
"$ xano
|
|
4441
|
-
"$ xano
|
|
4442
|
-
"$ xano workspace:list -p staging -o json\n{\n \"workspaces\": [\n {\n \"id\": 1,\n \"name\": \"my-app\"\n }\n ]\n}\n"
|
|
4501
|
+
"$ xano workflow-test get 1\nWorkflow Test: my-test (ID: 1)\n Description: Validates auth endpoints\n Branch: main\n",
|
|
4502
|
+
"$ xano workflow-test get 1 -o xs",
|
|
4503
|
+
"$ xano workflow-test get 1 -o json"
|
|
4443
4504
|
],
|
|
4444
4505
|
"flags": {
|
|
4445
4506
|
"profile": {
|
|
@@ -4461,6 +4522,13 @@
|
|
|
4461
4522
|
"allowNo": false,
|
|
4462
4523
|
"type": "boolean"
|
|
4463
4524
|
},
|
|
4525
|
+
"include-draft": {
|
|
4526
|
+
"description": "Include draft version",
|
|
4527
|
+
"name": "include-draft",
|
|
4528
|
+
"required": false,
|
|
4529
|
+
"allowNo": false,
|
|
4530
|
+
"type": "boolean"
|
|
4531
|
+
},
|
|
4464
4532
|
"output": {
|
|
4465
4533
|
"char": "o",
|
|
4466
4534
|
"description": "Output format",
|
|
@@ -4471,14 +4539,24 @@
|
|
|
4471
4539
|
"multiple": false,
|
|
4472
4540
|
"options": [
|
|
4473
4541
|
"summary",
|
|
4474
|
-
"json"
|
|
4542
|
+
"json",
|
|
4543
|
+
"xs"
|
|
4475
4544
|
],
|
|
4476
4545
|
"type": "option"
|
|
4546
|
+
},
|
|
4547
|
+
"workspace": {
|
|
4548
|
+
"char": "w",
|
|
4549
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
4550
|
+
"name": "workspace",
|
|
4551
|
+
"required": false,
|
|
4552
|
+
"hasDynamicHelp": false,
|
|
4553
|
+
"multiple": false,
|
|
4554
|
+
"type": "option"
|
|
4477
4555
|
}
|
|
4478
4556
|
},
|
|
4479
4557
|
"hasDynamicHelp": false,
|
|
4480
4558
|
"hiddenAliases": [],
|
|
4481
|
-
"id": "
|
|
4559
|
+
"id": "workflow_test:get",
|
|
4482
4560
|
"pluginAlias": "@xano/cli",
|
|
4483
4561
|
"pluginName": "@xano/cli",
|
|
4484
4562
|
"pluginType": "core",
|
|
@@ -4488,27 +4566,19 @@
|
|
|
4488
4566
|
"relativePath": [
|
|
4489
4567
|
"dist",
|
|
4490
4568
|
"commands",
|
|
4491
|
-
"
|
|
4492
|
-
"
|
|
4569
|
+
"workflow_test",
|
|
4570
|
+
"get",
|
|
4493
4571
|
"index.js"
|
|
4494
4572
|
]
|
|
4495
4573
|
},
|
|
4496
|
-
"
|
|
4574
|
+
"workflow_test:list": {
|
|
4497
4575
|
"aliases": [],
|
|
4498
|
-
"args": {
|
|
4499
|
-
|
|
4500
|
-
"description": "Output directory for pulled documents",
|
|
4501
|
-
"name": "directory",
|
|
4502
|
-
"required": true
|
|
4503
|
-
}
|
|
4504
|
-
},
|
|
4505
|
-
"description": "Pull a workspace multidoc from the Xano Metadata API and split into individual files",
|
|
4576
|
+
"args": {},
|
|
4577
|
+
"description": "List all workflow tests in a workspace",
|
|
4506
4578
|
"examples": [
|
|
4507
|
-
"$ xano workspace
|
|
4508
|
-
"$ xano
|
|
4509
|
-
"$ xano
|
|
4510
|
-
"$ xano workspace pull ./my-workspace --draft\nPulled 42 documents to ./my-workspace\n",
|
|
4511
|
-
"$ xano workspace pull ./my-workspace -b dev\nPulled 42 documents to ./my-workspace\n"
|
|
4579
|
+
"$ xano workflow-test list\nWorkflow tests in workspace 5:\n - my-test (ID: 1)\n - auth-flow (ID: 2) - Validates auth endpoints\n",
|
|
4580
|
+
"$ xano workflow-test list -w 5 --output json",
|
|
4581
|
+
"$ xano workflow-test list --branch main"
|
|
4512
4582
|
],
|
|
4513
4583
|
"flags": {
|
|
4514
4584
|
"profile": {
|
|
@@ -4532,37 +4602,30 @@
|
|
|
4532
4602
|
},
|
|
4533
4603
|
"branch": {
|
|
4534
4604
|
"char": "b",
|
|
4535
|
-
"description": "
|
|
4605
|
+
"description": "Filter by branch name",
|
|
4536
4606
|
"name": "branch",
|
|
4537
4607
|
"required": false,
|
|
4538
4608
|
"hasDynamicHelp": false,
|
|
4539
4609
|
"multiple": false,
|
|
4540
4610
|
"type": "option"
|
|
4541
4611
|
},
|
|
4542
|
-
"
|
|
4543
|
-
"
|
|
4544
|
-
"
|
|
4545
|
-
"
|
|
4546
|
-
"allowNo": false,
|
|
4547
|
-
"type": "boolean"
|
|
4548
|
-
},
|
|
4549
|
-
"draft": {
|
|
4550
|
-
"description": "Include draft versions",
|
|
4551
|
-
"name": "draft",
|
|
4552
|
-
"required": false,
|
|
4553
|
-
"allowNo": false,
|
|
4554
|
-
"type": "boolean"
|
|
4555
|
-
},
|
|
4556
|
-
"records": {
|
|
4557
|
-
"description": "Include records",
|
|
4558
|
-
"name": "records",
|
|
4612
|
+
"output": {
|
|
4613
|
+
"char": "o",
|
|
4614
|
+
"description": "Output format",
|
|
4615
|
+
"name": "output",
|
|
4559
4616
|
"required": false,
|
|
4560
|
-
"
|
|
4561
|
-
"
|
|
4617
|
+
"default": "summary",
|
|
4618
|
+
"hasDynamicHelp": false,
|
|
4619
|
+
"multiple": false,
|
|
4620
|
+
"options": [
|
|
4621
|
+
"summary",
|
|
4622
|
+
"json"
|
|
4623
|
+
],
|
|
4624
|
+
"type": "option"
|
|
4562
4625
|
},
|
|
4563
4626
|
"workspace": {
|
|
4564
4627
|
"char": "w",
|
|
4565
|
-
"description": "Workspace ID (
|
|
4628
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
4566
4629
|
"name": "workspace",
|
|
4567
4630
|
"required": false,
|
|
4568
4631
|
"hasDynamicHelp": false,
|
|
@@ -4572,7 +4635,7 @@
|
|
|
4572
4635
|
},
|
|
4573
4636
|
"hasDynamicHelp": false,
|
|
4574
4637
|
"hiddenAliases": [],
|
|
4575
|
-
"id": "
|
|
4638
|
+
"id": "workflow_test:list",
|
|
4576
4639
|
"pluginAlias": "@xano/cli",
|
|
4577
4640
|
"pluginName": "@xano/cli",
|
|
4578
4641
|
"pluginType": "core",
|
|
@@ -4582,8 +4645,8 @@
|
|
|
4582
4645
|
"relativePath": [
|
|
4583
4646
|
"dist",
|
|
4584
4647
|
"commands",
|
|
4585
|
-
"
|
|
4586
|
-
"
|
|
4648
|
+
"workflow_test",
|
|
4649
|
+
"list",
|
|
4587
4650
|
"index.js"
|
|
4588
4651
|
]
|
|
4589
4652
|
},
|
|
@@ -4662,27 +4725,13 @@
|
|
|
4662
4725
|
"index.js"
|
|
4663
4726
|
]
|
|
4664
4727
|
},
|
|
4665
|
-
"
|
|
4728
|
+
"workflow_test:run_all": {
|
|
4666
4729
|
"aliases": [],
|
|
4667
|
-
"args": {
|
|
4668
|
-
|
|
4669
|
-
"description": "Directory containing documents to push (as produced by workspace pull)",
|
|
4670
|
-
"name": "directory",
|
|
4671
|
-
"required": true
|
|
4672
|
-
}
|
|
4673
|
-
},
|
|
4674
|
-
"description": "Push local documents to a workspace. Shows a preview of changes before pushing unless --yes is specified.",
|
|
4730
|
+
"args": {},
|
|
4731
|
+
"description": "Run all workflow tests in a workspace",
|
|
4675
4732
|
"examples": [
|
|
4676
|
-
"$ xano
|
|
4677
|
-
"$ xano
|
|
4678
|
-
"$ xano workspace push ./my-workspace --delete\nShows preview including deletions, requires confirmation\n",
|
|
4679
|
-
"$ xano workspace push ./output -w 40\nPushed 15 documents from ./output\n",
|
|
4680
|
-
"$ xano workspace push ./backup --profile production\nPushed 58 documents from ./backup\n",
|
|
4681
|
-
"$ xano workspace push ./my-workspace -b dev\nPushed 42 documents from ./my-workspace\n",
|
|
4682
|
-
"$ xano workspace push ./my-functions --partial\nPush some files without a workspace block (implies --no-delete)\n",
|
|
4683
|
-
"$ xano workspace push ./my-workspace --no-records\nPush schema only, skip importing table records\n",
|
|
4684
|
-
"$ xano workspace push ./my-workspace --no-env\nPush without overwriting environment variables\n",
|
|
4685
|
-
"$ xano workspace push ./my-workspace --truncate\nTruncate all table records before importing\n"
|
|
4733
|
+
"$ 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",
|
|
4734
|
+
"$ xano workflow-test run-all --branch main -o json"
|
|
4686
4735
|
],
|
|
4687
4736
|
"flags": {
|
|
4688
4737
|
"profile": {
|
|
@@ -4706,75 +4755,40 @@
|
|
|
4706
4755
|
},
|
|
4707
4756
|
"branch": {
|
|
4708
4757
|
"char": "b",
|
|
4709
|
-
"description": "
|
|
4758
|
+
"description": "Filter by branch name",
|
|
4710
4759
|
"name": "branch",
|
|
4711
4760
|
"required": false,
|
|
4712
4761
|
"hasDynamicHelp": false,
|
|
4713
4762
|
"multiple": false,
|
|
4714
4763
|
"type": "option"
|
|
4715
4764
|
},
|
|
4716
|
-
"
|
|
4717
|
-
"
|
|
4718
|
-
"
|
|
4719
|
-
"
|
|
4720
|
-
"allowNo": false,
|
|
4721
|
-
"type": "boolean"
|
|
4722
|
-
},
|
|
4723
|
-
"env": {
|
|
4724
|
-
"description": "Include environment variables in import",
|
|
4725
|
-
"name": "env",
|
|
4726
|
-
"required": false,
|
|
4727
|
-
"allowNo": false,
|
|
4728
|
-
"type": "boolean"
|
|
4729
|
-
},
|
|
4730
|
-
"partial": {
|
|
4731
|
-
"description": "Partial push — workspace block is not required, existing objects are kept (implies --no-delete)",
|
|
4732
|
-
"name": "partial",
|
|
4733
|
-
"required": false,
|
|
4734
|
-
"allowNo": false,
|
|
4735
|
-
"type": "boolean"
|
|
4736
|
-
},
|
|
4737
|
-
"records": {
|
|
4738
|
-
"description": "Include records in import",
|
|
4739
|
-
"name": "records",
|
|
4740
|
-
"required": false,
|
|
4741
|
-
"allowNo": false,
|
|
4742
|
-
"type": "boolean"
|
|
4743
|
-
},
|
|
4744
|
-
"sync-guids": {
|
|
4745
|
-
"description": "Write server-assigned GUIDs back to local files (use --no-sync-guids to skip)",
|
|
4746
|
-
"name": "sync-guids",
|
|
4747
|
-
"required": false,
|
|
4748
|
-
"allowNo": true,
|
|
4749
|
-
"type": "boolean"
|
|
4750
|
-
},
|
|
4751
|
-
"truncate": {
|
|
4752
|
-
"description": "Truncate all table records before importing",
|
|
4753
|
-
"name": "truncate",
|
|
4765
|
+
"output": {
|
|
4766
|
+
"char": "o",
|
|
4767
|
+
"description": "Output format",
|
|
4768
|
+
"name": "output",
|
|
4754
4769
|
"required": false,
|
|
4755
|
-
"
|
|
4756
|
-
"
|
|
4770
|
+
"default": "summary",
|
|
4771
|
+
"hasDynamicHelp": false,
|
|
4772
|
+
"multiple": false,
|
|
4773
|
+
"options": [
|
|
4774
|
+
"summary",
|
|
4775
|
+
"json"
|
|
4776
|
+
],
|
|
4777
|
+
"type": "option"
|
|
4757
4778
|
},
|
|
4758
4779
|
"workspace": {
|
|
4759
4780
|
"char": "w",
|
|
4760
|
-
"description": "Workspace ID (
|
|
4781
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
4761
4782
|
"name": "workspace",
|
|
4762
4783
|
"required": false,
|
|
4763
4784
|
"hasDynamicHelp": false,
|
|
4764
4785
|
"multiple": false,
|
|
4765
4786
|
"type": "option"
|
|
4766
|
-
},
|
|
4767
|
-
"force": {
|
|
4768
|
-
"description": "Skip preview and confirmation prompt (for CI/CD pipelines)",
|
|
4769
|
-
"name": "force",
|
|
4770
|
-
"required": false,
|
|
4771
|
-
"allowNo": false,
|
|
4772
|
-
"type": "boolean"
|
|
4773
4787
|
}
|
|
4774
4788
|
},
|
|
4775
4789
|
"hasDynamicHelp": false,
|
|
4776
4790
|
"hiddenAliases": [],
|
|
4777
|
-
"id": "
|
|
4791
|
+
"id": "workflow_test:run_all",
|
|
4778
4792
|
"pluginAlias": "@xano/cli",
|
|
4779
4793
|
"pluginName": "@xano/cli",
|
|
4780
4794
|
"pluginType": "core",
|
|
@@ -4784,8 +4798,8 @@
|
|
|
4784
4798
|
"relativePath": [
|
|
4785
4799
|
"dist",
|
|
4786
4800
|
"commands",
|
|
4787
|
-
"
|
|
4788
|
-
"
|
|
4801
|
+
"workflow_test",
|
|
4802
|
+
"run_all",
|
|
4789
4803
|
"index.js"
|
|
4790
4804
|
]
|
|
4791
4805
|
},
|
|
@@ -5036,13 +5050,26 @@
|
|
|
5036
5050
|
"index.js"
|
|
5037
5051
|
]
|
|
5038
5052
|
},
|
|
5039
|
-
"
|
|
5053
|
+
"static_host:build:get": {
|
|
5040
5054
|
"aliases": [],
|
|
5041
|
-
"args": {
|
|
5042
|
-
|
|
5055
|
+
"args": {
|
|
5056
|
+
"build_id": {
|
|
5057
|
+
"description": "Build ID",
|
|
5058
|
+
"name": "build_id",
|
|
5059
|
+
"required": true
|
|
5060
|
+
},
|
|
5061
|
+
"static_host": {
|
|
5062
|
+
"description": "Static Host name",
|
|
5063
|
+
"name": "static_host",
|
|
5064
|
+
"required": true
|
|
5065
|
+
}
|
|
5066
|
+
},
|
|
5067
|
+
"description": "Get details of a specific build for a static host",
|
|
5043
5068
|
"examples": [
|
|
5044
|
-
"$ xano
|
|
5045
|
-
"$ xano
|
|
5069
|
+
"$ xano static_host:build:get default 52\nBuild Details:\nID: 52\nName: v1.0.0\nStatus: completed\n",
|
|
5070
|
+
"$ xano static_host:build:get default 52 -w 40\nBuild Details:\nID: 52\nName: v1.0.0\nStatus: completed\n",
|
|
5071
|
+
"$ xano static_host:build:get myhost 123 --profile production\nBuild Details:\nID: 123\nName: production-build\n",
|
|
5072
|
+
"$ xano static_host:build:get default 52 -o json\n{\n \"id\": 52,\n \"name\": \"v1.0.0\",\n \"status\": \"completed\"\n}\n"
|
|
5046
5073
|
],
|
|
5047
5074
|
"flags": {
|
|
5048
5075
|
"profile": {
|
|
@@ -5064,50 +5091,88 @@
|
|
|
5064
5091
|
"allowNo": false,
|
|
5065
5092
|
"type": "boolean"
|
|
5066
5093
|
},
|
|
5067
|
-
"
|
|
5068
|
-
"
|
|
5069
|
-
"
|
|
5070
|
-
|
|
5071
|
-
],
|
|
5072
|
-
"name": "credentials",
|
|
5094
|
+
"output": {
|
|
5095
|
+
"char": "o",
|
|
5096
|
+
"description": "Output format",
|
|
5097
|
+
"name": "output",
|
|
5073
5098
|
"required": false,
|
|
5099
|
+
"default": "summary",
|
|
5074
5100
|
"hasDynamicHelp": false,
|
|
5075
5101
|
"multiple": false,
|
|
5102
|
+
"options": [
|
|
5103
|
+
"summary",
|
|
5104
|
+
"json"
|
|
5105
|
+
],
|
|
5076
5106
|
"type": "option"
|
|
5077
5107
|
},
|
|
5078
|
-
"
|
|
5079
|
-
"
|
|
5080
|
-
"
|
|
5081
|
-
|
|
5082
|
-
],
|
|
5083
|
-
"name": "credentials_file",
|
|
5108
|
+
"workspace": {
|
|
5109
|
+
"char": "w",
|
|
5110
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
5111
|
+
"name": "workspace",
|
|
5084
5112
|
"required": false,
|
|
5085
5113
|
"hasDynamicHelp": false,
|
|
5086
5114
|
"multiple": false,
|
|
5087
5115
|
"type": "option"
|
|
5088
|
-
}
|
|
5089
|
-
|
|
5090
|
-
|
|
5091
|
-
|
|
5092
|
-
|
|
5116
|
+
}
|
|
5117
|
+
},
|
|
5118
|
+
"hasDynamicHelp": false,
|
|
5119
|
+
"hiddenAliases": [],
|
|
5120
|
+
"id": "static_host:build:get",
|
|
5121
|
+
"pluginAlias": "@xano/cli",
|
|
5122
|
+
"pluginName": "@xano/cli",
|
|
5123
|
+
"pluginType": "core",
|
|
5124
|
+
"strict": true,
|
|
5125
|
+
"enableJsonFlag": false,
|
|
5126
|
+
"isESM": true,
|
|
5127
|
+
"relativePath": [
|
|
5128
|
+
"dist",
|
|
5129
|
+
"commands",
|
|
5130
|
+
"static_host",
|
|
5131
|
+
"build",
|
|
5132
|
+
"get",
|
|
5133
|
+
"index.js"
|
|
5134
|
+
]
|
|
5135
|
+
},
|
|
5136
|
+
"tenant:backup:create": {
|
|
5137
|
+
"aliases": [],
|
|
5138
|
+
"args": {
|
|
5139
|
+
"tenant_name": {
|
|
5140
|
+
"description": "Tenant name to back up",
|
|
5141
|
+
"name": "tenant_name",
|
|
5142
|
+
"required": true
|
|
5143
|
+
}
|
|
5144
|
+
},
|
|
5145
|
+
"description": "Create a backup for a tenant",
|
|
5146
|
+
"examples": [
|
|
5147
|
+
"$ xano tenant backup create t1234-abcd-xyz1 --description \"Pre-deploy backup\"\nCreated backup #15 for tenant t1234-abcd-xyz1\n",
|
|
5148
|
+
"$ xano tenant backup create t1234-abcd-xyz1 -d \"Daily backup\" -o json"
|
|
5149
|
+
],
|
|
5150
|
+
"flags": {
|
|
5151
|
+
"profile": {
|
|
5152
|
+
"char": "p",
|
|
5153
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
5154
|
+
"env": "XANO_PROFILE",
|
|
5155
|
+
"name": "profile",
|
|
5093
5156
|
"required": false,
|
|
5094
5157
|
"hasDynamicHelp": false,
|
|
5095
5158
|
"multiple": false,
|
|
5096
5159
|
"type": "option"
|
|
5097
5160
|
},
|
|
5098
|
-
"
|
|
5099
|
-
"
|
|
5100
|
-
"
|
|
5161
|
+
"verbose": {
|
|
5162
|
+
"char": "v",
|
|
5163
|
+
"description": "Show detailed request/response information",
|
|
5164
|
+
"env": "XANO_VERBOSE",
|
|
5165
|
+
"name": "verbose",
|
|
5101
5166
|
"required": false,
|
|
5102
|
-
"
|
|
5103
|
-
"
|
|
5104
|
-
"type": "option"
|
|
5167
|
+
"allowNo": false,
|
|
5168
|
+
"type": "boolean"
|
|
5105
5169
|
},
|
|
5106
|
-
"
|
|
5107
|
-
"char": "
|
|
5108
|
-
"description": "
|
|
5109
|
-
"name": "
|
|
5110
|
-
"required":
|
|
5170
|
+
"description": {
|
|
5171
|
+
"char": "d",
|
|
5172
|
+
"description": "Backup description",
|
|
5173
|
+
"name": "description",
|
|
5174
|
+
"required": false,
|
|
5175
|
+
"default": "",
|
|
5111
5176
|
"hasDynamicHelp": false,
|
|
5112
5177
|
"multiple": false,
|
|
5113
5178
|
"type": "option"
|
|
@@ -5126,23 +5191,19 @@
|
|
|
5126
5191
|
],
|
|
5127
5192
|
"type": "option"
|
|
5128
5193
|
},
|
|
5129
|
-
"
|
|
5130
|
-
"
|
|
5131
|
-
"
|
|
5194
|
+
"workspace": {
|
|
5195
|
+
"char": "w",
|
|
5196
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
5197
|
+
"name": "workspace",
|
|
5132
5198
|
"required": false,
|
|
5133
|
-
"default": "standard",
|
|
5134
5199
|
"hasDynamicHelp": false,
|
|
5135
5200
|
"multiple": false,
|
|
5136
|
-
"options": [
|
|
5137
|
-
"standard",
|
|
5138
|
-
"run"
|
|
5139
|
-
],
|
|
5140
5201
|
"type": "option"
|
|
5141
5202
|
}
|
|
5142
5203
|
},
|
|
5143
5204
|
"hasDynamicHelp": false,
|
|
5144
5205
|
"hiddenAliases": [],
|
|
5145
|
-
"id": "tenant:
|
|
5206
|
+
"id": "tenant:backup:create",
|
|
5146
5207
|
"pluginAlias": "@xano/cli",
|
|
5147
5208
|
"pluginName": "@xano/cli",
|
|
5148
5209
|
"pluginType": "core",
|
|
@@ -5153,25 +5214,25 @@
|
|
|
5153
5214
|
"dist",
|
|
5154
5215
|
"commands",
|
|
5155
5216
|
"tenant",
|
|
5156
|
-
"
|
|
5217
|
+
"backup",
|
|
5157
5218
|
"create",
|
|
5158
5219
|
"index.js"
|
|
5159
5220
|
]
|
|
5160
5221
|
},
|
|
5161
|
-
"tenant:
|
|
5222
|
+
"tenant:backup:delete": {
|
|
5162
5223
|
"aliases": [],
|
|
5163
5224
|
"args": {
|
|
5164
|
-
"
|
|
5165
|
-
"description": "
|
|
5166
|
-
"name": "
|
|
5225
|
+
"tenant_name": {
|
|
5226
|
+
"description": "Tenant name that owns the backup",
|
|
5227
|
+
"name": "tenant_name",
|
|
5167
5228
|
"required": true
|
|
5168
5229
|
}
|
|
5169
5230
|
},
|
|
5170
|
-
"description": "Delete a tenant
|
|
5231
|
+
"description": "Delete a tenant backup permanently. This action cannot be undone.",
|
|
5171
5232
|
"examples": [
|
|
5172
|
-
"$ xano tenant
|
|
5173
|
-
"$ xano tenant
|
|
5174
|
-
"$ xano tenant
|
|
5233
|
+
"$ 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",
|
|
5234
|
+
"$ xano tenant backup delete t1234-abcd-xyz1 --backup_id 10 --force",
|
|
5235
|
+
"$ xano tenant backup delete t1234-abcd-xyz1 --backup_id 10 -o json"
|
|
5175
5236
|
],
|
|
5176
5237
|
"flags": {
|
|
5177
5238
|
"profile": {
|
|
@@ -5193,6 +5254,14 @@
|
|
|
5193
5254
|
"allowNo": false,
|
|
5194
5255
|
"type": "boolean"
|
|
5195
5256
|
},
|
|
5257
|
+
"backup_id": {
|
|
5258
|
+
"description": "Backup ID to delete",
|
|
5259
|
+
"name": "backup_id",
|
|
5260
|
+
"required": true,
|
|
5261
|
+
"hasDynamicHelp": false,
|
|
5262
|
+
"multiple": false,
|
|
5263
|
+
"type": "option"
|
|
5264
|
+
},
|
|
5196
5265
|
"force": {
|
|
5197
5266
|
"char": "f",
|
|
5198
5267
|
"description": "Skip confirmation prompt",
|
|
@@ -5214,11 +5283,20 @@
|
|
|
5214
5283
|
"json"
|
|
5215
5284
|
],
|
|
5216
5285
|
"type": "option"
|
|
5286
|
+
},
|
|
5287
|
+
"workspace": {
|
|
5288
|
+
"char": "w",
|
|
5289
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
5290
|
+
"name": "workspace",
|
|
5291
|
+
"required": false,
|
|
5292
|
+
"hasDynamicHelp": false,
|
|
5293
|
+
"multiple": false,
|
|
5294
|
+
"type": "option"
|
|
5217
5295
|
}
|
|
5218
5296
|
},
|
|
5219
5297
|
"hasDynamicHelp": false,
|
|
5220
5298
|
"hiddenAliases": [],
|
|
5221
|
-
"id": "tenant:
|
|
5299
|
+
"id": "tenant:backup:delete",
|
|
5222
5300
|
"pluginAlias": "@xano/cli",
|
|
5223
5301
|
"pluginName": "@xano/cli",
|
|
5224
5302
|
"pluginType": "core",
|
|
@@ -5229,24 +5307,25 @@
|
|
|
5229
5307
|
"dist",
|
|
5230
5308
|
"commands",
|
|
5231
5309
|
"tenant",
|
|
5232
|
-
"
|
|
5310
|
+
"backup",
|
|
5233
5311
|
"delete",
|
|
5234
5312
|
"index.js"
|
|
5235
5313
|
]
|
|
5236
5314
|
},
|
|
5237
|
-
"tenant:
|
|
5315
|
+
"tenant:backup:export": {
|
|
5238
5316
|
"aliases": [],
|
|
5239
5317
|
"args": {
|
|
5240
|
-
"
|
|
5241
|
-
"description": "
|
|
5242
|
-
"name": "
|
|
5318
|
+
"tenant_name": {
|
|
5319
|
+
"description": "Tenant name to export backup from",
|
|
5320
|
+
"name": "tenant_name",
|
|
5243
5321
|
"required": true
|
|
5244
5322
|
}
|
|
5245
5323
|
},
|
|
5246
|
-
"description": "
|
|
5324
|
+
"description": "Export (download) a tenant backup to a local file",
|
|
5247
5325
|
"examples": [
|
|
5248
|
-
"$ xano tenant
|
|
5249
|
-
"$ xano tenant
|
|
5326
|
+
"$ xano tenant backup export t1234-abcd-xyz1 --backup_id 10\nDownloaded backup #10 to ./tenant-t1234-abcd-xyz1-backup-10.tar.gz\n",
|
|
5327
|
+
"$ xano tenant backup export t1234-abcd-xyz1 --backup_id 10 --output ./backups/my-backup.tar.gz",
|
|
5328
|
+
"$ xano tenant backup export t1234-abcd-xyz1 --backup_id 10 -o json"
|
|
5250
5329
|
],
|
|
5251
5330
|
"flags": {
|
|
5252
5331
|
"profile": {
|
|
@@ -5268,36 +5347,18 @@
|
|
|
5268
5347
|
"allowNo": false,
|
|
5269
5348
|
"type": "boolean"
|
|
5270
5349
|
},
|
|
5271
|
-
"
|
|
5272
|
-
"
|
|
5273
|
-
"
|
|
5274
|
-
"name": "description",
|
|
5275
|
-
"required": true,
|
|
5276
|
-
"hasDynamicHelp": false,
|
|
5277
|
-
"multiple": false,
|
|
5278
|
-
"type": "option"
|
|
5279
|
-
},
|
|
5280
|
-
"domain": {
|
|
5281
|
-
"description": "Custom domain for the cluster",
|
|
5282
|
-
"name": "domain",
|
|
5283
|
-
"required": true,
|
|
5284
|
-
"hasDynamicHelp": false,
|
|
5285
|
-
"multiple": false,
|
|
5286
|
-
"type": "option"
|
|
5287
|
-
},
|
|
5288
|
-
"name": {
|
|
5289
|
-
"char": "n",
|
|
5290
|
-
"description": "Cluster name",
|
|
5291
|
-
"name": "name",
|
|
5350
|
+
"backup_id": {
|
|
5351
|
+
"description": "Backup ID to export",
|
|
5352
|
+
"name": "backup_id",
|
|
5292
5353
|
"required": true,
|
|
5293
5354
|
"hasDynamicHelp": false,
|
|
5294
5355
|
"multiple": false,
|
|
5295
5356
|
"type": "option"
|
|
5296
5357
|
},
|
|
5297
|
-
"
|
|
5358
|
+
"format": {
|
|
5298
5359
|
"char": "o",
|
|
5299
5360
|
"description": "Output format",
|
|
5300
|
-
"name": "
|
|
5361
|
+
"name": "format",
|
|
5301
5362
|
"required": false,
|
|
5302
5363
|
"default": "summary",
|
|
5303
5364
|
"hasDynamicHelp": false,
|
|
@@ -5308,22 +5369,27 @@
|
|
|
5308
5369
|
],
|
|
5309
5370
|
"type": "option"
|
|
5310
5371
|
},
|
|
5311
|
-
"
|
|
5312
|
-
"description": "
|
|
5313
|
-
"name": "
|
|
5314
|
-
"required":
|
|
5372
|
+
"output": {
|
|
5373
|
+
"description": "Output file path (defaults to ./tenant-{name}-backup-{backup_id}.tar.gz)",
|
|
5374
|
+
"name": "output",
|
|
5375
|
+
"required": false,
|
|
5376
|
+
"hasDynamicHelp": false,
|
|
5377
|
+
"multiple": false,
|
|
5378
|
+
"type": "option"
|
|
5379
|
+
},
|
|
5380
|
+
"workspace": {
|
|
5381
|
+
"char": "w",
|
|
5382
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
5383
|
+
"name": "workspace",
|
|
5384
|
+
"required": false,
|
|
5315
5385
|
"hasDynamicHelp": false,
|
|
5316
5386
|
"multiple": false,
|
|
5317
|
-
"options": [
|
|
5318
|
-
"standard",
|
|
5319
|
-
"run"
|
|
5320
|
-
],
|
|
5321
5387
|
"type": "option"
|
|
5322
5388
|
}
|
|
5323
5389
|
},
|
|
5324
5390
|
"hasDynamicHelp": false,
|
|
5325
5391
|
"hiddenAliases": [],
|
|
5326
|
-
"id": "tenant:
|
|
5392
|
+
"id": "tenant:backup:export",
|
|
5327
5393
|
"pluginAlias": "@xano/cli",
|
|
5328
5394
|
"pluginName": "@xano/cli",
|
|
5329
5395
|
"pluginType": "core",
|
|
@@ -5334,24 +5400,24 @@
|
|
|
5334
5400
|
"dist",
|
|
5335
5401
|
"commands",
|
|
5336
5402
|
"tenant",
|
|
5337
|
-
"
|
|
5338
|
-
"
|
|
5403
|
+
"backup",
|
|
5404
|
+
"export",
|
|
5339
5405
|
"index.js"
|
|
5340
5406
|
]
|
|
5341
5407
|
},
|
|
5342
|
-
"tenant:
|
|
5408
|
+
"tenant:backup:list": {
|
|
5343
5409
|
"aliases": [],
|
|
5344
5410
|
"args": {
|
|
5345
|
-
"
|
|
5346
|
-
"description": "
|
|
5347
|
-
"name": "
|
|
5411
|
+
"tenant_name": {
|
|
5412
|
+
"description": "Tenant name to list backups for",
|
|
5413
|
+
"name": "tenant_name",
|
|
5348
5414
|
"required": true
|
|
5349
5415
|
}
|
|
5350
5416
|
},
|
|
5351
|
-
"description": "
|
|
5417
|
+
"description": "List backups for a tenant",
|
|
5352
5418
|
"examples": [
|
|
5353
|
-
"$ xano tenant
|
|
5354
|
-
"$ xano tenant
|
|
5419
|
+
"$ 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",
|
|
5420
|
+
"$ xano tenant backup list t1234-abcd-xyz1 -o json"
|
|
5355
5421
|
],
|
|
5356
5422
|
"flags": {
|
|
5357
5423
|
"profile": {
|
|
@@ -5386,11 +5452,29 @@
|
|
|
5386
5452
|
"json"
|
|
5387
5453
|
],
|
|
5388
5454
|
"type": "option"
|
|
5455
|
+
},
|
|
5456
|
+
"page": {
|
|
5457
|
+
"description": "Page number for pagination",
|
|
5458
|
+
"name": "page",
|
|
5459
|
+
"required": false,
|
|
5460
|
+
"default": 1,
|
|
5461
|
+
"hasDynamicHelp": false,
|
|
5462
|
+
"multiple": false,
|
|
5463
|
+
"type": "option"
|
|
5464
|
+
},
|
|
5465
|
+
"workspace": {
|
|
5466
|
+
"char": "w",
|
|
5467
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
5468
|
+
"name": "workspace",
|
|
5469
|
+
"required": false,
|
|
5470
|
+
"hasDynamicHelp": false,
|
|
5471
|
+
"multiple": false,
|
|
5472
|
+
"type": "option"
|
|
5389
5473
|
}
|
|
5390
5474
|
},
|
|
5391
5475
|
"hasDynamicHelp": false,
|
|
5392
5476
|
"hiddenAliases": [],
|
|
5393
|
-
"id": "tenant:
|
|
5477
|
+
"id": "tenant:backup:list",
|
|
5394
5478
|
"pluginAlias": "@xano/cli",
|
|
5395
5479
|
"pluginName": "@xano/cli",
|
|
5396
5480
|
"pluginType": "core",
|
|
@@ -5401,18 +5485,24 @@
|
|
|
5401
5485
|
"dist",
|
|
5402
5486
|
"commands",
|
|
5403
5487
|
"tenant",
|
|
5404
|
-
"
|
|
5405
|
-
"
|
|
5488
|
+
"backup",
|
|
5489
|
+
"list",
|
|
5406
5490
|
"index.js"
|
|
5407
5491
|
]
|
|
5408
5492
|
},
|
|
5409
|
-
"tenant:
|
|
5493
|
+
"tenant:backup:restore": {
|
|
5410
5494
|
"aliases": [],
|
|
5411
|
-
"args": {
|
|
5412
|
-
|
|
5495
|
+
"args": {
|
|
5496
|
+
"tenant_name": {
|
|
5497
|
+
"description": "Tenant name to restore",
|
|
5498
|
+
"name": "tenant_name",
|
|
5499
|
+
"required": true
|
|
5500
|
+
}
|
|
5501
|
+
},
|
|
5502
|
+
"description": "Restore a tenant from a backup. This replaces the current tenant data.",
|
|
5413
5503
|
"examples": [
|
|
5414
|
-
"$ xano tenant
|
|
5415
|
-
"$ xano tenant
|
|
5504
|
+
"$ xano tenant backup restore t1234-abcd-xyz1 --backup_id 10\nAre you sure you want to restore tenant t1234-abcd-xyz1 from backup 10? This will replace current data. (y/N) y\nRestored tenant t1234-abcd-xyz1 from backup #10\n",
|
|
5505
|
+
"$ xano tenant backup restore t1234-abcd-xyz1 --backup_id 10 --force -o json"
|
|
5416
5506
|
],
|
|
5417
5507
|
"flags": {
|
|
5418
5508
|
"profile": {
|
|
@@ -5434,6 +5524,22 @@
|
|
|
5434
5524
|
"allowNo": false,
|
|
5435
5525
|
"type": "boolean"
|
|
5436
5526
|
},
|
|
5527
|
+
"backup_id": {
|
|
5528
|
+
"description": "Backup ID to restore from",
|
|
5529
|
+
"name": "backup_id",
|
|
5530
|
+
"required": true,
|
|
5531
|
+
"hasDynamicHelp": false,
|
|
5532
|
+
"multiple": false,
|
|
5533
|
+
"type": "option"
|
|
5534
|
+
},
|
|
5535
|
+
"force": {
|
|
5536
|
+
"char": "f",
|
|
5537
|
+
"description": "Skip confirmation prompt",
|
|
5538
|
+
"name": "force",
|
|
5539
|
+
"required": false,
|
|
5540
|
+
"allowNo": false,
|
|
5541
|
+
"type": "boolean"
|
|
5542
|
+
},
|
|
5437
5543
|
"output": {
|
|
5438
5544
|
"char": "o",
|
|
5439
5545
|
"description": "Output format",
|
|
@@ -5447,11 +5553,20 @@
|
|
|
5447
5553
|
"json"
|
|
5448
5554
|
],
|
|
5449
5555
|
"type": "option"
|
|
5556
|
+
},
|
|
5557
|
+
"workspace": {
|
|
5558
|
+
"char": "w",
|
|
5559
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
5560
|
+
"name": "workspace",
|
|
5561
|
+
"required": false,
|
|
5562
|
+
"hasDynamicHelp": false,
|
|
5563
|
+
"multiple": false,
|
|
5564
|
+
"type": "option"
|
|
5450
5565
|
}
|
|
5451
5566
|
},
|
|
5452
5567
|
"hasDynamicHelp": false,
|
|
5453
5568
|
"hiddenAliases": [],
|
|
5454
|
-
"id": "tenant:
|
|
5569
|
+
"id": "tenant:backup:restore",
|
|
5455
5570
|
"pluginAlias": "@xano/cli",
|
|
5456
5571
|
"pluginName": "@xano/cli",
|
|
5457
5572
|
"pluginType": "core",
|
|
@@ -5462,25 +5577,18 @@
|
|
|
5462
5577
|
"dist",
|
|
5463
5578
|
"commands",
|
|
5464
5579
|
"tenant",
|
|
5465
|
-
"
|
|
5466
|
-
"
|
|
5580
|
+
"backup",
|
|
5581
|
+
"restore",
|
|
5467
5582
|
"index.js"
|
|
5468
5583
|
]
|
|
5469
5584
|
},
|
|
5470
|
-
"tenant:
|
|
5585
|
+
"tenant:cluster:create": {
|
|
5471
5586
|
"aliases": [],
|
|
5472
|
-
"args": {
|
|
5473
|
-
|
|
5474
|
-
"description": "Tenant name that owns the backup",
|
|
5475
|
-
"name": "tenant_name",
|
|
5476
|
-
"required": true
|
|
5477
|
-
}
|
|
5478
|
-
},
|
|
5479
|
-
"description": "Delete a tenant backup permanently. This action cannot be undone.",
|
|
5587
|
+
"args": {},
|
|
5588
|
+
"description": "Create a new tenant cluster",
|
|
5480
5589
|
"examples": [
|
|
5481
|
-
"$ xano tenant
|
|
5482
|
-
"$ xano tenant
|
|
5483
|
-
"$ xano tenant backup delete t1234-abcd-xyz1 --backup_id 10 -o json"
|
|
5590
|
+
"$ xano tenant cluster create --name \"us-east-1\" --credentials_file ./kubeconfig.yaml\nCreated tenant cluster: us-east-1 (standard) - ID: 3\n",
|
|
5591
|
+
"$ xano tenant cluster create --name \"eu-west-1\" --credentials \"...\" --type run --description \"EU run cluster\" -o json"
|
|
5484
5592
|
],
|
|
5485
5593
|
"flags": {
|
|
5486
5594
|
"profile": {
|
|
@@ -5502,21 +5610,53 @@
|
|
|
5502
5610
|
"allowNo": false,
|
|
5503
5611
|
"type": "boolean"
|
|
5504
5612
|
},
|
|
5505
|
-
"
|
|
5506
|
-
"description": "
|
|
5507
|
-
"
|
|
5508
|
-
|
|
5613
|
+
"credentials": {
|
|
5614
|
+
"description": "Kubeconfig credentials (raw text)",
|
|
5615
|
+
"exclusive": [
|
|
5616
|
+
"credentials_file"
|
|
5617
|
+
],
|
|
5618
|
+
"name": "credentials",
|
|
5619
|
+
"required": false,
|
|
5509
5620
|
"hasDynamicHelp": false,
|
|
5510
5621
|
"multiple": false,
|
|
5511
5622
|
"type": "option"
|
|
5512
5623
|
},
|
|
5513
|
-
"
|
|
5514
|
-
"
|
|
5515
|
-
"
|
|
5516
|
-
|
|
5624
|
+
"credentials_file": {
|
|
5625
|
+
"description": "Path to kubeconfig credentials file",
|
|
5626
|
+
"exclusive": [
|
|
5627
|
+
"credentials"
|
|
5628
|
+
],
|
|
5629
|
+
"name": "credentials_file",
|
|
5517
5630
|
"required": false,
|
|
5518
|
-
"
|
|
5519
|
-
"
|
|
5631
|
+
"hasDynamicHelp": false,
|
|
5632
|
+
"multiple": false,
|
|
5633
|
+
"type": "option"
|
|
5634
|
+
},
|
|
5635
|
+
"description": {
|
|
5636
|
+
"char": "d",
|
|
5637
|
+
"description": "Cluster description",
|
|
5638
|
+
"name": "description",
|
|
5639
|
+
"required": false,
|
|
5640
|
+
"hasDynamicHelp": false,
|
|
5641
|
+
"multiple": false,
|
|
5642
|
+
"type": "option"
|
|
5643
|
+
},
|
|
5644
|
+
"domain": {
|
|
5645
|
+
"description": "Custom domain for the cluster",
|
|
5646
|
+
"name": "domain",
|
|
5647
|
+
"required": false,
|
|
5648
|
+
"hasDynamicHelp": false,
|
|
5649
|
+
"multiple": false,
|
|
5650
|
+
"type": "option"
|
|
5651
|
+
},
|
|
5652
|
+
"name": {
|
|
5653
|
+
"char": "n",
|
|
5654
|
+
"description": "Cluster name",
|
|
5655
|
+
"name": "name",
|
|
5656
|
+
"required": true,
|
|
5657
|
+
"hasDynamicHelp": false,
|
|
5658
|
+
"multiple": false,
|
|
5659
|
+
"type": "option"
|
|
5520
5660
|
},
|
|
5521
5661
|
"output": {
|
|
5522
5662
|
"char": "o",
|
|
@@ -5532,19 +5672,23 @@
|
|
|
5532
5672
|
],
|
|
5533
5673
|
"type": "option"
|
|
5534
5674
|
},
|
|
5535
|
-
"
|
|
5536
|
-
"
|
|
5537
|
-
"
|
|
5538
|
-
"name": "workspace",
|
|
5675
|
+
"type": {
|
|
5676
|
+
"description": "Cluster type",
|
|
5677
|
+
"name": "type",
|
|
5539
5678
|
"required": false,
|
|
5679
|
+
"default": "standard",
|
|
5540
5680
|
"hasDynamicHelp": false,
|
|
5541
5681
|
"multiple": false,
|
|
5682
|
+
"options": [
|
|
5683
|
+
"standard",
|
|
5684
|
+
"run"
|
|
5685
|
+
],
|
|
5542
5686
|
"type": "option"
|
|
5543
5687
|
}
|
|
5544
5688
|
},
|
|
5545
5689
|
"hasDynamicHelp": false,
|
|
5546
5690
|
"hiddenAliases": [],
|
|
5547
|
-
"id": "tenant:
|
|
5691
|
+
"id": "tenant:cluster:create",
|
|
5548
5692
|
"pluginAlias": "@xano/cli",
|
|
5549
5693
|
"pluginName": "@xano/cli",
|
|
5550
5694
|
"pluginType": "core",
|
|
@@ -5555,24 +5699,24 @@
|
|
|
5555
5699
|
"dist",
|
|
5556
5700
|
"commands",
|
|
5557
5701
|
"tenant",
|
|
5558
|
-
"
|
|
5559
|
-
"
|
|
5702
|
+
"cluster",
|
|
5703
|
+
"create",
|
|
5560
5704
|
"index.js"
|
|
5561
5705
|
]
|
|
5562
5706
|
},
|
|
5563
|
-
"tenant:backup:
|
|
5707
|
+
"tenant:backup:import": {
|
|
5564
5708
|
"aliases": [],
|
|
5565
5709
|
"args": {
|
|
5566
5710
|
"tenant_name": {
|
|
5567
|
-
"description": "Tenant name to
|
|
5711
|
+
"description": "Tenant name to import backup into",
|
|
5568
5712
|
"name": "tenant_name",
|
|
5569
5713
|
"required": true
|
|
5570
5714
|
}
|
|
5571
5715
|
},
|
|
5572
|
-
"description": "
|
|
5716
|
+
"description": "Import a backup file into a tenant",
|
|
5573
5717
|
"examples": [
|
|
5574
|
-
"$ xano tenant backup
|
|
5575
|
-
"$ xano tenant backup
|
|
5718
|
+
"$ xano tenant backup import t1234-abcd-xyz1 --file ./my-backup.tar.gz\nImported backup as #15 for tenant t1234-abcd-xyz1\n",
|
|
5719
|
+
"$ xano tenant backup import t1234-abcd-xyz1 --file ./my-backup.tar.gz --description \"Restored from production\" -o json"
|
|
5576
5720
|
],
|
|
5577
5721
|
"flags": {
|
|
5578
5722
|
"profile": {
|
|
@@ -5604,6 +5748,15 @@
|
|
|
5604
5748
|
"multiple": false,
|
|
5605
5749
|
"type": "option"
|
|
5606
5750
|
},
|
|
5751
|
+
"file": {
|
|
5752
|
+
"char": "f",
|
|
5753
|
+
"description": "Path to the backup file (.tar.gz)",
|
|
5754
|
+
"name": "file",
|
|
5755
|
+
"required": true,
|
|
5756
|
+
"hasDynamicHelp": false,
|
|
5757
|
+
"multiple": false,
|
|
5758
|
+
"type": "option"
|
|
5759
|
+
},
|
|
5607
5760
|
"output": {
|
|
5608
5761
|
"char": "o",
|
|
5609
5762
|
"description": "Output format",
|
|
@@ -5630,7 +5783,7 @@
|
|
|
5630
5783
|
},
|
|
5631
5784
|
"hasDynamicHelp": false,
|
|
5632
5785
|
"hiddenAliases": [],
|
|
5633
|
-
"id": "tenant:backup:
|
|
5786
|
+
"id": "tenant:backup:import",
|
|
5634
5787
|
"pluginAlias": "@xano/cli",
|
|
5635
5788
|
"pluginName": "@xano/cli",
|
|
5636
5789
|
"pluginType": "core",
|
|
@@ -5642,30 +5795,24 @@
|
|
|
5642
5795
|
"commands",
|
|
5643
5796
|
"tenant",
|
|
5644
5797
|
"backup",
|
|
5645
|
-
"
|
|
5798
|
+
"import",
|
|
5646
5799
|
"index.js"
|
|
5647
5800
|
]
|
|
5648
5801
|
},
|
|
5649
|
-
"
|
|
5802
|
+
"tenant:cluster:delete": {
|
|
5650
5803
|
"aliases": [],
|
|
5651
5804
|
"args": {
|
|
5652
|
-
"
|
|
5653
|
-
"description": "
|
|
5654
|
-
"name": "
|
|
5655
|
-
"required": true
|
|
5656
|
-
},
|
|
5657
|
-
"static_host": {
|
|
5658
|
-
"description": "Static Host name",
|
|
5659
|
-
"name": "static_host",
|
|
5805
|
+
"cluster_id": {
|
|
5806
|
+
"description": "Cluster ID to delete",
|
|
5807
|
+
"name": "cluster_id",
|
|
5660
5808
|
"required": true
|
|
5661
5809
|
}
|
|
5662
5810
|
},
|
|
5663
|
-
"description": "
|
|
5811
|
+
"description": "Delete a tenant cluster. This action cannot be undone.",
|
|
5664
5812
|
"examples": [
|
|
5665
|
-
"$ xano
|
|
5666
|
-
"$ xano
|
|
5667
|
-
"$ xano
|
|
5668
|
-
"$ xano static_host:build:get default 52 -o json\n{\n \"id\": 52,\n \"name\": \"v1.0.0\",\n \"status\": \"completed\"\n}\n"
|
|
5813
|
+
"$ 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",
|
|
5814
|
+
"$ xano tenant cluster delete 3 --force\nTenant cluster 3 deleted successfully\n",
|
|
5815
|
+
"$ xano tenant cluster delete 3 -f -o json"
|
|
5669
5816
|
],
|
|
5670
5817
|
"flags": {
|
|
5671
5818
|
"profile": {
|
|
@@ -5687,6 +5834,14 @@
|
|
|
5687
5834
|
"allowNo": false,
|
|
5688
5835
|
"type": "boolean"
|
|
5689
5836
|
},
|
|
5837
|
+
"force": {
|
|
5838
|
+
"char": "f",
|
|
5839
|
+
"description": "Skip confirmation prompt",
|
|
5840
|
+
"name": "force",
|
|
5841
|
+
"required": false,
|
|
5842
|
+
"allowNo": false,
|
|
5843
|
+
"type": "boolean"
|
|
5844
|
+
},
|
|
5690
5845
|
"output": {
|
|
5691
5846
|
"char": "o",
|
|
5692
5847
|
"description": "Output format",
|
|
@@ -5700,20 +5855,11 @@
|
|
|
5700
5855
|
"json"
|
|
5701
5856
|
],
|
|
5702
5857
|
"type": "option"
|
|
5703
|
-
},
|
|
5704
|
-
"workspace": {
|
|
5705
|
-
"char": "w",
|
|
5706
|
-
"description": "Workspace ID (optional if set in profile)",
|
|
5707
|
-
"name": "workspace",
|
|
5708
|
-
"required": false,
|
|
5709
|
-
"hasDynamicHelp": false,
|
|
5710
|
-
"multiple": false,
|
|
5711
|
-
"type": "option"
|
|
5712
5858
|
}
|
|
5713
5859
|
},
|
|
5714
5860
|
"hasDynamicHelp": false,
|
|
5715
5861
|
"hiddenAliases": [],
|
|
5716
|
-
"id": "
|
|
5862
|
+
"id": "tenant:cluster:delete",
|
|
5717
5863
|
"pluginAlias": "@xano/cli",
|
|
5718
5864
|
"pluginName": "@xano/cli",
|
|
5719
5865
|
"pluginType": "core",
|
|
@@ -5723,26 +5869,25 @@
|
|
|
5723
5869
|
"relativePath": [
|
|
5724
5870
|
"dist",
|
|
5725
5871
|
"commands",
|
|
5726
|
-
"
|
|
5727
|
-
"
|
|
5728
|
-
"
|
|
5872
|
+
"tenant",
|
|
5873
|
+
"cluster",
|
|
5874
|
+
"delete",
|
|
5729
5875
|
"index.js"
|
|
5730
5876
|
]
|
|
5731
5877
|
},
|
|
5732
|
-
"tenant:
|
|
5878
|
+
"tenant:cluster:edit": {
|
|
5733
5879
|
"aliases": [],
|
|
5734
5880
|
"args": {
|
|
5735
|
-
"
|
|
5736
|
-
"description": "
|
|
5737
|
-
"name": "
|
|
5881
|
+
"cluster_id": {
|
|
5882
|
+
"description": "Cluster ID to edit",
|
|
5883
|
+
"name": "cluster_id",
|
|
5738
5884
|
"required": true
|
|
5739
5885
|
}
|
|
5740
5886
|
},
|
|
5741
|
-
"description": "
|
|
5887
|
+
"description": "Update an existing tenant cluster",
|
|
5742
5888
|
"examples": [
|
|
5743
|
-
"$ xano tenant
|
|
5744
|
-
"$ xano tenant
|
|
5745
|
-
"$ xano tenant backup export t1234-abcd-xyz1 --backup_id 10 -o json"
|
|
5889
|
+
"$ 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",
|
|
5890
|
+
"$ xano tenant cluster edit 1 --name \"eu-west\" --description \"\" --domain \"\" --type run -o json"
|
|
5746
5891
|
],
|
|
5747
5892
|
"flags": {
|
|
5748
5893
|
"profile": {
|
|
@@ -5764,18 +5909,36 @@
|
|
|
5764
5909
|
"allowNo": false,
|
|
5765
5910
|
"type": "boolean"
|
|
5766
5911
|
},
|
|
5767
|
-
"
|
|
5768
|
-
"
|
|
5769
|
-
"
|
|
5912
|
+
"description": {
|
|
5913
|
+
"char": "d",
|
|
5914
|
+
"description": "Cluster description",
|
|
5915
|
+
"name": "description",
|
|
5770
5916
|
"required": true,
|
|
5771
5917
|
"hasDynamicHelp": false,
|
|
5772
5918
|
"multiple": false,
|
|
5773
5919
|
"type": "option"
|
|
5774
5920
|
},
|
|
5775
|
-
"
|
|
5921
|
+
"domain": {
|
|
5922
|
+
"description": "Custom domain for the cluster",
|
|
5923
|
+
"name": "domain",
|
|
5924
|
+
"required": true,
|
|
5925
|
+
"hasDynamicHelp": false,
|
|
5926
|
+
"multiple": false,
|
|
5927
|
+
"type": "option"
|
|
5928
|
+
},
|
|
5929
|
+
"name": {
|
|
5930
|
+
"char": "n",
|
|
5931
|
+
"description": "Cluster name",
|
|
5932
|
+
"name": "name",
|
|
5933
|
+
"required": true,
|
|
5934
|
+
"hasDynamicHelp": false,
|
|
5935
|
+
"multiple": false,
|
|
5936
|
+
"type": "option"
|
|
5937
|
+
},
|
|
5938
|
+
"output": {
|
|
5776
5939
|
"char": "o",
|
|
5777
5940
|
"description": "Output format",
|
|
5778
|
-
"name": "
|
|
5941
|
+
"name": "output",
|
|
5779
5942
|
"required": false,
|
|
5780
5943
|
"default": "summary",
|
|
5781
5944
|
"hasDynamicHelp": false,
|
|
@@ -5786,27 +5949,22 @@
|
|
|
5786
5949
|
],
|
|
5787
5950
|
"type": "option"
|
|
5788
5951
|
},
|
|
5789
|
-
"
|
|
5790
|
-
"description": "
|
|
5791
|
-
"name": "
|
|
5792
|
-
"required":
|
|
5793
|
-
"hasDynamicHelp": false,
|
|
5794
|
-
"multiple": false,
|
|
5795
|
-
"type": "option"
|
|
5796
|
-
},
|
|
5797
|
-
"workspace": {
|
|
5798
|
-
"char": "w",
|
|
5799
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
5800
|
-
"name": "workspace",
|
|
5801
|
-
"required": false,
|
|
5952
|
+
"type": {
|
|
5953
|
+
"description": "Cluster type",
|
|
5954
|
+
"name": "type",
|
|
5955
|
+
"required": true,
|
|
5802
5956
|
"hasDynamicHelp": false,
|
|
5803
5957
|
"multiple": false,
|
|
5958
|
+
"options": [
|
|
5959
|
+
"standard",
|
|
5960
|
+
"run"
|
|
5961
|
+
],
|
|
5804
5962
|
"type": "option"
|
|
5805
5963
|
}
|
|
5806
5964
|
},
|
|
5807
5965
|
"hasDynamicHelp": false,
|
|
5808
5966
|
"hiddenAliases": [],
|
|
5809
|
-
"id": "tenant:
|
|
5967
|
+
"id": "tenant:cluster:edit",
|
|
5810
5968
|
"pluginAlias": "@xano/cli",
|
|
5811
5969
|
"pluginName": "@xano/cli",
|
|
5812
5970
|
"pluginType": "core",
|
|
@@ -5817,24 +5975,24 @@
|
|
|
5817
5975
|
"dist",
|
|
5818
5976
|
"commands",
|
|
5819
5977
|
"tenant",
|
|
5820
|
-
"
|
|
5821
|
-
"
|
|
5978
|
+
"cluster",
|
|
5979
|
+
"edit",
|
|
5822
5980
|
"index.js"
|
|
5823
5981
|
]
|
|
5824
5982
|
},
|
|
5825
|
-
"tenant:
|
|
5983
|
+
"tenant:cluster:get": {
|
|
5826
5984
|
"aliases": [],
|
|
5827
5985
|
"args": {
|
|
5828
|
-
"
|
|
5829
|
-
"description": "
|
|
5830
|
-
"name": "
|
|
5986
|
+
"cluster_id": {
|
|
5987
|
+
"description": "Cluster ID to retrieve",
|
|
5988
|
+
"name": "cluster_id",
|
|
5831
5989
|
"required": true
|
|
5832
5990
|
}
|
|
5833
5991
|
},
|
|
5834
|
-
"description": "
|
|
5992
|
+
"description": "Get details of a specific tenant cluster",
|
|
5835
5993
|
"examples": [
|
|
5836
|
-
"$ xano tenant
|
|
5837
|
-
"$ xano tenant
|
|
5994
|
+
"$ xano tenant cluster get 1\nCluster: us-east-1\n ID: 1\n Type: standard\n Domain: us-east-1.xano.io\n",
|
|
5995
|
+
"$ xano tenant cluster get 1 -o json"
|
|
5838
5996
|
],
|
|
5839
5997
|
"flags": {
|
|
5840
5998
|
"profile": {
|
|
@@ -5856,25 +6014,6 @@
|
|
|
5856
6014
|
"allowNo": false,
|
|
5857
6015
|
"type": "boolean"
|
|
5858
6016
|
},
|
|
5859
|
-
"description": {
|
|
5860
|
-
"char": "d",
|
|
5861
|
-
"description": "Backup description",
|
|
5862
|
-
"name": "description",
|
|
5863
|
-
"required": false,
|
|
5864
|
-
"default": "",
|
|
5865
|
-
"hasDynamicHelp": false,
|
|
5866
|
-
"multiple": false,
|
|
5867
|
-
"type": "option"
|
|
5868
|
-
},
|
|
5869
|
-
"file": {
|
|
5870
|
-
"char": "f",
|
|
5871
|
-
"description": "Path to the backup file (.tar.gz)",
|
|
5872
|
-
"name": "file",
|
|
5873
|
-
"required": true,
|
|
5874
|
-
"hasDynamicHelp": false,
|
|
5875
|
-
"multiple": false,
|
|
5876
|
-
"type": "option"
|
|
5877
|
-
},
|
|
5878
6017
|
"output": {
|
|
5879
6018
|
"char": "o",
|
|
5880
6019
|
"description": "Output format",
|
|
@@ -5888,20 +6027,11 @@
|
|
|
5888
6027
|
"json"
|
|
5889
6028
|
],
|
|
5890
6029
|
"type": "option"
|
|
5891
|
-
},
|
|
5892
|
-
"workspace": {
|
|
5893
|
-
"char": "w",
|
|
5894
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
5895
|
-
"name": "workspace",
|
|
5896
|
-
"required": false,
|
|
5897
|
-
"hasDynamicHelp": false,
|
|
5898
|
-
"multiple": false,
|
|
5899
|
-
"type": "option"
|
|
5900
6030
|
}
|
|
5901
6031
|
},
|
|
5902
6032
|
"hasDynamicHelp": false,
|
|
5903
6033
|
"hiddenAliases": [],
|
|
5904
|
-
"id": "tenant:
|
|
6034
|
+
"id": "tenant:cluster:get",
|
|
5905
6035
|
"pluginAlias": "@xano/cli",
|
|
5906
6036
|
"pluginName": "@xano/cli",
|
|
5907
6037
|
"pluginType": "core",
|
|
@@ -5912,24 +6042,18 @@
|
|
|
5912
6042
|
"dist",
|
|
5913
6043
|
"commands",
|
|
5914
6044
|
"tenant",
|
|
5915
|
-
"
|
|
5916
|
-
"
|
|
6045
|
+
"cluster",
|
|
6046
|
+
"get",
|
|
5917
6047
|
"index.js"
|
|
5918
6048
|
]
|
|
5919
6049
|
},
|
|
5920
|
-
"tenant:
|
|
6050
|
+
"tenant:cluster:list": {
|
|
5921
6051
|
"aliases": [],
|
|
5922
|
-
"args": {
|
|
5923
|
-
|
|
5924
|
-
"description": "Tenant name to list backups for",
|
|
5925
|
-
"name": "tenant_name",
|
|
5926
|
-
"required": true
|
|
5927
|
-
}
|
|
5928
|
-
},
|
|
5929
|
-
"description": "List backups for a tenant",
|
|
6052
|
+
"args": {},
|
|
6053
|
+
"description": "List all tenant clusters",
|
|
5930
6054
|
"examples": [
|
|
5931
|
-
"$ xano tenant
|
|
5932
|
-
"$ xano tenant
|
|
6055
|
+
"$ xano tenant cluster list\nTenant clusters:\n - us-east-1 (standard) [ID: 1]\n - eu-west-1 (run) [ID: 2]\n",
|
|
6056
|
+
"$ xano tenant cluster list --output json"
|
|
5933
6057
|
],
|
|
5934
6058
|
"flags": {
|
|
5935
6059
|
"profile": {
|
|
@@ -5964,29 +6088,11 @@
|
|
|
5964
6088
|
"json"
|
|
5965
6089
|
],
|
|
5966
6090
|
"type": "option"
|
|
5967
|
-
},
|
|
5968
|
-
"page": {
|
|
5969
|
-
"description": "Page number for pagination",
|
|
5970
|
-
"name": "page",
|
|
5971
|
-
"required": false,
|
|
5972
|
-
"default": 1,
|
|
5973
|
-
"hasDynamicHelp": false,
|
|
5974
|
-
"multiple": false,
|
|
5975
|
-
"type": "option"
|
|
5976
|
-
},
|
|
5977
|
-
"workspace": {
|
|
5978
|
-
"char": "w",
|
|
5979
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
5980
|
-
"name": "workspace",
|
|
5981
|
-
"required": false,
|
|
5982
|
-
"hasDynamicHelp": false,
|
|
5983
|
-
"multiple": false,
|
|
5984
|
-
"type": "option"
|
|
5985
6091
|
}
|
|
5986
6092
|
},
|
|
5987
6093
|
"hasDynamicHelp": false,
|
|
5988
6094
|
"hiddenAliases": [],
|
|
5989
|
-
"id": "tenant:
|
|
6095
|
+
"id": "tenant:cluster:list",
|
|
5990
6096
|
"pluginAlias": "@xano/cli",
|
|
5991
6097
|
"pluginName": "@xano/cli",
|
|
5992
6098
|
"pluginType": "core",
|
|
@@ -5997,12 +6103,12 @@
|
|
|
5997
6103
|
"dist",
|
|
5998
6104
|
"commands",
|
|
5999
6105
|
"tenant",
|
|
6000
|
-
"
|
|
6106
|
+
"cluster",
|
|
6001
6107
|
"list",
|
|
6002
6108
|
"index.js"
|
|
6003
6109
|
]
|
|
6004
6110
|
},
|
|
6005
|
-
"tenant:env:
|
|
6111
|
+
"tenant:env:get": {
|
|
6006
6112
|
"aliases": [],
|
|
6007
6113
|
"args": {
|
|
6008
6114
|
"tenant_name": {
|
|
@@ -6011,11 +6117,10 @@
|
|
|
6011
6117
|
"required": true
|
|
6012
6118
|
}
|
|
6013
6119
|
},
|
|
6014
|
-
"description": "
|
|
6120
|
+
"description": "Get a single environment variable for a tenant",
|
|
6015
6121
|
"examples": [
|
|
6016
|
-
"$ xano tenant env
|
|
6017
|
-
"$ xano tenant env
|
|
6018
|
-
"$ xano tenant env delete my-tenant --name DATABASE_URL -f -w 5 -o json"
|
|
6122
|
+
"$ xano tenant env get my-tenant --name DATABASE_URL\npostgres://localhost:5432/mydb\n",
|
|
6123
|
+
"$ xano tenant env get my-tenant --name DATABASE_URL -w 5 -o json"
|
|
6019
6124
|
],
|
|
6020
6125
|
"flags": {
|
|
6021
6126
|
"profile": {
|
|
@@ -6037,14 +6142,6 @@
|
|
|
6037
6142
|
"allowNo": false,
|
|
6038
6143
|
"type": "boolean"
|
|
6039
6144
|
},
|
|
6040
|
-
"force": {
|
|
6041
|
-
"char": "f",
|
|
6042
|
-
"description": "Skip confirmation prompt",
|
|
6043
|
-
"name": "force",
|
|
6044
|
-
"required": false,
|
|
6045
|
-
"allowNo": false,
|
|
6046
|
-
"type": "boolean"
|
|
6047
|
-
},
|
|
6048
6145
|
"name": {
|
|
6049
6146
|
"char": "n",
|
|
6050
6147
|
"description": "Environment variable name",
|
|
@@ -6080,7 +6177,7 @@
|
|
|
6080
6177
|
},
|
|
6081
6178
|
"hasDynamicHelp": false,
|
|
6082
6179
|
"hiddenAliases": [],
|
|
6083
|
-
"id": "tenant:env:
|
|
6180
|
+
"id": "tenant:env:get",
|
|
6084
6181
|
"pluginAlias": "@xano/cli",
|
|
6085
6182
|
"pluginName": "@xano/cli",
|
|
6086
6183
|
"pluginType": "core",
|
|
@@ -6092,11 +6189,11 @@
|
|
|
6092
6189
|
"commands",
|
|
6093
6190
|
"tenant",
|
|
6094
6191
|
"env",
|
|
6095
|
-
"
|
|
6192
|
+
"get",
|
|
6096
6193
|
"index.js"
|
|
6097
6194
|
]
|
|
6098
6195
|
},
|
|
6099
|
-
"tenant:env:
|
|
6196
|
+
"tenant:env:list": {
|
|
6100
6197
|
"aliases": [],
|
|
6101
6198
|
"args": {
|
|
6102
6199
|
"tenant_name": {
|
|
@@ -6105,10 +6202,10 @@
|
|
|
6105
6202
|
"required": true
|
|
6106
6203
|
}
|
|
6107
6204
|
},
|
|
6108
|
-
"description": "
|
|
6205
|
+
"description": "List environment variable keys for a tenant",
|
|
6109
6206
|
"examples": [
|
|
6110
|
-
"$ xano tenant env
|
|
6111
|
-
"$ xano tenant env
|
|
6207
|
+
"$ xano tenant env list my-tenant\nEnvironment variables for tenant my-tenant:\n - DATABASE_URL\n - API_KEY\n - SECRET_TOKEN\n",
|
|
6208
|
+
"$ xano tenant env list my-tenant -w 5 -o json"
|
|
6112
6209
|
],
|
|
6113
6210
|
"flags": {
|
|
6114
6211
|
"profile": {
|
|
@@ -6130,15 +6227,6 @@
|
|
|
6130
6227
|
"allowNo": false,
|
|
6131
6228
|
"type": "boolean"
|
|
6132
6229
|
},
|
|
6133
|
-
"name": {
|
|
6134
|
-
"char": "n",
|
|
6135
|
-
"description": "Environment variable name",
|
|
6136
|
-
"name": "name",
|
|
6137
|
-
"required": true,
|
|
6138
|
-
"hasDynamicHelp": false,
|
|
6139
|
-
"multiple": false,
|
|
6140
|
-
"type": "option"
|
|
6141
|
-
},
|
|
6142
6230
|
"output": {
|
|
6143
6231
|
"char": "o",
|
|
6144
6232
|
"description": "Output format",
|
|
@@ -6165,7 +6253,7 @@
|
|
|
6165
6253
|
},
|
|
6166
6254
|
"hasDynamicHelp": false,
|
|
6167
6255
|
"hiddenAliases": [],
|
|
6168
|
-
"id": "tenant:env:
|
|
6256
|
+
"id": "tenant:env:list",
|
|
6169
6257
|
"pluginAlias": "@xano/cli",
|
|
6170
6258
|
"pluginName": "@xano/cli",
|
|
6171
6259
|
"pluginType": "core",
|
|
@@ -6177,7 +6265,7 @@
|
|
|
6177
6265
|
"commands",
|
|
6178
6266
|
"tenant",
|
|
6179
6267
|
"env",
|
|
6180
|
-
"
|
|
6268
|
+
"list",
|
|
6181
6269
|
"index.js"
|
|
6182
6270
|
]
|
|
6183
6271
|
},
|
|
@@ -6275,7 +6363,7 @@
|
|
|
6275
6363
|
"index.js"
|
|
6276
6364
|
]
|
|
6277
6365
|
},
|
|
6278
|
-
"tenant:env:
|
|
6366
|
+
"tenant:env:set": {
|
|
6279
6367
|
"aliases": [],
|
|
6280
6368
|
"args": {
|
|
6281
6369
|
"tenant_name": {
|
|
@@ -6284,10 +6372,10 @@
|
|
|
6284
6372
|
"required": true
|
|
6285
6373
|
}
|
|
6286
6374
|
},
|
|
6287
|
-
"description": "
|
|
6375
|
+
"description": "Set (create or update) an environment variable for a tenant",
|
|
6288
6376
|
"examples": [
|
|
6289
|
-
"$ xano tenant env
|
|
6290
|
-
"$ xano tenant env
|
|
6377
|
+
"$ xano tenant env set my-tenant --name DATABASE_URL --value postgres://localhost:5432/mydb\nEnvironment variable 'DATABASE_URL' set for tenant my-tenant\n",
|
|
6378
|
+
"$ xano tenant env set my-tenant --name DATABASE_URL --value postgres://localhost:5432/mydb -w 5 -o json"
|
|
6291
6379
|
],
|
|
6292
6380
|
"flags": {
|
|
6293
6381
|
"profile": {
|
|
@@ -6309,6 +6397,15 @@
|
|
|
6309
6397
|
"allowNo": false,
|
|
6310
6398
|
"type": "boolean"
|
|
6311
6399
|
},
|
|
6400
|
+
"name": {
|
|
6401
|
+
"char": "n",
|
|
6402
|
+
"description": "Environment variable name",
|
|
6403
|
+
"name": "name",
|
|
6404
|
+
"required": true,
|
|
6405
|
+
"hasDynamicHelp": false,
|
|
6406
|
+
"multiple": false,
|
|
6407
|
+
"type": "option"
|
|
6408
|
+
},
|
|
6312
6409
|
"output": {
|
|
6313
6410
|
"char": "o",
|
|
6314
6411
|
"description": "Output format",
|
|
@@ -6323,6 +6420,14 @@
|
|
|
6323
6420
|
],
|
|
6324
6421
|
"type": "option"
|
|
6325
6422
|
},
|
|
6423
|
+
"value": {
|
|
6424
|
+
"description": "Environment variable value",
|
|
6425
|
+
"name": "value",
|
|
6426
|
+
"required": true,
|
|
6427
|
+
"hasDynamicHelp": false,
|
|
6428
|
+
"multiple": false,
|
|
6429
|
+
"type": "option"
|
|
6430
|
+
},
|
|
6326
6431
|
"workspace": {
|
|
6327
6432
|
"char": "w",
|
|
6328
6433
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -6335,7 +6440,7 @@
|
|
|
6335
6440
|
},
|
|
6336
6441
|
"hasDynamicHelp": false,
|
|
6337
6442
|
"hiddenAliases": [],
|
|
6338
|
-
"id": "tenant:env:
|
|
6443
|
+
"id": "tenant:env:set",
|
|
6339
6444
|
"pluginAlias": "@xano/cli",
|
|
6340
6445
|
"pluginName": "@xano/cli",
|
|
6341
6446
|
"pluginType": "core",
|
|
@@ -6347,23 +6452,24 @@
|
|
|
6347
6452
|
"commands",
|
|
6348
6453
|
"tenant",
|
|
6349
6454
|
"env",
|
|
6350
|
-
"
|
|
6455
|
+
"set",
|
|
6351
6456
|
"index.js"
|
|
6352
6457
|
]
|
|
6353
6458
|
},
|
|
6354
|
-
"tenant:
|
|
6459
|
+
"tenant:env:set_all": {
|
|
6355
6460
|
"aliases": [],
|
|
6356
6461
|
"args": {
|
|
6357
6462
|
"tenant_name": {
|
|
6358
|
-
"description": "Tenant name
|
|
6463
|
+
"description": "Tenant name",
|
|
6359
6464
|
"name": "tenant_name",
|
|
6360
6465
|
"required": true
|
|
6361
6466
|
}
|
|
6362
6467
|
},
|
|
6363
|
-
"description": "
|
|
6468
|
+
"description": "Set all environment variables for a tenant from a YAML file (replaces all existing)",
|
|
6364
6469
|
"examples": [
|
|
6365
|
-
"$ xano tenant
|
|
6366
|
-
"$ xano tenant
|
|
6470
|
+
"$ xano tenant env set_all my-tenant\nReads from env_my-tenant.yaml\n",
|
|
6471
|
+
"$ xano tenant env set_all my-tenant --file ./my-env.yaml",
|
|
6472
|
+
"$ xano tenant env set_all my-tenant -o json"
|
|
6367
6473
|
],
|
|
6368
6474
|
"flags": {
|
|
6369
6475
|
"profile": {
|
|
@@ -6385,22 +6491,22 @@
|
|
|
6385
6491
|
"allowNo": false,
|
|
6386
6492
|
"type": "boolean"
|
|
6387
6493
|
},
|
|
6388
|
-
"
|
|
6389
|
-
"description": "
|
|
6390
|
-
"name": "
|
|
6391
|
-
"required": true,
|
|
6392
|
-
"hasDynamicHelp": false,
|
|
6393
|
-
"multiple": false,
|
|
6394
|
-
"type": "option"
|
|
6395
|
-
},
|
|
6396
|
-
"force": {
|
|
6397
|
-
"char": "f",
|
|
6398
|
-
"description": "Skip confirmation prompt",
|
|
6399
|
-
"name": "force",
|
|
6494
|
+
"clean": {
|
|
6495
|
+
"description": "Remove the source file after successful upload",
|
|
6496
|
+
"name": "clean",
|
|
6400
6497
|
"required": false,
|
|
6401
6498
|
"allowNo": false,
|
|
6402
6499
|
"type": "boolean"
|
|
6403
6500
|
},
|
|
6501
|
+
"file": {
|
|
6502
|
+
"char": "f",
|
|
6503
|
+
"description": "Path to env file (default: env_<tenant_name>.yaml)",
|
|
6504
|
+
"name": "file",
|
|
6505
|
+
"required": false,
|
|
6506
|
+
"hasDynamicHelp": false,
|
|
6507
|
+
"multiple": false,
|
|
6508
|
+
"type": "option"
|
|
6509
|
+
},
|
|
6404
6510
|
"output": {
|
|
6405
6511
|
"char": "o",
|
|
6406
6512
|
"description": "Output format",
|
|
@@ -6427,7 +6533,7 @@
|
|
|
6427
6533
|
},
|
|
6428
6534
|
"hasDynamicHelp": false,
|
|
6429
6535
|
"hiddenAliases": [],
|
|
6430
|
-
"id": "tenant:
|
|
6536
|
+
"id": "tenant:env:set_all",
|
|
6431
6537
|
"pluginAlias": "@xano/cli",
|
|
6432
6538
|
"pluginName": "@xano/cli",
|
|
6433
6539
|
"pluginType": "core",
|
|
@@ -6438,8 +6544,8 @@
|
|
|
6438
6544
|
"dist",
|
|
6439
6545
|
"commands",
|
|
6440
6546
|
"tenant",
|
|
6441
|
-
"
|
|
6442
|
-
"
|
|
6547
|
+
"env",
|
|
6548
|
+
"set_all",
|
|
6443
6549
|
"index.js"
|
|
6444
6550
|
]
|
|
6445
6551
|
},
|
|
@@ -6537,100 +6643,7 @@
|
|
|
6537
6643
|
"index.js"
|
|
6538
6644
|
]
|
|
6539
6645
|
},
|
|
6540
|
-
"tenant:
|
|
6541
|
-
"aliases": [],
|
|
6542
|
-
"args": {
|
|
6543
|
-
"tenant_name": {
|
|
6544
|
-
"description": "Tenant name",
|
|
6545
|
-
"name": "tenant_name",
|
|
6546
|
-
"required": true
|
|
6547
|
-
}
|
|
6548
|
-
},
|
|
6549
|
-
"description": "Set (create or update) an environment variable for a tenant",
|
|
6550
|
-
"examples": [
|
|
6551
|
-
"$ xano tenant env set my-tenant --name DATABASE_URL --value postgres://localhost:5432/mydb\nEnvironment variable 'DATABASE_URL' set for tenant my-tenant\n",
|
|
6552
|
-
"$ xano tenant env set my-tenant --name DATABASE_URL --value postgres://localhost:5432/mydb -w 5 -o json"
|
|
6553
|
-
],
|
|
6554
|
-
"flags": {
|
|
6555
|
-
"profile": {
|
|
6556
|
-
"char": "p",
|
|
6557
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
6558
|
-
"env": "XANO_PROFILE",
|
|
6559
|
-
"name": "profile",
|
|
6560
|
-
"required": false,
|
|
6561
|
-
"hasDynamicHelp": false,
|
|
6562
|
-
"multiple": false,
|
|
6563
|
-
"type": "option"
|
|
6564
|
-
},
|
|
6565
|
-
"verbose": {
|
|
6566
|
-
"char": "v",
|
|
6567
|
-
"description": "Show detailed request/response information",
|
|
6568
|
-
"env": "XANO_VERBOSE",
|
|
6569
|
-
"name": "verbose",
|
|
6570
|
-
"required": false,
|
|
6571
|
-
"allowNo": false,
|
|
6572
|
-
"type": "boolean"
|
|
6573
|
-
},
|
|
6574
|
-
"name": {
|
|
6575
|
-
"char": "n",
|
|
6576
|
-
"description": "Environment variable name",
|
|
6577
|
-
"name": "name",
|
|
6578
|
-
"required": true,
|
|
6579
|
-
"hasDynamicHelp": false,
|
|
6580
|
-
"multiple": false,
|
|
6581
|
-
"type": "option"
|
|
6582
|
-
},
|
|
6583
|
-
"output": {
|
|
6584
|
-
"char": "o",
|
|
6585
|
-
"description": "Output format",
|
|
6586
|
-
"name": "output",
|
|
6587
|
-
"required": false,
|
|
6588
|
-
"default": "summary",
|
|
6589
|
-
"hasDynamicHelp": false,
|
|
6590
|
-
"multiple": false,
|
|
6591
|
-
"options": [
|
|
6592
|
-
"summary",
|
|
6593
|
-
"json"
|
|
6594
|
-
],
|
|
6595
|
-
"type": "option"
|
|
6596
|
-
},
|
|
6597
|
-
"value": {
|
|
6598
|
-
"description": "Environment variable value",
|
|
6599
|
-
"name": "value",
|
|
6600
|
-
"required": true,
|
|
6601
|
-
"hasDynamicHelp": false,
|
|
6602
|
-
"multiple": false,
|
|
6603
|
-
"type": "option"
|
|
6604
|
-
},
|
|
6605
|
-
"workspace": {
|
|
6606
|
-
"char": "w",
|
|
6607
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
6608
|
-
"name": "workspace",
|
|
6609
|
-
"required": false,
|
|
6610
|
-
"hasDynamicHelp": false,
|
|
6611
|
-
"multiple": false,
|
|
6612
|
-
"type": "option"
|
|
6613
|
-
}
|
|
6614
|
-
},
|
|
6615
|
-
"hasDynamicHelp": false,
|
|
6616
|
-
"hiddenAliases": [],
|
|
6617
|
-
"id": "tenant:env:set",
|
|
6618
|
-
"pluginAlias": "@xano/cli",
|
|
6619
|
-
"pluginName": "@xano/cli",
|
|
6620
|
-
"pluginType": "core",
|
|
6621
|
-
"strict": true,
|
|
6622
|
-
"enableJsonFlag": false,
|
|
6623
|
-
"isESM": true,
|
|
6624
|
-
"relativePath": [
|
|
6625
|
-
"dist",
|
|
6626
|
-
"commands",
|
|
6627
|
-
"tenant",
|
|
6628
|
-
"env",
|
|
6629
|
-
"set",
|
|
6630
|
-
"index.js"
|
|
6631
|
-
]
|
|
6632
|
-
},
|
|
6633
|
-
"tenant:env:set_all": {
|
|
6646
|
+
"tenant:license:set": {
|
|
6634
6647
|
"aliases": [],
|
|
6635
6648
|
"args": {
|
|
6636
6649
|
"tenant_name": {
|
|
@@ -6639,11 +6652,12 @@
|
|
|
6639
6652
|
"required": true
|
|
6640
6653
|
}
|
|
6641
6654
|
},
|
|
6642
|
-
"description": "Set
|
|
6655
|
+
"description": "Set/update the license for a tenant",
|
|
6643
6656
|
"examples": [
|
|
6644
|
-
"$ xano tenant
|
|
6645
|
-
"$ xano tenant
|
|
6646
|
-
"$ xano tenant
|
|
6657
|
+
"$ xano tenant license set my-tenant\nReads from license_my-tenant.yaml\n",
|
|
6658
|
+
"$ xano tenant license set my-tenant --file ./license.yaml",
|
|
6659
|
+
"$ xano tenant license set my-tenant --value 'key: value'",
|
|
6660
|
+
"$ xano tenant license set my-tenant -o json"
|
|
6647
6661
|
],
|
|
6648
6662
|
"flags": {
|
|
6649
6663
|
"profile": {
|
|
@@ -6667,6 +6681,9 @@
|
|
|
6667
6681
|
},
|
|
6668
6682
|
"clean": {
|
|
6669
6683
|
"description": "Remove the source file after successful upload",
|
|
6684
|
+
"exclusive": [
|
|
6685
|
+
"value"
|
|
6686
|
+
],
|
|
6670
6687
|
"name": "clean",
|
|
6671
6688
|
"required": false,
|
|
6672
6689
|
"allowNo": false,
|
|
@@ -6674,7 +6691,10 @@
|
|
|
6674
6691
|
},
|
|
6675
6692
|
"file": {
|
|
6676
6693
|
"char": "f",
|
|
6677
|
-
"description": "Path to
|
|
6694
|
+
"description": "Path to license file (default: license_<tenant_name>.yaml)",
|
|
6695
|
+
"exclusive": [
|
|
6696
|
+
"value"
|
|
6697
|
+
],
|
|
6678
6698
|
"name": "file",
|
|
6679
6699
|
"required": false,
|
|
6680
6700
|
"hasDynamicHelp": false,
|
|
@@ -6695,6 +6715,18 @@
|
|
|
6695
6715
|
],
|
|
6696
6716
|
"type": "option"
|
|
6697
6717
|
},
|
|
6718
|
+
"value": {
|
|
6719
|
+
"description": "Inline license value",
|
|
6720
|
+
"exclusive": [
|
|
6721
|
+
"file",
|
|
6722
|
+
"clean"
|
|
6723
|
+
],
|
|
6724
|
+
"name": "value",
|
|
6725
|
+
"required": false,
|
|
6726
|
+
"hasDynamicHelp": false,
|
|
6727
|
+
"multiple": false,
|
|
6728
|
+
"type": "option"
|
|
6729
|
+
},
|
|
6698
6730
|
"workspace": {
|
|
6699
6731
|
"char": "w",
|
|
6700
6732
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -6707,7 +6739,7 @@
|
|
|
6707
6739
|
},
|
|
6708
6740
|
"hasDynamicHelp": false,
|
|
6709
6741
|
"hiddenAliases": [],
|
|
6710
|
-
"id": "tenant:
|
|
6742
|
+
"id": "tenant:license:set",
|
|
6711
6743
|
"pluginAlias": "@xano/cli",
|
|
6712
6744
|
"pluginName": "@xano/cli",
|
|
6713
6745
|
"pluginType": "core",
|
|
@@ -6718,12 +6750,12 @@
|
|
|
6718
6750
|
"dist",
|
|
6719
6751
|
"commands",
|
|
6720
6752
|
"tenant",
|
|
6721
|
-
"
|
|
6722
|
-
"
|
|
6753
|
+
"license",
|
|
6754
|
+
"set",
|
|
6723
6755
|
"index.js"
|
|
6724
6756
|
]
|
|
6725
6757
|
},
|
|
6726
|
-
"tenant:
|
|
6758
|
+
"tenant:env:delete": {
|
|
6727
6759
|
"aliases": [],
|
|
6728
6760
|
"args": {
|
|
6729
6761
|
"tenant_name": {
|
|
@@ -6732,12 +6764,11 @@
|
|
|
6732
6764
|
"required": true
|
|
6733
6765
|
}
|
|
6734
6766
|
},
|
|
6735
|
-
"description": "
|
|
6767
|
+
"description": "Delete an environment variable from a tenant",
|
|
6736
6768
|
"examples": [
|
|
6737
|
-
"$ xano tenant
|
|
6738
|
-
"$ xano tenant
|
|
6739
|
-
"$ xano tenant
|
|
6740
|
-
"$ xano tenant license set my-tenant -o json"
|
|
6769
|
+
"$ 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",
|
|
6770
|
+
"$ xano tenant env delete my-tenant --name DATABASE_URL --force\nEnvironment variable 'DATABASE_URL' deleted from tenant my-tenant\n",
|
|
6771
|
+
"$ xano tenant env delete my-tenant --name DATABASE_URL -f -w 5 -o json"
|
|
6741
6772
|
],
|
|
6742
6773
|
"flags": {
|
|
6743
6774
|
"profile": {
|
|
@@ -6759,24 +6790,19 @@
|
|
|
6759
6790
|
"allowNo": false,
|
|
6760
6791
|
"type": "boolean"
|
|
6761
6792
|
},
|
|
6762
|
-
"
|
|
6763
|
-
"
|
|
6764
|
-
"
|
|
6765
|
-
|
|
6766
|
-
],
|
|
6767
|
-
"name": "clean",
|
|
6793
|
+
"force": {
|
|
6794
|
+
"char": "f",
|
|
6795
|
+
"description": "Skip confirmation prompt",
|
|
6796
|
+
"name": "force",
|
|
6768
6797
|
"required": false,
|
|
6769
6798
|
"allowNo": false,
|
|
6770
6799
|
"type": "boolean"
|
|
6771
6800
|
},
|
|
6772
|
-
"
|
|
6773
|
-
"char": "
|
|
6774
|
-
"description": "
|
|
6775
|
-
"
|
|
6776
|
-
|
|
6777
|
-
],
|
|
6778
|
-
"name": "file",
|
|
6779
|
-
"required": false,
|
|
6801
|
+
"name": {
|
|
6802
|
+
"char": "n",
|
|
6803
|
+
"description": "Environment variable name",
|
|
6804
|
+
"name": "name",
|
|
6805
|
+
"required": true,
|
|
6780
6806
|
"hasDynamicHelp": false,
|
|
6781
6807
|
"multiple": false,
|
|
6782
6808
|
"type": "option"
|
|
@@ -6795,18 +6821,6 @@
|
|
|
6795
6821
|
],
|
|
6796
6822
|
"type": "option"
|
|
6797
6823
|
},
|
|
6798
|
-
"value": {
|
|
6799
|
-
"description": "Inline license value",
|
|
6800
|
-
"exclusive": [
|
|
6801
|
-
"file",
|
|
6802
|
-
"clean"
|
|
6803
|
-
],
|
|
6804
|
-
"name": "value",
|
|
6805
|
-
"required": false,
|
|
6806
|
-
"hasDynamicHelp": false,
|
|
6807
|
-
"multiple": false,
|
|
6808
|
-
"type": "option"
|
|
6809
|
-
},
|
|
6810
6824
|
"workspace": {
|
|
6811
6825
|
"char": "w",
|
|
6812
6826
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -6819,7 +6833,7 @@
|
|
|
6819
6833
|
},
|
|
6820
6834
|
"hasDynamicHelp": false,
|
|
6821
6835
|
"hiddenAliases": [],
|
|
6822
|
-
"id": "tenant:
|
|
6836
|
+
"id": "tenant:env:delete",
|
|
6823
6837
|
"pluginAlias": "@xano/cli",
|
|
6824
6838
|
"pluginName": "@xano/cli",
|
|
6825
6839
|
"pluginType": "core",
|
|
@@ -6830,8 +6844,8 @@
|
|
|
6830
6844
|
"dist",
|
|
6831
6845
|
"commands",
|
|
6832
6846
|
"tenant",
|
|
6833
|
-
"
|
|
6834
|
-
"
|
|
6847
|
+
"env",
|
|
6848
|
+
"delete",
|
|
6835
6849
|
"index.js"
|
|
6836
6850
|
]
|
|
6837
6851
|
},
|
|
@@ -7120,5 +7134,5 @@
|
|
|
7120
7134
|
]
|
|
7121
7135
|
}
|
|
7122
7136
|
},
|
|
7123
|
-
"version": "0.0.
|
|
7137
|
+
"version": "0.0.75-beta.2"
|
|
7124
7138
|
}
|