@xano/cli 0.0.64 → 0.0.65
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/commands/release/pull/index.d.ts +0 -6
- package/dist/commands/release/pull/index.js +15 -62
- package/dist/commands/release/push/index.js +16 -6
- package/dist/commands/tenant/create/index.js +3 -0
- package/dist/commands/tenant/deploy_platform/index.js +1 -0
- package/dist/commands/tenant/deploy_release/index.js +1 -0
- package/dist/commands/tenant/pull/index.d.ts +0 -6
- package/dist/commands/tenant/pull/index.js +9 -56
- package/dist/commands/tenant/push/index.js +16 -6
- package/dist/commands/workspace/git/pull/index.js +7 -6
- package/dist/commands/workspace/pull/index.js +9 -6
- package/dist/commands/workspace/push/index.js +10 -1
- package/dist/utils/document-parser.d.ts +22 -0
- package/dist/utils/document-parser.js +54 -1
- package/oclif.manifest.json +1142 -1142
- package/package.json +1 -1
package/oclif.manifest.json
CHANGED
|
@@ -193,20 +193,20 @@
|
|
|
193
193
|
"index.js"
|
|
194
194
|
]
|
|
195
195
|
},
|
|
196
|
-
"branch:
|
|
196
|
+
"branch:delete": {
|
|
197
197
|
"aliases": [],
|
|
198
198
|
"args": {
|
|
199
199
|
"branch_label": {
|
|
200
|
-
"description": "Branch label to
|
|
200
|
+
"description": "Branch label to delete (cannot delete \"v1\" or the live branch)",
|
|
201
201
|
"name": "branch_label",
|
|
202
202
|
"required": true
|
|
203
203
|
}
|
|
204
204
|
},
|
|
205
|
-
"description": "
|
|
205
|
+
"description": "Delete a branch (cannot delete \"v1\" or the live branch)",
|
|
206
206
|
"examples": [
|
|
207
|
-
"$ xano branch
|
|
208
|
-
"$ xano branch
|
|
209
|
-
"$ xano branch
|
|
207
|
+
"$ xano branch delete feature-old\nAre you sure you want to delete branch 'feature-old'? This action cannot be undone. (y/N) y\nDeleted branch: feature-old\n",
|
|
208
|
+
"$ xano branch delete dev --force\nDeleted branch: dev\n",
|
|
209
|
+
"$ xano branch delete staging -f -o json\n{\n \"deleted\": true,\n \"branch_label\": \"staging\"\n}\n"
|
|
210
210
|
],
|
|
211
211
|
"flags": {
|
|
212
212
|
"profile": {
|
|
@@ -228,32 +228,13 @@
|
|
|
228
228
|
"allowNo": false,
|
|
229
229
|
"type": "boolean"
|
|
230
230
|
},
|
|
231
|
-
"
|
|
232
|
-
"char": "
|
|
233
|
-
"description": "
|
|
234
|
-
"name": "
|
|
235
|
-
"required": false,
|
|
236
|
-
"hasDynamicHelp": false,
|
|
237
|
-
"multiple": false,
|
|
238
|
-
"type": "option"
|
|
239
|
-
},
|
|
240
|
-
"description": {
|
|
241
|
-
"char": "d",
|
|
242
|
-
"description": "New description for the branch",
|
|
243
|
-
"name": "description",
|
|
244
|
-
"required": false,
|
|
245
|
-
"hasDynamicHelp": false,
|
|
246
|
-
"multiple": false,
|
|
247
|
-
"type": "option"
|
|
248
|
-
},
|
|
249
|
-
"label": {
|
|
250
|
-
"char": "l",
|
|
251
|
-
"description": "New label for the branch",
|
|
252
|
-
"name": "label",
|
|
231
|
+
"force": {
|
|
232
|
+
"char": "f",
|
|
233
|
+
"description": "Skip confirmation prompt",
|
|
234
|
+
"name": "force",
|
|
253
235
|
"required": false,
|
|
254
|
-
"
|
|
255
|
-
"
|
|
256
|
-
"type": "option"
|
|
236
|
+
"allowNo": false,
|
|
237
|
+
"type": "boolean"
|
|
257
238
|
},
|
|
258
239
|
"output": {
|
|
259
240
|
"char": "o",
|
|
@@ -281,7 +262,7 @@
|
|
|
281
262
|
},
|
|
282
263
|
"hasDynamicHelp": false,
|
|
283
264
|
"hiddenAliases": [],
|
|
284
|
-
"id": "branch:
|
|
265
|
+
"id": "branch:delete",
|
|
285
266
|
"pluginAlias": "@xano/cli",
|
|
286
267
|
"pluginName": "@xano/cli",
|
|
287
268
|
"pluginType": "core",
|
|
@@ -292,24 +273,24 @@
|
|
|
292
273
|
"dist",
|
|
293
274
|
"commands",
|
|
294
275
|
"branch",
|
|
295
|
-
"
|
|
276
|
+
"delete",
|
|
296
277
|
"index.js"
|
|
297
278
|
]
|
|
298
279
|
},
|
|
299
|
-
"branch:
|
|
280
|
+
"branch:list": {
|
|
300
281
|
"aliases": [],
|
|
301
282
|
"args": {
|
|
302
|
-
"
|
|
303
|
-
"description": "
|
|
304
|
-
"name": "
|
|
305
|
-
"required":
|
|
283
|
+
"workspace_id": {
|
|
284
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
285
|
+
"name": "workspace_id",
|
|
286
|
+
"required": false
|
|
306
287
|
}
|
|
307
288
|
},
|
|
308
|
-
"description": "
|
|
289
|
+
"description": "List all branches in a workspace",
|
|
309
290
|
"examples": [
|
|
310
|
-
"$ xano branch
|
|
311
|
-
"$ xano branch
|
|
312
|
-
"$ xano branch
|
|
291
|
+
"$ xano branch list\nAvailable branches:\n - v1 (live)\n - dev\n - staging\n",
|
|
292
|
+
"$ xano branch list 123\nAvailable branches:\n - v1 (live)\n - feature-auth\n",
|
|
293
|
+
"$ 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"
|
|
313
294
|
],
|
|
314
295
|
"flags": {
|
|
315
296
|
"profile": {
|
|
@@ -331,14 +312,6 @@
|
|
|
331
312
|
"allowNo": false,
|
|
332
313
|
"type": "boolean"
|
|
333
314
|
},
|
|
334
|
-
"force": {
|
|
335
|
-
"char": "f",
|
|
336
|
-
"description": "Skip confirmation prompt",
|
|
337
|
-
"name": "force",
|
|
338
|
-
"required": false,
|
|
339
|
-
"allowNo": false,
|
|
340
|
-
"type": "boolean"
|
|
341
|
-
},
|
|
342
315
|
"output": {
|
|
343
316
|
"char": "o",
|
|
344
317
|
"description": "Output format",
|
|
@@ -352,20 +325,11 @@
|
|
|
352
325
|
"json"
|
|
353
326
|
],
|
|
354
327
|
"type": "option"
|
|
355
|
-
},
|
|
356
|
-
"workspace": {
|
|
357
|
-
"char": "w",
|
|
358
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
359
|
-
"name": "workspace",
|
|
360
|
-
"required": false,
|
|
361
|
-
"hasDynamicHelp": false,
|
|
362
|
-
"multiple": false,
|
|
363
|
-
"type": "option"
|
|
364
328
|
}
|
|
365
329
|
},
|
|
366
330
|
"hasDynamicHelp": false,
|
|
367
331
|
"hiddenAliases": [],
|
|
368
|
-
"id": "branch:
|
|
332
|
+
"id": "branch:list",
|
|
369
333
|
"pluginAlias": "@xano/cli",
|
|
370
334
|
"pluginName": "@xano/cli",
|
|
371
335
|
"pluginType": "core",
|
|
@@ -376,24 +340,24 @@
|
|
|
376
340
|
"dist",
|
|
377
341
|
"commands",
|
|
378
342
|
"branch",
|
|
379
|
-
"
|
|
343
|
+
"list",
|
|
380
344
|
"index.js"
|
|
381
345
|
]
|
|
382
346
|
},
|
|
383
|
-
"branch:
|
|
347
|
+
"branch:set_live": {
|
|
384
348
|
"aliases": [],
|
|
385
349
|
"args": {
|
|
386
350
|
"branch_label": {
|
|
387
|
-
"description": "Branch label (
|
|
351
|
+
"description": "Branch label to set as live (use \"v1\" for default branch)",
|
|
388
352
|
"name": "branch_label",
|
|
389
353
|
"required": true
|
|
390
354
|
}
|
|
391
355
|
},
|
|
392
|
-
"description": "
|
|
356
|
+
"description": "Set a branch as the live (active) branch for API requests",
|
|
393
357
|
"examples": [
|
|
394
|
-
"$ xano branch
|
|
395
|
-
"$ xano branch
|
|
396
|
-
"$ xano branch
|
|
358
|
+
"$ 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",
|
|
359
|
+
"$ xano branch set-live v1 --force\nBranch 'v1' is now live\n",
|
|
360
|
+
"$ 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"
|
|
397
361
|
],
|
|
398
362
|
"flags": {
|
|
399
363
|
"profile": {
|
|
@@ -415,6 +379,14 @@
|
|
|
415
379
|
"allowNo": false,
|
|
416
380
|
"type": "boolean"
|
|
417
381
|
},
|
|
382
|
+
"force": {
|
|
383
|
+
"char": "f",
|
|
384
|
+
"description": "Skip confirmation prompt",
|
|
385
|
+
"name": "force",
|
|
386
|
+
"required": false,
|
|
387
|
+
"allowNo": false,
|
|
388
|
+
"type": "boolean"
|
|
389
|
+
},
|
|
418
390
|
"output": {
|
|
419
391
|
"char": "o",
|
|
420
392
|
"description": "Output format",
|
|
@@ -441,7 +413,7 @@
|
|
|
441
413
|
},
|
|
442
414
|
"hasDynamicHelp": false,
|
|
443
415
|
"hiddenAliases": [],
|
|
444
|
-
"id": "branch:
|
|
416
|
+
"id": "branch:set_live",
|
|
445
417
|
"pluginAlias": "@xano/cli",
|
|
446
418
|
"pluginName": "@xano/cli",
|
|
447
419
|
"pluginType": "core",
|
|
@@ -452,24 +424,23 @@
|
|
|
452
424
|
"dist",
|
|
453
425
|
"commands",
|
|
454
426
|
"branch",
|
|
455
|
-
"
|
|
427
|
+
"set_live",
|
|
456
428
|
"index.js"
|
|
457
429
|
]
|
|
458
430
|
},
|
|
459
|
-
"
|
|
431
|
+
"platform:get": {
|
|
460
432
|
"aliases": [],
|
|
461
433
|
"args": {
|
|
462
|
-
"
|
|
463
|
-
"description": "
|
|
464
|
-
"name": "
|
|
465
|
-
"required":
|
|
434
|
+
"platform_id": {
|
|
435
|
+
"description": "Platform ID to retrieve",
|
|
436
|
+
"name": "platform_id",
|
|
437
|
+
"required": true
|
|
466
438
|
}
|
|
467
439
|
},
|
|
468
|
-
"description": "
|
|
440
|
+
"description": "Get details of a specific platform",
|
|
469
441
|
"examples": [
|
|
470
|
-
"$ xano
|
|
471
|
-
"$ xano
|
|
472
|
-
"$ xano branch list --output json\n[\n {\n \"created_at\": \"2024-01-15T10:30:00Z\",\n \"label\": \"v1\",\n \"backup\": false,\n \"live\": true\n }\n]\n"
|
|
442
|
+
"$ 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",
|
|
443
|
+
"$ xano platform get 23629 -o json"
|
|
473
444
|
],
|
|
474
445
|
"flags": {
|
|
475
446
|
"profile": {
|
|
@@ -508,7 +479,7 @@
|
|
|
508
479
|
},
|
|
509
480
|
"hasDynamicHelp": false,
|
|
510
481
|
"hiddenAliases": [],
|
|
511
|
-
"id": "
|
|
482
|
+
"id": "platform:get",
|
|
512
483
|
"pluginAlias": "@xano/cli",
|
|
513
484
|
"pluginName": "@xano/cli",
|
|
514
485
|
"pluginType": "core",
|
|
@@ -518,21 +489,18 @@
|
|
|
518
489
|
"relativePath": [
|
|
519
490
|
"dist",
|
|
520
491
|
"commands",
|
|
521
|
-
"
|
|
522
|
-
"
|
|
492
|
+
"platform",
|
|
493
|
+
"get",
|
|
523
494
|
"index.js"
|
|
524
495
|
]
|
|
525
496
|
},
|
|
526
|
-
"
|
|
497
|
+
"platform:list": {
|
|
527
498
|
"aliases": [],
|
|
528
499
|
"args": {},
|
|
529
|
-
"description": "
|
|
500
|
+
"description": "List all platforms",
|
|
530
501
|
"examples": [
|
|
531
|
-
"$ xano
|
|
532
|
-
"$ xano
|
|
533
|
-
"$ xano function:create -w 40 -f function.xs --edit\n# Opens function.xs in $EDITOR, then creates function with edited content\nFunction created successfully!\nID: 123\nName: my_function\n",
|
|
534
|
-
"$ cat function.xs | xano function:create -w 40 --stdin\nFunction created successfully!\nID: 123\nName: my_function\n",
|
|
535
|
-
"$ xano function:create -w 40 -f function.xs -o json\n{\n \"id\": 123,\n \"name\": \"my_function\",\n ...\n}\n"
|
|
502
|
+
"$ xano platform list\nPlatforms:\n ID: 23629 | Helm: 0.1.356 | Created: 2025-11-28\n",
|
|
503
|
+
"$ xano platform list --output json"
|
|
536
504
|
],
|
|
537
505
|
"flags": {
|
|
538
506
|
"profile": {
|
|
@@ -554,29 +522,6 @@
|
|
|
554
522
|
"allowNo": false,
|
|
555
523
|
"type": "boolean"
|
|
556
524
|
},
|
|
557
|
-
"edit": {
|
|
558
|
-
"char": "e",
|
|
559
|
-
"dependsOn": [
|
|
560
|
-
"file"
|
|
561
|
-
],
|
|
562
|
-
"description": "Open file in editor before creating function (requires --file)",
|
|
563
|
-
"name": "edit",
|
|
564
|
-
"required": false,
|
|
565
|
-
"allowNo": false,
|
|
566
|
-
"type": "boolean"
|
|
567
|
-
},
|
|
568
|
-
"file": {
|
|
569
|
-
"char": "f",
|
|
570
|
-
"description": "Path to file containing XanoScript code",
|
|
571
|
-
"exclusive": [
|
|
572
|
-
"stdin"
|
|
573
|
-
],
|
|
574
|
-
"name": "file",
|
|
575
|
-
"required": false,
|
|
576
|
-
"hasDynamicHelp": false,
|
|
577
|
-
"multiple": false,
|
|
578
|
-
"type": "option"
|
|
579
|
-
},
|
|
580
525
|
"output": {
|
|
581
526
|
"char": "o",
|
|
582
527
|
"description": "Output format",
|
|
@@ -590,31 +535,11 @@
|
|
|
590
535
|
"json"
|
|
591
536
|
],
|
|
592
537
|
"type": "option"
|
|
593
|
-
},
|
|
594
|
-
"stdin": {
|
|
595
|
-
"char": "s",
|
|
596
|
-
"description": "Read XanoScript code from stdin",
|
|
597
|
-
"exclusive": [
|
|
598
|
-
"file"
|
|
599
|
-
],
|
|
600
|
-
"name": "stdin",
|
|
601
|
-
"required": false,
|
|
602
|
-
"allowNo": false,
|
|
603
|
-
"type": "boolean"
|
|
604
|
-
},
|
|
605
|
-
"workspace": {
|
|
606
|
-
"char": "w",
|
|
607
|
-
"description": "Workspace ID (optional if set in profile)",
|
|
608
|
-
"name": "workspace",
|
|
609
|
-
"required": false,
|
|
610
|
-
"hasDynamicHelp": false,
|
|
611
|
-
"multiple": false,
|
|
612
|
-
"type": "option"
|
|
613
538
|
}
|
|
614
539
|
},
|
|
615
540
|
"hasDynamicHelp": false,
|
|
616
541
|
"hiddenAliases": [],
|
|
617
|
-
"id": "
|
|
542
|
+
"id": "platform:list",
|
|
618
543
|
"pluginAlias": "@xano/cli",
|
|
619
544
|
"pluginName": "@xano/cli",
|
|
620
545
|
"pluginType": "core",
|
|
@@ -624,25 +549,21 @@
|
|
|
624
549
|
"relativePath": [
|
|
625
550
|
"dist",
|
|
626
551
|
"commands",
|
|
627
|
-
"
|
|
628
|
-
"
|
|
552
|
+
"platform",
|
|
553
|
+
"list",
|
|
629
554
|
"index.js"
|
|
630
555
|
]
|
|
631
556
|
},
|
|
632
|
-
"
|
|
557
|
+
"function:create": {
|
|
633
558
|
"aliases": [],
|
|
634
|
-
"args": {
|
|
635
|
-
|
|
636
|
-
"description": "Branch label to set as live (use \"v1\" for default branch)",
|
|
637
|
-
"name": "branch_label",
|
|
638
|
-
"required": true
|
|
639
|
-
}
|
|
640
|
-
},
|
|
641
|
-
"description": "Set a branch as the live (active) branch for API requests",
|
|
559
|
+
"args": {},
|
|
560
|
+
"description": "Create a new function in a workspace",
|
|
642
561
|
"examples": [
|
|
643
|
-
"$ xano
|
|
644
|
-
"$ xano
|
|
645
|
-
"$ xano
|
|
562
|
+
"$ xano function:create -w 40 -f function.xs\nFunction created successfully!\nID: 123\nName: my_function\n",
|
|
563
|
+
"$ xano function:create -f function.xs\nFunction created successfully!\nID: 123\nName: my_function\n",
|
|
564
|
+
"$ 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",
|
|
565
|
+
"$ cat function.xs | xano function:create -w 40 --stdin\nFunction created successfully!\nID: 123\nName: my_function\n",
|
|
566
|
+
"$ xano function:create -w 40 -f function.xs -o json\n{\n \"id\": 123,\n \"name\": \"my_function\",\n ...\n}\n"
|
|
646
567
|
],
|
|
647
568
|
"flags": {
|
|
648
569
|
"profile": {
|
|
@@ -664,14 +585,29 @@
|
|
|
664
585
|
"allowNo": false,
|
|
665
586
|
"type": "boolean"
|
|
666
587
|
},
|
|
667
|
-
"
|
|
668
|
-
"char": "
|
|
669
|
-
"
|
|
670
|
-
|
|
588
|
+
"edit": {
|
|
589
|
+
"char": "e",
|
|
590
|
+
"dependsOn": [
|
|
591
|
+
"file"
|
|
592
|
+
],
|
|
593
|
+
"description": "Open file in editor before creating function (requires --file)",
|
|
594
|
+
"name": "edit",
|
|
671
595
|
"required": false,
|
|
672
596
|
"allowNo": false,
|
|
673
597
|
"type": "boolean"
|
|
674
598
|
},
|
|
599
|
+
"file": {
|
|
600
|
+
"char": "f",
|
|
601
|
+
"description": "Path to file containing XanoScript code",
|
|
602
|
+
"exclusive": [
|
|
603
|
+
"stdin"
|
|
604
|
+
],
|
|
605
|
+
"name": "file",
|
|
606
|
+
"required": false,
|
|
607
|
+
"hasDynamicHelp": false,
|
|
608
|
+
"multiple": false,
|
|
609
|
+
"type": "option"
|
|
610
|
+
},
|
|
675
611
|
"output": {
|
|
676
612
|
"char": "o",
|
|
677
613
|
"description": "Output format",
|
|
@@ -686,9 +622,20 @@
|
|
|
686
622
|
],
|
|
687
623
|
"type": "option"
|
|
688
624
|
},
|
|
625
|
+
"stdin": {
|
|
626
|
+
"char": "s",
|
|
627
|
+
"description": "Read XanoScript code from stdin",
|
|
628
|
+
"exclusive": [
|
|
629
|
+
"file"
|
|
630
|
+
],
|
|
631
|
+
"name": "stdin",
|
|
632
|
+
"required": false,
|
|
633
|
+
"allowNo": false,
|
|
634
|
+
"type": "boolean"
|
|
635
|
+
},
|
|
689
636
|
"workspace": {
|
|
690
637
|
"char": "w",
|
|
691
|
-
"description": "Workspace ID (
|
|
638
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
692
639
|
"name": "workspace",
|
|
693
640
|
"required": false,
|
|
694
641
|
"hasDynamicHelp": false,
|
|
@@ -698,7 +645,7 @@
|
|
|
698
645
|
},
|
|
699
646
|
"hasDynamicHelp": false,
|
|
700
647
|
"hiddenAliases": [],
|
|
701
|
-
"id": "
|
|
648
|
+
"id": "function:create",
|
|
702
649
|
"pluginAlias": "@xano/cli",
|
|
703
650
|
"pluginName": "@xano/cli",
|
|
704
651
|
"pluginType": "core",
|
|
@@ -708,8 +655,8 @@
|
|
|
708
655
|
"relativePath": [
|
|
709
656
|
"dist",
|
|
710
657
|
"commands",
|
|
711
|
-
"
|
|
712
|
-
"
|
|
658
|
+
"function",
|
|
659
|
+
"create",
|
|
713
660
|
"index.js"
|
|
714
661
|
]
|
|
715
662
|
},
|
|
@@ -832,15 +779,20 @@
|
|
|
832
779
|
"index.js"
|
|
833
780
|
]
|
|
834
781
|
},
|
|
835
|
-
"
|
|
782
|
+
"branch:edit": {
|
|
836
783
|
"aliases": [],
|
|
837
|
-
"args": {
|
|
838
|
-
|
|
784
|
+
"args": {
|
|
785
|
+
"branch_label": {
|
|
786
|
+
"description": "Branch label to edit (cannot edit \"v1\" label)",
|
|
787
|
+
"name": "branch_label",
|
|
788
|
+
"required": true
|
|
789
|
+
}
|
|
790
|
+
},
|
|
791
|
+
"description": "Update an existing branch (cannot update \"v1\" label)",
|
|
839
792
|
"examples": [
|
|
840
|
-
"$ xano
|
|
841
|
-
"$ xano
|
|
842
|
-
"$ xano
|
|
843
|
-
"$ xano function:list -p staging -o json --include_draft\n[\n {\n \"id\": 1,\n \"name\": \"function-1\"\n }\n]\n"
|
|
793
|
+
"$ xano branch edit dev --label development\nUpdated branch: development\n",
|
|
794
|
+
"$ xano branch edit feature-auth -l feature-authentication --color \"#ff5733\"\nUpdated branch: feature-authentication\n Color: #ff5733\n",
|
|
795
|
+
"$ 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"
|
|
844
796
|
],
|
|
845
797
|
"flags": {
|
|
846
798
|
"profile": {
|
|
@@ -862,31 +814,31 @@
|
|
|
862
814
|
"allowNo": false,
|
|
863
815
|
"type": "boolean"
|
|
864
816
|
},
|
|
865
|
-
"
|
|
866
|
-
"
|
|
867
|
-
"
|
|
817
|
+
"color": {
|
|
818
|
+
"char": "c",
|
|
819
|
+
"description": "New color hex code for the branch (e.g., \"#ff5733\")",
|
|
820
|
+
"name": "color",
|
|
868
821
|
"required": false,
|
|
869
|
-
"
|
|
870
|
-
"
|
|
822
|
+
"hasDynamicHelp": false,
|
|
823
|
+
"multiple": false,
|
|
824
|
+
"type": "option"
|
|
871
825
|
},
|
|
872
|
-
"
|
|
873
|
-
"
|
|
874
|
-
"
|
|
826
|
+
"description": {
|
|
827
|
+
"char": "d",
|
|
828
|
+
"description": "New description for the branch",
|
|
829
|
+
"name": "description",
|
|
875
830
|
"required": false,
|
|
876
|
-
"
|
|
877
|
-
"
|
|
831
|
+
"hasDynamicHelp": false,
|
|
832
|
+
"multiple": false,
|
|
833
|
+
"type": "option"
|
|
878
834
|
},
|
|
879
|
-
"
|
|
880
|
-
"
|
|
881
|
-
"
|
|
835
|
+
"label": {
|
|
836
|
+
"char": "l",
|
|
837
|
+
"description": "New label for the branch",
|
|
838
|
+
"name": "label",
|
|
882
839
|
"required": false,
|
|
883
|
-
"default": "desc",
|
|
884
840
|
"hasDynamicHelp": false,
|
|
885
841
|
"multiple": false,
|
|
886
|
-
"options": [
|
|
887
|
-
"asc",
|
|
888
|
-
"desc"
|
|
889
|
-
],
|
|
890
842
|
"type": "option"
|
|
891
843
|
},
|
|
892
844
|
"output": {
|
|
@@ -903,36 +855,9 @@
|
|
|
903
855
|
],
|
|
904
856
|
"type": "option"
|
|
905
857
|
},
|
|
906
|
-
"page": {
|
|
907
|
-
"description": "Page number for pagination",
|
|
908
|
-
"name": "page",
|
|
909
|
-
"required": false,
|
|
910
|
-
"default": 1,
|
|
911
|
-
"hasDynamicHelp": false,
|
|
912
|
-
"multiple": false,
|
|
913
|
-
"type": "option"
|
|
914
|
-
},
|
|
915
|
-
"per_page": {
|
|
916
|
-
"description": "Number of results per page",
|
|
917
|
-
"name": "per_page",
|
|
918
|
-
"required": false,
|
|
919
|
-
"default": 50,
|
|
920
|
-
"hasDynamicHelp": false,
|
|
921
|
-
"multiple": false,
|
|
922
|
-
"type": "option"
|
|
923
|
-
},
|
|
924
|
-
"sort": {
|
|
925
|
-
"description": "Sort field",
|
|
926
|
-
"name": "sort",
|
|
927
|
-
"required": false,
|
|
928
|
-
"default": "created_at",
|
|
929
|
-
"hasDynamicHelp": false,
|
|
930
|
-
"multiple": false,
|
|
931
|
-
"type": "option"
|
|
932
|
-
},
|
|
933
858
|
"workspace": {
|
|
934
859
|
"char": "w",
|
|
935
|
-
"description": "Workspace ID (
|
|
860
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
936
861
|
"name": "workspace",
|
|
937
862
|
"required": false,
|
|
938
863
|
"hasDynamicHelp": false,
|
|
@@ -942,7 +867,7 @@
|
|
|
942
867
|
},
|
|
943
868
|
"hasDynamicHelp": false,
|
|
944
869
|
"hiddenAliases": [],
|
|
945
|
-
"id": "
|
|
870
|
+
"id": "branch:edit",
|
|
946
871
|
"pluginAlias": "@xano/cli",
|
|
947
872
|
"pluginName": "@xano/cli",
|
|
948
873
|
"pluginType": "core",
|
|
@@ -952,28 +877,25 @@
|
|
|
952
877
|
"relativePath": [
|
|
953
878
|
"dist",
|
|
954
879
|
"commands",
|
|
955
|
-
"
|
|
956
|
-
"
|
|
880
|
+
"branch",
|
|
881
|
+
"edit",
|
|
957
882
|
"index.js"
|
|
958
883
|
]
|
|
959
884
|
},
|
|
960
|
-
"
|
|
885
|
+
"branch:get": {
|
|
961
886
|
"aliases": [],
|
|
962
887
|
"args": {
|
|
963
|
-
"
|
|
964
|
-
"description": "
|
|
965
|
-
"name": "
|
|
966
|
-
"required":
|
|
888
|
+
"branch_label": {
|
|
889
|
+
"description": "Branch label (e.g., \"v1\", \"dev\")",
|
|
890
|
+
"name": "branch_label",
|
|
891
|
+
"required": true
|
|
967
892
|
}
|
|
968
893
|
},
|
|
969
|
-
"description": "Get a specific
|
|
894
|
+
"description": "Get details for a specific branch",
|
|
970
895
|
"examples": [
|
|
971
|
-
"$ xano
|
|
972
|
-
"$ xano
|
|
973
|
-
"$ xano
|
|
974
|
-
"$ xano function:get 145 -w 40 --output json\n{\n \"id\": 145,\n \"name\": \"yo\",\n \"description\": \"Sample function\"\n}\n",
|
|
975
|
-
"$ xano function:get 145 -p staging -o json --include_draft\n{\n \"id\": 145,\n \"name\": \"yo\"\n}\n",
|
|
976
|
-
"$ xano function:get 145 -p staging -o xs\nfunction yo {\n input {\n }\n stack {\n }\n response = null\n}\n"
|
|
896
|
+
"$ xano branch get v1\nBranch: v1 (live)\n Created: 2024-01-15\n",
|
|
897
|
+
"$ xano branch get dev -w 123\nBranch: dev\n Created: 2024-02-01\n",
|
|
898
|
+
"$ 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"
|
|
977
899
|
],
|
|
978
900
|
"flags": {
|
|
979
901
|
"profile": {
|
|
@@ -995,20 +917,6 @@
|
|
|
995
917
|
"allowNo": false,
|
|
996
918
|
"type": "boolean"
|
|
997
919
|
},
|
|
998
|
-
"include_draft": {
|
|
999
|
-
"description": "Include draft version",
|
|
1000
|
-
"name": "include_draft",
|
|
1001
|
-
"required": false,
|
|
1002
|
-
"allowNo": false,
|
|
1003
|
-
"type": "boolean"
|
|
1004
|
-
},
|
|
1005
|
-
"include_xanoscript": {
|
|
1006
|
-
"description": "Include XanoScript in response",
|
|
1007
|
-
"name": "include_xanoscript",
|
|
1008
|
-
"required": false,
|
|
1009
|
-
"allowNo": false,
|
|
1010
|
-
"type": "boolean"
|
|
1011
|
-
},
|
|
1012
920
|
"output": {
|
|
1013
921
|
"char": "o",
|
|
1014
922
|
"description": "Output format",
|
|
@@ -1019,14 +927,13 @@
|
|
|
1019
927
|
"multiple": false,
|
|
1020
928
|
"options": [
|
|
1021
929
|
"summary",
|
|
1022
|
-
"json"
|
|
1023
|
-
"xs"
|
|
930
|
+
"json"
|
|
1024
931
|
],
|
|
1025
932
|
"type": "option"
|
|
1026
933
|
},
|
|
1027
934
|
"workspace": {
|
|
1028
935
|
"char": "w",
|
|
1029
|
-
"description": "Workspace ID (
|
|
936
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
1030
937
|
"name": "workspace",
|
|
1031
938
|
"required": false,
|
|
1032
939
|
"hasDynamicHelp": false,
|
|
@@ -1036,7 +943,7 @@
|
|
|
1036
943
|
},
|
|
1037
944
|
"hasDynamicHelp": false,
|
|
1038
945
|
"hiddenAliases": [],
|
|
1039
|
-
"id": "
|
|
946
|
+
"id": "branch:get",
|
|
1040
947
|
"pluginAlias": "@xano/cli",
|
|
1041
948
|
"pluginName": "@xano/cli",
|
|
1042
949
|
"pluginType": "core",
|
|
@@ -1046,24 +953,20 @@
|
|
|
1046
953
|
"relativePath": [
|
|
1047
954
|
"dist",
|
|
1048
955
|
"commands",
|
|
1049
|
-
"
|
|
956
|
+
"branch",
|
|
1050
957
|
"get",
|
|
1051
958
|
"index.js"
|
|
1052
959
|
]
|
|
1053
960
|
},
|
|
1054
|
-
"
|
|
961
|
+
"function:list": {
|
|
1055
962
|
"aliases": [],
|
|
1056
|
-
"args": {
|
|
1057
|
-
|
|
1058
|
-
"description": "Platform ID to retrieve",
|
|
1059
|
-
"name": "platform_id",
|
|
1060
|
-
"required": true
|
|
1061
|
-
}
|
|
1062
|
-
},
|
|
1063
|
-
"description": "Get details of a specific platform",
|
|
963
|
+
"args": {},
|
|
964
|
+
"description": "List all functions in a workspace from the Xano Metadata API",
|
|
1064
965
|
"examples": [
|
|
1065
|
-
"$ xano
|
|
1066
|
-
"$ xano
|
|
966
|
+
"$ xano function:list -w 40\nAvailable functions:\n - function-1 (ID: 1)\n - function-2 (ID: 2)\n - function-3 (ID: 3)\n",
|
|
967
|
+
"$ xano function:list --profile production\nAvailable functions:\n - my-function (ID: 1)\n - another-function (ID: 2)\n",
|
|
968
|
+
"$ xano function:list -w 40 --output json\n[\n {\n \"id\": 1,\n \"name\": \"function-1\"\n }\n]\n",
|
|
969
|
+
"$ xano function:list -p staging -o json --include_draft\n[\n {\n \"id\": 1,\n \"name\": \"function-1\"\n }\n]\n"
|
|
1067
970
|
],
|
|
1068
971
|
"flags": {
|
|
1069
972
|
"profile": {
|
|
@@ -1085,6 +988,33 @@
|
|
|
1085
988
|
"allowNo": false,
|
|
1086
989
|
"type": "boolean"
|
|
1087
990
|
},
|
|
991
|
+
"include_draft": {
|
|
992
|
+
"description": "Include draft functions",
|
|
993
|
+
"name": "include_draft",
|
|
994
|
+
"required": false,
|
|
995
|
+
"allowNo": false,
|
|
996
|
+
"type": "boolean"
|
|
997
|
+
},
|
|
998
|
+
"include_xanoscript": {
|
|
999
|
+
"description": "Include XanoScript in response",
|
|
1000
|
+
"name": "include_xanoscript",
|
|
1001
|
+
"required": false,
|
|
1002
|
+
"allowNo": false,
|
|
1003
|
+
"type": "boolean"
|
|
1004
|
+
},
|
|
1005
|
+
"order": {
|
|
1006
|
+
"description": "Sort order",
|
|
1007
|
+
"name": "order",
|
|
1008
|
+
"required": false,
|
|
1009
|
+
"default": "desc",
|
|
1010
|
+
"hasDynamicHelp": false,
|
|
1011
|
+
"multiple": false,
|
|
1012
|
+
"options": [
|
|
1013
|
+
"asc",
|
|
1014
|
+
"desc"
|
|
1015
|
+
],
|
|
1016
|
+
"type": "option"
|
|
1017
|
+
},
|
|
1088
1018
|
"output": {
|
|
1089
1019
|
"char": "o",
|
|
1090
1020
|
"description": "Output format",
|
|
@@ -1098,11 +1028,47 @@
|
|
|
1098
1028
|
"json"
|
|
1099
1029
|
],
|
|
1100
1030
|
"type": "option"
|
|
1031
|
+
},
|
|
1032
|
+
"page": {
|
|
1033
|
+
"description": "Page number for pagination",
|
|
1034
|
+
"name": "page",
|
|
1035
|
+
"required": false,
|
|
1036
|
+
"default": 1,
|
|
1037
|
+
"hasDynamicHelp": false,
|
|
1038
|
+
"multiple": false,
|
|
1039
|
+
"type": "option"
|
|
1040
|
+
},
|
|
1041
|
+
"per_page": {
|
|
1042
|
+
"description": "Number of results per page",
|
|
1043
|
+
"name": "per_page",
|
|
1044
|
+
"required": false,
|
|
1045
|
+
"default": 50,
|
|
1046
|
+
"hasDynamicHelp": false,
|
|
1047
|
+
"multiple": false,
|
|
1048
|
+
"type": "option"
|
|
1049
|
+
},
|
|
1050
|
+
"sort": {
|
|
1051
|
+
"description": "Sort field",
|
|
1052
|
+
"name": "sort",
|
|
1053
|
+
"required": false,
|
|
1054
|
+
"default": "created_at",
|
|
1055
|
+
"hasDynamicHelp": false,
|
|
1056
|
+
"multiple": false,
|
|
1057
|
+
"type": "option"
|
|
1058
|
+
},
|
|
1059
|
+
"workspace": {
|
|
1060
|
+
"char": "w",
|
|
1061
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
1062
|
+
"name": "workspace",
|
|
1063
|
+
"required": false,
|
|
1064
|
+
"hasDynamicHelp": false,
|
|
1065
|
+
"multiple": false,
|
|
1066
|
+
"type": "option"
|
|
1101
1067
|
}
|
|
1102
1068
|
},
|
|
1103
1069
|
"hasDynamicHelp": false,
|
|
1104
1070
|
"hiddenAliases": [],
|
|
1105
|
-
"id": "
|
|
1071
|
+
"id": "function:list",
|
|
1106
1072
|
"pluginAlias": "@xano/cli",
|
|
1107
1073
|
"pluginName": "@xano/cli",
|
|
1108
1074
|
"pluginType": "core",
|
|
@@ -1112,18 +1078,28 @@
|
|
|
1112
1078
|
"relativePath": [
|
|
1113
1079
|
"dist",
|
|
1114
1080
|
"commands",
|
|
1115
|
-
"
|
|
1116
|
-
"
|
|
1081
|
+
"function",
|
|
1082
|
+
"list",
|
|
1117
1083
|
"index.js"
|
|
1118
1084
|
]
|
|
1119
1085
|
},
|
|
1120
|
-
"
|
|
1086
|
+
"function:get": {
|
|
1121
1087
|
"aliases": [],
|
|
1122
|
-
"args": {
|
|
1123
|
-
|
|
1088
|
+
"args": {
|
|
1089
|
+
"function_id": {
|
|
1090
|
+
"description": "Function ID",
|
|
1091
|
+
"name": "function_id",
|
|
1092
|
+
"required": false
|
|
1093
|
+
}
|
|
1094
|
+
},
|
|
1095
|
+
"description": "Get a specific function from a workspace",
|
|
1124
1096
|
"examples": [
|
|
1125
|
-
"$ xano
|
|
1126
|
-
"$ xano
|
|
1097
|
+
"$ xano function:get 145 -w 40\nFunction: yo (ID: 145)\nCreated: 2025-10-10 10:30:00\nDescription: Sample function\n",
|
|
1098
|
+
"$ xano function:get 145 --profile production\nFunction: yo (ID: 145)\nCreated: 2025-10-10 10:30:00\n",
|
|
1099
|
+
"$ xano function:get\nSelect a function:\n ❯ yo (ID: 145) - Sample function\n another-func (ID: 146)\n",
|
|
1100
|
+
"$ xano function:get 145 -w 40 --output json\n{\n \"id\": 145,\n \"name\": \"yo\",\n \"description\": \"Sample function\"\n}\n",
|
|
1101
|
+
"$ xano function:get 145 -p staging -o json --include_draft\n{\n \"id\": 145,\n \"name\": \"yo\"\n}\n",
|
|
1102
|
+
"$ xano function:get 145 -p staging -o xs\nfunction yo {\n input {\n }\n stack {\n }\n response = null\n}\n"
|
|
1127
1103
|
],
|
|
1128
1104
|
"flags": {
|
|
1129
1105
|
"profile": {
|
|
@@ -1145,6 +1121,20 @@
|
|
|
1145
1121
|
"allowNo": false,
|
|
1146
1122
|
"type": "boolean"
|
|
1147
1123
|
},
|
|
1124
|
+
"include_draft": {
|
|
1125
|
+
"description": "Include draft version",
|
|
1126
|
+
"name": "include_draft",
|
|
1127
|
+
"required": false,
|
|
1128
|
+
"allowNo": false,
|
|
1129
|
+
"type": "boolean"
|
|
1130
|
+
},
|
|
1131
|
+
"include_xanoscript": {
|
|
1132
|
+
"description": "Include XanoScript in response",
|
|
1133
|
+
"name": "include_xanoscript",
|
|
1134
|
+
"required": false,
|
|
1135
|
+
"allowNo": false,
|
|
1136
|
+
"type": "boolean"
|
|
1137
|
+
},
|
|
1148
1138
|
"output": {
|
|
1149
1139
|
"char": "o",
|
|
1150
1140
|
"description": "Output format",
|
|
@@ -1155,91 +1145,14 @@
|
|
|
1155
1145
|
"multiple": false,
|
|
1156
1146
|
"options": [
|
|
1157
1147
|
"summary",
|
|
1158
|
-
"json"
|
|
1148
|
+
"json",
|
|
1149
|
+
"xs"
|
|
1159
1150
|
],
|
|
1160
1151
|
"type": "option"
|
|
1161
|
-
}
|
|
1162
|
-
},
|
|
1163
|
-
"hasDynamicHelp": false,
|
|
1164
|
-
"hiddenAliases": [],
|
|
1165
|
-
"id": "platform:list",
|
|
1166
|
-
"pluginAlias": "@xano/cli",
|
|
1167
|
-
"pluginName": "@xano/cli",
|
|
1168
|
-
"pluginType": "core",
|
|
1169
|
-
"strict": true,
|
|
1170
|
-
"enableJsonFlag": false,
|
|
1171
|
-
"isESM": true,
|
|
1172
|
-
"relativePath": [
|
|
1173
|
-
"dist",
|
|
1174
|
-
"commands",
|
|
1175
|
-
"platform",
|
|
1176
|
-
"list",
|
|
1177
|
-
"index.js"
|
|
1178
|
-
]
|
|
1179
|
-
},
|
|
1180
|
-
"profile:create": {
|
|
1181
|
-
"aliases": [],
|
|
1182
|
-
"args": {
|
|
1183
|
-
"name": {
|
|
1184
|
-
"description": "Profile name",
|
|
1185
|
-
"name": "name",
|
|
1186
|
-
"required": true
|
|
1187
|
-
}
|
|
1188
|
-
},
|
|
1189
|
-
"description": "Create a new profile configuration",
|
|
1190
|
-
"examples": [
|
|
1191
|
-
"$ xano profile:create production --account_origin https://account.xano.com --instance_origin https://instance.xano.com --access_token token123\nProfile 'production' created successfully at ~/.xano/credentials.yaml\n",
|
|
1192
|
-
"$ xano profile:create staging -a https://staging-account.xano.com -i https://staging-instance.xano.com -t token456\nProfile 'staging' created successfully at ~/.xano/credentials.yaml\n",
|
|
1193
|
-
"$ xano profile:create dev -i https://dev-instance.xano.com -t token789 -w my-workspace -b feature-branch\nProfile 'dev' created successfully at ~/.xano/credentials.yaml\n",
|
|
1194
|
-
"$ xano profile:create production --account_origin https://account.xano.com --instance_origin https://instance.xano.com --access_token token123 --default\nProfile 'production' created successfully at ~/.xano/credentials.yaml\nDefault profile set to 'production'\n"
|
|
1195
|
-
],
|
|
1196
|
-
"flags": {
|
|
1197
|
-
"access_token": {
|
|
1198
|
-
"char": "t",
|
|
1199
|
-
"description": "Access token for the Xano Metadata API",
|
|
1200
|
-
"name": "access_token",
|
|
1201
|
-
"required": true,
|
|
1202
|
-
"hasDynamicHelp": false,
|
|
1203
|
-
"multiple": false,
|
|
1204
|
-
"type": "option"
|
|
1205
|
-
},
|
|
1206
|
-
"account_origin": {
|
|
1207
|
-
"char": "a",
|
|
1208
|
-
"description": "Account origin URL. Optional for self hosted installs.",
|
|
1209
|
-
"name": "account_origin",
|
|
1210
|
-
"required": false,
|
|
1211
|
-
"hasDynamicHelp": false,
|
|
1212
|
-
"multiple": false,
|
|
1213
|
-
"type": "option"
|
|
1214
|
-
},
|
|
1215
|
-
"branch": {
|
|
1216
|
-
"char": "b",
|
|
1217
|
-
"description": "Branch name",
|
|
1218
|
-
"name": "branch",
|
|
1219
|
-
"required": false,
|
|
1220
|
-
"hasDynamicHelp": false,
|
|
1221
|
-
"multiple": false,
|
|
1222
|
-
"type": "option"
|
|
1223
|
-
},
|
|
1224
|
-
"default": {
|
|
1225
|
-
"description": "Set this profile as the default",
|
|
1226
|
-
"name": "default",
|
|
1227
|
-
"required": false,
|
|
1228
|
-
"allowNo": false,
|
|
1229
|
-
"type": "boolean"
|
|
1230
|
-
},
|
|
1231
|
-
"instance_origin": {
|
|
1232
|
-
"char": "i",
|
|
1233
|
-
"description": "Instance origin URL",
|
|
1234
|
-
"name": "instance_origin",
|
|
1235
|
-
"required": true,
|
|
1236
|
-
"hasDynamicHelp": false,
|
|
1237
|
-
"multiple": false,
|
|
1238
|
-
"type": "option"
|
|
1239
1152
|
},
|
|
1240
1153
|
"workspace": {
|
|
1241
1154
|
"char": "w",
|
|
1242
|
-
"description": "Workspace
|
|
1155
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
1243
1156
|
"name": "workspace",
|
|
1244
1157
|
"required": false,
|
|
1245
1158
|
"hasDynamicHelp": false,
|
|
@@ -1249,7 +1162,7 @@
|
|
|
1249
1162
|
},
|
|
1250
1163
|
"hasDynamicHelp": false,
|
|
1251
1164
|
"hiddenAliases": [],
|
|
1252
|
-
"id": "
|
|
1165
|
+
"id": "function:get",
|
|
1253
1166
|
"pluginAlias": "@xano/cli",
|
|
1254
1167
|
"pluginName": "@xano/cli",
|
|
1255
1168
|
"pluginType": "core",
|
|
@@ -1259,39 +1172,22 @@
|
|
|
1259
1172
|
"relativePath": [
|
|
1260
1173
|
"dist",
|
|
1261
1174
|
"commands",
|
|
1262
|
-
"
|
|
1263
|
-
"
|
|
1175
|
+
"function",
|
|
1176
|
+
"get",
|
|
1264
1177
|
"index.js"
|
|
1265
1178
|
]
|
|
1266
1179
|
},
|
|
1267
|
-
"profile:
|
|
1180
|
+
"profile:get": {
|
|
1268
1181
|
"aliases": [],
|
|
1269
|
-
"args": {
|
|
1270
|
-
|
|
1271
|
-
"description": "Profile name to delete",
|
|
1272
|
-
"name": "name",
|
|
1273
|
-
"required": true
|
|
1274
|
-
}
|
|
1275
|
-
},
|
|
1276
|
-
"description": "Delete a profile configuration",
|
|
1182
|
+
"args": {},
|
|
1183
|
+
"description": "Get the current default profile name",
|
|
1277
1184
|
"examples": [
|
|
1278
|
-
"$ xano profile
|
|
1279
|
-
"$ xano profile:delete old-profile --force\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n",
|
|
1280
|
-
"$ xano profile:delete old-profile -f\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n"
|
|
1185
|
+
"$ xano profile get\nproduction\n"
|
|
1281
1186
|
],
|
|
1282
|
-
"flags": {
|
|
1283
|
-
"force": {
|
|
1284
|
-
"char": "f",
|
|
1285
|
-
"description": "Skip confirmation prompt",
|
|
1286
|
-
"name": "force",
|
|
1287
|
-
"required": false,
|
|
1288
|
-
"allowNo": false,
|
|
1289
|
-
"type": "boolean"
|
|
1290
|
-
}
|
|
1291
|
-
},
|
|
1187
|
+
"flags": {},
|
|
1292
1188
|
"hasDynamicHelp": false,
|
|
1293
1189
|
"hiddenAliases": [],
|
|
1294
|
-
"id": "profile:
|
|
1190
|
+
"id": "profile:get",
|
|
1295
1191
|
"pluginAlias": "@xano/cli",
|
|
1296
1192
|
"pluginName": "@xano/cli",
|
|
1297
1193
|
"pluginType": "core",
|
|
@@ -1302,7 +1198,7 @@
|
|
|
1302
1198
|
"dist",
|
|
1303
1199
|
"commands",
|
|
1304
1200
|
"profile",
|
|
1305
|
-
"
|
|
1201
|
+
"get",
|
|
1306
1202
|
"index.js"
|
|
1307
1203
|
]
|
|
1308
1204
|
},
|
|
@@ -1420,17 +1316,28 @@
|
|
|
1420
1316
|
"index.js"
|
|
1421
1317
|
]
|
|
1422
1318
|
},
|
|
1423
|
-
"profile:
|
|
1319
|
+
"profile:list": {
|
|
1424
1320
|
"aliases": [],
|
|
1425
1321
|
"args": {},
|
|
1426
|
-
"description": "
|
|
1322
|
+
"description": "List all available profile configurations",
|
|
1427
1323
|
"examples": [
|
|
1428
|
-
"$ xano profile
|
|
1324
|
+
"$ xano profile:list\nAvailable profiles:\n - default\n - production\n - staging\n - development\n",
|
|
1325
|
+
"$ xano profile:list --details\nAvailable profiles:\n\nProfile: default\n Account Origin: https://account.xano.com\n Instance Origin: https://instance.xano.com\n Access Token: ***...***\n Workspace: my-workspace\n Branch: main\n Project: my-project\n\nProfile: production\n Account Origin: https://account.xano.com\n Instance Origin: https://prod-instance.xano.com\n Access Token: ***...***\n",
|
|
1326
|
+
"$ xano profile:list -d\nAvailable profiles:\n\nProfile: default\n Account Origin: https://account.xano.com\n Instance Origin: https://instance.xano.com\n Access Token: ***...***\n Workspace: my-workspace\n Branch: main\n Project: my-project\n"
|
|
1429
1327
|
],
|
|
1430
|
-
"flags": {
|
|
1328
|
+
"flags": {
|
|
1329
|
+
"details": {
|
|
1330
|
+
"char": "d",
|
|
1331
|
+
"description": "Show detailed information for each profile",
|
|
1332
|
+
"name": "details",
|
|
1333
|
+
"required": false,
|
|
1334
|
+
"allowNo": false,
|
|
1335
|
+
"type": "boolean"
|
|
1336
|
+
}
|
|
1337
|
+
},
|
|
1431
1338
|
"hasDynamicHelp": false,
|
|
1432
1339
|
"hiddenAliases": [],
|
|
1433
|
-
"id": "profile:
|
|
1340
|
+
"id": "profile:list",
|
|
1434
1341
|
"pluginAlias": "@xano/cli",
|
|
1435
1342
|
"pluginName": "@xano/cli",
|
|
1436
1343
|
"pluginType": "core",
|
|
@@ -1441,7 +1348,7 @@
|
|
|
1441
1348
|
"dist",
|
|
1442
1349
|
"commands",
|
|
1443
1350
|
"profile",
|
|
1444
|
-
"
|
|
1351
|
+
"list",
|
|
1445
1352
|
"index.js"
|
|
1446
1353
|
]
|
|
1447
1354
|
},
|
|
@@ -1537,28 +1444,18 @@
|
|
|
1537
1444
|
"index.js"
|
|
1538
1445
|
]
|
|
1539
1446
|
},
|
|
1540
|
-
"profile:
|
|
1447
|
+
"profile:token": {
|
|
1541
1448
|
"aliases": [],
|
|
1542
1449
|
"args": {},
|
|
1543
|
-
"description": "
|
|
1450
|
+
"description": "Print the access token for the default profile",
|
|
1544
1451
|
"examples": [
|
|
1545
|
-
"$ xano profile:
|
|
1546
|
-
"$ xano profile:
|
|
1547
|
-
"$ xano profile:list -d\nAvailable profiles:\n\nProfile: default\n Account Origin: https://account.xano.com\n Instance Origin: https://instance.xano.com\n Access Token: ***...***\n Workspace: my-workspace\n Branch: main\n Project: my-project\n"
|
|
1452
|
+
"$ xano profile:token\neyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...\n",
|
|
1453
|
+
"$ xano profile:token | pbcopy\n# Copies the token to clipboard on macOS\n"
|
|
1548
1454
|
],
|
|
1549
|
-
"flags": {
|
|
1550
|
-
"details": {
|
|
1551
|
-
"char": "d",
|
|
1552
|
-
"description": "Show detailed information for each profile",
|
|
1553
|
-
"name": "details",
|
|
1554
|
-
"required": false,
|
|
1555
|
-
"allowNo": false,
|
|
1556
|
-
"type": "boolean"
|
|
1557
|
-
}
|
|
1558
|
-
},
|
|
1455
|
+
"flags": {},
|
|
1559
1456
|
"hasDynamicHelp": false,
|
|
1560
1457
|
"hiddenAliases": [],
|
|
1561
|
-
"id": "profile:
|
|
1458
|
+
"id": "profile:token",
|
|
1562
1459
|
"pluginAlias": "@xano/cli",
|
|
1563
1460
|
"pluginName": "@xano/cli",
|
|
1564
1461
|
"pluginType": "core",
|
|
@@ -1569,22 +1466,38 @@
|
|
|
1569
1466
|
"dist",
|
|
1570
1467
|
"commands",
|
|
1571
1468
|
"profile",
|
|
1572
|
-
"
|
|
1469
|
+
"token",
|
|
1573
1470
|
"index.js"
|
|
1574
1471
|
]
|
|
1575
1472
|
},
|
|
1576
|
-
"profile:
|
|
1473
|
+
"profile:delete": {
|
|
1577
1474
|
"aliases": [],
|
|
1578
|
-
"args": {
|
|
1579
|
-
|
|
1475
|
+
"args": {
|
|
1476
|
+
"name": {
|
|
1477
|
+
"description": "Profile name to delete",
|
|
1478
|
+
"name": "name",
|
|
1479
|
+
"required": true
|
|
1480
|
+
}
|
|
1481
|
+
},
|
|
1482
|
+
"description": "Delete a profile configuration",
|
|
1580
1483
|
"examples": [
|
|
1581
|
-
"$ xano profile:
|
|
1582
|
-
"$ xano profile:
|
|
1484
|
+
"$ xano profile:delete old-profile\nAre you sure you want to delete profile 'old-profile'? (y/n): y\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n",
|
|
1485
|
+
"$ xano profile:delete old-profile --force\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n",
|
|
1486
|
+
"$ xano profile:delete old-profile -f\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n"
|
|
1583
1487
|
],
|
|
1584
|
-
"flags": {
|
|
1488
|
+
"flags": {
|
|
1489
|
+
"force": {
|
|
1490
|
+
"char": "f",
|
|
1491
|
+
"description": "Skip confirmation prompt",
|
|
1492
|
+
"name": "force",
|
|
1493
|
+
"required": false,
|
|
1494
|
+
"allowNo": false,
|
|
1495
|
+
"type": "boolean"
|
|
1496
|
+
}
|
|
1497
|
+
},
|
|
1585
1498
|
"hasDynamicHelp": false,
|
|
1586
1499
|
"hiddenAliases": [],
|
|
1587
|
-
"id": "profile:
|
|
1500
|
+
"id": "profile:delete",
|
|
1588
1501
|
"pluginAlias": "@xano/cli",
|
|
1589
1502
|
"pluginName": "@xano/cli",
|
|
1590
1503
|
"pluginType": "core",
|
|
@@ -1595,33 +1508,75 @@
|
|
|
1595
1508
|
"dist",
|
|
1596
1509
|
"commands",
|
|
1597
1510
|
"profile",
|
|
1598
|
-
"
|
|
1511
|
+
"delete",
|
|
1599
1512
|
"index.js"
|
|
1600
1513
|
]
|
|
1601
1514
|
},
|
|
1602
|
-
"profile:
|
|
1515
|
+
"profile:create": {
|
|
1603
1516
|
"aliases": [],
|
|
1604
|
-
"args": {
|
|
1605
|
-
|
|
1517
|
+
"args": {
|
|
1518
|
+
"name": {
|
|
1519
|
+
"description": "Profile name",
|
|
1520
|
+
"name": "name",
|
|
1521
|
+
"required": true
|
|
1522
|
+
}
|
|
1523
|
+
},
|
|
1524
|
+
"description": "Create a new profile configuration",
|
|
1606
1525
|
"examples": [
|
|
1607
|
-
"$ xano profile:
|
|
1526
|
+
"$ xano profile:create production --account_origin https://account.xano.com --instance_origin https://instance.xano.com --access_token token123\nProfile 'production' created successfully at ~/.xano/credentials.yaml\n",
|
|
1527
|
+
"$ xano profile:create staging -a https://staging-account.xano.com -i https://staging-instance.xano.com -t token456\nProfile 'staging' created successfully at ~/.xano/credentials.yaml\n",
|
|
1528
|
+
"$ xano profile:create dev -i https://dev-instance.xano.com -t token789 -w my-workspace -b feature-branch\nProfile 'dev' created successfully at ~/.xano/credentials.yaml\n",
|
|
1529
|
+
"$ xano profile:create production --account_origin https://account.xano.com --instance_origin https://instance.xano.com --access_token token123 --default\nProfile 'production' created successfully at ~/.xano/credentials.yaml\nDefault profile set to 'production'\n"
|
|
1608
1530
|
],
|
|
1609
1531
|
"flags": {
|
|
1610
|
-
"
|
|
1611
|
-
"char": "
|
|
1612
|
-
"description": "
|
|
1613
|
-
"name": "
|
|
1532
|
+
"access_token": {
|
|
1533
|
+
"char": "t",
|
|
1534
|
+
"description": "Access token for the Xano Metadata API",
|
|
1535
|
+
"name": "access_token",
|
|
1536
|
+
"required": true,
|
|
1537
|
+
"hasDynamicHelp": false,
|
|
1538
|
+
"multiple": false,
|
|
1539
|
+
"type": "option"
|
|
1540
|
+
},
|
|
1541
|
+
"account_origin": {
|
|
1542
|
+
"char": "a",
|
|
1543
|
+
"description": "Account origin URL. Optional for self hosted installs.",
|
|
1544
|
+
"name": "account_origin",
|
|
1545
|
+
"required": false,
|
|
1546
|
+
"hasDynamicHelp": false,
|
|
1547
|
+
"multiple": false,
|
|
1548
|
+
"type": "option"
|
|
1549
|
+
},
|
|
1550
|
+
"branch": {
|
|
1551
|
+
"char": "b",
|
|
1552
|
+
"description": "Branch name",
|
|
1553
|
+
"name": "branch",
|
|
1614
1554
|
"required": false,
|
|
1615
1555
|
"hasDynamicHelp": false,
|
|
1616
1556
|
"multiple": false,
|
|
1617
1557
|
"type": "option"
|
|
1618
1558
|
},
|
|
1619
|
-
"
|
|
1620
|
-
"
|
|
1621
|
-
"
|
|
1622
|
-
"
|
|
1559
|
+
"default": {
|
|
1560
|
+
"description": "Set this profile as the default",
|
|
1561
|
+
"name": "default",
|
|
1562
|
+
"required": false,
|
|
1563
|
+
"allowNo": false,
|
|
1564
|
+
"type": "boolean"
|
|
1565
|
+
},
|
|
1566
|
+
"instance_origin": {
|
|
1567
|
+
"char": "i",
|
|
1568
|
+
"description": "Instance origin URL",
|
|
1569
|
+
"name": "instance_origin",
|
|
1570
|
+
"required": true,
|
|
1571
|
+
"hasDynamicHelp": false,
|
|
1572
|
+
"multiple": false,
|
|
1573
|
+
"type": "option"
|
|
1574
|
+
},
|
|
1575
|
+
"workspace": {
|
|
1576
|
+
"char": "w",
|
|
1577
|
+
"description": "Workspace name",
|
|
1578
|
+
"name": "workspace",
|
|
1623
1579
|
"required": false,
|
|
1624
|
-
"default": "https://app.xano.com",
|
|
1625
1580
|
"hasDynamicHelp": false,
|
|
1626
1581
|
"multiple": false,
|
|
1627
1582
|
"type": "option"
|
|
@@ -1629,7 +1584,7 @@
|
|
|
1629
1584
|
},
|
|
1630
1585
|
"hasDynamicHelp": false,
|
|
1631
1586
|
"hiddenAliases": [],
|
|
1632
|
-
"id": "profile:
|
|
1587
|
+
"id": "profile:create",
|
|
1633
1588
|
"pluginAlias": "@xano/cli",
|
|
1634
1589
|
"pluginName": "@xano/cli",
|
|
1635
1590
|
"pluginType": "core",
|
|
@@ -1640,7 +1595,7 @@
|
|
|
1640
1595
|
"dist",
|
|
1641
1596
|
"commands",
|
|
1642
1597
|
"profile",
|
|
1643
|
-
"
|
|
1598
|
+
"create",
|
|
1644
1599
|
"index.js"
|
|
1645
1600
|
]
|
|
1646
1601
|
},
|
|
@@ -1670,95 +1625,29 @@
|
|
|
1670
1625
|
"index.js"
|
|
1671
1626
|
]
|
|
1672
1627
|
},
|
|
1673
|
-
"
|
|
1628
|
+
"profile:wizard": {
|
|
1674
1629
|
"aliases": [],
|
|
1675
1630
|
"args": {},
|
|
1676
|
-
"description": "Create a new
|
|
1631
|
+
"description": "Create a new profile configuration using an interactive wizard",
|
|
1677
1632
|
"examples": [
|
|
1678
|
-
"$ xano
|
|
1679
|
-
"$ xano release create --name \"v1.1-hotfix\" --branch main --hotfix --description \"Critical fix\" -o json"
|
|
1633
|
+
"$ xano profile:wizard\nWelcome to the Xano Profile Wizard!\n? Enter your access token: ***...***\n? Select an instance:\n > Production (https://app.xano.com)\n Staging (https://staging.xano.com)\n? Profile name: production\nProfile 'production' created successfully at ~/.xano/credentials.yaml\n"
|
|
1680
1634
|
],
|
|
1681
1635
|
"flags": {
|
|
1682
|
-
"profile": {
|
|
1683
|
-
"char": "p",
|
|
1684
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
1685
|
-
"env": "XANO_PROFILE",
|
|
1686
|
-
"name": "profile",
|
|
1687
|
-
"required": false,
|
|
1688
|
-
"hasDynamicHelp": false,
|
|
1689
|
-
"multiple": false,
|
|
1690
|
-
"type": "option"
|
|
1691
|
-
},
|
|
1692
|
-
"verbose": {
|
|
1693
|
-
"char": "v",
|
|
1694
|
-
"description": "Show detailed request/response information",
|
|
1695
|
-
"env": "XANO_VERBOSE",
|
|
1696
|
-
"name": "verbose",
|
|
1697
|
-
"required": false,
|
|
1698
|
-
"allowNo": false,
|
|
1699
|
-
"type": "boolean"
|
|
1700
|
-
},
|
|
1701
|
-
"branch": {
|
|
1702
|
-
"char": "b",
|
|
1703
|
-
"description": "Branch to create the release from",
|
|
1704
|
-
"name": "branch",
|
|
1705
|
-
"required": true,
|
|
1706
|
-
"hasDynamicHelp": false,
|
|
1707
|
-
"multiple": false,
|
|
1708
|
-
"type": "option"
|
|
1709
|
-
},
|
|
1710
|
-
"description": {
|
|
1711
|
-
"char": "d",
|
|
1712
|
-
"description": "Release description",
|
|
1713
|
-
"name": "description",
|
|
1714
|
-
"required": false,
|
|
1715
|
-
"hasDynamicHelp": false,
|
|
1716
|
-
"multiple": false,
|
|
1717
|
-
"type": "option"
|
|
1718
|
-
},
|
|
1719
|
-
"hotfix": {
|
|
1720
|
-
"description": "Mark as a hotfix release",
|
|
1721
|
-
"name": "hotfix",
|
|
1722
|
-
"required": false,
|
|
1723
|
-
"allowNo": false,
|
|
1724
|
-
"type": "boolean"
|
|
1725
|
-
},
|
|
1726
1636
|
"name": {
|
|
1727
1637
|
"char": "n",
|
|
1728
|
-
"description": "
|
|
1638
|
+
"description": "Profile name (skip prompt if provided)",
|
|
1729
1639
|
"name": "name",
|
|
1730
|
-
"required": true,
|
|
1731
|
-
"hasDynamicHelp": false,
|
|
1732
|
-
"multiple": false,
|
|
1733
|
-
"type": "option"
|
|
1734
|
-
},
|
|
1735
|
-
"output": {
|
|
1736
|
-
"char": "o",
|
|
1737
|
-
"description": "Output format",
|
|
1738
|
-
"name": "output",
|
|
1739
|
-
"required": false,
|
|
1740
|
-
"default": "summary",
|
|
1741
|
-
"hasDynamicHelp": false,
|
|
1742
|
-
"multiple": false,
|
|
1743
|
-
"options": [
|
|
1744
|
-
"summary",
|
|
1745
|
-
"json"
|
|
1746
|
-
],
|
|
1747
|
-
"type": "option"
|
|
1748
|
-
},
|
|
1749
|
-
"table-ids": {
|
|
1750
|
-
"description": "Comma-separated table IDs to include",
|
|
1751
|
-
"name": "table-ids",
|
|
1752
1640
|
"required": false,
|
|
1753
1641
|
"hasDynamicHelp": false,
|
|
1754
1642
|
"multiple": false,
|
|
1755
1643
|
"type": "option"
|
|
1756
1644
|
},
|
|
1757
|
-
"
|
|
1758
|
-
"char": "
|
|
1759
|
-
"description": "
|
|
1760
|
-
"name": "
|
|
1645
|
+
"origin": {
|
|
1646
|
+
"char": "o",
|
|
1647
|
+
"description": "Xano instance origin URL",
|
|
1648
|
+
"name": "origin",
|
|
1761
1649
|
"required": false,
|
|
1650
|
+
"default": "https://app.xano.com",
|
|
1762
1651
|
"hasDynamicHelp": false,
|
|
1763
1652
|
"multiple": false,
|
|
1764
1653
|
"type": "option"
|
|
@@ -1766,7 +1655,7 @@
|
|
|
1766
1655
|
},
|
|
1767
1656
|
"hasDynamicHelp": false,
|
|
1768
1657
|
"hiddenAliases": [],
|
|
1769
|
-
"id": "
|
|
1658
|
+
"id": "profile:wizard",
|
|
1770
1659
|
"pluginAlias": "@xano/cli",
|
|
1771
1660
|
"pluginName": "@xano/cli",
|
|
1772
1661
|
"pluginType": "core",
|
|
@@ -1776,25 +1665,25 @@
|
|
|
1776
1665
|
"relativePath": [
|
|
1777
1666
|
"dist",
|
|
1778
1667
|
"commands",
|
|
1779
|
-
"
|
|
1780
|
-
"
|
|
1668
|
+
"profile",
|
|
1669
|
+
"wizard",
|
|
1781
1670
|
"index.js"
|
|
1782
1671
|
]
|
|
1783
1672
|
},
|
|
1784
|
-
"release:
|
|
1673
|
+
"release:export": {
|
|
1785
1674
|
"aliases": [],
|
|
1786
1675
|
"args": {
|
|
1787
1676
|
"release_name": {
|
|
1788
|
-
"description": "Release name to
|
|
1677
|
+
"description": "Release name to export",
|
|
1789
1678
|
"name": "release_name",
|
|
1790
1679
|
"required": true
|
|
1791
1680
|
}
|
|
1792
1681
|
},
|
|
1793
|
-
"description": "
|
|
1682
|
+
"description": "Export (download) a release to a local file",
|
|
1794
1683
|
"examples": [
|
|
1795
|
-
"$ xano release
|
|
1796
|
-
"$ xano release
|
|
1797
|
-
"$ xano release
|
|
1684
|
+
"$ xano release export v1.0\nDownloaded release 'v1.0' to ./release-v1.0.tar.gz\n",
|
|
1685
|
+
"$ xano release export v1.0 --output ./backups/my-release.tar.gz",
|
|
1686
|
+
"$ xano release export v1.0 -o json"
|
|
1798
1687
|
],
|
|
1799
1688
|
"flags": {
|
|
1800
1689
|
"profile": {
|
|
@@ -1816,18 +1705,10 @@
|
|
|
1816
1705
|
"allowNo": false,
|
|
1817
1706
|
"type": "boolean"
|
|
1818
1707
|
},
|
|
1819
|
-
"
|
|
1820
|
-
"char": "f",
|
|
1821
|
-
"description": "Skip confirmation prompt",
|
|
1822
|
-
"name": "force",
|
|
1823
|
-
"required": false,
|
|
1824
|
-
"allowNo": false,
|
|
1825
|
-
"type": "boolean"
|
|
1826
|
-
},
|
|
1827
|
-
"output": {
|
|
1708
|
+
"format": {
|
|
1828
1709
|
"char": "o",
|
|
1829
1710
|
"description": "Output format",
|
|
1830
|
-
"name": "
|
|
1711
|
+
"name": "format",
|
|
1831
1712
|
"required": false,
|
|
1832
1713
|
"default": "summary",
|
|
1833
1714
|
"hasDynamicHelp": false,
|
|
@@ -1838,6 +1719,14 @@
|
|
|
1838
1719
|
],
|
|
1839
1720
|
"type": "option"
|
|
1840
1721
|
},
|
|
1722
|
+
"output": {
|
|
1723
|
+
"description": "Output file path (defaults to ./release-{name}.tar.gz)",
|
|
1724
|
+
"name": "output",
|
|
1725
|
+
"required": false,
|
|
1726
|
+
"hasDynamicHelp": false,
|
|
1727
|
+
"multiple": false,
|
|
1728
|
+
"type": "option"
|
|
1729
|
+
},
|
|
1841
1730
|
"workspace": {
|
|
1842
1731
|
"char": "w",
|
|
1843
1732
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -1850,7 +1739,7 @@
|
|
|
1850
1739
|
},
|
|
1851
1740
|
"hasDynamicHelp": false,
|
|
1852
1741
|
"hiddenAliases": [],
|
|
1853
|
-
"id": "release:
|
|
1742
|
+
"id": "release:export",
|
|
1854
1743
|
"pluginAlias": "@xano/cli",
|
|
1855
1744
|
"pluginName": "@xano/cli",
|
|
1856
1745
|
"pluginType": "core",
|
|
@@ -1861,7 +1750,7 @@
|
|
|
1861
1750
|
"dist",
|
|
1862
1751
|
"commands",
|
|
1863
1752
|
"release",
|
|
1864
|
-
"
|
|
1753
|
+
"export",
|
|
1865
1754
|
"index.js"
|
|
1866
1755
|
]
|
|
1867
1756
|
},
|
|
@@ -1958,20 +1847,13 @@
|
|
|
1958
1847
|
"index.js"
|
|
1959
1848
|
]
|
|
1960
1849
|
},
|
|
1961
|
-
"release:
|
|
1850
|
+
"release:create": {
|
|
1962
1851
|
"aliases": [],
|
|
1963
|
-
"args": {
|
|
1964
|
-
|
|
1965
|
-
"description": "Release name to export",
|
|
1966
|
-
"name": "release_name",
|
|
1967
|
-
"required": true
|
|
1968
|
-
}
|
|
1969
|
-
},
|
|
1970
|
-
"description": "Export (download) a release to a local file",
|
|
1852
|
+
"args": {},
|
|
1853
|
+
"description": "Create a new release in a workspace",
|
|
1971
1854
|
"examples": [
|
|
1972
|
-
"$ xano release
|
|
1973
|
-
"$ xano release
|
|
1974
|
-
"$ xano release export v1.0 -o json"
|
|
1855
|
+
"$ xano release create --name \"v1.0\" --branch main\nCreated release: v1.0 - ID: 10\n",
|
|
1856
|
+
"$ xano release create --name \"v1.1-hotfix\" --branch main --hotfix --description \"Critical fix\" -o json"
|
|
1975
1857
|
],
|
|
1976
1858
|
"flags": {
|
|
1977
1859
|
"profile": {
|
|
@@ -1993,10 +1875,44 @@
|
|
|
1993
1875
|
"allowNo": false,
|
|
1994
1876
|
"type": "boolean"
|
|
1995
1877
|
},
|
|
1996
|
-
"
|
|
1878
|
+
"branch": {
|
|
1879
|
+
"char": "b",
|
|
1880
|
+
"description": "Branch to create the release from",
|
|
1881
|
+
"name": "branch",
|
|
1882
|
+
"required": true,
|
|
1883
|
+
"hasDynamicHelp": false,
|
|
1884
|
+
"multiple": false,
|
|
1885
|
+
"type": "option"
|
|
1886
|
+
},
|
|
1887
|
+
"description": {
|
|
1888
|
+
"char": "d",
|
|
1889
|
+
"description": "Release description",
|
|
1890
|
+
"name": "description",
|
|
1891
|
+
"required": false,
|
|
1892
|
+
"hasDynamicHelp": false,
|
|
1893
|
+
"multiple": false,
|
|
1894
|
+
"type": "option"
|
|
1895
|
+
},
|
|
1896
|
+
"hotfix": {
|
|
1897
|
+
"description": "Mark as a hotfix release",
|
|
1898
|
+
"name": "hotfix",
|
|
1899
|
+
"required": false,
|
|
1900
|
+
"allowNo": false,
|
|
1901
|
+
"type": "boolean"
|
|
1902
|
+
},
|
|
1903
|
+
"name": {
|
|
1904
|
+
"char": "n",
|
|
1905
|
+
"description": "Name for the release",
|
|
1906
|
+
"name": "name",
|
|
1907
|
+
"required": true,
|
|
1908
|
+
"hasDynamicHelp": false,
|
|
1909
|
+
"multiple": false,
|
|
1910
|
+
"type": "option"
|
|
1911
|
+
},
|
|
1912
|
+
"output": {
|
|
1997
1913
|
"char": "o",
|
|
1998
1914
|
"description": "Output format",
|
|
1999
|
-
"name": "
|
|
1915
|
+
"name": "output",
|
|
2000
1916
|
"required": false,
|
|
2001
1917
|
"default": "summary",
|
|
2002
1918
|
"hasDynamicHelp": false,
|
|
@@ -2007,9 +1923,9 @@
|
|
|
2007
1923
|
],
|
|
2008
1924
|
"type": "option"
|
|
2009
1925
|
},
|
|
2010
|
-
"
|
|
2011
|
-
"description": "
|
|
2012
|
-
"name": "
|
|
1926
|
+
"table-ids": {
|
|
1927
|
+
"description": "Comma-separated table IDs to include",
|
|
1928
|
+
"name": "table-ids",
|
|
2013
1929
|
"required": false,
|
|
2014
1930
|
"hasDynamicHelp": false,
|
|
2015
1931
|
"multiple": false,
|
|
@@ -2027,7 +1943,7 @@
|
|
|
2027
1943
|
},
|
|
2028
1944
|
"hasDynamicHelp": false,
|
|
2029
1945
|
"hiddenAliases": [],
|
|
2030
|
-
"id": "release:
|
|
1946
|
+
"id": "release:create",
|
|
2031
1947
|
"pluginAlias": "@xano/cli",
|
|
2032
1948
|
"pluginName": "@xano/cli",
|
|
2033
1949
|
"pluginType": "core",
|
|
@@ -2038,17 +1954,24 @@
|
|
|
2038
1954
|
"dist",
|
|
2039
1955
|
"commands",
|
|
2040
1956
|
"release",
|
|
2041
|
-
"
|
|
1957
|
+
"create",
|
|
2042
1958
|
"index.js"
|
|
2043
1959
|
]
|
|
2044
1960
|
},
|
|
2045
|
-
"release:
|
|
1961
|
+
"release:delete": {
|
|
2046
1962
|
"aliases": [],
|
|
2047
|
-
"args": {
|
|
2048
|
-
|
|
1963
|
+
"args": {
|
|
1964
|
+
"release_name": {
|
|
1965
|
+
"description": "Release name to delete",
|
|
1966
|
+
"name": "release_name",
|
|
1967
|
+
"required": true
|
|
1968
|
+
}
|
|
1969
|
+
},
|
|
1970
|
+
"description": "Delete a release permanently. This action cannot be undone.",
|
|
2049
1971
|
"examples": [
|
|
2050
|
-
"$ xano release
|
|
2051
|
-
"$ xano release
|
|
1972
|
+
"$ xano release delete v1.0\nAre you sure you want to delete release 'v1.0'? This action cannot be undone. (y/N) y\nDeleted release 'v1.0'\n",
|
|
1973
|
+
"$ xano release delete v1.0 --force\nDeleted release 'v1.0'\n",
|
|
1974
|
+
"$ xano release delete v1.0 -f -o json"
|
|
2052
1975
|
],
|
|
2053
1976
|
"flags": {
|
|
2054
1977
|
"profile": {
|
|
@@ -2070,14 +1993,13 @@
|
|
|
2070
1993
|
"allowNo": false,
|
|
2071
1994
|
"type": "boolean"
|
|
2072
1995
|
},
|
|
2073
|
-
"
|
|
1996
|
+
"force": {
|
|
2074
1997
|
"char": "f",
|
|
2075
|
-
"description": "
|
|
2076
|
-
"name": "
|
|
2077
|
-
"required":
|
|
2078
|
-
"
|
|
2079
|
-
"
|
|
2080
|
-
"type": "option"
|
|
1998
|
+
"description": "Skip confirmation prompt",
|
|
1999
|
+
"name": "force",
|
|
2000
|
+
"required": false,
|
|
2001
|
+
"allowNo": false,
|
|
2002
|
+
"type": "boolean"
|
|
2081
2003
|
},
|
|
2082
2004
|
"output": {
|
|
2083
2005
|
"char": "o",
|
|
@@ -2105,7 +2027,7 @@
|
|
|
2105
2027
|
},
|
|
2106
2028
|
"hasDynamicHelp": false,
|
|
2107
2029
|
"hiddenAliases": [],
|
|
2108
|
-
"id": "release:
|
|
2030
|
+
"id": "release:delete",
|
|
2109
2031
|
"pluginAlias": "@xano/cli",
|
|
2110
2032
|
"pluginName": "@xano/cli",
|
|
2111
2033
|
"pluginType": "core",
|
|
@@ -2116,7 +2038,7 @@
|
|
|
2116
2038
|
"dist",
|
|
2117
2039
|
"commands",
|
|
2118
2040
|
"release",
|
|
2119
|
-
"
|
|
2041
|
+
"delete",
|
|
2120
2042
|
"index.js"
|
|
2121
2043
|
]
|
|
2122
2044
|
},
|
|
@@ -2195,13 +2117,13 @@
|
|
|
2195
2117
|
"index.js"
|
|
2196
2118
|
]
|
|
2197
2119
|
},
|
|
2198
|
-
"release:
|
|
2120
|
+
"release:import": {
|
|
2199
2121
|
"aliases": [],
|
|
2200
2122
|
"args": {},
|
|
2201
|
-
"description": "
|
|
2123
|
+
"description": "Import a release file into a workspace",
|
|
2202
2124
|
"examples": [
|
|
2203
|
-
"$ xano release
|
|
2204
|
-
"$ xano release
|
|
2125
|
+
"$ xano release import --file ./my-release.tar.gz\nImported release as #15\n",
|
|
2126
|
+
"$ xano release import --file ./my-release.tar.gz -o json"
|
|
2205
2127
|
],
|
|
2206
2128
|
"flags": {
|
|
2207
2129
|
"profile": {
|
|
@@ -2223,6 +2145,15 @@
|
|
|
2223
2145
|
"allowNo": false,
|
|
2224
2146
|
"type": "boolean"
|
|
2225
2147
|
},
|
|
2148
|
+
"file": {
|
|
2149
|
+
"char": "f",
|
|
2150
|
+
"description": "Path to the release file (.tar.gz)",
|
|
2151
|
+
"name": "file",
|
|
2152
|
+
"required": true,
|
|
2153
|
+
"hasDynamicHelp": false,
|
|
2154
|
+
"multiple": false,
|
|
2155
|
+
"type": "option"
|
|
2156
|
+
},
|
|
2226
2157
|
"output": {
|
|
2227
2158
|
"char": "o",
|
|
2228
2159
|
"description": "Output format",
|
|
@@ -2249,7 +2180,7 @@
|
|
|
2249
2180
|
},
|
|
2250
2181
|
"hasDynamicHelp": false,
|
|
2251
2182
|
"hiddenAliases": [],
|
|
2252
|
-
"id": "release:
|
|
2183
|
+
"id": "release:import",
|
|
2253
2184
|
"pluginAlias": "@xano/cli",
|
|
2254
2185
|
"pluginName": "@xano/cli",
|
|
2255
2186
|
"pluginType": "core",
|
|
@@ -2260,7 +2191,7 @@
|
|
|
2260
2191
|
"dist",
|
|
2261
2192
|
"commands",
|
|
2262
2193
|
"release",
|
|
2263
|
-
"
|
|
2194
|
+
"import",
|
|
2264
2195
|
"index.js"
|
|
2265
2196
|
]
|
|
2266
2197
|
},
|
|
@@ -2556,6 +2487,75 @@
|
|
|
2556
2487
|
"index.js"
|
|
2557
2488
|
]
|
|
2558
2489
|
},
|
|
2490
|
+
"release:list": {
|
|
2491
|
+
"aliases": [],
|
|
2492
|
+
"args": {},
|
|
2493
|
+
"description": "List all releases in a workspace",
|
|
2494
|
+
"examples": [
|
|
2495
|
+
"$ xano release list\nReleases in workspace 5:\n - v1.0 (ID: 10) - main\n - v1.1-hotfix (ID: 11) - main [hotfix]\n",
|
|
2496
|
+
"$ xano release list -w 5 --output json"
|
|
2497
|
+
],
|
|
2498
|
+
"flags": {
|
|
2499
|
+
"profile": {
|
|
2500
|
+
"char": "p",
|
|
2501
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
2502
|
+
"env": "XANO_PROFILE",
|
|
2503
|
+
"name": "profile",
|
|
2504
|
+
"required": false,
|
|
2505
|
+
"hasDynamicHelp": false,
|
|
2506
|
+
"multiple": false,
|
|
2507
|
+
"type": "option"
|
|
2508
|
+
},
|
|
2509
|
+
"verbose": {
|
|
2510
|
+
"char": "v",
|
|
2511
|
+
"description": "Show detailed request/response information",
|
|
2512
|
+
"env": "XANO_VERBOSE",
|
|
2513
|
+
"name": "verbose",
|
|
2514
|
+
"required": false,
|
|
2515
|
+
"allowNo": false,
|
|
2516
|
+
"type": "boolean"
|
|
2517
|
+
},
|
|
2518
|
+
"output": {
|
|
2519
|
+
"char": "o",
|
|
2520
|
+
"description": "Output format",
|
|
2521
|
+
"name": "output",
|
|
2522
|
+
"required": false,
|
|
2523
|
+
"default": "summary",
|
|
2524
|
+
"hasDynamicHelp": false,
|
|
2525
|
+
"multiple": false,
|
|
2526
|
+
"options": [
|
|
2527
|
+
"summary",
|
|
2528
|
+
"json"
|
|
2529
|
+
],
|
|
2530
|
+
"type": "option"
|
|
2531
|
+
},
|
|
2532
|
+
"workspace": {
|
|
2533
|
+
"char": "w",
|
|
2534
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
2535
|
+
"name": "workspace",
|
|
2536
|
+
"required": false,
|
|
2537
|
+
"hasDynamicHelp": false,
|
|
2538
|
+
"multiple": false,
|
|
2539
|
+
"type": "option"
|
|
2540
|
+
}
|
|
2541
|
+
},
|
|
2542
|
+
"hasDynamicHelp": false,
|
|
2543
|
+
"hiddenAliases": [],
|
|
2544
|
+
"id": "release:list",
|
|
2545
|
+
"pluginAlias": "@xano/cli",
|
|
2546
|
+
"pluginName": "@xano/cli",
|
|
2547
|
+
"pluginType": "core",
|
|
2548
|
+
"strict": true,
|
|
2549
|
+
"enableJsonFlag": false,
|
|
2550
|
+
"isESM": true,
|
|
2551
|
+
"relativePath": [
|
|
2552
|
+
"dist",
|
|
2553
|
+
"commands",
|
|
2554
|
+
"release",
|
|
2555
|
+
"list",
|
|
2556
|
+
"index.js"
|
|
2557
|
+
]
|
|
2558
|
+
},
|
|
2559
2559
|
"tenant:create": {
|
|
2560
2560
|
"aliases": [],
|
|
2561
2561
|
"args": {
|
|
@@ -2780,7 +2780,7 @@
|
|
|
2780
2780
|
"index.js"
|
|
2781
2781
|
]
|
|
2782
2782
|
},
|
|
2783
|
-
"tenant:
|
|
2783
|
+
"tenant:deploy_release": {
|
|
2784
2784
|
"aliases": [],
|
|
2785
2785
|
"args": {
|
|
2786
2786
|
"tenant_name": {
|
|
@@ -2789,10 +2789,10 @@
|
|
|
2789
2789
|
"required": true
|
|
2790
2790
|
}
|
|
2791
2791
|
},
|
|
2792
|
-
"description": "Deploy a
|
|
2792
|
+
"description": "Deploy a release to a tenant",
|
|
2793
2793
|
"examples": [
|
|
2794
|
-
"$ xano tenant
|
|
2795
|
-
"$ xano tenant
|
|
2794
|
+
"$ xano tenant deploy_release t1234-abcd-xyz1 --release v1.0\nDeployed release \"v1.0\" to tenant: My Tenant (my-tenant)\n",
|
|
2795
|
+
"$ xano tenant deploy_release t1234-abcd-xyz1 --release v1.0 -o json"
|
|
2796
2796
|
],
|
|
2797
2797
|
"flags": {
|
|
2798
2798
|
"profile": {
|
|
@@ -2828,9 +2828,10 @@
|
|
|
2828
2828
|
],
|
|
2829
2829
|
"type": "option"
|
|
2830
2830
|
},
|
|
2831
|
-
"
|
|
2832
|
-
"
|
|
2833
|
-
"
|
|
2831
|
+
"release": {
|
|
2832
|
+
"char": "r",
|
|
2833
|
+
"description": "Release name to deploy",
|
|
2834
|
+
"name": "release",
|
|
2834
2835
|
"required": true,
|
|
2835
2836
|
"hasDynamicHelp": false,
|
|
2836
2837
|
"multiple": false,
|
|
@@ -2848,7 +2849,7 @@
|
|
|
2848
2849
|
},
|
|
2849
2850
|
"hasDynamicHelp": false,
|
|
2850
2851
|
"hiddenAliases": [],
|
|
2851
|
-
"id": "tenant:
|
|
2852
|
+
"id": "tenant:deploy_release",
|
|
2852
2853
|
"pluginAlias": "@xano/cli",
|
|
2853
2854
|
"pluginName": "@xano/cli",
|
|
2854
2855
|
"pluginType": "core",
|
|
@@ -2859,7 +2860,7 @@
|
|
|
2859
2860
|
"dist",
|
|
2860
2861
|
"commands",
|
|
2861
2862
|
"tenant",
|
|
2862
|
-
"
|
|
2863
|
+
"deploy_release",
|
|
2863
2864
|
"index.js"
|
|
2864
2865
|
]
|
|
2865
2866
|
},
|
|
@@ -2992,19 +2993,19 @@
|
|
|
2992
2993
|
"index.js"
|
|
2993
2994
|
]
|
|
2994
2995
|
},
|
|
2995
|
-
"tenant:
|
|
2996
|
+
"tenant:get": {
|
|
2996
2997
|
"aliases": [],
|
|
2997
2998
|
"args": {
|
|
2998
2999
|
"tenant_name": {
|
|
2999
|
-
"description": "Tenant name to
|
|
3000
|
+
"description": "Tenant name to retrieve",
|
|
3000
3001
|
"name": "tenant_name",
|
|
3001
3002
|
"required": true
|
|
3002
3003
|
}
|
|
3003
3004
|
},
|
|
3004
|
-
"description": "
|
|
3005
|
+
"description": "Get details of a specific tenant",
|
|
3005
3006
|
"examples": [
|
|
3006
|
-
"$ xano tenant
|
|
3007
|
-
"$ xano tenant
|
|
3007
|
+
"$ xano tenant get t1234-abcd-xyz1\nTenant: My Tenant (my-tenant)\n State: ok\n License: tier1\n Domain: my-tenant.xano.io\n Cluster: default\n Release: v1.0\n",
|
|
3008
|
+
"$ xano tenant get t1234-abcd-xyz1 -w 5 -o json"
|
|
3008
3009
|
],
|
|
3009
3010
|
"flags": {
|
|
3010
3011
|
"profile": {
|
|
@@ -3040,15 +3041,6 @@
|
|
|
3040
3041
|
],
|
|
3041
3042
|
"type": "option"
|
|
3042
3043
|
},
|
|
3043
|
-
"release": {
|
|
3044
|
-
"char": "r",
|
|
3045
|
-
"description": "Release name to deploy",
|
|
3046
|
-
"name": "release",
|
|
3047
|
-
"required": true,
|
|
3048
|
-
"hasDynamicHelp": false,
|
|
3049
|
-
"multiple": false,
|
|
3050
|
-
"type": "option"
|
|
3051
|
-
},
|
|
3052
3044
|
"workspace": {
|
|
3053
3045
|
"char": "w",
|
|
3054
3046
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -3061,7 +3053,7 @@
|
|
|
3061
3053
|
},
|
|
3062
3054
|
"hasDynamicHelp": false,
|
|
3063
3055
|
"hiddenAliases": [],
|
|
3064
|
-
"id": "tenant:
|
|
3056
|
+
"id": "tenant:get",
|
|
3065
3057
|
"pluginAlias": "@xano/cli",
|
|
3066
3058
|
"pluginName": "@xano/cli",
|
|
3067
3059
|
"pluginType": "core",
|
|
@@ -3072,23 +3064,23 @@
|
|
|
3072
3064
|
"dist",
|
|
3073
3065
|
"commands",
|
|
3074
3066
|
"tenant",
|
|
3075
|
-
"
|
|
3067
|
+
"get",
|
|
3076
3068
|
"index.js"
|
|
3077
3069
|
]
|
|
3078
3070
|
},
|
|
3079
|
-
"tenant:
|
|
3071
|
+
"tenant:impersonate": {
|
|
3080
3072
|
"aliases": [],
|
|
3081
3073
|
"args": {
|
|
3082
3074
|
"tenant_name": {
|
|
3083
|
-
"description": "Tenant name to
|
|
3075
|
+
"description": "Tenant name to impersonate",
|
|
3084
3076
|
"name": "tenant_name",
|
|
3085
3077
|
"required": true
|
|
3086
3078
|
}
|
|
3087
3079
|
},
|
|
3088
|
-
"description": "
|
|
3080
|
+
"description": "Impersonate a tenant and open it in the browser",
|
|
3089
3081
|
"examples": [
|
|
3090
|
-
"$ xano tenant
|
|
3091
|
-
"$ xano tenant
|
|
3082
|
+
"$ xano tenant impersonate my-tenant\nOpening browser...\nImpersonation successful!\n",
|
|
3083
|
+
"$ xano tenant impersonate my-tenant -o json"
|
|
3092
3084
|
],
|
|
3093
3085
|
"flags": {
|
|
3094
3086
|
"profile": {
|
|
@@ -3124,6 +3116,14 @@
|
|
|
3124
3116
|
],
|
|
3125
3117
|
"type": "option"
|
|
3126
3118
|
},
|
|
3119
|
+
"url-only": {
|
|
3120
|
+
"char": "u",
|
|
3121
|
+
"description": "Print the URL without opening the browser",
|
|
3122
|
+
"name": "url-only",
|
|
3123
|
+
"required": false,
|
|
3124
|
+
"allowNo": false,
|
|
3125
|
+
"type": "boolean"
|
|
3126
|
+
},
|
|
3127
3127
|
"workspace": {
|
|
3128
3128
|
"char": "w",
|
|
3129
3129
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -3136,7 +3136,7 @@
|
|
|
3136
3136
|
},
|
|
3137
3137
|
"hasDynamicHelp": false,
|
|
3138
3138
|
"hiddenAliases": [],
|
|
3139
|
-
"id": "tenant:
|
|
3139
|
+
"id": "tenant:impersonate",
|
|
3140
3140
|
"pluginAlias": "@xano/cli",
|
|
3141
3141
|
"pluginName": "@xano/cli",
|
|
3142
3142
|
"pluginType": "core",
|
|
@@ -3147,23 +3147,17 @@
|
|
|
3147
3147
|
"dist",
|
|
3148
3148
|
"commands",
|
|
3149
3149
|
"tenant",
|
|
3150
|
-
"
|
|
3150
|
+
"impersonate",
|
|
3151
3151
|
"index.js"
|
|
3152
3152
|
]
|
|
3153
3153
|
},
|
|
3154
|
-
"tenant:
|
|
3154
|
+
"tenant:list": {
|
|
3155
3155
|
"aliases": [],
|
|
3156
|
-
"args": {
|
|
3157
|
-
|
|
3158
|
-
"description": "Tenant name to impersonate",
|
|
3159
|
-
"name": "tenant_name",
|
|
3160
|
-
"required": true
|
|
3161
|
-
}
|
|
3162
|
-
},
|
|
3163
|
-
"description": "Impersonate a tenant and open it in the browser",
|
|
3156
|
+
"args": {},
|
|
3157
|
+
"description": "List all tenants in a workspace",
|
|
3164
3158
|
"examples": [
|
|
3165
|
-
"$ xano tenant
|
|
3166
|
-
"$ xano tenant
|
|
3159
|
+
"$ xano tenant list\nTenants in workspace 5:\n - My Tenant (my-tenant) [ok] - tier1\n - Staging (staging) [ok] - tier1\n",
|
|
3160
|
+
"$ xano tenant list -w 5 --output json"
|
|
3167
3161
|
],
|
|
3168
3162
|
"flags": {
|
|
3169
3163
|
"profile": {
|
|
@@ -3199,14 +3193,6 @@
|
|
|
3199
3193
|
],
|
|
3200
3194
|
"type": "option"
|
|
3201
3195
|
},
|
|
3202
|
-
"url-only": {
|
|
3203
|
-
"char": "u",
|
|
3204
|
-
"description": "Print the URL without opening the browser",
|
|
3205
|
-
"name": "url-only",
|
|
3206
|
-
"required": false,
|
|
3207
|
-
"allowNo": false,
|
|
3208
|
-
"type": "boolean"
|
|
3209
|
-
},
|
|
3210
3196
|
"workspace": {
|
|
3211
3197
|
"char": "w",
|
|
3212
3198
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -3219,7 +3205,7 @@
|
|
|
3219
3205
|
},
|
|
3220
3206
|
"hasDynamicHelp": false,
|
|
3221
3207
|
"hiddenAliases": [],
|
|
3222
|
-
"id": "tenant:
|
|
3208
|
+
"id": "tenant:list",
|
|
3223
3209
|
"pluginAlias": "@xano/cli",
|
|
3224
3210
|
"pluginName": "@xano/cli",
|
|
3225
3211
|
"pluginType": "core",
|
|
@@ -3230,17 +3216,23 @@
|
|
|
3230
3216
|
"dist",
|
|
3231
3217
|
"commands",
|
|
3232
3218
|
"tenant",
|
|
3233
|
-
"
|
|
3219
|
+
"list",
|
|
3234
3220
|
"index.js"
|
|
3235
3221
|
]
|
|
3236
3222
|
},
|
|
3237
|
-
"tenant:
|
|
3223
|
+
"tenant:deploy_platform": {
|
|
3238
3224
|
"aliases": [],
|
|
3239
|
-
"args": {
|
|
3240
|
-
|
|
3225
|
+
"args": {
|
|
3226
|
+
"tenant_name": {
|
|
3227
|
+
"description": "Tenant name to deploy to",
|
|
3228
|
+
"name": "tenant_name",
|
|
3229
|
+
"required": true
|
|
3230
|
+
}
|
|
3231
|
+
},
|
|
3232
|
+
"description": "Deploy a platform version to a tenant",
|
|
3241
3233
|
"examples": [
|
|
3242
|
-
"$ xano tenant
|
|
3243
|
-
"$ xano tenant
|
|
3234
|
+
"$ xano tenant deploy_platform t1234-abcd-xyz1 --platform_id 5\nDeployed platform 5 to tenant: My Tenant (my-tenant)\n",
|
|
3235
|
+
"$ xano tenant deploy_platform t1234-abcd-xyz1 --platform_id 5 -o json"
|
|
3244
3236
|
],
|
|
3245
3237
|
"flags": {
|
|
3246
3238
|
"profile": {
|
|
@@ -3276,6 +3268,14 @@
|
|
|
3276
3268
|
],
|
|
3277
3269
|
"type": "option"
|
|
3278
3270
|
},
|
|
3271
|
+
"platform_id": {
|
|
3272
|
+
"description": "Platform ID to deploy",
|
|
3273
|
+
"name": "platform_id",
|
|
3274
|
+
"required": true,
|
|
3275
|
+
"hasDynamicHelp": false,
|
|
3276
|
+
"multiple": false,
|
|
3277
|
+
"type": "option"
|
|
3278
|
+
},
|
|
3279
3279
|
"workspace": {
|
|
3280
3280
|
"char": "w",
|
|
3281
3281
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -3288,7 +3288,7 @@
|
|
|
3288
3288
|
},
|
|
3289
3289
|
"hasDynamicHelp": false,
|
|
3290
3290
|
"hiddenAliases": [],
|
|
3291
|
-
"id": "tenant:
|
|
3291
|
+
"id": "tenant:deploy_platform",
|
|
3292
3292
|
"pluginAlias": "@xano/cli",
|
|
3293
3293
|
"pluginName": "@xano/cli",
|
|
3294
3294
|
"pluginType": "core",
|
|
@@ -3299,25 +3299,27 @@
|
|
|
3299
3299
|
"dist",
|
|
3300
3300
|
"commands",
|
|
3301
3301
|
"tenant",
|
|
3302
|
-
"
|
|
3302
|
+
"deploy_platform",
|
|
3303
3303
|
"index.js"
|
|
3304
3304
|
]
|
|
3305
3305
|
},
|
|
3306
|
-
"tenant:
|
|
3306
|
+
"tenant:push": {
|
|
3307
3307
|
"aliases": [],
|
|
3308
3308
|
"args": {
|
|
3309
3309
|
"directory": {
|
|
3310
|
-
"description": "
|
|
3310
|
+
"description": "Directory containing documents to push (as produced by tenant pull or workspace pull)",
|
|
3311
3311
|
"name": "directory",
|
|
3312
3312
|
"required": true
|
|
3313
3313
|
}
|
|
3314
3314
|
},
|
|
3315
|
-
"description": "
|
|
3315
|
+
"description": "Push local documents to a tenant via the Xano Metadata API multidoc endpoint",
|
|
3316
3316
|
"examples": [
|
|
3317
|
-
"$ xano tenant
|
|
3318
|
-
"$ xano tenant
|
|
3319
|
-
"$ xano tenant
|
|
3320
|
-
"$ xano tenant
|
|
3317
|
+
"$ xano tenant push ./my-workspace -t my-tenant\nPushed 42 documents to tenant my-tenant from ./my-workspace\n",
|
|
3318
|
+
"$ xano tenant push ./output -t my-tenant -w 40\nPushed 15 documents to tenant my-tenant from ./output\n",
|
|
3319
|
+
"$ xano tenant push ./backup -t my-tenant --profile production\nPushed 58 documents to tenant my-tenant from ./backup\n",
|
|
3320
|
+
"$ xano tenant push ./my-workspace -t my-tenant --no-records\nPush schema only, skip importing table records\n",
|
|
3321
|
+
"$ xano tenant push ./my-workspace -t my-tenant --no-env\nPush without overwriting environment variables\n",
|
|
3322
|
+
"$ xano tenant push ./my-workspace -t my-tenant --truncate\nTruncate all table records before importing\n"
|
|
3321
3323
|
],
|
|
3322
3324
|
"flags": {
|
|
3323
3325
|
"profile": {
|
|
@@ -3339,36 +3341,36 @@
|
|
|
3339
3341
|
"allowNo": false,
|
|
3340
3342
|
"type": "boolean"
|
|
3341
3343
|
},
|
|
3342
|
-
"draft": {
|
|
3343
|
-
"description": "Include draft versions",
|
|
3344
|
-
"name": "draft",
|
|
3345
|
-
"required": false,
|
|
3346
|
-
"allowNo": false,
|
|
3347
|
-
"type": "boolean"
|
|
3348
|
-
},
|
|
3349
3344
|
"env": {
|
|
3350
|
-
"description": "Include environment variables",
|
|
3345
|
+
"description": "Include environment variables in import (default: true, use --no-env to exclude)",
|
|
3351
3346
|
"name": "env",
|
|
3352
3347
|
"required": false,
|
|
3353
|
-
"allowNo":
|
|
3348
|
+
"allowNo": true,
|
|
3354
3349
|
"type": "boolean"
|
|
3355
3350
|
},
|
|
3356
3351
|
"records": {
|
|
3357
|
-
"description": "Include records",
|
|
3352
|
+
"description": "Include records in import (default: true, use --no-records to exclude)",
|
|
3358
3353
|
"name": "records",
|
|
3359
3354
|
"required": false,
|
|
3360
|
-
"allowNo":
|
|
3355
|
+
"allowNo": true,
|
|
3361
3356
|
"type": "boolean"
|
|
3362
3357
|
},
|
|
3363
3358
|
"tenant": {
|
|
3364
3359
|
"char": "t",
|
|
3365
|
-
"description": "Tenant name to
|
|
3360
|
+
"description": "Tenant name to push to",
|
|
3366
3361
|
"name": "tenant",
|
|
3367
3362
|
"required": true,
|
|
3368
3363
|
"hasDynamicHelp": false,
|
|
3369
3364
|
"multiple": false,
|
|
3370
3365
|
"type": "option"
|
|
3371
3366
|
},
|
|
3367
|
+
"truncate": {
|
|
3368
|
+
"description": "Truncate all table records before importing",
|
|
3369
|
+
"name": "truncate",
|
|
3370
|
+
"required": false,
|
|
3371
|
+
"allowNo": false,
|
|
3372
|
+
"type": "boolean"
|
|
3373
|
+
},
|
|
3372
3374
|
"workspace": {
|
|
3373
3375
|
"char": "w",
|
|
3374
3376
|
"description": "Workspace ID (optional if set in profile)",
|
|
@@ -3381,7 +3383,7 @@
|
|
|
3381
3383
|
},
|
|
3382
3384
|
"hasDynamicHelp": false,
|
|
3383
3385
|
"hiddenAliases": [],
|
|
3384
|
-
"id": "tenant:
|
|
3386
|
+
"id": "tenant:push",
|
|
3385
3387
|
"pluginAlias": "@xano/cli",
|
|
3386
3388
|
"pluginName": "@xano/cli",
|
|
3387
3389
|
"pluginType": "core",
|
|
@@ -3392,27 +3394,25 @@
|
|
|
3392
3394
|
"dist",
|
|
3393
3395
|
"commands",
|
|
3394
3396
|
"tenant",
|
|
3395
|
-
"
|
|
3397
|
+
"push",
|
|
3396
3398
|
"index.js"
|
|
3397
3399
|
]
|
|
3398
3400
|
},
|
|
3399
|
-
"tenant:
|
|
3401
|
+
"tenant:pull": {
|
|
3400
3402
|
"aliases": [],
|
|
3401
3403
|
"args": {
|
|
3402
3404
|
"directory": {
|
|
3403
|
-
"description": "
|
|
3405
|
+
"description": "Output directory for pulled documents",
|
|
3404
3406
|
"name": "directory",
|
|
3405
3407
|
"required": true
|
|
3406
3408
|
}
|
|
3407
3409
|
},
|
|
3408
|
-
"description": "
|
|
3410
|
+
"description": "Pull a tenant multidoc from the Xano Metadata API and split into individual files",
|
|
3409
3411
|
"examples": [
|
|
3410
|
-
"$ xano tenant
|
|
3411
|
-
"$ xano tenant
|
|
3412
|
-
"$ xano tenant
|
|
3413
|
-
"$ xano tenant
|
|
3414
|
-
"$ xano tenant push ./my-workspace -t my-tenant --no-env\nPush without overwriting environment variables\n",
|
|
3415
|
-
"$ xano tenant push ./my-workspace -t my-tenant --truncate\nTruncate all table records before importing\n"
|
|
3412
|
+
"$ xano tenant pull ./my-tenant -t my-tenant\nPulled 42 documents from tenant my-tenant to ./my-tenant\n",
|
|
3413
|
+
"$ xano tenant pull ./output -t my-tenant -w 40\nPulled 15 documents from tenant my-tenant to ./output\n",
|
|
3414
|
+
"$ xano tenant pull ./backup -t my-tenant --profile production --env --records\nPulled 58 documents from tenant my-tenant to ./backup\n",
|
|
3415
|
+
"$ xano tenant pull ./my-tenant -t my-tenant --draft\nPulled 42 documents from tenant my-tenant to ./my-tenant\n"
|
|
3416
3416
|
],
|
|
3417
3417
|
"flags": {
|
|
3418
3418
|
"profile": {
|
|
@@ -3434,36 +3434,36 @@
|
|
|
3434
3434
|
"allowNo": false,
|
|
3435
3435
|
"type": "boolean"
|
|
3436
3436
|
},
|
|
3437
|
+
"draft": {
|
|
3438
|
+
"description": "Include draft versions",
|
|
3439
|
+
"name": "draft",
|
|
3440
|
+
"required": false,
|
|
3441
|
+
"allowNo": false,
|
|
3442
|
+
"type": "boolean"
|
|
3443
|
+
},
|
|
3437
3444
|
"env": {
|
|
3438
|
-
"description": "Include environment variables
|
|
3445
|
+
"description": "Include environment variables",
|
|
3439
3446
|
"name": "env",
|
|
3440
3447
|
"required": false,
|
|
3441
|
-
"allowNo":
|
|
3448
|
+
"allowNo": false,
|
|
3442
3449
|
"type": "boolean"
|
|
3443
3450
|
},
|
|
3444
3451
|
"records": {
|
|
3445
|
-
"description": "Include records
|
|
3452
|
+
"description": "Include records",
|
|
3446
3453
|
"name": "records",
|
|
3447
3454
|
"required": false,
|
|
3448
|
-
"allowNo":
|
|
3455
|
+
"allowNo": false,
|
|
3449
3456
|
"type": "boolean"
|
|
3450
3457
|
},
|
|
3451
3458
|
"tenant": {
|
|
3452
3459
|
"char": "t",
|
|
3453
|
-
"description": "Tenant name to
|
|
3460
|
+
"description": "Tenant name to pull from",
|
|
3454
3461
|
"name": "tenant",
|
|
3455
3462
|
"required": true,
|
|
3456
3463
|
"hasDynamicHelp": false,
|
|
3457
3464
|
"multiple": false,
|
|
3458
3465
|
"type": "option"
|
|
3459
3466
|
},
|
|
3460
|
-
"truncate": {
|
|
3461
|
-
"description": "Truncate all table records before importing",
|
|
3462
|
-
"name": "truncate",
|
|
3463
|
-
"required": false,
|
|
3464
|
-
"allowNo": false,
|
|
3465
|
-
"type": "boolean"
|
|
3466
|
-
},
|
|
3467
3467
|
"workspace": {
|
|
3468
3468
|
"char": "w",
|
|
3469
3469
|
"description": "Workspace ID (optional if set in profile)",
|
|
@@ -3476,7 +3476,7 @@
|
|
|
3476
3476
|
},
|
|
3477
3477
|
"hasDynamicHelp": false,
|
|
3478
3478
|
"hiddenAliases": [],
|
|
3479
|
-
"id": "tenant:
|
|
3479
|
+
"id": "tenant:pull",
|
|
3480
3480
|
"pluginAlias": "@xano/cli",
|
|
3481
3481
|
"pluginName": "@xano/cli",
|
|
3482
3482
|
"pluginType": "core",
|
|
@@ -3487,7 +3487,7 @@
|
|
|
3487
3487
|
"dist",
|
|
3488
3488
|
"commands",
|
|
3489
3489
|
"tenant",
|
|
3490
|
-
"
|
|
3490
|
+
"pull",
|
|
3491
3491
|
"index.js"
|
|
3492
3492
|
]
|
|
3493
3493
|
},
|
|
@@ -3583,19 +3583,19 @@
|
|
|
3583
3583
|
"index.js"
|
|
3584
3584
|
]
|
|
3585
3585
|
},
|
|
3586
|
-
"
|
|
3586
|
+
"workflow_test:delete": {
|
|
3587
3587
|
"aliases": [],
|
|
3588
3588
|
"args": {
|
|
3589
|
-
"
|
|
3590
|
-
"description": "ID of the
|
|
3591
|
-
"name": "
|
|
3589
|
+
"workflow_test_id": {
|
|
3590
|
+
"description": "ID of the workflow test to delete",
|
|
3591
|
+
"name": "workflow_test_id",
|
|
3592
3592
|
"required": true
|
|
3593
3593
|
}
|
|
3594
3594
|
},
|
|
3595
|
-
"description": "
|
|
3595
|
+
"description": "Delete a workflow test",
|
|
3596
3596
|
"examples": [
|
|
3597
|
-
"$ xano
|
|
3598
|
-
"$ xano
|
|
3597
|
+
"$ xano workflow-test delete 1\nAre you sure you want to delete workflow test 1? (y/N) y\nDeleted workflow test 1\n",
|
|
3598
|
+
"$ xano workflow-test delete 1 --force"
|
|
3599
3599
|
],
|
|
3600
3600
|
"flags": {
|
|
3601
3601
|
"profile": {
|
|
@@ -3617,6 +3617,14 @@
|
|
|
3617
3617
|
"allowNo": false,
|
|
3618
3618
|
"type": "boolean"
|
|
3619
3619
|
},
|
|
3620
|
+
"force": {
|
|
3621
|
+
"char": "f",
|
|
3622
|
+
"description": "Skip confirmation prompt",
|
|
3623
|
+
"name": "force",
|
|
3624
|
+
"required": false,
|
|
3625
|
+
"allowNo": false,
|
|
3626
|
+
"type": "boolean"
|
|
3627
|
+
},
|
|
3620
3628
|
"output": {
|
|
3621
3629
|
"char": "o",
|
|
3622
3630
|
"description": "Output format",
|
|
@@ -3643,7 +3651,7 @@
|
|
|
3643
3651
|
},
|
|
3644
3652
|
"hasDynamicHelp": false,
|
|
3645
3653
|
"hiddenAliases": [],
|
|
3646
|
-
"id": "
|
|
3654
|
+
"id": "workflow_test:delete",
|
|
3647
3655
|
"pluginAlias": "@xano/cli",
|
|
3648
3656
|
"pluginName": "@xano/cli",
|
|
3649
3657
|
"pluginType": "core",
|
|
@@ -3653,8 +3661,8 @@
|
|
|
3653
3661
|
"relativePath": [
|
|
3654
3662
|
"dist",
|
|
3655
3663
|
"commands",
|
|
3656
|
-
"
|
|
3657
|
-
"
|
|
3664
|
+
"workflow_test",
|
|
3665
|
+
"delete",
|
|
3658
3666
|
"index.js"
|
|
3659
3667
|
]
|
|
3660
3668
|
},
|
|
@@ -3749,19 +3757,20 @@
|
|
|
3749
3757
|
"index.js"
|
|
3750
3758
|
]
|
|
3751
3759
|
},
|
|
3752
|
-
"workflow_test:
|
|
3760
|
+
"workflow_test:get": {
|
|
3753
3761
|
"aliases": [],
|
|
3754
3762
|
"args": {
|
|
3755
3763
|
"workflow_test_id": {
|
|
3756
|
-
"description": "ID of the workflow test
|
|
3764
|
+
"description": "ID of the workflow test",
|
|
3757
3765
|
"name": "workflow_test_id",
|
|
3758
3766
|
"required": true
|
|
3759
3767
|
}
|
|
3760
3768
|
},
|
|
3761
|
-
"description": "
|
|
3769
|
+
"description": "Get a specific workflow test",
|
|
3762
3770
|
"examples": [
|
|
3763
|
-
"$ xano workflow-test
|
|
3764
|
-
"$ xano workflow-test
|
|
3771
|
+
"$ xano workflow-test get 1\nWorkflow Test: my-test (ID: 1)\n Description: Validates auth endpoints\n Branch: main\n",
|
|
3772
|
+
"$ xano workflow-test get 1 -o xs",
|
|
3773
|
+
"$ xano workflow-test get 1 -o json"
|
|
3765
3774
|
],
|
|
3766
3775
|
"flags": {
|
|
3767
3776
|
"profile": {
|
|
@@ -3783,10 +3792,9 @@
|
|
|
3783
3792
|
"allowNo": false,
|
|
3784
3793
|
"type": "boolean"
|
|
3785
3794
|
},
|
|
3786
|
-
"
|
|
3787
|
-
"
|
|
3788
|
-
"
|
|
3789
|
-
"name": "force",
|
|
3795
|
+
"include-draft": {
|
|
3796
|
+
"description": "Include draft version",
|
|
3797
|
+
"name": "include-draft",
|
|
3790
3798
|
"required": false,
|
|
3791
3799
|
"allowNo": false,
|
|
3792
3800
|
"type": "boolean"
|
|
@@ -3801,7 +3809,8 @@
|
|
|
3801
3809
|
"multiple": false,
|
|
3802
3810
|
"options": [
|
|
3803
3811
|
"summary",
|
|
3804
|
-
"json"
|
|
3812
|
+
"json",
|
|
3813
|
+
"xs"
|
|
3805
3814
|
],
|
|
3806
3815
|
"type": "option"
|
|
3807
3816
|
},
|
|
@@ -3817,7 +3826,7 @@
|
|
|
3817
3826
|
},
|
|
3818
3827
|
"hasDynamicHelp": false,
|
|
3819
3828
|
"hiddenAliases": [],
|
|
3820
|
-
"id": "workflow_test:
|
|
3829
|
+
"id": "workflow_test:get",
|
|
3821
3830
|
"pluginAlias": "@xano/cli",
|
|
3822
3831
|
"pluginName": "@xano/cli",
|
|
3823
3832
|
"pluginType": "core",
|
|
@@ -3828,18 +3837,23 @@
|
|
|
3828
3837
|
"dist",
|
|
3829
3838
|
"commands",
|
|
3830
3839
|
"workflow_test",
|
|
3831
|
-
"
|
|
3840
|
+
"get",
|
|
3832
3841
|
"index.js"
|
|
3833
3842
|
]
|
|
3834
3843
|
},
|
|
3835
|
-
"
|
|
3844
|
+
"unit_test:run": {
|
|
3836
3845
|
"aliases": [],
|
|
3837
|
-
"args": {
|
|
3838
|
-
|
|
3846
|
+
"args": {
|
|
3847
|
+
"unit_test_id": {
|
|
3848
|
+
"description": "ID of the unit test to run",
|
|
3849
|
+
"name": "unit_test_id",
|
|
3850
|
+
"required": true
|
|
3851
|
+
}
|
|
3852
|
+
},
|
|
3853
|
+
"description": "Run a unit test",
|
|
3839
3854
|
"examples": [
|
|
3840
|
-
"$ xano
|
|
3841
|
-
"$ xano
|
|
3842
|
-
"$ xano workflow-test list --branch main"
|
|
3855
|
+
"$ xano unit-test run abc-123\nRunning unit test abc-123...\nResult: PASS\n",
|
|
3856
|
+
"$ xano unit-test run abc-123 -o json"
|
|
3843
3857
|
],
|
|
3844
3858
|
"flags": {
|
|
3845
3859
|
"profile": {
|
|
@@ -3861,15 +3875,6 @@
|
|
|
3861
3875
|
"allowNo": false,
|
|
3862
3876
|
"type": "boolean"
|
|
3863
3877
|
},
|
|
3864
|
-
"branch": {
|
|
3865
|
-
"char": "b",
|
|
3866
|
-
"description": "Filter by branch name",
|
|
3867
|
-
"name": "branch",
|
|
3868
|
-
"required": false,
|
|
3869
|
-
"hasDynamicHelp": false,
|
|
3870
|
-
"multiple": false,
|
|
3871
|
-
"type": "option"
|
|
3872
|
-
},
|
|
3873
3878
|
"output": {
|
|
3874
3879
|
"char": "o",
|
|
3875
3880
|
"description": "Output format",
|
|
@@ -3896,7 +3901,7 @@
|
|
|
3896
3901
|
},
|
|
3897
3902
|
"hasDynamicHelp": false,
|
|
3898
3903
|
"hiddenAliases": [],
|
|
3899
|
-
"id": "
|
|
3904
|
+
"id": "unit_test:run",
|
|
3900
3905
|
"pluginAlias": "@xano/cli",
|
|
3901
3906
|
"pluginName": "@xano/cli",
|
|
3902
3907
|
"pluginType": "core",
|
|
@@ -3906,25 +3911,24 @@
|
|
|
3906
3911
|
"relativePath": [
|
|
3907
3912
|
"dist",
|
|
3908
3913
|
"commands",
|
|
3909
|
-
"
|
|
3910
|
-
"
|
|
3914
|
+
"unit_test",
|
|
3915
|
+
"run",
|
|
3911
3916
|
"index.js"
|
|
3912
3917
|
]
|
|
3913
3918
|
},
|
|
3914
|
-
"workflow_test:
|
|
3919
|
+
"workflow_test:run": {
|
|
3915
3920
|
"aliases": [],
|
|
3916
3921
|
"args": {
|
|
3917
3922
|
"workflow_test_id": {
|
|
3918
|
-
"description": "ID of the workflow test",
|
|
3923
|
+
"description": "ID of the workflow test to run",
|
|
3919
3924
|
"name": "workflow_test_id",
|
|
3920
3925
|
"required": true
|
|
3921
3926
|
}
|
|
3922
3927
|
},
|
|
3923
|
-
"description": "
|
|
3928
|
+
"description": "Run a workflow test",
|
|
3924
3929
|
"examples": [
|
|
3925
|
-
"$ xano workflow-test
|
|
3926
|
-
"$ xano workflow-test
|
|
3927
|
-
"$ xano workflow-test get 1 -o json"
|
|
3930
|
+
"$ xano workflow-test run 1\nRunning workflow test 1...\nResult: PASS (1.234s)\n",
|
|
3931
|
+
"$ xano workflow-test run 1 -o json"
|
|
3928
3932
|
],
|
|
3929
3933
|
"flags": {
|
|
3930
3934
|
"profile": {
|
|
@@ -3946,13 +3950,6 @@
|
|
|
3946
3950
|
"allowNo": false,
|
|
3947
3951
|
"type": "boolean"
|
|
3948
3952
|
},
|
|
3949
|
-
"include-draft": {
|
|
3950
|
-
"description": "Include draft version",
|
|
3951
|
-
"name": "include-draft",
|
|
3952
|
-
"required": false,
|
|
3953
|
-
"allowNo": false,
|
|
3954
|
-
"type": "boolean"
|
|
3955
|
-
},
|
|
3956
3953
|
"output": {
|
|
3957
3954
|
"char": "o",
|
|
3958
3955
|
"description": "Output format",
|
|
@@ -3963,8 +3960,7 @@
|
|
|
3963
3960
|
"multiple": false,
|
|
3964
3961
|
"options": [
|
|
3965
3962
|
"summary",
|
|
3966
|
-
"json"
|
|
3967
|
-
"xs"
|
|
3963
|
+
"json"
|
|
3968
3964
|
],
|
|
3969
3965
|
"type": "option"
|
|
3970
3966
|
},
|
|
@@ -3980,7 +3976,7 @@
|
|
|
3980
3976
|
},
|
|
3981
3977
|
"hasDynamicHelp": false,
|
|
3982
3978
|
"hiddenAliases": [],
|
|
3983
|
-
"id": "workflow_test:
|
|
3979
|
+
"id": "workflow_test:run",
|
|
3984
3980
|
"pluginAlias": "@xano/cli",
|
|
3985
3981
|
"pluginName": "@xano/cli",
|
|
3986
3982
|
"pluginType": "core",
|
|
@@ -3991,7 +3987,7 @@
|
|
|
3991
3987
|
"dist",
|
|
3992
3988
|
"commands",
|
|
3993
3989
|
"workflow_test",
|
|
3994
|
-
"
|
|
3990
|
+
"run",
|
|
3995
3991
|
"index.js"
|
|
3996
3992
|
]
|
|
3997
3993
|
},
|
|
@@ -4073,95 +4069,14 @@
|
|
|
4073
4069
|
"index.js"
|
|
4074
4070
|
]
|
|
4075
4071
|
},
|
|
4076
|
-
"
|
|
4077
|
-
"aliases": [],
|
|
4078
|
-
"args": {
|
|
4079
|
-
"workspace_id": {
|
|
4080
|
-
"description": "Workspace ID to delete",
|
|
4081
|
-
"name": "workspace_id",
|
|
4082
|
-
"required": true
|
|
4083
|
-
}
|
|
4084
|
-
},
|
|
4085
|
-
"description": "Delete a workspace via the Xano Metadata API. Cannot delete workspaces with active tenants.",
|
|
4086
|
-
"examples": [
|
|
4087
|
-
"$ 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",
|
|
4088
|
-
"$ xano workspace delete 123 --force\nDeleted workspace 123\n",
|
|
4089
|
-
"$ xano workspace delete 123 -f -o json\n{\n \"deleted\": true,\n \"workspace_id\": 123\n}\n"
|
|
4090
|
-
],
|
|
4091
|
-
"flags": {
|
|
4092
|
-
"profile": {
|
|
4093
|
-
"char": "p",
|
|
4094
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
4095
|
-
"env": "XANO_PROFILE",
|
|
4096
|
-
"name": "profile",
|
|
4097
|
-
"required": false,
|
|
4098
|
-
"hasDynamicHelp": false,
|
|
4099
|
-
"multiple": false,
|
|
4100
|
-
"type": "option"
|
|
4101
|
-
},
|
|
4102
|
-
"verbose": {
|
|
4103
|
-
"char": "v",
|
|
4104
|
-
"description": "Show detailed request/response information",
|
|
4105
|
-
"env": "XANO_VERBOSE",
|
|
4106
|
-
"name": "verbose",
|
|
4107
|
-
"required": false,
|
|
4108
|
-
"allowNo": false,
|
|
4109
|
-
"type": "boolean"
|
|
4110
|
-
},
|
|
4111
|
-
"force": {
|
|
4112
|
-
"char": "f",
|
|
4113
|
-
"description": "Skip confirmation prompt",
|
|
4114
|
-
"name": "force",
|
|
4115
|
-
"required": false,
|
|
4116
|
-
"allowNo": false,
|
|
4117
|
-
"type": "boolean"
|
|
4118
|
-
},
|
|
4119
|
-
"output": {
|
|
4120
|
-
"char": "o",
|
|
4121
|
-
"description": "Output format",
|
|
4122
|
-
"name": "output",
|
|
4123
|
-
"required": false,
|
|
4124
|
-
"default": "summary",
|
|
4125
|
-
"hasDynamicHelp": false,
|
|
4126
|
-
"multiple": false,
|
|
4127
|
-
"options": [
|
|
4128
|
-
"summary",
|
|
4129
|
-
"json"
|
|
4130
|
-
],
|
|
4131
|
-
"type": "option"
|
|
4132
|
-
}
|
|
4133
|
-
},
|
|
4134
|
-
"hasDynamicHelp": false,
|
|
4135
|
-
"hiddenAliases": [],
|
|
4136
|
-
"id": "workspace:delete",
|
|
4137
|
-
"pluginAlias": "@xano/cli",
|
|
4138
|
-
"pluginName": "@xano/cli",
|
|
4139
|
-
"pluginType": "core",
|
|
4140
|
-
"strict": true,
|
|
4141
|
-
"enableJsonFlag": false,
|
|
4142
|
-
"isESM": true,
|
|
4143
|
-
"relativePath": [
|
|
4144
|
-
"dist",
|
|
4145
|
-
"commands",
|
|
4146
|
-
"workspace",
|
|
4147
|
-
"delete",
|
|
4148
|
-
"index.js"
|
|
4149
|
-
]
|
|
4150
|
-
},
|
|
4151
|
-
"workspace:create": {
|
|
4072
|
+
"workflow_test:list": {
|
|
4152
4073
|
"aliases": [],
|
|
4153
|
-
"args": {
|
|
4154
|
-
|
|
4155
|
-
"description": "Name of the workspace",
|
|
4156
|
-
"name": "name",
|
|
4157
|
-
"required": true
|
|
4158
|
-
}
|
|
4159
|
-
},
|
|
4160
|
-
"description": "Create a new workspace via the Xano Metadata API",
|
|
4074
|
+
"args": {},
|
|
4075
|
+
"description": "List all workflow tests in a workspace",
|
|
4161
4076
|
"examples": [
|
|
4162
|
-
"$ xano workspace
|
|
4163
|
-
"$ xano
|
|
4164
|
-
"$ xano
|
|
4077
|
+
"$ xano workflow-test list\nWorkflow tests in workspace 5:\n - my-test (ID: 1)\n - auth-flow (ID: 2) - Validates auth endpoints\n",
|
|
4078
|
+
"$ xano workflow-test list -w 5 --output json",
|
|
4079
|
+
"$ xano workflow-test list --branch main"
|
|
4165
4080
|
],
|
|
4166
4081
|
"flags": {
|
|
4167
4082
|
"profile": {
|
|
@@ -4183,10 +4098,10 @@
|
|
|
4183
4098
|
"allowNo": false,
|
|
4184
4099
|
"type": "boolean"
|
|
4185
4100
|
},
|
|
4186
|
-
"
|
|
4187
|
-
"char": "
|
|
4188
|
-
"description": "
|
|
4189
|
-
"name": "
|
|
4101
|
+
"branch": {
|
|
4102
|
+
"char": "b",
|
|
4103
|
+
"description": "Filter by branch name",
|
|
4104
|
+
"name": "branch",
|
|
4190
4105
|
"required": false,
|
|
4191
4106
|
"hasDynamicHelp": false,
|
|
4192
4107
|
"multiple": false,
|
|
@@ -4205,11 +4120,20 @@
|
|
|
4205
4120
|
"json"
|
|
4206
4121
|
],
|
|
4207
4122
|
"type": "option"
|
|
4123
|
+
},
|
|
4124
|
+
"workspace": {
|
|
4125
|
+
"char": "w",
|
|
4126
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
4127
|
+
"name": "workspace",
|
|
4128
|
+
"required": false,
|
|
4129
|
+
"hasDynamicHelp": false,
|
|
4130
|
+
"multiple": false,
|
|
4131
|
+
"type": "option"
|
|
4208
4132
|
}
|
|
4209
4133
|
},
|
|
4210
4134
|
"hasDynamicHelp": false,
|
|
4211
4135
|
"hiddenAliases": [],
|
|
4212
|
-
"id": "
|
|
4136
|
+
"id": "workflow_test:list",
|
|
4213
4137
|
"pluginAlias": "@xano/cli",
|
|
4214
4138
|
"pluginName": "@xano/cli",
|
|
4215
4139
|
"pluginType": "core",
|
|
@@ -4219,24 +4143,25 @@
|
|
|
4219
4143
|
"relativePath": [
|
|
4220
4144
|
"dist",
|
|
4221
4145
|
"commands",
|
|
4222
|
-
"
|
|
4223
|
-
"
|
|
4146
|
+
"workflow_test",
|
|
4147
|
+
"list",
|
|
4224
4148
|
"index.js"
|
|
4225
4149
|
]
|
|
4226
4150
|
},
|
|
4227
|
-
"
|
|
4151
|
+
"workspace:delete": {
|
|
4228
4152
|
"aliases": [],
|
|
4229
4153
|
"args": {
|
|
4230
|
-
"
|
|
4231
|
-
"description": "ID
|
|
4232
|
-
"name": "
|
|
4154
|
+
"workspace_id": {
|
|
4155
|
+
"description": "Workspace ID to delete",
|
|
4156
|
+
"name": "workspace_id",
|
|
4233
4157
|
"required": true
|
|
4234
4158
|
}
|
|
4235
4159
|
},
|
|
4236
|
-
"description": "
|
|
4160
|
+
"description": "Delete a workspace via the Xano Metadata API. Cannot delete workspaces with active tenants.",
|
|
4237
4161
|
"examples": [
|
|
4238
|
-
"$ xano
|
|
4239
|
-
"$ xano
|
|
4162
|
+
"$ xano workspace delete 123\nAre you sure you want to delete workspace 123? This action cannot be undone. (y/N) y\nDeleted workspace 123\n",
|
|
4163
|
+
"$ xano workspace delete 123 --force\nDeleted workspace 123\n",
|
|
4164
|
+
"$ xano workspace delete 123 -f -o json\n{\n \"deleted\": true,\n \"workspace_id\": 123\n}\n"
|
|
4240
4165
|
],
|
|
4241
4166
|
"flags": {
|
|
4242
4167
|
"profile": {
|
|
@@ -4258,6 +4183,14 @@
|
|
|
4258
4183
|
"allowNo": false,
|
|
4259
4184
|
"type": "boolean"
|
|
4260
4185
|
},
|
|
4186
|
+
"force": {
|
|
4187
|
+
"char": "f",
|
|
4188
|
+
"description": "Skip confirmation prompt",
|
|
4189
|
+
"name": "force",
|
|
4190
|
+
"required": false,
|
|
4191
|
+
"allowNo": false,
|
|
4192
|
+
"type": "boolean"
|
|
4193
|
+
},
|
|
4261
4194
|
"output": {
|
|
4262
4195
|
"char": "o",
|
|
4263
4196
|
"description": "Output format",
|
|
@@ -4271,20 +4204,11 @@
|
|
|
4271
4204
|
"json"
|
|
4272
4205
|
],
|
|
4273
4206
|
"type": "option"
|
|
4274
|
-
},
|
|
4275
|
-
"workspace": {
|
|
4276
|
-
"char": "w",
|
|
4277
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
4278
|
-
"name": "workspace",
|
|
4279
|
-
"required": false,
|
|
4280
|
-
"hasDynamicHelp": false,
|
|
4281
|
-
"multiple": false,
|
|
4282
|
-
"type": "option"
|
|
4283
4207
|
}
|
|
4284
4208
|
},
|
|
4285
4209
|
"hasDynamicHelp": false,
|
|
4286
4210
|
"hiddenAliases": [],
|
|
4287
|
-
"id": "
|
|
4211
|
+
"id": "workspace:delete",
|
|
4288
4212
|
"pluginAlias": "@xano/cli",
|
|
4289
4213
|
"pluginName": "@xano/cli",
|
|
4290
4214
|
"pluginType": "core",
|
|
@@ -4294,8 +4218,8 @@
|
|
|
4294
4218
|
"relativePath": [
|
|
4295
4219
|
"dist",
|
|
4296
4220
|
"commands",
|
|
4297
|
-
"
|
|
4298
|
-
"
|
|
4221
|
+
"workspace",
|
|
4222
|
+
"delete",
|
|
4299
4223
|
"index.js"
|
|
4300
4224
|
]
|
|
4301
4225
|
},
|
|
@@ -4466,15 +4390,20 @@
|
|
|
4466
4390
|
"index.js"
|
|
4467
4391
|
]
|
|
4468
4392
|
},
|
|
4469
|
-
"workspace:
|
|
4393
|
+
"workspace:create": {
|
|
4470
4394
|
"aliases": [],
|
|
4471
|
-
"args": {
|
|
4472
|
-
|
|
4395
|
+
"args": {
|
|
4396
|
+
"name": {
|
|
4397
|
+
"description": "Name of the workspace",
|
|
4398
|
+
"name": "name",
|
|
4399
|
+
"required": true
|
|
4400
|
+
}
|
|
4401
|
+
},
|
|
4402
|
+
"description": "Create a new workspace via the Xano Metadata API",
|
|
4473
4403
|
"examples": [
|
|
4474
|
-
"$ xano workspace
|
|
4475
|
-
"$ xano workspace
|
|
4476
|
-
"$ xano workspace
|
|
4477
|
-
"$ xano workspace:list -p staging -o json\n{\n \"workspaces\": [\n {\n \"id\": 1,\n \"name\": \"my-app\"\n }\n ]\n}\n"
|
|
4404
|
+
"$ xano workspace create my-workspace\nCreated workspace: my-workspace (ID: 123)\n",
|
|
4405
|
+
"$ xano workspace create my-app --description \"My application workspace\"\nCreated workspace: my-app (ID: 456)\n Description: My application workspace\n",
|
|
4406
|
+
"$ 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"
|
|
4478
4407
|
],
|
|
4479
4408
|
"flags": {
|
|
4480
4409
|
"profile": {
|
|
@@ -4496,6 +4425,15 @@
|
|
|
4496
4425
|
"allowNo": false,
|
|
4497
4426
|
"type": "boolean"
|
|
4498
4427
|
},
|
|
4428
|
+
"description": {
|
|
4429
|
+
"char": "d",
|
|
4430
|
+
"description": "Description for the workspace",
|
|
4431
|
+
"name": "description",
|
|
4432
|
+
"required": false,
|
|
4433
|
+
"hasDynamicHelp": false,
|
|
4434
|
+
"multiple": false,
|
|
4435
|
+
"type": "option"
|
|
4436
|
+
},
|
|
4499
4437
|
"output": {
|
|
4500
4438
|
"char": "o",
|
|
4501
4439
|
"description": "Output format",
|
|
@@ -4513,7 +4451,7 @@
|
|
|
4513
4451
|
},
|
|
4514
4452
|
"hasDynamicHelp": false,
|
|
4515
4453
|
"hiddenAliases": [],
|
|
4516
|
-
"id": "workspace:
|
|
4454
|
+
"id": "workspace:create",
|
|
4517
4455
|
"pluginAlias": "@xano/cli",
|
|
4518
4456
|
"pluginName": "@xano/cli",
|
|
4519
4457
|
"pluginType": "core",
|
|
@@ -4524,7 +4462,7 @@
|
|
|
4524
4462
|
"dist",
|
|
4525
4463
|
"commands",
|
|
4526
4464
|
"workspace",
|
|
4527
|
-
"
|
|
4465
|
+
"create",
|
|
4528
4466
|
"index.js"
|
|
4529
4467
|
]
|
|
4530
4468
|
},
|
|
@@ -4622,6 +4560,68 @@
|
|
|
4622
4560
|
"index.js"
|
|
4623
4561
|
]
|
|
4624
4562
|
},
|
|
4563
|
+
"workspace:list": {
|
|
4564
|
+
"aliases": [],
|
|
4565
|
+
"args": {},
|
|
4566
|
+
"description": "List all workspaces from the Xano Metadata API",
|
|
4567
|
+
"examples": [
|
|
4568
|
+
"$ xano workspace:list\nAvailable workspaces:\n - workspace-1 (ID: 1)\n - workspace-2 (ID: 2)\n - workspace-3 (ID: 3)\n",
|
|
4569
|
+
"$ xano workspace:list --profile production\nAvailable workspaces:\n - my-app (ID: 1)\n - staging-env (ID: 2)\n",
|
|
4570
|
+
"$ 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",
|
|
4571
|
+
"$ xano workspace:list -p staging -o json\n{\n \"workspaces\": [\n {\n \"id\": 1,\n \"name\": \"my-app\"\n }\n ]\n}\n"
|
|
4572
|
+
],
|
|
4573
|
+
"flags": {
|
|
4574
|
+
"profile": {
|
|
4575
|
+
"char": "p",
|
|
4576
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
4577
|
+
"env": "XANO_PROFILE",
|
|
4578
|
+
"name": "profile",
|
|
4579
|
+
"required": false,
|
|
4580
|
+
"hasDynamicHelp": false,
|
|
4581
|
+
"multiple": false,
|
|
4582
|
+
"type": "option"
|
|
4583
|
+
},
|
|
4584
|
+
"verbose": {
|
|
4585
|
+
"char": "v",
|
|
4586
|
+
"description": "Show detailed request/response information",
|
|
4587
|
+
"env": "XANO_VERBOSE",
|
|
4588
|
+
"name": "verbose",
|
|
4589
|
+
"required": false,
|
|
4590
|
+
"allowNo": false,
|
|
4591
|
+
"type": "boolean"
|
|
4592
|
+
},
|
|
4593
|
+
"output": {
|
|
4594
|
+
"char": "o",
|
|
4595
|
+
"description": "Output format",
|
|
4596
|
+
"name": "output",
|
|
4597
|
+
"required": false,
|
|
4598
|
+
"default": "summary",
|
|
4599
|
+
"hasDynamicHelp": false,
|
|
4600
|
+
"multiple": false,
|
|
4601
|
+
"options": [
|
|
4602
|
+
"summary",
|
|
4603
|
+
"json"
|
|
4604
|
+
],
|
|
4605
|
+
"type": "option"
|
|
4606
|
+
}
|
|
4607
|
+
},
|
|
4608
|
+
"hasDynamicHelp": false,
|
|
4609
|
+
"hiddenAliases": [],
|
|
4610
|
+
"id": "workspace:list",
|
|
4611
|
+
"pluginAlias": "@xano/cli",
|
|
4612
|
+
"pluginName": "@xano/cli",
|
|
4613
|
+
"pluginType": "core",
|
|
4614
|
+
"strict": true,
|
|
4615
|
+
"enableJsonFlag": false,
|
|
4616
|
+
"isESM": true,
|
|
4617
|
+
"relativePath": [
|
|
4618
|
+
"dist",
|
|
4619
|
+
"commands",
|
|
4620
|
+
"workspace",
|
|
4621
|
+
"list",
|
|
4622
|
+
"index.js"
|
|
4623
|
+
]
|
|
4624
|
+
},
|
|
4625
4625
|
"workspace:push": {
|
|
4626
4626
|
"aliases": [],
|
|
4627
4627
|
"args": {
|
|
@@ -4743,20 +4743,26 @@
|
|
|
4743
4743
|
"index.js"
|
|
4744
4744
|
]
|
|
4745
4745
|
},
|
|
4746
|
-
"static_host:build:
|
|
4746
|
+
"static_host:build:get": {
|
|
4747
4747
|
"aliases": [],
|
|
4748
4748
|
"args": {
|
|
4749
|
+
"build_id": {
|
|
4750
|
+
"description": "Build ID",
|
|
4751
|
+
"name": "build_id",
|
|
4752
|
+
"required": true
|
|
4753
|
+
},
|
|
4749
4754
|
"static_host": {
|
|
4750
4755
|
"description": "Static Host name",
|
|
4751
4756
|
"name": "static_host",
|
|
4752
4757
|
"required": true
|
|
4753
4758
|
}
|
|
4754
4759
|
},
|
|
4755
|
-
"description": "
|
|
4760
|
+
"description": "Get details of a specific build for a static host",
|
|
4756
4761
|
"examples": [
|
|
4757
|
-
"$ xano static_host:build:
|
|
4758
|
-
"$ xano static_host:build:
|
|
4759
|
-
"$ xano static_host:build:
|
|
4762
|
+
"$ xano static_host:build:get default 52\nBuild Details:\nID: 52\nName: v1.0.0\nStatus: completed\n",
|
|
4763
|
+
"$ xano static_host:build:get default 52 -w 40\nBuild Details:\nID: 52\nName: v1.0.0\nStatus: completed\n",
|
|
4764
|
+
"$ xano static_host:build:get myhost 123 --profile production\nBuild Details:\nID: 123\nName: production-build\n",
|
|
4765
|
+
"$ xano static_host:build:get default 52 -o json\n{\n \"id\": 52,\n \"name\": \"v1.0.0\",\n \"status\": \"completed\"\n}\n"
|
|
4760
4766
|
],
|
|
4761
4767
|
"flags": {
|
|
4762
4768
|
"profile": {
|
|
@@ -4778,33 +4784,6 @@
|
|
|
4778
4784
|
"allowNo": false,
|
|
4779
4785
|
"type": "boolean"
|
|
4780
4786
|
},
|
|
4781
|
-
"description": {
|
|
4782
|
-
"char": "d",
|
|
4783
|
-
"description": "Build description",
|
|
4784
|
-
"name": "description",
|
|
4785
|
-
"required": false,
|
|
4786
|
-
"hasDynamicHelp": false,
|
|
4787
|
-
"multiple": false,
|
|
4788
|
-
"type": "option"
|
|
4789
|
-
},
|
|
4790
|
-
"file": {
|
|
4791
|
-
"char": "f",
|
|
4792
|
-
"description": "Path to zip file to upload",
|
|
4793
|
-
"name": "file",
|
|
4794
|
-
"required": true,
|
|
4795
|
-
"hasDynamicHelp": false,
|
|
4796
|
-
"multiple": false,
|
|
4797
|
-
"type": "option"
|
|
4798
|
-
},
|
|
4799
|
-
"name": {
|
|
4800
|
-
"char": "n",
|
|
4801
|
-
"description": "Build name",
|
|
4802
|
-
"name": "name",
|
|
4803
|
-
"required": true,
|
|
4804
|
-
"hasDynamicHelp": false,
|
|
4805
|
-
"multiple": false,
|
|
4806
|
-
"type": "option"
|
|
4807
|
-
},
|
|
4808
4787
|
"output": {
|
|
4809
4788
|
"char": "o",
|
|
4810
4789
|
"description": "Output format",
|
|
@@ -4831,7 +4810,7 @@
|
|
|
4831
4810
|
},
|
|
4832
4811
|
"hasDynamicHelp": false,
|
|
4833
4812
|
"hiddenAliases": [],
|
|
4834
|
-
"id": "static_host:build:
|
|
4813
|
+
"id": "static_host:build:get",
|
|
4835
4814
|
"pluginAlias": "@xano/cli",
|
|
4836
4815
|
"pluginName": "@xano/cli",
|
|
4837
4816
|
"pluginType": "core",
|
|
@@ -4843,30 +4822,25 @@
|
|
|
4843
4822
|
"commands",
|
|
4844
4823
|
"static_host",
|
|
4845
4824
|
"build",
|
|
4846
|
-
"
|
|
4825
|
+
"get",
|
|
4847
4826
|
"index.js"
|
|
4848
4827
|
]
|
|
4849
4828
|
},
|
|
4850
|
-
"static_host:build:
|
|
4829
|
+
"static_host:build:list": {
|
|
4851
4830
|
"aliases": [],
|
|
4852
4831
|
"args": {
|
|
4853
|
-
"build_id": {
|
|
4854
|
-
"description": "Build ID",
|
|
4855
|
-
"name": "build_id",
|
|
4856
|
-
"required": true
|
|
4857
|
-
},
|
|
4858
4832
|
"static_host": {
|
|
4859
4833
|
"description": "Static Host name",
|
|
4860
4834
|
"name": "static_host",
|
|
4861
4835
|
"required": true
|
|
4862
4836
|
}
|
|
4863
4837
|
},
|
|
4864
|
-
"description": "
|
|
4838
|
+
"description": "List all builds for a static host",
|
|
4865
4839
|
"examples": [
|
|
4866
|
-
"$ xano static_host:build:
|
|
4867
|
-
"$ xano static_host:build:
|
|
4868
|
-
"$ xano static_host:build:
|
|
4869
|
-
"$ xano static_host:build:
|
|
4840
|
+
"$ xano static_host:build:list default -w 40\nAvailable builds:\n - v1.0.0 (ID: 1) - Status: completed\n - v1.0.1 (ID: 2) - Status: pending\n",
|
|
4841
|
+
"$ xano static_host:build:list myhost --profile production\nAvailable builds:\n - production (ID: 1) - Status: completed\n - staging (ID: 2) - Status: completed\n",
|
|
4842
|
+
"$ xano static_host:build:list default -w 40 --output json\n[\n {\n \"id\": 1,\n \"name\": \"v1.0.0\",\n \"status\": \"completed\"\n }\n]\n",
|
|
4843
|
+
"$ xano static_host:build:list default -p staging -o json --page 2\n[\n {\n \"id\": 3,\n \"name\": \"v1.0.2\"\n }\n]\n"
|
|
4870
4844
|
],
|
|
4871
4845
|
"flags": {
|
|
4872
4846
|
"profile": {
|
|
@@ -4902,6 +4876,24 @@
|
|
|
4902
4876
|
],
|
|
4903
4877
|
"type": "option"
|
|
4904
4878
|
},
|
|
4879
|
+
"page": {
|
|
4880
|
+
"description": "Page number for pagination",
|
|
4881
|
+
"name": "page",
|
|
4882
|
+
"required": false,
|
|
4883
|
+
"default": 1,
|
|
4884
|
+
"hasDynamicHelp": false,
|
|
4885
|
+
"multiple": false,
|
|
4886
|
+
"type": "option"
|
|
4887
|
+
},
|
|
4888
|
+
"per_page": {
|
|
4889
|
+
"description": "Number of results per page",
|
|
4890
|
+
"name": "per_page",
|
|
4891
|
+
"required": false,
|
|
4892
|
+
"default": 50,
|
|
4893
|
+
"hasDynamicHelp": false,
|
|
4894
|
+
"multiple": false,
|
|
4895
|
+
"type": "option"
|
|
4896
|
+
},
|
|
4905
4897
|
"workspace": {
|
|
4906
4898
|
"char": "w",
|
|
4907
4899
|
"description": "Workspace ID (optional if set in profile)",
|
|
@@ -4914,7 +4906,7 @@
|
|
|
4914
4906
|
},
|
|
4915
4907
|
"hasDynamicHelp": false,
|
|
4916
4908
|
"hiddenAliases": [],
|
|
4917
|
-
"id": "static_host:build:
|
|
4909
|
+
"id": "static_host:build:list",
|
|
4918
4910
|
"pluginAlias": "@xano/cli",
|
|
4919
4911
|
"pluginName": "@xano/cli",
|
|
4920
4912
|
"pluginType": "core",
|
|
@@ -4926,25 +4918,23 @@
|
|
|
4926
4918
|
"commands",
|
|
4927
4919
|
"static_host",
|
|
4928
4920
|
"build",
|
|
4929
|
-
"
|
|
4921
|
+
"list",
|
|
4930
4922
|
"index.js"
|
|
4931
4923
|
]
|
|
4932
4924
|
},
|
|
4933
|
-
"
|
|
4925
|
+
"tenant:backup:create": {
|
|
4934
4926
|
"aliases": [],
|
|
4935
4927
|
"args": {
|
|
4936
|
-
"
|
|
4937
|
-
"description": "
|
|
4938
|
-
"name": "
|
|
4928
|
+
"tenant_name": {
|
|
4929
|
+
"description": "Tenant name to back up",
|
|
4930
|
+
"name": "tenant_name",
|
|
4939
4931
|
"required": true
|
|
4940
4932
|
}
|
|
4941
4933
|
},
|
|
4942
|
-
"description": "
|
|
4934
|
+
"description": "Create a backup for a tenant",
|
|
4943
4935
|
"examples": [
|
|
4944
|
-
"$ xano
|
|
4945
|
-
"$ xano
|
|
4946
|
-
"$ xano static_host:build:list default -w 40 --output json\n[\n {\n \"id\": 1,\n \"name\": \"v1.0.0\",\n \"status\": \"completed\"\n }\n]\n",
|
|
4947
|
-
"$ xano static_host:build:list default -p staging -o json --page 2\n[\n {\n \"id\": 3,\n \"name\": \"v1.0.2\"\n }\n]\n"
|
|
4936
|
+
"$ xano tenant backup create t1234-abcd-xyz1 --description \"Pre-deploy backup\"\nCreated backup #15 for tenant t1234-abcd-xyz1\n",
|
|
4937
|
+
"$ xano tenant backup create t1234-abcd-xyz1 -d \"Daily backup\" -o json"
|
|
4948
4938
|
],
|
|
4949
4939
|
"flags": {
|
|
4950
4940
|
"profile": {
|
|
@@ -4963,8 +4953,18 @@
|
|
|
4963
4953
|
"env": "XANO_VERBOSE",
|
|
4964
4954
|
"name": "verbose",
|
|
4965
4955
|
"required": false,
|
|
4966
|
-
"allowNo": false,
|
|
4967
|
-
"type": "boolean"
|
|
4956
|
+
"allowNo": false,
|
|
4957
|
+
"type": "boolean"
|
|
4958
|
+
},
|
|
4959
|
+
"description": {
|
|
4960
|
+
"char": "d",
|
|
4961
|
+
"description": "Backup description",
|
|
4962
|
+
"name": "description",
|
|
4963
|
+
"required": false,
|
|
4964
|
+
"default": "",
|
|
4965
|
+
"hasDynamicHelp": false,
|
|
4966
|
+
"multiple": false,
|
|
4967
|
+
"type": "option"
|
|
4968
4968
|
},
|
|
4969
4969
|
"output": {
|
|
4970
4970
|
"char": "o",
|
|
@@ -4980,27 +4980,9 @@
|
|
|
4980
4980
|
],
|
|
4981
4981
|
"type": "option"
|
|
4982
4982
|
},
|
|
4983
|
-
"page": {
|
|
4984
|
-
"description": "Page number for pagination",
|
|
4985
|
-
"name": "page",
|
|
4986
|
-
"required": false,
|
|
4987
|
-
"default": 1,
|
|
4988
|
-
"hasDynamicHelp": false,
|
|
4989
|
-
"multiple": false,
|
|
4990
|
-
"type": "option"
|
|
4991
|
-
},
|
|
4992
|
-
"per_page": {
|
|
4993
|
-
"description": "Number of results per page",
|
|
4994
|
-
"name": "per_page",
|
|
4995
|
-
"required": false,
|
|
4996
|
-
"default": 50,
|
|
4997
|
-
"hasDynamicHelp": false,
|
|
4998
|
-
"multiple": false,
|
|
4999
|
-
"type": "option"
|
|
5000
|
-
},
|
|
5001
4983
|
"workspace": {
|
|
5002
4984
|
"char": "w",
|
|
5003
|
-
"description": "Workspace ID (
|
|
4985
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
5004
4986
|
"name": "workspace",
|
|
5005
4987
|
"required": false,
|
|
5006
4988
|
"hasDynamicHelp": false,
|
|
@@ -5010,7 +4992,7 @@
|
|
|
5010
4992
|
},
|
|
5011
4993
|
"hasDynamicHelp": false,
|
|
5012
4994
|
"hiddenAliases": [],
|
|
5013
|
-
"id": "
|
|
4995
|
+
"id": "tenant:backup:create",
|
|
5014
4996
|
"pluginAlias": "@xano/cli",
|
|
5015
4997
|
"pluginName": "@xano/cli",
|
|
5016
4998
|
"pluginType": "core",
|
|
@@ -5020,25 +5002,26 @@
|
|
|
5020
5002
|
"relativePath": [
|
|
5021
5003
|
"dist",
|
|
5022
5004
|
"commands",
|
|
5023
|
-
"
|
|
5024
|
-
"
|
|
5025
|
-
"
|
|
5005
|
+
"tenant",
|
|
5006
|
+
"backup",
|
|
5007
|
+
"create",
|
|
5026
5008
|
"index.js"
|
|
5027
5009
|
]
|
|
5028
5010
|
},
|
|
5029
|
-
"tenant:backup:
|
|
5011
|
+
"tenant:backup:delete": {
|
|
5030
5012
|
"aliases": [],
|
|
5031
5013
|
"args": {
|
|
5032
5014
|
"tenant_name": {
|
|
5033
|
-
"description": "Tenant name
|
|
5015
|
+
"description": "Tenant name that owns the backup",
|
|
5034
5016
|
"name": "tenant_name",
|
|
5035
5017
|
"required": true
|
|
5036
5018
|
}
|
|
5037
5019
|
},
|
|
5038
|
-
"description": "
|
|
5020
|
+
"description": "Delete a tenant backup permanently. This action cannot be undone.",
|
|
5039
5021
|
"examples": [
|
|
5040
|
-
"$ xano tenant backup
|
|
5041
|
-
"$ xano tenant backup
|
|
5022
|
+
"$ 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",
|
|
5023
|
+
"$ xano tenant backup delete t1234-abcd-xyz1 --backup_id 10 --force",
|
|
5024
|
+
"$ xano tenant backup delete t1234-abcd-xyz1 --backup_id 10 -o json"
|
|
5042
5025
|
],
|
|
5043
5026
|
"flags": {
|
|
5044
5027
|
"profile": {
|
|
@@ -5060,16 +5043,22 @@
|
|
|
5060
5043
|
"allowNo": false,
|
|
5061
5044
|
"type": "boolean"
|
|
5062
5045
|
},
|
|
5063
|
-
"
|
|
5064
|
-
"
|
|
5065
|
-
"
|
|
5066
|
-
"
|
|
5067
|
-
"required": false,
|
|
5068
|
-
"default": "",
|
|
5046
|
+
"backup_id": {
|
|
5047
|
+
"description": "Backup ID to delete",
|
|
5048
|
+
"name": "backup_id",
|
|
5049
|
+
"required": true,
|
|
5069
5050
|
"hasDynamicHelp": false,
|
|
5070
5051
|
"multiple": false,
|
|
5071
5052
|
"type": "option"
|
|
5072
5053
|
},
|
|
5054
|
+
"force": {
|
|
5055
|
+
"char": "f",
|
|
5056
|
+
"description": "Skip confirmation prompt",
|
|
5057
|
+
"name": "force",
|
|
5058
|
+
"required": false,
|
|
5059
|
+
"allowNo": false,
|
|
5060
|
+
"type": "boolean"
|
|
5061
|
+
},
|
|
5073
5062
|
"output": {
|
|
5074
5063
|
"char": "o",
|
|
5075
5064
|
"description": "Output format",
|
|
@@ -5096,7 +5085,7 @@
|
|
|
5096
5085
|
},
|
|
5097
5086
|
"hasDynamicHelp": false,
|
|
5098
5087
|
"hiddenAliases": [],
|
|
5099
|
-
"id": "tenant:backup:
|
|
5088
|
+
"id": "tenant:backup:delete",
|
|
5100
5089
|
"pluginAlias": "@xano/cli",
|
|
5101
5090
|
"pluginName": "@xano/cli",
|
|
5102
5091
|
"pluginType": "core",
|
|
@@ -5108,7 +5097,7 @@
|
|
|
5108
5097
|
"commands",
|
|
5109
5098
|
"tenant",
|
|
5110
5099
|
"backup",
|
|
5111
|
-
"
|
|
5100
|
+
"delete",
|
|
5112
5101
|
"index.js"
|
|
5113
5102
|
]
|
|
5114
5103
|
},
|
|
@@ -5205,20 +5194,19 @@
|
|
|
5205
5194
|
"index.js"
|
|
5206
5195
|
]
|
|
5207
5196
|
},
|
|
5208
|
-
"tenant:backup:
|
|
5197
|
+
"tenant:backup:import": {
|
|
5209
5198
|
"aliases": [],
|
|
5210
5199
|
"args": {
|
|
5211
5200
|
"tenant_name": {
|
|
5212
|
-
"description": "Tenant name
|
|
5201
|
+
"description": "Tenant name to import backup into",
|
|
5213
5202
|
"name": "tenant_name",
|
|
5214
5203
|
"required": true
|
|
5215
5204
|
}
|
|
5216
5205
|
},
|
|
5217
|
-
"description": "
|
|
5206
|
+
"description": "Import a backup file into a tenant",
|
|
5218
5207
|
"examples": [
|
|
5219
|
-
"$ xano tenant backup
|
|
5220
|
-
"$ xano tenant backup
|
|
5221
|
-
"$ xano tenant backup delete t1234-abcd-xyz1 --backup_id 10 -o json"
|
|
5208
|
+
"$ xano tenant backup import t1234-abcd-xyz1 --file ./my-backup.tar.gz\nImported backup as #15 for tenant t1234-abcd-xyz1\n",
|
|
5209
|
+
"$ xano tenant backup import t1234-abcd-xyz1 --file ./my-backup.tar.gz --description \"Restored from production\" -o json"
|
|
5222
5210
|
],
|
|
5223
5211
|
"flags": {
|
|
5224
5212
|
"profile": {
|
|
@@ -5240,21 +5228,24 @@
|
|
|
5240
5228
|
"allowNo": false,
|
|
5241
5229
|
"type": "boolean"
|
|
5242
5230
|
},
|
|
5243
|
-
"
|
|
5244
|
-
"
|
|
5245
|
-
"
|
|
5246
|
-
"
|
|
5231
|
+
"description": {
|
|
5232
|
+
"char": "d",
|
|
5233
|
+
"description": "Backup description",
|
|
5234
|
+
"name": "description",
|
|
5235
|
+
"required": false,
|
|
5236
|
+
"default": "",
|
|
5247
5237
|
"hasDynamicHelp": false,
|
|
5248
5238
|
"multiple": false,
|
|
5249
5239
|
"type": "option"
|
|
5250
5240
|
},
|
|
5251
|
-
"
|
|
5241
|
+
"file": {
|
|
5252
5242
|
"char": "f",
|
|
5253
|
-
"description": "
|
|
5254
|
-
"name": "
|
|
5255
|
-
"required":
|
|
5256
|
-
"
|
|
5257
|
-
"
|
|
5243
|
+
"description": "Path to the backup file (.tar.gz)",
|
|
5244
|
+
"name": "file",
|
|
5245
|
+
"required": true,
|
|
5246
|
+
"hasDynamicHelp": false,
|
|
5247
|
+
"multiple": false,
|
|
5248
|
+
"type": "option"
|
|
5258
5249
|
},
|
|
5259
5250
|
"output": {
|
|
5260
5251
|
"char": "o",
|
|
@@ -5282,7 +5273,7 @@
|
|
|
5282
5273
|
},
|
|
5283
5274
|
"hasDynamicHelp": false,
|
|
5284
5275
|
"hiddenAliases": [],
|
|
5285
|
-
"id": "tenant:backup:
|
|
5276
|
+
"id": "tenant:backup:import",
|
|
5286
5277
|
"pluginAlias": "@xano/cli",
|
|
5287
5278
|
"pluginName": "@xano/cli",
|
|
5288
5279
|
"pluginType": "core",
|
|
@@ -5294,23 +5285,24 @@
|
|
|
5294
5285
|
"commands",
|
|
5295
5286
|
"tenant",
|
|
5296
5287
|
"backup",
|
|
5297
|
-
"
|
|
5288
|
+
"import",
|
|
5298
5289
|
"index.js"
|
|
5299
5290
|
]
|
|
5300
5291
|
},
|
|
5301
|
-
"
|
|
5292
|
+
"static_host:build:create": {
|
|
5302
5293
|
"aliases": [],
|
|
5303
5294
|
"args": {
|
|
5304
|
-
"
|
|
5305
|
-
"description": "
|
|
5306
|
-
"name": "
|
|
5295
|
+
"static_host": {
|
|
5296
|
+
"description": "Static Host name",
|
|
5297
|
+
"name": "static_host",
|
|
5307
5298
|
"required": true
|
|
5308
5299
|
}
|
|
5309
5300
|
},
|
|
5310
|
-
"description": "
|
|
5301
|
+
"description": "Create a new build for a static host",
|
|
5311
5302
|
"examples": [
|
|
5312
|
-
"$ xano
|
|
5313
|
-
"$ xano
|
|
5303
|
+
"$ xano static_host:build:create default -f ./build.zip -n \"v1.0.0\"\nBuild created successfully!\nID: 123\nName: v1.0.0\nStatus: pending\n",
|
|
5304
|
+
"$ xano static_host:build:create default -w 40 -f ./dist.zip -n \"production\" -d \"Production build\"\nBuild created successfully!\nID: 124\nName: production\nDescription: Production build\n",
|
|
5305
|
+
"$ xano static_host:build:create myhost -f ./app.zip -n \"release-1.2\" -o json\n{\n \"id\": 125,\n \"name\": \"release-1.2\",\n \"status\": \"pending\"\n}\n"
|
|
5314
5306
|
],
|
|
5315
5307
|
"flags": {
|
|
5316
5308
|
"profile": {
|
|
@@ -5334,23 +5326,31 @@
|
|
|
5334
5326
|
},
|
|
5335
5327
|
"description": {
|
|
5336
5328
|
"char": "d",
|
|
5337
|
-
"description": "
|
|
5329
|
+
"description": "Build description",
|
|
5338
5330
|
"name": "description",
|
|
5339
5331
|
"required": false,
|
|
5340
|
-
"default": "",
|
|
5341
5332
|
"hasDynamicHelp": false,
|
|
5342
5333
|
"multiple": false,
|
|
5343
5334
|
"type": "option"
|
|
5344
5335
|
},
|
|
5345
5336
|
"file": {
|
|
5346
5337
|
"char": "f",
|
|
5347
|
-
"description": "Path to
|
|
5338
|
+
"description": "Path to zip file to upload",
|
|
5348
5339
|
"name": "file",
|
|
5349
5340
|
"required": true,
|
|
5350
5341
|
"hasDynamicHelp": false,
|
|
5351
5342
|
"multiple": false,
|
|
5352
5343
|
"type": "option"
|
|
5353
5344
|
},
|
|
5345
|
+
"name": {
|
|
5346
|
+
"char": "n",
|
|
5347
|
+
"description": "Build name",
|
|
5348
|
+
"name": "name",
|
|
5349
|
+
"required": true,
|
|
5350
|
+
"hasDynamicHelp": false,
|
|
5351
|
+
"multiple": false,
|
|
5352
|
+
"type": "option"
|
|
5353
|
+
},
|
|
5354
5354
|
"output": {
|
|
5355
5355
|
"char": "o",
|
|
5356
5356
|
"description": "Output format",
|
|
@@ -5367,7 +5367,7 @@
|
|
|
5367
5367
|
},
|
|
5368
5368
|
"workspace": {
|
|
5369
5369
|
"char": "w",
|
|
5370
|
-
"description": "Workspace ID (
|
|
5370
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
5371
5371
|
"name": "workspace",
|
|
5372
5372
|
"required": false,
|
|
5373
5373
|
"hasDynamicHelp": false,
|
|
@@ -5377,7 +5377,7 @@
|
|
|
5377
5377
|
},
|
|
5378
5378
|
"hasDynamicHelp": false,
|
|
5379
5379
|
"hiddenAliases": [],
|
|
5380
|
-
"id": "
|
|
5380
|
+
"id": "static_host:build:create",
|
|
5381
5381
|
"pluginAlias": "@xano/cli",
|
|
5382
5382
|
"pluginName": "@xano/cli",
|
|
5383
5383
|
"pluginType": "core",
|
|
@@ -5387,9 +5387,9 @@
|
|
|
5387
5387
|
"relativePath": [
|
|
5388
5388
|
"dist",
|
|
5389
5389
|
"commands",
|
|
5390
|
-
"
|
|
5391
|
-
"
|
|
5392
|
-
"
|
|
5390
|
+
"static_host",
|
|
5391
|
+
"build",
|
|
5392
|
+
"create",
|
|
5393
5393
|
"index.js"
|
|
5394
5394
|
]
|
|
5395
5395
|
},
|
|
@@ -5692,20 +5692,19 @@
|
|
|
5692
5692
|
"index.js"
|
|
5693
5693
|
]
|
|
5694
5694
|
},
|
|
5695
|
-
"tenant:cluster:
|
|
5695
|
+
"tenant:cluster:get": {
|
|
5696
5696
|
"aliases": [],
|
|
5697
5697
|
"args": {
|
|
5698
5698
|
"cluster_id": {
|
|
5699
|
-
"description": "Cluster ID to
|
|
5699
|
+
"description": "Cluster ID to retrieve",
|
|
5700
5700
|
"name": "cluster_id",
|
|
5701
5701
|
"required": true
|
|
5702
5702
|
}
|
|
5703
5703
|
},
|
|
5704
|
-
"description": "
|
|
5704
|
+
"description": "Get details of a specific tenant cluster",
|
|
5705
5705
|
"examples": [
|
|
5706
|
-
"$ xano tenant cluster
|
|
5707
|
-
"$ xano tenant cluster
|
|
5708
|
-
"$ xano tenant cluster delete 3 -f -o json"
|
|
5706
|
+
"$ xano tenant cluster get 1\nCluster: us-east-1\n ID: 1\n Type: standard\n Domain: us-east-1.xano.io\n",
|
|
5707
|
+
"$ xano tenant cluster get 1 -o json"
|
|
5709
5708
|
],
|
|
5710
5709
|
"flags": {
|
|
5711
5710
|
"profile": {
|
|
@@ -5727,14 +5726,6 @@
|
|
|
5727
5726
|
"allowNo": false,
|
|
5728
5727
|
"type": "boolean"
|
|
5729
5728
|
},
|
|
5730
|
-
"force": {
|
|
5731
|
-
"char": "f",
|
|
5732
|
-
"description": "Skip confirmation prompt",
|
|
5733
|
-
"name": "force",
|
|
5734
|
-
"required": false,
|
|
5735
|
-
"allowNo": false,
|
|
5736
|
-
"type": "boolean"
|
|
5737
|
-
},
|
|
5738
5729
|
"output": {
|
|
5739
5730
|
"char": "o",
|
|
5740
5731
|
"description": "Output format",
|
|
@@ -5752,7 +5743,7 @@
|
|
|
5752
5743
|
},
|
|
5753
5744
|
"hasDynamicHelp": false,
|
|
5754
5745
|
"hiddenAliases": [],
|
|
5755
|
-
"id": "tenant:cluster:
|
|
5746
|
+
"id": "tenant:cluster:get",
|
|
5756
5747
|
"pluginAlias": "@xano/cli",
|
|
5757
5748
|
"pluginName": "@xano/cli",
|
|
5758
5749
|
"pluginType": "core",
|
|
@@ -5764,7 +5755,7 @@
|
|
|
5764
5755
|
"commands",
|
|
5765
5756
|
"tenant",
|
|
5766
5757
|
"cluster",
|
|
5767
|
-
"
|
|
5758
|
+
"get",
|
|
5768
5759
|
"index.js"
|
|
5769
5760
|
]
|
|
5770
5761
|
},
|
|
@@ -5873,19 +5864,13 @@
|
|
|
5873
5864
|
"index.js"
|
|
5874
5865
|
]
|
|
5875
5866
|
},
|
|
5876
|
-
"tenant:cluster:
|
|
5867
|
+
"tenant:cluster:list": {
|
|
5877
5868
|
"aliases": [],
|
|
5878
|
-
"args": {
|
|
5879
|
-
|
|
5880
|
-
"description": "Cluster ID to retrieve",
|
|
5881
|
-
"name": "cluster_id",
|
|
5882
|
-
"required": true
|
|
5883
|
-
}
|
|
5884
|
-
},
|
|
5885
|
-
"description": "Get details of a specific tenant cluster",
|
|
5869
|
+
"args": {},
|
|
5870
|
+
"description": "List all tenant clusters",
|
|
5886
5871
|
"examples": [
|
|
5887
|
-
"$ xano tenant cluster
|
|
5888
|
-
"$ xano tenant cluster
|
|
5872
|
+
"$ xano tenant cluster list\nTenant clusters:\n - us-east-1 (standard) [ID: 1]\n - eu-west-1 (run) [ID: 2]\n",
|
|
5873
|
+
"$ xano tenant cluster list --output json"
|
|
5889
5874
|
],
|
|
5890
5875
|
"flags": {
|
|
5891
5876
|
"profile": {
|
|
@@ -5924,7 +5909,7 @@
|
|
|
5924
5909
|
},
|
|
5925
5910
|
"hasDynamicHelp": false,
|
|
5926
5911
|
"hiddenAliases": [],
|
|
5927
|
-
"id": "tenant:cluster:
|
|
5912
|
+
"id": "tenant:cluster:list",
|
|
5928
5913
|
"pluginAlias": "@xano/cli",
|
|
5929
5914
|
"pluginName": "@xano/cli",
|
|
5930
5915
|
"pluginType": "core",
|
|
@@ -5936,17 +5921,24 @@
|
|
|
5936
5921
|
"commands",
|
|
5937
5922
|
"tenant",
|
|
5938
5923
|
"cluster",
|
|
5939
|
-
"
|
|
5924
|
+
"list",
|
|
5940
5925
|
"index.js"
|
|
5941
5926
|
]
|
|
5942
5927
|
},
|
|
5943
|
-
"tenant:cluster:
|
|
5928
|
+
"tenant:cluster:delete": {
|
|
5944
5929
|
"aliases": [],
|
|
5945
|
-
"args": {
|
|
5946
|
-
|
|
5930
|
+
"args": {
|
|
5931
|
+
"cluster_id": {
|
|
5932
|
+
"description": "Cluster ID to delete",
|
|
5933
|
+
"name": "cluster_id",
|
|
5934
|
+
"required": true
|
|
5935
|
+
}
|
|
5936
|
+
},
|
|
5937
|
+
"description": "Delete a tenant cluster. This action cannot be undone.",
|
|
5947
5938
|
"examples": [
|
|
5948
|
-
"$ xano tenant cluster
|
|
5949
|
-
"$ xano tenant cluster
|
|
5939
|
+
"$ 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",
|
|
5940
|
+
"$ xano tenant cluster delete 3 --force\nTenant cluster 3 deleted successfully\n",
|
|
5941
|
+
"$ xano tenant cluster delete 3 -f -o json"
|
|
5950
5942
|
],
|
|
5951
5943
|
"flags": {
|
|
5952
5944
|
"profile": {
|
|
@@ -5968,6 +5960,14 @@
|
|
|
5968
5960
|
"allowNo": false,
|
|
5969
5961
|
"type": "boolean"
|
|
5970
5962
|
},
|
|
5963
|
+
"force": {
|
|
5964
|
+
"char": "f",
|
|
5965
|
+
"description": "Skip confirmation prompt",
|
|
5966
|
+
"name": "force",
|
|
5967
|
+
"required": false,
|
|
5968
|
+
"allowNo": false,
|
|
5969
|
+
"type": "boolean"
|
|
5970
|
+
},
|
|
5971
5971
|
"output": {
|
|
5972
5972
|
"char": "o",
|
|
5973
5973
|
"description": "Output format",
|
|
@@ -5985,7 +5985,7 @@
|
|
|
5985
5985
|
},
|
|
5986
5986
|
"hasDynamicHelp": false,
|
|
5987
5987
|
"hiddenAliases": [],
|
|
5988
|
-
"id": "tenant:cluster:
|
|
5988
|
+
"id": "tenant:cluster:delete",
|
|
5989
5989
|
"pluginAlias": "@xano/cli",
|
|
5990
5990
|
"pluginName": "@xano/cli",
|
|
5991
5991
|
"pluginType": "core",
|
|
@@ -5997,11 +5997,11 @@
|
|
|
5997
5997
|
"commands",
|
|
5998
5998
|
"tenant",
|
|
5999
5999
|
"cluster",
|
|
6000
|
-
"
|
|
6000
|
+
"delete",
|
|
6001
6001
|
"index.js"
|
|
6002
6002
|
]
|
|
6003
6003
|
},
|
|
6004
|
-
"tenant:
|
|
6004
|
+
"tenant:env:delete": {
|
|
6005
6005
|
"aliases": [],
|
|
6006
6006
|
"args": {
|
|
6007
6007
|
"tenant_name": {
|
|
@@ -6010,12 +6010,11 @@
|
|
|
6010
6010
|
"required": true
|
|
6011
6011
|
}
|
|
6012
6012
|
},
|
|
6013
|
-
"description": "
|
|
6013
|
+
"description": "Delete an environment variable from a tenant",
|
|
6014
6014
|
"examples": [
|
|
6015
|
-
"$ xano tenant
|
|
6016
|
-
"$ xano tenant
|
|
6017
|
-
"$ xano tenant
|
|
6018
|
-
"$ xano tenant license get my-tenant -o json"
|
|
6015
|
+
"$ xano tenant env delete my-tenant --name DATABASE_URL\nAre you sure you want to delete environment variable 'DATABASE_URL' from tenant my-tenant? (y/N) y\nEnvironment variable 'DATABASE_URL' deleted from tenant my-tenant\n",
|
|
6016
|
+
"$ xano tenant env delete my-tenant --name DATABASE_URL --force\nEnvironment variable 'DATABASE_URL' deleted from tenant my-tenant\n",
|
|
6017
|
+
"$ xano tenant env delete my-tenant --name DATABASE_URL -f -w 5 -o json"
|
|
6019
6018
|
],
|
|
6020
6019
|
"flags": {
|
|
6021
6020
|
"profile": {
|
|
@@ -6037,11 +6036,19 @@
|
|
|
6037
6036
|
"allowNo": false,
|
|
6038
6037
|
"type": "boolean"
|
|
6039
6038
|
},
|
|
6040
|
-
"
|
|
6039
|
+
"force": {
|
|
6041
6040
|
"char": "f",
|
|
6042
|
-
"description": "
|
|
6043
|
-
"name": "
|
|
6041
|
+
"description": "Skip confirmation prompt",
|
|
6042
|
+
"name": "force",
|
|
6044
6043
|
"required": false,
|
|
6044
|
+
"allowNo": false,
|
|
6045
|
+
"type": "boolean"
|
|
6046
|
+
},
|
|
6047
|
+
"name": {
|
|
6048
|
+
"char": "n",
|
|
6049
|
+
"description": "Environment variable name",
|
|
6050
|
+
"name": "name",
|
|
6051
|
+
"required": true,
|
|
6045
6052
|
"hasDynamicHelp": false,
|
|
6046
6053
|
"multiple": false,
|
|
6047
6054
|
"type": "option"
|
|
@@ -6060,13 +6067,6 @@
|
|
|
6060
6067
|
],
|
|
6061
6068
|
"type": "option"
|
|
6062
6069
|
},
|
|
6063
|
-
"view": {
|
|
6064
|
-
"description": "Print license to stdout instead of saving to file",
|
|
6065
|
-
"name": "view",
|
|
6066
|
-
"required": false,
|
|
6067
|
-
"allowNo": false,
|
|
6068
|
-
"type": "boolean"
|
|
6069
|
-
},
|
|
6070
6070
|
"workspace": {
|
|
6071
6071
|
"char": "w",
|
|
6072
6072
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -6079,7 +6079,7 @@
|
|
|
6079
6079
|
},
|
|
6080
6080
|
"hasDynamicHelp": false,
|
|
6081
6081
|
"hiddenAliases": [],
|
|
6082
|
-
"id": "tenant:
|
|
6082
|
+
"id": "tenant:env:delete",
|
|
6083
6083
|
"pluginAlias": "@xano/cli",
|
|
6084
6084
|
"pluginName": "@xano/cli",
|
|
6085
6085
|
"pluginType": "core",
|
|
@@ -6090,12 +6090,12 @@
|
|
|
6090
6090
|
"dist",
|
|
6091
6091
|
"commands",
|
|
6092
6092
|
"tenant",
|
|
6093
|
-
"
|
|
6094
|
-
"
|
|
6093
|
+
"env",
|
|
6094
|
+
"delete",
|
|
6095
6095
|
"index.js"
|
|
6096
6096
|
]
|
|
6097
6097
|
},
|
|
6098
|
-
"tenant:
|
|
6098
|
+
"tenant:env:get": {
|
|
6099
6099
|
"aliases": [],
|
|
6100
6100
|
"args": {
|
|
6101
6101
|
"tenant_name": {
|
|
@@ -6104,12 +6104,10 @@
|
|
|
6104
6104
|
"required": true
|
|
6105
6105
|
}
|
|
6106
6106
|
},
|
|
6107
|
-
"description": "
|
|
6107
|
+
"description": "Get a single environment variable for a tenant",
|
|
6108
6108
|
"examples": [
|
|
6109
|
-
"$ xano tenant
|
|
6110
|
-
"$ xano tenant
|
|
6111
|
-
"$ xano tenant license set my-tenant --value 'key: value'",
|
|
6112
|
-
"$ xano tenant license set my-tenant -o json"
|
|
6109
|
+
"$ xano tenant env get my-tenant --name DATABASE_URL\npostgres://localhost:5432/mydb\n",
|
|
6110
|
+
"$ xano tenant env get my-tenant --name DATABASE_URL -w 5 -o json"
|
|
6113
6111
|
],
|
|
6114
6112
|
"flags": {
|
|
6115
6113
|
"profile": {
|
|
@@ -6131,24 +6129,11 @@
|
|
|
6131
6129
|
"allowNo": false,
|
|
6132
6130
|
"type": "boolean"
|
|
6133
6131
|
},
|
|
6134
|
-
"
|
|
6135
|
-
"
|
|
6136
|
-
"
|
|
6137
|
-
|
|
6138
|
-
|
|
6139
|
-
"name": "clean",
|
|
6140
|
-
"required": false,
|
|
6141
|
-
"allowNo": false,
|
|
6142
|
-
"type": "boolean"
|
|
6143
|
-
},
|
|
6144
|
-
"file": {
|
|
6145
|
-
"char": "f",
|
|
6146
|
-
"description": "Path to license file (default: license_<tenant_name>.yaml)",
|
|
6147
|
-
"exclusive": [
|
|
6148
|
-
"value"
|
|
6149
|
-
],
|
|
6150
|
-
"name": "file",
|
|
6151
|
-
"required": false,
|
|
6132
|
+
"name": {
|
|
6133
|
+
"char": "n",
|
|
6134
|
+
"description": "Environment variable name",
|
|
6135
|
+
"name": "name",
|
|
6136
|
+
"required": true,
|
|
6152
6137
|
"hasDynamicHelp": false,
|
|
6153
6138
|
"multiple": false,
|
|
6154
6139
|
"type": "option"
|
|
@@ -6167,18 +6152,6 @@
|
|
|
6167
6152
|
],
|
|
6168
6153
|
"type": "option"
|
|
6169
6154
|
},
|
|
6170
|
-
"value": {
|
|
6171
|
-
"description": "Inline license value",
|
|
6172
|
-
"exclusive": [
|
|
6173
|
-
"file",
|
|
6174
|
-
"clean"
|
|
6175
|
-
],
|
|
6176
|
-
"name": "value",
|
|
6177
|
-
"required": false,
|
|
6178
|
-
"hasDynamicHelp": false,
|
|
6179
|
-
"multiple": false,
|
|
6180
|
-
"type": "option"
|
|
6181
|
-
},
|
|
6182
6155
|
"workspace": {
|
|
6183
6156
|
"char": "w",
|
|
6184
6157
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -6191,7 +6164,7 @@
|
|
|
6191
6164
|
},
|
|
6192
6165
|
"hasDynamicHelp": false,
|
|
6193
6166
|
"hiddenAliases": [],
|
|
6194
|
-
"id": "tenant:
|
|
6167
|
+
"id": "tenant:env:get",
|
|
6195
6168
|
"pluginAlias": "@xano/cli",
|
|
6196
6169
|
"pluginName": "@xano/cli",
|
|
6197
6170
|
"pluginType": "core",
|
|
@@ -6202,12 +6175,12 @@
|
|
|
6202
6175
|
"dist",
|
|
6203
6176
|
"commands",
|
|
6204
6177
|
"tenant",
|
|
6205
|
-
"
|
|
6206
|
-
"
|
|
6178
|
+
"env",
|
|
6179
|
+
"get",
|
|
6207
6180
|
"index.js"
|
|
6208
6181
|
]
|
|
6209
6182
|
},
|
|
6210
|
-
"tenant:env:
|
|
6183
|
+
"tenant:env:get_all": {
|
|
6211
6184
|
"aliases": [],
|
|
6212
6185
|
"args": {
|
|
6213
6186
|
"tenant_name": {
|
|
@@ -6216,11 +6189,12 @@
|
|
|
6216
6189
|
"required": true
|
|
6217
6190
|
}
|
|
6218
6191
|
},
|
|
6219
|
-
"description": "
|
|
6192
|
+
"description": "Get all environment variables for a tenant and save to a YAML file",
|
|
6220
6193
|
"examples": [
|
|
6221
|
-
"$ xano tenant env
|
|
6222
|
-
"$ xano tenant env
|
|
6223
|
-
"$ xano tenant env
|
|
6194
|
+
"$ xano tenant env get_all my-tenant\nEnvironment variables saved to env_my-tenant.yaml\n",
|
|
6195
|
+
"$ xano tenant env get_all my-tenant --file ./my-env.yaml",
|
|
6196
|
+
"$ xano tenant env get_all my-tenant --view",
|
|
6197
|
+
"$ xano tenant env get_all my-tenant -o json"
|
|
6224
6198
|
],
|
|
6225
6199
|
"flags": {
|
|
6226
6200
|
"profile": {
|
|
@@ -6242,19 +6216,11 @@
|
|
|
6242
6216
|
"allowNo": false,
|
|
6243
6217
|
"type": "boolean"
|
|
6244
6218
|
},
|
|
6245
|
-
"
|
|
6219
|
+
"file": {
|
|
6246
6220
|
"char": "f",
|
|
6247
|
-
"description": "
|
|
6248
|
-
"name": "
|
|
6221
|
+
"description": "Output file path (default: env_<tenant_name>.yaml)",
|
|
6222
|
+
"name": "file",
|
|
6249
6223
|
"required": false,
|
|
6250
|
-
"allowNo": false,
|
|
6251
|
-
"type": "boolean"
|
|
6252
|
-
},
|
|
6253
|
-
"name": {
|
|
6254
|
-
"char": "n",
|
|
6255
|
-
"description": "Environment variable name",
|
|
6256
|
-
"name": "name",
|
|
6257
|
-
"required": true,
|
|
6258
6224
|
"hasDynamicHelp": false,
|
|
6259
6225
|
"multiple": false,
|
|
6260
6226
|
"type": "option"
|
|
@@ -6273,6 +6239,13 @@
|
|
|
6273
6239
|
],
|
|
6274
6240
|
"type": "option"
|
|
6275
6241
|
},
|
|
6242
|
+
"view": {
|
|
6243
|
+
"description": "Print environment variables to stdout instead of saving to file",
|
|
6244
|
+
"name": "view",
|
|
6245
|
+
"required": false,
|
|
6246
|
+
"allowNo": false,
|
|
6247
|
+
"type": "boolean"
|
|
6248
|
+
},
|
|
6276
6249
|
"workspace": {
|
|
6277
6250
|
"char": "w",
|
|
6278
6251
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -6285,7 +6258,7 @@
|
|
|
6285
6258
|
},
|
|
6286
6259
|
"hasDynamicHelp": false,
|
|
6287
6260
|
"hiddenAliases": [],
|
|
6288
|
-
"id": "tenant:env:
|
|
6261
|
+
"id": "tenant:env:get_all",
|
|
6289
6262
|
"pluginAlias": "@xano/cli",
|
|
6290
6263
|
"pluginName": "@xano/cli",
|
|
6291
6264
|
"pluginType": "core",
|
|
@@ -6297,11 +6270,11 @@
|
|
|
6297
6270
|
"commands",
|
|
6298
6271
|
"tenant",
|
|
6299
6272
|
"env",
|
|
6300
|
-
"
|
|
6273
|
+
"get_all",
|
|
6301
6274
|
"index.js"
|
|
6302
6275
|
]
|
|
6303
6276
|
},
|
|
6304
|
-
"tenant:env:
|
|
6277
|
+
"tenant:env:set": {
|
|
6305
6278
|
"aliases": [],
|
|
6306
6279
|
"args": {
|
|
6307
6280
|
"tenant_name": {
|
|
@@ -6310,10 +6283,10 @@
|
|
|
6310
6283
|
"required": true
|
|
6311
6284
|
}
|
|
6312
6285
|
},
|
|
6313
|
-
"description": "
|
|
6286
|
+
"description": "Set (create or update) an environment variable for a tenant",
|
|
6314
6287
|
"examples": [
|
|
6315
|
-
"$ xano tenant env
|
|
6316
|
-
"$ xano tenant env
|
|
6288
|
+
"$ xano tenant env set my-tenant --name DATABASE_URL --value postgres://localhost:5432/mydb\nEnvironment variable 'DATABASE_URL' set for tenant my-tenant\n",
|
|
6289
|
+
"$ xano tenant env set my-tenant --name DATABASE_URL --value postgres://localhost:5432/mydb -w 5 -o json"
|
|
6317
6290
|
],
|
|
6318
6291
|
"flags": {
|
|
6319
6292
|
"profile": {
|
|
@@ -6358,6 +6331,14 @@
|
|
|
6358
6331
|
],
|
|
6359
6332
|
"type": "option"
|
|
6360
6333
|
},
|
|
6334
|
+
"value": {
|
|
6335
|
+
"description": "Environment variable value",
|
|
6336
|
+
"name": "value",
|
|
6337
|
+
"required": true,
|
|
6338
|
+
"hasDynamicHelp": false,
|
|
6339
|
+
"multiple": false,
|
|
6340
|
+
"type": "option"
|
|
6341
|
+
},
|
|
6361
6342
|
"workspace": {
|
|
6362
6343
|
"char": "w",
|
|
6363
6344
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -6370,7 +6351,7 @@
|
|
|
6370
6351
|
},
|
|
6371
6352
|
"hasDynamicHelp": false,
|
|
6372
6353
|
"hiddenAliases": [],
|
|
6373
|
-
"id": "tenant:env:
|
|
6354
|
+
"id": "tenant:env:set",
|
|
6374
6355
|
"pluginAlias": "@xano/cli",
|
|
6375
6356
|
"pluginName": "@xano/cli",
|
|
6376
6357
|
"pluginType": "core",
|
|
@@ -6382,11 +6363,11 @@
|
|
|
6382
6363
|
"commands",
|
|
6383
6364
|
"tenant",
|
|
6384
6365
|
"env",
|
|
6385
|
-
"
|
|
6366
|
+
"set",
|
|
6386
6367
|
"index.js"
|
|
6387
6368
|
]
|
|
6388
6369
|
},
|
|
6389
|
-
"tenant:env:
|
|
6370
|
+
"tenant:env:set_all": {
|
|
6390
6371
|
"aliases": [],
|
|
6391
6372
|
"args": {
|
|
6392
6373
|
"tenant_name": {
|
|
@@ -6395,12 +6376,11 @@
|
|
|
6395
6376
|
"required": true
|
|
6396
6377
|
}
|
|
6397
6378
|
},
|
|
6398
|
-
"description": "
|
|
6379
|
+
"description": "Set all environment variables for a tenant from a YAML file (replaces all existing)",
|
|
6399
6380
|
"examples": [
|
|
6400
|
-
"$ xano tenant env
|
|
6401
|
-
"$ xano tenant env
|
|
6402
|
-
"$ xano tenant env
|
|
6403
|
-
"$ xano tenant env get_all my-tenant -o json"
|
|
6381
|
+
"$ xano tenant env set_all my-tenant\nReads from env_my-tenant.yaml\n",
|
|
6382
|
+
"$ xano tenant env set_all my-tenant --file ./my-env.yaml",
|
|
6383
|
+
"$ xano tenant env set_all my-tenant -o json"
|
|
6404
6384
|
],
|
|
6405
6385
|
"flags": {
|
|
6406
6386
|
"profile": {
|
|
@@ -6422,9 +6402,16 @@
|
|
|
6422
6402
|
"allowNo": false,
|
|
6423
6403
|
"type": "boolean"
|
|
6424
6404
|
},
|
|
6405
|
+
"clean": {
|
|
6406
|
+
"description": "Remove the source file after successful upload",
|
|
6407
|
+
"name": "clean",
|
|
6408
|
+
"required": false,
|
|
6409
|
+
"allowNo": false,
|
|
6410
|
+
"type": "boolean"
|
|
6411
|
+
},
|
|
6425
6412
|
"file": {
|
|
6426
6413
|
"char": "f",
|
|
6427
|
-
"description": "
|
|
6414
|
+
"description": "Path to env file (default: env_<tenant_name>.yaml)",
|
|
6428
6415
|
"name": "file",
|
|
6429
6416
|
"required": false,
|
|
6430
6417
|
"hasDynamicHelp": false,
|
|
@@ -6445,13 +6432,6 @@
|
|
|
6445
6432
|
],
|
|
6446
6433
|
"type": "option"
|
|
6447
6434
|
},
|
|
6448
|
-
"view": {
|
|
6449
|
-
"description": "Print environment variables to stdout instead of saving to file",
|
|
6450
|
-
"name": "view",
|
|
6451
|
-
"required": false,
|
|
6452
|
-
"allowNo": false,
|
|
6453
|
-
"type": "boolean"
|
|
6454
|
-
},
|
|
6455
6435
|
"workspace": {
|
|
6456
6436
|
"char": "w",
|
|
6457
6437
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -6464,7 +6444,7 @@
|
|
|
6464
6444
|
},
|
|
6465
6445
|
"hasDynamicHelp": false,
|
|
6466
6446
|
"hiddenAliases": [],
|
|
6467
|
-
"id": "tenant:env:
|
|
6447
|
+
"id": "tenant:env:set_all",
|
|
6468
6448
|
"pluginAlias": "@xano/cli",
|
|
6469
6449
|
"pluginName": "@xano/cli",
|
|
6470
6450
|
"pluginType": "core",
|
|
@@ -6476,11 +6456,11 @@
|
|
|
6476
6456
|
"commands",
|
|
6477
6457
|
"tenant",
|
|
6478
6458
|
"env",
|
|
6479
|
-
"
|
|
6459
|
+
"set_all",
|
|
6480
6460
|
"index.js"
|
|
6481
6461
|
]
|
|
6482
6462
|
},
|
|
6483
|
-
"tenant:
|
|
6463
|
+
"tenant:license:set": {
|
|
6484
6464
|
"aliases": [],
|
|
6485
6465
|
"args": {
|
|
6486
6466
|
"tenant_name": {
|
|
@@ -6489,10 +6469,12 @@
|
|
|
6489
6469
|
"required": true
|
|
6490
6470
|
}
|
|
6491
6471
|
},
|
|
6492
|
-
"description": "
|
|
6472
|
+
"description": "Set/update the license for a tenant",
|
|
6493
6473
|
"examples": [
|
|
6494
|
-
"$ xano tenant
|
|
6495
|
-
"$ xano tenant
|
|
6474
|
+
"$ xano tenant license set my-tenant\nReads from license_my-tenant.yaml\n",
|
|
6475
|
+
"$ xano tenant license set my-tenant --file ./license.yaml",
|
|
6476
|
+
"$ xano tenant license set my-tenant --value 'key: value'",
|
|
6477
|
+
"$ xano tenant license set my-tenant -o json"
|
|
6496
6478
|
],
|
|
6497
6479
|
"flags": {
|
|
6498
6480
|
"profile": {
|
|
@@ -6514,6 +6496,28 @@
|
|
|
6514
6496
|
"allowNo": false,
|
|
6515
6497
|
"type": "boolean"
|
|
6516
6498
|
},
|
|
6499
|
+
"clean": {
|
|
6500
|
+
"description": "Remove the source file after successful upload",
|
|
6501
|
+
"exclusive": [
|
|
6502
|
+
"value"
|
|
6503
|
+
],
|
|
6504
|
+
"name": "clean",
|
|
6505
|
+
"required": false,
|
|
6506
|
+
"allowNo": false,
|
|
6507
|
+
"type": "boolean"
|
|
6508
|
+
},
|
|
6509
|
+
"file": {
|
|
6510
|
+
"char": "f",
|
|
6511
|
+
"description": "Path to license file (default: license_<tenant_name>.yaml)",
|
|
6512
|
+
"exclusive": [
|
|
6513
|
+
"value"
|
|
6514
|
+
],
|
|
6515
|
+
"name": "file",
|
|
6516
|
+
"required": false,
|
|
6517
|
+
"hasDynamicHelp": false,
|
|
6518
|
+
"multiple": false,
|
|
6519
|
+
"type": "option"
|
|
6520
|
+
},
|
|
6517
6521
|
"output": {
|
|
6518
6522
|
"char": "o",
|
|
6519
6523
|
"description": "Output format",
|
|
@@ -6528,6 +6532,18 @@
|
|
|
6528
6532
|
],
|
|
6529
6533
|
"type": "option"
|
|
6530
6534
|
},
|
|
6535
|
+
"value": {
|
|
6536
|
+
"description": "Inline license value",
|
|
6537
|
+
"exclusive": [
|
|
6538
|
+
"file",
|
|
6539
|
+
"clean"
|
|
6540
|
+
],
|
|
6541
|
+
"name": "value",
|
|
6542
|
+
"required": false,
|
|
6543
|
+
"hasDynamicHelp": false,
|
|
6544
|
+
"multiple": false,
|
|
6545
|
+
"type": "option"
|
|
6546
|
+
},
|
|
6531
6547
|
"workspace": {
|
|
6532
6548
|
"char": "w",
|
|
6533
6549
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -6540,7 +6556,7 @@
|
|
|
6540
6556
|
},
|
|
6541
6557
|
"hasDynamicHelp": false,
|
|
6542
6558
|
"hiddenAliases": [],
|
|
6543
|
-
"id": "tenant:
|
|
6559
|
+
"id": "tenant:license:set",
|
|
6544
6560
|
"pluginAlias": "@xano/cli",
|
|
6545
6561
|
"pluginName": "@xano/cli",
|
|
6546
6562
|
"pluginType": "core",
|
|
@@ -6551,12 +6567,12 @@
|
|
|
6551
6567
|
"dist",
|
|
6552
6568
|
"commands",
|
|
6553
6569
|
"tenant",
|
|
6554
|
-
"
|
|
6555
|
-
"
|
|
6570
|
+
"license",
|
|
6571
|
+
"set",
|
|
6556
6572
|
"index.js"
|
|
6557
6573
|
]
|
|
6558
6574
|
},
|
|
6559
|
-
"tenant:
|
|
6575
|
+
"tenant:license:get": {
|
|
6560
6576
|
"aliases": [],
|
|
6561
6577
|
"args": {
|
|
6562
6578
|
"tenant_name": {
|
|
@@ -6565,10 +6581,12 @@
|
|
|
6565
6581
|
"required": true
|
|
6566
6582
|
}
|
|
6567
6583
|
},
|
|
6568
|
-
"description": "
|
|
6584
|
+
"description": "Get the license for a tenant",
|
|
6569
6585
|
"examples": [
|
|
6570
|
-
"$ xano tenant
|
|
6571
|
-
"$ xano tenant
|
|
6586
|
+
"$ xano tenant license get my-tenant\nLicense saved to license_my-tenant.yaml\n",
|
|
6587
|
+
"$ xano tenant license get my-tenant --file ./my-license.yaml\nLicense saved to my-license.yaml\n",
|
|
6588
|
+
"$ xano tenant license get my-tenant --view",
|
|
6589
|
+
"$ xano tenant license get my-tenant -o json"
|
|
6572
6590
|
],
|
|
6573
6591
|
"flags": {
|
|
6574
6592
|
"profile": {
|
|
@@ -6590,11 +6608,11 @@
|
|
|
6590
6608
|
"allowNo": false,
|
|
6591
6609
|
"type": "boolean"
|
|
6592
6610
|
},
|
|
6593
|
-
"
|
|
6594
|
-
"char": "
|
|
6595
|
-
"description": "
|
|
6596
|
-
"name": "
|
|
6597
|
-
"required":
|
|
6611
|
+
"file": {
|
|
6612
|
+
"char": "f",
|
|
6613
|
+
"description": "Output file path (default: license_<tenant_name>.yaml)",
|
|
6614
|
+
"name": "file",
|
|
6615
|
+
"required": false,
|
|
6598
6616
|
"hasDynamicHelp": false,
|
|
6599
6617
|
"multiple": false,
|
|
6600
6618
|
"type": "option"
|
|
@@ -6613,13 +6631,12 @@
|
|
|
6613
6631
|
],
|
|
6614
6632
|
"type": "option"
|
|
6615
6633
|
},
|
|
6616
|
-
"
|
|
6617
|
-
"description": "
|
|
6618
|
-
"name": "
|
|
6619
|
-
"required":
|
|
6620
|
-
"
|
|
6621
|
-
"
|
|
6622
|
-
"type": "option"
|
|
6634
|
+
"view": {
|
|
6635
|
+
"description": "Print license to stdout instead of saving to file",
|
|
6636
|
+
"name": "view",
|
|
6637
|
+
"required": false,
|
|
6638
|
+
"allowNo": false,
|
|
6639
|
+
"type": "boolean"
|
|
6623
6640
|
},
|
|
6624
6641
|
"workspace": {
|
|
6625
6642
|
"char": "w",
|
|
@@ -6633,7 +6650,7 @@
|
|
|
6633
6650
|
},
|
|
6634
6651
|
"hasDynamicHelp": false,
|
|
6635
6652
|
"hiddenAliases": [],
|
|
6636
|
-
"id": "tenant:
|
|
6653
|
+
"id": "tenant:license:get",
|
|
6637
6654
|
"pluginAlias": "@xano/cli",
|
|
6638
6655
|
"pluginName": "@xano/cli",
|
|
6639
6656
|
"pluginType": "core",
|
|
@@ -6644,12 +6661,12 @@
|
|
|
6644
6661
|
"dist",
|
|
6645
6662
|
"commands",
|
|
6646
6663
|
"tenant",
|
|
6647
|
-
"
|
|
6648
|
-
"
|
|
6664
|
+
"license",
|
|
6665
|
+
"get",
|
|
6649
6666
|
"index.js"
|
|
6650
6667
|
]
|
|
6651
6668
|
},
|
|
6652
|
-
"tenant:env:
|
|
6669
|
+
"tenant:env:list": {
|
|
6653
6670
|
"aliases": [],
|
|
6654
6671
|
"args": {
|
|
6655
6672
|
"tenant_name": {
|
|
@@ -6658,11 +6675,10 @@
|
|
|
6658
6675
|
"required": true
|
|
6659
6676
|
}
|
|
6660
6677
|
},
|
|
6661
|
-
"description": "
|
|
6678
|
+
"description": "List environment variable keys for a tenant",
|
|
6662
6679
|
"examples": [
|
|
6663
|
-
"$ xano tenant env
|
|
6664
|
-
"$ xano tenant env
|
|
6665
|
-
"$ xano tenant env set_all my-tenant -o json"
|
|
6680
|
+
"$ xano tenant env list my-tenant\nEnvironment variables for tenant my-tenant:\n - DATABASE_URL\n - API_KEY\n - SECRET_TOKEN\n",
|
|
6681
|
+
"$ xano tenant env list my-tenant -w 5 -o json"
|
|
6666
6682
|
],
|
|
6667
6683
|
"flags": {
|
|
6668
6684
|
"profile": {
|
|
@@ -6684,22 +6700,6 @@
|
|
|
6684
6700
|
"allowNo": false,
|
|
6685
6701
|
"type": "boolean"
|
|
6686
6702
|
},
|
|
6687
|
-
"clean": {
|
|
6688
|
-
"description": "Remove the source file after successful upload",
|
|
6689
|
-
"name": "clean",
|
|
6690
|
-
"required": false,
|
|
6691
|
-
"allowNo": false,
|
|
6692
|
-
"type": "boolean"
|
|
6693
|
-
},
|
|
6694
|
-
"file": {
|
|
6695
|
-
"char": "f",
|
|
6696
|
-
"description": "Path to env file (default: env_<tenant_name>.yaml)",
|
|
6697
|
-
"name": "file",
|
|
6698
|
-
"required": false,
|
|
6699
|
-
"hasDynamicHelp": false,
|
|
6700
|
-
"multiple": false,
|
|
6701
|
-
"type": "option"
|
|
6702
|
-
},
|
|
6703
6703
|
"output": {
|
|
6704
6704
|
"char": "o",
|
|
6705
6705
|
"description": "Output format",
|
|
@@ -6726,7 +6726,7 @@
|
|
|
6726
6726
|
},
|
|
6727
6727
|
"hasDynamicHelp": false,
|
|
6728
6728
|
"hiddenAliases": [],
|
|
6729
|
-
"id": "tenant:env:
|
|
6729
|
+
"id": "tenant:env:list",
|
|
6730
6730
|
"pluginAlias": "@xano/cli",
|
|
6731
6731
|
"pluginName": "@xano/cli",
|
|
6732
6732
|
"pluginType": "core",
|
|
@@ -6738,7 +6738,7 @@
|
|
|
6738
6738
|
"commands",
|
|
6739
6739
|
"tenant",
|
|
6740
6740
|
"env",
|
|
6741
|
-
"
|
|
6741
|
+
"list",
|
|
6742
6742
|
"index.js"
|
|
6743
6743
|
]
|
|
6744
6744
|
},
|
|
@@ -7027,5 +7027,5 @@
|
|
|
7027
7027
|
]
|
|
7028
7028
|
}
|
|
7029
7029
|
},
|
|
7030
|
-
"version": "0.0.
|
|
7030
|
+
"version": "0.0.65"
|
|
7031
7031
|
}
|