@xano/cli 0.0.28 → 0.0.30
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/base-command.d.ts +5 -0
- package/dist/base-command.js +31 -0
- package/dist/commands/branch/create/index.js +3 -3
- package/dist/commands/branch/delete/index.js +2 -2
- package/dist/commands/branch/edit/index.js +3 -3
- package/dist/commands/branch/get/index.js +2 -2
- package/dist/commands/branch/list/index.js +2 -2
- package/dist/commands/branch/set-live/index.js +2 -2
- package/dist/commands/function/create/index.js +2 -2
- package/dist/commands/function/edit/index.js +2 -2
- package/dist/commands/function/get/index.js +2 -2
- package/dist/commands/function/list/index.js +2 -2
- package/dist/commands/profile/me/index.js +2 -2
- package/dist/commands/static_host/build/create/index.js +2 -2
- package/dist/commands/static_host/build/get/index.js +2 -2
- package/dist/commands/static_host/build/list/index.js +2 -2
- package/dist/commands/static_host/list/index.js +2 -2
- package/dist/commands/workspace/create/index.js +3 -3
- package/dist/commands/workspace/delete/index.js +2 -2
- package/dist/commands/workspace/edit/index.js +3 -3
- package/dist/commands/workspace/get/index.js +2 -2
- package/dist/commands/workspace/list/index.js +2 -2
- package/dist/commands/workspace/pull/index.js +7 -6
- package/dist/commands/workspace/push/index.js +8 -7
- package/oclif.manifest.json +716 -716
- package/package.json +1 -1
package/oclif.manifest.json
CHANGED
|
@@ -405,6 +405,196 @@
|
|
|
405
405
|
"index.js"
|
|
406
406
|
]
|
|
407
407
|
},
|
|
408
|
+
"branch:set-live": {
|
|
409
|
+
"aliases": [],
|
|
410
|
+
"args": {
|
|
411
|
+
"branch_label": {
|
|
412
|
+
"description": "Branch label to set as live (use \"v1\" for default branch)",
|
|
413
|
+
"name": "branch_label",
|
|
414
|
+
"required": true
|
|
415
|
+
}
|
|
416
|
+
},
|
|
417
|
+
"description": "Set a branch as the live (active) branch for API requests",
|
|
418
|
+
"examples": [
|
|
419
|
+
"$ 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",
|
|
420
|
+
"$ xano branch set-live v1 --force\nBranch 'v1' is now live\n",
|
|
421
|
+
"$ 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"
|
|
422
|
+
],
|
|
423
|
+
"flags": {
|
|
424
|
+
"profile": {
|
|
425
|
+
"char": "p",
|
|
426
|
+
"description": "Profile to use for this command",
|
|
427
|
+
"env": "XANO_PROFILE",
|
|
428
|
+
"name": "profile",
|
|
429
|
+
"required": false,
|
|
430
|
+
"hasDynamicHelp": false,
|
|
431
|
+
"multiple": false,
|
|
432
|
+
"type": "option"
|
|
433
|
+
},
|
|
434
|
+
"verbose": {
|
|
435
|
+
"char": "v",
|
|
436
|
+
"description": "Show detailed request/response information",
|
|
437
|
+
"env": "XANO_VERBOSE",
|
|
438
|
+
"name": "verbose",
|
|
439
|
+
"required": false,
|
|
440
|
+
"allowNo": false,
|
|
441
|
+
"type": "boolean"
|
|
442
|
+
},
|
|
443
|
+
"force": {
|
|
444
|
+
"char": "f",
|
|
445
|
+
"description": "Skip confirmation prompt",
|
|
446
|
+
"name": "force",
|
|
447
|
+
"required": false,
|
|
448
|
+
"allowNo": false,
|
|
449
|
+
"type": "boolean"
|
|
450
|
+
},
|
|
451
|
+
"output": {
|
|
452
|
+
"char": "o",
|
|
453
|
+
"description": "Output format",
|
|
454
|
+
"name": "output",
|
|
455
|
+
"required": false,
|
|
456
|
+
"default": "summary",
|
|
457
|
+
"hasDynamicHelp": false,
|
|
458
|
+
"multiple": false,
|
|
459
|
+
"options": [
|
|
460
|
+
"summary",
|
|
461
|
+
"json"
|
|
462
|
+
],
|
|
463
|
+
"type": "option"
|
|
464
|
+
},
|
|
465
|
+
"workspace": {
|
|
466
|
+
"char": "w",
|
|
467
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
468
|
+
"name": "workspace",
|
|
469
|
+
"required": false,
|
|
470
|
+
"hasDynamicHelp": false,
|
|
471
|
+
"multiple": false,
|
|
472
|
+
"type": "option"
|
|
473
|
+
}
|
|
474
|
+
},
|
|
475
|
+
"hasDynamicHelp": false,
|
|
476
|
+
"hiddenAliases": [],
|
|
477
|
+
"id": "branch:set-live",
|
|
478
|
+
"pluginAlias": "@xano/cli",
|
|
479
|
+
"pluginName": "@xano/cli",
|
|
480
|
+
"pluginType": "core",
|
|
481
|
+
"strict": true,
|
|
482
|
+
"enableJsonFlag": false,
|
|
483
|
+
"isESM": true,
|
|
484
|
+
"relativePath": [
|
|
485
|
+
"dist",
|
|
486
|
+
"commands",
|
|
487
|
+
"branch",
|
|
488
|
+
"set-live",
|
|
489
|
+
"index.js"
|
|
490
|
+
]
|
|
491
|
+
},
|
|
492
|
+
"profile:create": {
|
|
493
|
+
"aliases": [],
|
|
494
|
+
"args": {
|
|
495
|
+
"name": {
|
|
496
|
+
"description": "Profile name",
|
|
497
|
+
"name": "name",
|
|
498
|
+
"required": true
|
|
499
|
+
}
|
|
500
|
+
},
|
|
501
|
+
"description": "Create a new profile configuration",
|
|
502
|
+
"examples": [
|
|
503
|
+
"$ 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",
|
|
504
|
+
"$ 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",
|
|
505
|
+
"$ 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",
|
|
506
|
+
"$ xano profile:create dev -i https://dev-instance.xano.com -t token789 -w my-workspace -b feature-branch -j my-project\nProfile 'dev' created successfully at ~/.xano/credentials.yaml\n",
|
|
507
|
+
"$ 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"
|
|
508
|
+
],
|
|
509
|
+
"flags": {
|
|
510
|
+
"access_token": {
|
|
511
|
+
"char": "t",
|
|
512
|
+
"description": "Access token for the Xano Metadata API",
|
|
513
|
+
"name": "access_token",
|
|
514
|
+
"required": true,
|
|
515
|
+
"hasDynamicHelp": false,
|
|
516
|
+
"multiple": false,
|
|
517
|
+
"type": "option"
|
|
518
|
+
},
|
|
519
|
+
"account_origin": {
|
|
520
|
+
"char": "a",
|
|
521
|
+
"description": "Account origin URL. Optional for self hosted installs.",
|
|
522
|
+
"name": "account_origin",
|
|
523
|
+
"required": false,
|
|
524
|
+
"hasDynamicHelp": false,
|
|
525
|
+
"multiple": false,
|
|
526
|
+
"type": "option"
|
|
527
|
+
},
|
|
528
|
+
"branch": {
|
|
529
|
+
"char": "b",
|
|
530
|
+
"description": "Branch name",
|
|
531
|
+
"name": "branch",
|
|
532
|
+
"required": false,
|
|
533
|
+
"hasDynamicHelp": false,
|
|
534
|
+
"multiple": false,
|
|
535
|
+
"type": "option"
|
|
536
|
+
},
|
|
537
|
+
"default": {
|
|
538
|
+
"description": "Set this profile as the default",
|
|
539
|
+
"name": "default",
|
|
540
|
+
"required": false,
|
|
541
|
+
"allowNo": false,
|
|
542
|
+
"type": "boolean"
|
|
543
|
+
},
|
|
544
|
+
"instance_origin": {
|
|
545
|
+
"char": "i",
|
|
546
|
+
"description": "Instance origin URL",
|
|
547
|
+
"name": "instance_origin",
|
|
548
|
+
"required": true,
|
|
549
|
+
"hasDynamicHelp": false,
|
|
550
|
+
"multiple": false,
|
|
551
|
+
"type": "option"
|
|
552
|
+
},
|
|
553
|
+
"project": {
|
|
554
|
+
"char": "j",
|
|
555
|
+
"description": "Project name",
|
|
556
|
+
"name": "project",
|
|
557
|
+
"required": false,
|
|
558
|
+
"hasDynamicHelp": false,
|
|
559
|
+
"multiple": false,
|
|
560
|
+
"type": "option"
|
|
561
|
+
},
|
|
562
|
+
"run_base_url": {
|
|
563
|
+
"char": "r",
|
|
564
|
+
"description": "Xano Run API base URL (default: https://app.xano.com/)",
|
|
565
|
+
"name": "run_base_url",
|
|
566
|
+
"required": false,
|
|
567
|
+
"hasDynamicHelp": false,
|
|
568
|
+
"multiple": false,
|
|
569
|
+
"type": "option"
|
|
570
|
+
},
|
|
571
|
+
"workspace": {
|
|
572
|
+
"char": "w",
|
|
573
|
+
"description": "Workspace name",
|
|
574
|
+
"name": "workspace",
|
|
575
|
+
"required": false,
|
|
576
|
+
"hasDynamicHelp": false,
|
|
577
|
+
"multiple": false,
|
|
578
|
+
"type": "option"
|
|
579
|
+
}
|
|
580
|
+
},
|
|
581
|
+
"hasDynamicHelp": false,
|
|
582
|
+
"hiddenAliases": [],
|
|
583
|
+
"id": "profile:create",
|
|
584
|
+
"pluginAlias": "@xano/cli",
|
|
585
|
+
"pluginName": "@xano/cli",
|
|
586
|
+
"pluginType": "core",
|
|
587
|
+
"strict": true,
|
|
588
|
+
"enableJsonFlag": false,
|
|
589
|
+
"isESM": true,
|
|
590
|
+
"relativePath": [
|
|
591
|
+
"dist",
|
|
592
|
+
"commands",
|
|
593
|
+
"profile",
|
|
594
|
+
"create",
|
|
595
|
+
"index.js"
|
|
596
|
+
]
|
|
597
|
+
},
|
|
408
598
|
"branch:list": {
|
|
409
599
|
"aliases": [],
|
|
410
600
|
"args": {
|
|
@@ -662,98 +852,54 @@
|
|
|
662
852
|
"index.js"
|
|
663
853
|
]
|
|
664
854
|
},
|
|
665
|
-
"profile:
|
|
855
|
+
"profile:get-default": {
|
|
666
856
|
"aliases": [],
|
|
667
|
-
"args": {
|
|
668
|
-
|
|
669
|
-
"description": "Profile name",
|
|
670
|
-
"name": "name",
|
|
671
|
-
"required": true
|
|
672
|
-
}
|
|
673
|
-
},
|
|
674
|
-
"description": "Create a new profile configuration",
|
|
857
|
+
"args": {},
|
|
858
|
+
"description": "Get the current default profile name",
|
|
675
859
|
"examples": [
|
|
676
|
-
"$ xano profile:
|
|
677
|
-
"$ xano profile:
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
860
|
+
"$ xano profile:get-default\nproduction\n",
|
|
861
|
+
"$ xano profile:get-default\nNo default profile set\n"
|
|
862
|
+
],
|
|
863
|
+
"flags": {},
|
|
864
|
+
"hasDynamicHelp": false,
|
|
865
|
+
"hiddenAliases": [],
|
|
866
|
+
"id": "profile:get-default",
|
|
867
|
+
"pluginAlias": "@xano/cli",
|
|
868
|
+
"pluginName": "@xano/cli",
|
|
869
|
+
"pluginType": "core",
|
|
870
|
+
"strict": true,
|
|
871
|
+
"enableJsonFlag": false,
|
|
872
|
+
"isESM": true,
|
|
873
|
+
"relativePath": [
|
|
874
|
+
"dist",
|
|
875
|
+
"commands",
|
|
876
|
+
"profile",
|
|
877
|
+
"get-default",
|
|
878
|
+
"index.js"
|
|
879
|
+
]
|
|
880
|
+
},
|
|
881
|
+
"profile:list": {
|
|
882
|
+
"aliases": [],
|
|
883
|
+
"args": {},
|
|
884
|
+
"description": "List all available profile configurations",
|
|
885
|
+
"examples": [
|
|
886
|
+
"$ xano profile:list\nAvailable profiles:\n - default\n - production\n - staging\n - development\n",
|
|
887
|
+
"$ 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",
|
|
888
|
+
"$ 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"
|
|
681
889
|
],
|
|
682
890
|
"flags": {
|
|
683
|
-
"
|
|
684
|
-
"char": "
|
|
685
|
-
"description": "
|
|
686
|
-
"name": "
|
|
687
|
-
"required": true,
|
|
688
|
-
"hasDynamicHelp": false,
|
|
689
|
-
"multiple": false,
|
|
690
|
-
"type": "option"
|
|
691
|
-
},
|
|
692
|
-
"account_origin": {
|
|
693
|
-
"char": "a",
|
|
694
|
-
"description": "Account origin URL. Optional for self hosted installs.",
|
|
695
|
-
"name": "account_origin",
|
|
696
|
-
"required": false,
|
|
697
|
-
"hasDynamicHelp": false,
|
|
698
|
-
"multiple": false,
|
|
699
|
-
"type": "option"
|
|
700
|
-
},
|
|
701
|
-
"branch": {
|
|
702
|
-
"char": "b",
|
|
703
|
-
"description": "Branch name",
|
|
704
|
-
"name": "branch",
|
|
705
|
-
"required": false,
|
|
706
|
-
"hasDynamicHelp": false,
|
|
707
|
-
"multiple": false,
|
|
708
|
-
"type": "option"
|
|
709
|
-
},
|
|
710
|
-
"default": {
|
|
711
|
-
"description": "Set this profile as the default",
|
|
712
|
-
"name": "default",
|
|
891
|
+
"details": {
|
|
892
|
+
"char": "d",
|
|
893
|
+
"description": "Show detailed information for each profile",
|
|
894
|
+
"name": "details",
|
|
713
895
|
"required": false,
|
|
714
896
|
"allowNo": false,
|
|
715
897
|
"type": "boolean"
|
|
716
|
-
},
|
|
717
|
-
"instance_origin": {
|
|
718
|
-
"char": "i",
|
|
719
|
-
"description": "Instance origin URL",
|
|
720
|
-
"name": "instance_origin",
|
|
721
|
-
"required": true,
|
|
722
|
-
"hasDynamicHelp": false,
|
|
723
|
-
"multiple": false,
|
|
724
|
-
"type": "option"
|
|
725
|
-
},
|
|
726
|
-
"project": {
|
|
727
|
-
"char": "j",
|
|
728
|
-
"description": "Project name",
|
|
729
|
-
"name": "project",
|
|
730
|
-
"required": false,
|
|
731
|
-
"hasDynamicHelp": false,
|
|
732
|
-
"multiple": false,
|
|
733
|
-
"type": "option"
|
|
734
|
-
},
|
|
735
|
-
"run_base_url": {
|
|
736
|
-
"char": "r",
|
|
737
|
-
"description": "Xano Run API base URL (default: https://app.xano.com/)",
|
|
738
|
-
"name": "run_base_url",
|
|
739
|
-
"required": false,
|
|
740
|
-
"hasDynamicHelp": false,
|
|
741
|
-
"multiple": false,
|
|
742
|
-
"type": "option"
|
|
743
|
-
},
|
|
744
|
-
"workspace": {
|
|
745
|
-
"char": "w",
|
|
746
|
-
"description": "Workspace name",
|
|
747
|
-
"name": "workspace",
|
|
748
|
-
"required": false,
|
|
749
|
-
"hasDynamicHelp": false,
|
|
750
|
-
"multiple": false,
|
|
751
|
-
"type": "option"
|
|
752
898
|
}
|
|
753
899
|
},
|
|
754
900
|
"hasDynamicHelp": false,
|
|
755
901
|
"hiddenAliases": [],
|
|
756
|
-
"id": "profile:
|
|
902
|
+
"id": "profile:list",
|
|
757
903
|
"pluginAlias": "@xano/cli",
|
|
758
904
|
"pluginName": "@xano/cli",
|
|
759
905
|
"pluginType": "core",
|
|
@@ -764,7 +910,7 @@
|
|
|
764
910
|
"dist",
|
|
765
911
|
"commands",
|
|
766
912
|
"profile",
|
|
767
|
-
"
|
|
913
|
+
"list",
|
|
768
914
|
"index.js"
|
|
769
915
|
]
|
|
770
916
|
},
|
|
@@ -829,68 +975,6 @@
|
|
|
829
975
|
"index.js"
|
|
830
976
|
]
|
|
831
977
|
},
|
|
832
|
-
"profile:get-default": {
|
|
833
|
-
"aliases": [],
|
|
834
|
-
"args": {},
|
|
835
|
-
"description": "Get the current default profile name",
|
|
836
|
-
"examples": [
|
|
837
|
-
"$ xano profile:get-default\nproduction\n",
|
|
838
|
-
"$ xano profile:get-default\nNo default profile set\n"
|
|
839
|
-
],
|
|
840
|
-
"flags": {},
|
|
841
|
-
"hasDynamicHelp": false,
|
|
842
|
-
"hiddenAliases": [],
|
|
843
|
-
"id": "profile:get-default",
|
|
844
|
-
"pluginAlias": "@xano/cli",
|
|
845
|
-
"pluginName": "@xano/cli",
|
|
846
|
-
"pluginType": "core",
|
|
847
|
-
"strict": true,
|
|
848
|
-
"enableJsonFlag": false,
|
|
849
|
-
"isESM": true,
|
|
850
|
-
"relativePath": [
|
|
851
|
-
"dist",
|
|
852
|
-
"commands",
|
|
853
|
-
"profile",
|
|
854
|
-
"get-default",
|
|
855
|
-
"index.js"
|
|
856
|
-
]
|
|
857
|
-
},
|
|
858
|
-
"profile:list": {
|
|
859
|
-
"aliases": [],
|
|
860
|
-
"args": {},
|
|
861
|
-
"description": "List all available profile configurations",
|
|
862
|
-
"examples": [
|
|
863
|
-
"$ xano profile:list\nAvailable profiles:\n - default\n - production\n - staging\n - development\n",
|
|
864
|
-
"$ 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",
|
|
865
|
-
"$ 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"
|
|
866
|
-
],
|
|
867
|
-
"flags": {
|
|
868
|
-
"details": {
|
|
869
|
-
"char": "d",
|
|
870
|
-
"description": "Show detailed information for each profile",
|
|
871
|
-
"name": "details",
|
|
872
|
-
"required": false,
|
|
873
|
-
"allowNo": false,
|
|
874
|
-
"type": "boolean"
|
|
875
|
-
}
|
|
876
|
-
},
|
|
877
|
-
"hasDynamicHelp": false,
|
|
878
|
-
"hiddenAliases": [],
|
|
879
|
-
"id": "profile:list",
|
|
880
|
-
"pluginAlias": "@xano/cli",
|
|
881
|
-
"pluginName": "@xano/cli",
|
|
882
|
-
"pluginType": "core",
|
|
883
|
-
"strict": true,
|
|
884
|
-
"enableJsonFlag": false,
|
|
885
|
-
"isESM": true,
|
|
886
|
-
"relativePath": [
|
|
887
|
-
"dist",
|
|
888
|
-
"commands",
|
|
889
|
-
"profile",
|
|
890
|
-
"list",
|
|
891
|
-
"index.js"
|
|
892
|
-
]
|
|
893
|
-
},
|
|
894
978
|
"profile:project": {
|
|
895
979
|
"aliases": [],
|
|
896
980
|
"args": {},
|
|
@@ -960,7 +1044,52 @@
|
|
|
960
1044
|
"flags": {},
|
|
961
1045
|
"hasDynamicHelp": false,
|
|
962
1046
|
"hiddenAliases": [],
|
|
963
|
-
"id": "profile:token",
|
|
1047
|
+
"id": "profile:token",
|
|
1048
|
+
"pluginAlias": "@xano/cli",
|
|
1049
|
+
"pluginName": "@xano/cli",
|
|
1050
|
+
"pluginType": "core",
|
|
1051
|
+
"strict": true,
|
|
1052
|
+
"enableJsonFlag": false,
|
|
1053
|
+
"isESM": true,
|
|
1054
|
+
"relativePath": [
|
|
1055
|
+
"dist",
|
|
1056
|
+
"commands",
|
|
1057
|
+
"profile",
|
|
1058
|
+
"token",
|
|
1059
|
+
"index.js"
|
|
1060
|
+
]
|
|
1061
|
+
},
|
|
1062
|
+
"profile:wizard": {
|
|
1063
|
+
"aliases": [],
|
|
1064
|
+
"args": {},
|
|
1065
|
+
"description": "Create a new profile configuration using an interactive wizard",
|
|
1066
|
+
"examples": [
|
|
1067
|
+
"$ 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"
|
|
1068
|
+
],
|
|
1069
|
+
"flags": {
|
|
1070
|
+
"name": {
|
|
1071
|
+
"char": "n",
|
|
1072
|
+
"description": "Profile name (skip prompt if provided)",
|
|
1073
|
+
"name": "name",
|
|
1074
|
+
"required": false,
|
|
1075
|
+
"hasDynamicHelp": false,
|
|
1076
|
+
"multiple": false,
|
|
1077
|
+
"type": "option"
|
|
1078
|
+
},
|
|
1079
|
+
"origin": {
|
|
1080
|
+
"char": "o",
|
|
1081
|
+
"description": "Xano instance origin URL",
|
|
1082
|
+
"name": "origin",
|
|
1083
|
+
"required": false,
|
|
1084
|
+
"default": "https://app.xano.com",
|
|
1085
|
+
"hasDynamicHelp": false,
|
|
1086
|
+
"multiple": false,
|
|
1087
|
+
"type": "option"
|
|
1088
|
+
}
|
|
1089
|
+
},
|
|
1090
|
+
"hasDynamicHelp": false,
|
|
1091
|
+
"hiddenAliases": [],
|
|
1092
|
+
"id": "profile:wizard",
|
|
964
1093
|
"pluginAlias": "@xano/cli",
|
|
965
1094
|
"pluginName": "@xano/cli",
|
|
966
1095
|
"pluginType": "core",
|
|
@@ -971,24 +1100,20 @@
|
|
|
971
1100
|
"dist",
|
|
972
1101
|
"commands",
|
|
973
1102
|
"profile",
|
|
974
|
-
"
|
|
1103
|
+
"wizard",
|
|
975
1104
|
"index.js"
|
|
976
1105
|
]
|
|
977
1106
|
},
|
|
978
|
-
"
|
|
1107
|
+
"function:create": {
|
|
979
1108
|
"aliases": [],
|
|
980
|
-
"args": {
|
|
981
|
-
|
|
982
|
-
"description": "Branch label to set as live (use \"v1\" for default branch)",
|
|
983
|
-
"name": "branch_label",
|
|
984
|
-
"required": true
|
|
985
|
-
}
|
|
986
|
-
},
|
|
987
|
-
"description": "Set a branch as the live (active) branch for API requests",
|
|
1109
|
+
"args": {},
|
|
1110
|
+
"description": "Create a new function in a workspace",
|
|
988
1111
|
"examples": [
|
|
989
|
-
"$ xano
|
|
990
|
-
"$ xano
|
|
991
|
-
"$ xano
|
|
1112
|
+
"$ xano function:create -w 40 -f function.xs\nFunction created successfully!\nID: 123\nName: my_function\n",
|
|
1113
|
+
"$ xano function:create -f function.xs\nFunction created successfully!\nID: 123\nName: my_function\n",
|
|
1114
|
+
"$ 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",
|
|
1115
|
+
"$ cat function.xs | xano function:create -w 40 --stdin\nFunction created successfully!\nID: 123\nName: my_function\n",
|
|
1116
|
+
"$ xano function:create -w 40 -f function.xs -o json\n{\n \"id\": 123,\n \"name\": \"my_function\",\n ...\n}\n"
|
|
992
1117
|
],
|
|
993
1118
|
"flags": {
|
|
994
1119
|
"profile": {
|
|
@@ -1010,14 +1135,29 @@
|
|
|
1010
1135
|
"allowNo": false,
|
|
1011
1136
|
"type": "boolean"
|
|
1012
1137
|
},
|
|
1013
|
-
"
|
|
1014
|
-
"char": "
|
|
1015
|
-
"
|
|
1016
|
-
|
|
1138
|
+
"edit": {
|
|
1139
|
+
"char": "e",
|
|
1140
|
+
"dependsOn": [
|
|
1141
|
+
"file"
|
|
1142
|
+
],
|
|
1143
|
+
"description": "Open file in editor before creating function (requires --file)",
|
|
1144
|
+
"name": "edit",
|
|
1017
1145
|
"required": false,
|
|
1018
1146
|
"allowNo": false,
|
|
1019
1147
|
"type": "boolean"
|
|
1020
1148
|
},
|
|
1149
|
+
"file": {
|
|
1150
|
+
"char": "f",
|
|
1151
|
+
"description": "Path to file containing XanoScript code",
|
|
1152
|
+
"exclusive": [
|
|
1153
|
+
"stdin"
|
|
1154
|
+
],
|
|
1155
|
+
"name": "file",
|
|
1156
|
+
"required": false,
|
|
1157
|
+
"hasDynamicHelp": false,
|
|
1158
|
+
"multiple": false,
|
|
1159
|
+
"type": "option"
|
|
1160
|
+
},
|
|
1021
1161
|
"output": {
|
|
1022
1162
|
"char": "o",
|
|
1023
1163
|
"description": "Output format",
|
|
@@ -1032,9 +1172,20 @@
|
|
|
1032
1172
|
],
|
|
1033
1173
|
"type": "option"
|
|
1034
1174
|
},
|
|
1175
|
+
"stdin": {
|
|
1176
|
+
"char": "s",
|
|
1177
|
+
"description": "Read XanoScript code from stdin",
|
|
1178
|
+
"exclusive": [
|
|
1179
|
+
"file"
|
|
1180
|
+
],
|
|
1181
|
+
"name": "stdin",
|
|
1182
|
+
"required": false,
|
|
1183
|
+
"allowNo": false,
|
|
1184
|
+
"type": "boolean"
|
|
1185
|
+
},
|
|
1035
1186
|
"workspace": {
|
|
1036
1187
|
"char": "w",
|
|
1037
|
-
"description": "Workspace ID (
|
|
1188
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
1038
1189
|
"name": "workspace",
|
|
1039
1190
|
"required": false,
|
|
1040
1191
|
"hasDynamicHelp": false,
|
|
@@ -1044,52 +1195,7 @@
|
|
|
1044
1195
|
},
|
|
1045
1196
|
"hasDynamicHelp": false,
|
|
1046
1197
|
"hiddenAliases": [],
|
|
1047
|
-
"id": "
|
|
1048
|
-
"pluginAlias": "@xano/cli",
|
|
1049
|
-
"pluginName": "@xano/cli",
|
|
1050
|
-
"pluginType": "core",
|
|
1051
|
-
"strict": true,
|
|
1052
|
-
"enableJsonFlag": false,
|
|
1053
|
-
"isESM": true,
|
|
1054
|
-
"relativePath": [
|
|
1055
|
-
"dist",
|
|
1056
|
-
"commands",
|
|
1057
|
-
"branch",
|
|
1058
|
-
"set-live",
|
|
1059
|
-
"index.js"
|
|
1060
|
-
]
|
|
1061
|
-
},
|
|
1062
|
-
"profile:wizard": {
|
|
1063
|
-
"aliases": [],
|
|
1064
|
-
"args": {},
|
|
1065
|
-
"description": "Create a new profile configuration using an interactive wizard",
|
|
1066
|
-
"examples": [
|
|
1067
|
-
"$ 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"
|
|
1068
|
-
],
|
|
1069
|
-
"flags": {
|
|
1070
|
-
"name": {
|
|
1071
|
-
"char": "n",
|
|
1072
|
-
"description": "Profile name (skip prompt if provided)",
|
|
1073
|
-
"name": "name",
|
|
1074
|
-
"required": false,
|
|
1075
|
-
"hasDynamicHelp": false,
|
|
1076
|
-
"multiple": false,
|
|
1077
|
-
"type": "option"
|
|
1078
|
-
},
|
|
1079
|
-
"origin": {
|
|
1080
|
-
"char": "o",
|
|
1081
|
-
"description": "Xano instance origin URL",
|
|
1082
|
-
"name": "origin",
|
|
1083
|
-
"required": false,
|
|
1084
|
-
"default": "https://app.xano.com",
|
|
1085
|
-
"hasDynamicHelp": false,
|
|
1086
|
-
"multiple": false,
|
|
1087
|
-
"type": "option"
|
|
1088
|
-
}
|
|
1089
|
-
},
|
|
1090
|
-
"hasDynamicHelp": false,
|
|
1091
|
-
"hiddenAliases": [],
|
|
1092
|
-
"id": "profile:wizard",
|
|
1198
|
+
"id": "function:create",
|
|
1093
1199
|
"pluginAlias": "@xano/cli",
|
|
1094
1200
|
"pluginName": "@xano/cli",
|
|
1095
1201
|
"pluginType": "core",
|
|
@@ -1099,8 +1205,8 @@
|
|
|
1099
1205
|
"relativePath": [
|
|
1100
1206
|
"dist",
|
|
1101
1207
|
"commands",
|
|
1102
|
-
"
|
|
1103
|
-
"
|
|
1208
|
+
"function",
|
|
1209
|
+
"create",
|
|
1104
1210
|
"index.js"
|
|
1105
1211
|
]
|
|
1106
1212
|
},
|
|
@@ -1223,16 +1329,23 @@
|
|
|
1223
1329
|
"index.js"
|
|
1224
1330
|
]
|
|
1225
1331
|
},
|
|
1226
|
-
"function:
|
|
1332
|
+
"function:get": {
|
|
1227
1333
|
"aliases": [],
|
|
1228
|
-
"args": {
|
|
1229
|
-
|
|
1334
|
+
"args": {
|
|
1335
|
+
"function_id": {
|
|
1336
|
+
"description": "Function ID",
|
|
1337
|
+
"name": "function_id",
|
|
1338
|
+
"required": false
|
|
1339
|
+
}
|
|
1340
|
+
},
|
|
1341
|
+
"description": "Get a specific function from a workspace",
|
|
1230
1342
|
"examples": [
|
|
1231
|
-
"$ xano function:
|
|
1232
|
-
"$ xano function:
|
|
1233
|
-
"$ xano function:
|
|
1234
|
-
"$
|
|
1235
|
-
"$ xano function:
|
|
1343
|
+
"$ xano function:get 145 -w 40\nFunction: yo (ID: 145)\nCreated: 2025-10-10 10:30:00\nDescription: Sample function\n",
|
|
1344
|
+
"$ xano function:get 145 --profile production\nFunction: yo (ID: 145)\nCreated: 2025-10-10 10:30:00\n",
|
|
1345
|
+
"$ xano function:get\nSelect a function:\n ❯ yo (ID: 145) - Sample function\n another-func (ID: 146)\n",
|
|
1346
|
+
"$ xano function:get 145 -w 40 --output json\n{\n \"id\": 145,\n \"name\": \"yo\",\n \"description\": \"Sample function\"\n}\n",
|
|
1347
|
+
"$ xano function:get 145 -p staging -o json --include_draft\n{\n \"id\": 145,\n \"name\": \"yo\"\n}\n",
|
|
1348
|
+
"$ xano function:get 145 -p staging -o xs\nfunction yo {\n input {\n }\n stack {\n }\n response = null\n}\n"
|
|
1236
1349
|
],
|
|
1237
1350
|
"flags": {
|
|
1238
1351
|
"profile": {
|
|
@@ -1254,28 +1367,19 @@
|
|
|
1254
1367
|
"allowNo": false,
|
|
1255
1368
|
"type": "boolean"
|
|
1256
1369
|
},
|
|
1257
|
-
"
|
|
1258
|
-
"
|
|
1259
|
-
"
|
|
1260
|
-
"file"
|
|
1261
|
-
],
|
|
1262
|
-
"description": "Open file in editor before creating function (requires --file)",
|
|
1263
|
-
"name": "edit",
|
|
1370
|
+
"include_draft": {
|
|
1371
|
+
"description": "Include draft version",
|
|
1372
|
+
"name": "include_draft",
|
|
1264
1373
|
"required": false,
|
|
1265
1374
|
"allowNo": false,
|
|
1266
1375
|
"type": "boolean"
|
|
1267
1376
|
},
|
|
1268
|
-
"
|
|
1269
|
-
"
|
|
1270
|
-
"
|
|
1271
|
-
"exclusive": [
|
|
1272
|
-
"stdin"
|
|
1273
|
-
],
|
|
1274
|
-
"name": "file",
|
|
1377
|
+
"include_xanoscript": {
|
|
1378
|
+
"description": "Include XanoScript in response",
|
|
1379
|
+
"name": "include_xanoscript",
|
|
1275
1380
|
"required": false,
|
|
1276
|
-
"
|
|
1277
|
-
"
|
|
1278
|
-
"type": "option"
|
|
1381
|
+
"allowNo": false,
|
|
1382
|
+
"type": "boolean"
|
|
1279
1383
|
},
|
|
1280
1384
|
"output": {
|
|
1281
1385
|
"char": "o",
|
|
@@ -1287,21 +1391,11 @@
|
|
|
1287
1391
|
"multiple": false,
|
|
1288
1392
|
"options": [
|
|
1289
1393
|
"summary",
|
|
1290
|
-
"json"
|
|
1394
|
+
"json",
|
|
1395
|
+
"xs"
|
|
1291
1396
|
],
|
|
1292
1397
|
"type": "option"
|
|
1293
1398
|
},
|
|
1294
|
-
"stdin": {
|
|
1295
|
-
"char": "s",
|
|
1296
|
-
"description": "Read XanoScript code from stdin",
|
|
1297
|
-
"exclusive": [
|
|
1298
|
-
"file"
|
|
1299
|
-
],
|
|
1300
|
-
"name": "stdin",
|
|
1301
|
-
"required": false,
|
|
1302
|
-
"allowNo": false,
|
|
1303
|
-
"type": "boolean"
|
|
1304
|
-
},
|
|
1305
1399
|
"workspace": {
|
|
1306
1400
|
"char": "w",
|
|
1307
1401
|
"description": "Workspace ID (optional if set in profile)",
|
|
@@ -1314,7 +1408,7 @@
|
|
|
1314
1408
|
},
|
|
1315
1409
|
"hasDynamicHelp": false,
|
|
1316
1410
|
"hiddenAliases": [],
|
|
1317
|
-
"id": "function:
|
|
1411
|
+
"id": "function:get",
|
|
1318
1412
|
"pluginAlias": "@xano/cli",
|
|
1319
1413
|
"pluginName": "@xano/cli",
|
|
1320
1414
|
"pluginType": "core",
|
|
@@ -1325,7 +1419,7 @@
|
|
|
1325
1419
|
"dist",
|
|
1326
1420
|
"commands",
|
|
1327
1421
|
"function",
|
|
1328
|
-
"
|
|
1422
|
+
"get",
|
|
1329
1423
|
"index.js"
|
|
1330
1424
|
]
|
|
1331
1425
|
},
|
|
@@ -1655,23 +1749,15 @@
|
|
|
1655
1749
|
"index.js"
|
|
1656
1750
|
]
|
|
1657
1751
|
},
|
|
1658
|
-
"
|
|
1752
|
+
"static_host:list": {
|
|
1659
1753
|
"aliases": [],
|
|
1660
|
-
"args": {
|
|
1661
|
-
|
|
1662
|
-
"description": "Function ID",
|
|
1663
|
-
"name": "function_id",
|
|
1664
|
-
"required": false
|
|
1665
|
-
}
|
|
1666
|
-
},
|
|
1667
|
-
"description": "Get a specific function from a workspace",
|
|
1754
|
+
"args": {},
|
|
1755
|
+
"description": "List all static hosts in a workspace from the Xano Metadata API",
|
|
1668
1756
|
"examples": [
|
|
1669
|
-
"$ xano
|
|
1670
|
-
"$ xano
|
|
1671
|
-
"$ xano
|
|
1672
|
-
"$ xano
|
|
1673
|
-
"$ xano function:get 145 -p staging -o json --include_draft\n{\n \"id\": 145,\n \"name\": \"yo\"\n}\n",
|
|
1674
|
-
"$ xano function:get 145 -p staging -o xs\nfunction yo {\n input {\n }\n stack {\n }\n response = null\n}\n"
|
|
1757
|
+
"$ xano static_host:list -w 40\nAvailable static hosts:\n - my-static-host (ID: 1)\n - another-host (ID: 2)\n",
|
|
1758
|
+
"$ xano static_host:list --profile production\nAvailable static hosts:\n - my-static-host (ID: 1)\n - another-host (ID: 2)\n",
|
|
1759
|
+
"$ xano static_host:list -w 40 --output json\n[\n {\n \"id\": 1,\n \"name\": \"my-static-host\",\n \"domain\": \"example.com\"\n }\n]\n",
|
|
1760
|
+
"$ xano static_host:list -p staging -o json --page 2\n[\n {\n \"id\": 3,\n \"name\": \"static-host-3\"\n }\n]\n"
|
|
1675
1761
|
],
|
|
1676
1762
|
"flags": {
|
|
1677
1763
|
"profile": {
|
|
@@ -1693,20 +1779,6 @@
|
|
|
1693
1779
|
"allowNo": false,
|
|
1694
1780
|
"type": "boolean"
|
|
1695
1781
|
},
|
|
1696
|
-
"include_draft": {
|
|
1697
|
-
"description": "Include draft version",
|
|
1698
|
-
"name": "include_draft",
|
|
1699
|
-
"required": false,
|
|
1700
|
-
"allowNo": false,
|
|
1701
|
-
"type": "boolean"
|
|
1702
|
-
},
|
|
1703
|
-
"include_xanoscript": {
|
|
1704
|
-
"description": "Include XanoScript in response",
|
|
1705
|
-
"name": "include_xanoscript",
|
|
1706
|
-
"required": false,
|
|
1707
|
-
"allowNo": false,
|
|
1708
|
-
"type": "boolean"
|
|
1709
|
-
},
|
|
1710
1782
|
"output": {
|
|
1711
1783
|
"char": "o",
|
|
1712
1784
|
"description": "Output format",
|
|
@@ -1717,11 +1789,28 @@
|
|
|
1717
1789
|
"multiple": false,
|
|
1718
1790
|
"options": [
|
|
1719
1791
|
"summary",
|
|
1720
|
-
"json"
|
|
1721
|
-
"xs"
|
|
1792
|
+
"json"
|
|
1722
1793
|
],
|
|
1723
1794
|
"type": "option"
|
|
1724
1795
|
},
|
|
1796
|
+
"page": {
|
|
1797
|
+
"description": "Page number for pagination",
|
|
1798
|
+
"name": "page",
|
|
1799
|
+
"required": false,
|
|
1800
|
+
"default": 1,
|
|
1801
|
+
"hasDynamicHelp": false,
|
|
1802
|
+
"multiple": false,
|
|
1803
|
+
"type": "option"
|
|
1804
|
+
},
|
|
1805
|
+
"per_page": {
|
|
1806
|
+
"description": "Number of results per page",
|
|
1807
|
+
"name": "per_page",
|
|
1808
|
+
"required": false,
|
|
1809
|
+
"default": 50,
|
|
1810
|
+
"hasDynamicHelp": false,
|
|
1811
|
+
"multiple": false,
|
|
1812
|
+
"type": "option"
|
|
1813
|
+
},
|
|
1725
1814
|
"workspace": {
|
|
1726
1815
|
"char": "w",
|
|
1727
1816
|
"description": "Workspace ID (optional if set in profile)",
|
|
@@ -1734,7 +1823,7 @@
|
|
|
1734
1823
|
},
|
|
1735
1824
|
"hasDynamicHelp": false,
|
|
1736
1825
|
"hiddenAliases": [],
|
|
1737
|
-
"id": "
|
|
1826
|
+
"id": "static_host:list",
|
|
1738
1827
|
"pluginAlias": "@xano/cli",
|
|
1739
1828
|
"pluginName": "@xano/cli",
|
|
1740
1829
|
"pluginType": "core",
|
|
@@ -1744,8 +1833,8 @@
|
|
|
1744
1833
|
"relativePath": [
|
|
1745
1834
|
"dist",
|
|
1746
1835
|
"commands",
|
|
1747
|
-
"
|
|
1748
|
-
"
|
|
1836
|
+
"static_host",
|
|
1837
|
+
"list",
|
|
1749
1838
|
"index.js"
|
|
1750
1839
|
]
|
|
1751
1840
|
},
|
|
@@ -1828,15 +1917,20 @@
|
|
|
1828
1917
|
"index.js"
|
|
1829
1918
|
]
|
|
1830
1919
|
},
|
|
1831
|
-
"
|
|
1920
|
+
"workspace:delete": {
|
|
1832
1921
|
"aliases": [],
|
|
1833
|
-
"args": {
|
|
1834
|
-
|
|
1922
|
+
"args": {
|
|
1923
|
+
"workspace_id": {
|
|
1924
|
+
"description": "Workspace ID to delete",
|
|
1925
|
+
"name": "workspace_id",
|
|
1926
|
+
"required": true
|
|
1927
|
+
}
|
|
1928
|
+
},
|
|
1929
|
+
"description": "Delete a workspace via the Xano Metadata API. Cannot delete workspaces with active tenants.",
|
|
1835
1930
|
"examples": [
|
|
1836
|
-
"$ xano
|
|
1837
|
-
"$ xano
|
|
1838
|
-
"$ xano
|
|
1839
|
-
"$ xano static_host:list -p staging -o json --page 2\n[\n {\n \"id\": 3,\n \"name\": \"static-host-3\"\n }\n]\n"
|
|
1931
|
+
"$ 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",
|
|
1932
|
+
"$ xano workspace delete 123 --force\nDeleted workspace 123\n",
|
|
1933
|
+
"$ xano workspace delete 123 -f -o json\n{\n \"deleted\": true,\n \"workspace_id\": 123\n}\n"
|
|
1840
1934
|
],
|
|
1841
1935
|
"flags": {
|
|
1842
1936
|
"profile": {
|
|
@@ -1858,6 +1952,14 @@
|
|
|
1858
1952
|
"allowNo": false,
|
|
1859
1953
|
"type": "boolean"
|
|
1860
1954
|
},
|
|
1955
|
+
"force": {
|
|
1956
|
+
"char": "f",
|
|
1957
|
+
"description": "Skip confirmation prompt",
|
|
1958
|
+
"name": "force",
|
|
1959
|
+
"required": false,
|
|
1960
|
+
"allowNo": false,
|
|
1961
|
+
"type": "boolean"
|
|
1962
|
+
},
|
|
1861
1963
|
"output": {
|
|
1862
1964
|
"char": "o",
|
|
1863
1965
|
"description": "Output format",
|
|
@@ -1871,38 +1973,11 @@
|
|
|
1871
1973
|
"json"
|
|
1872
1974
|
],
|
|
1873
1975
|
"type": "option"
|
|
1874
|
-
},
|
|
1875
|
-
"page": {
|
|
1876
|
-
"description": "Page number for pagination",
|
|
1877
|
-
"name": "page",
|
|
1878
|
-
"required": false,
|
|
1879
|
-
"default": 1,
|
|
1880
|
-
"hasDynamicHelp": false,
|
|
1881
|
-
"multiple": false,
|
|
1882
|
-
"type": "option"
|
|
1883
|
-
},
|
|
1884
|
-
"per_page": {
|
|
1885
|
-
"description": "Number of results per page",
|
|
1886
|
-
"name": "per_page",
|
|
1887
|
-
"required": false,
|
|
1888
|
-
"default": 50,
|
|
1889
|
-
"hasDynamicHelp": false,
|
|
1890
|
-
"multiple": false,
|
|
1891
|
-
"type": "option"
|
|
1892
|
-
},
|
|
1893
|
-
"workspace": {
|
|
1894
|
-
"char": "w",
|
|
1895
|
-
"description": "Workspace ID (optional if set in profile)",
|
|
1896
|
-
"name": "workspace",
|
|
1897
|
-
"required": false,
|
|
1898
|
-
"hasDynamicHelp": false,
|
|
1899
|
-
"multiple": false,
|
|
1900
|
-
"type": "option"
|
|
1901
1976
|
}
|
|
1902
1977
|
},
|
|
1903
1978
|
"hasDynamicHelp": false,
|
|
1904
1979
|
"hiddenAliases": [],
|
|
1905
|
-
"id": "
|
|
1980
|
+
"id": "workspace:delete",
|
|
1906
1981
|
"pluginAlias": "@xano/cli",
|
|
1907
1982
|
"pluginName": "@xano/cli",
|
|
1908
1983
|
"pluginType": "core",
|
|
@@ -1912,8 +1987,8 @@
|
|
|
1912
1987
|
"relativePath": [
|
|
1913
1988
|
"dist",
|
|
1914
1989
|
"commands",
|
|
1915
|
-
"
|
|
1916
|
-
"
|
|
1990
|
+
"workspace",
|
|
1991
|
+
"delete",
|
|
1917
1992
|
"index.js"
|
|
1918
1993
|
]
|
|
1919
1994
|
},
|
|
@@ -2017,15 +2092,20 @@
|
|
|
2017
2092
|
"index.js"
|
|
2018
2093
|
]
|
|
2019
2094
|
},
|
|
2020
|
-
"workspace:
|
|
2095
|
+
"workspace:get": {
|
|
2021
2096
|
"aliases": [],
|
|
2022
|
-
"args": {
|
|
2023
|
-
|
|
2097
|
+
"args": {
|
|
2098
|
+
"workspace_id": {
|
|
2099
|
+
"description": "Workspace ID to get details for (uses profile workspace if not provided)",
|
|
2100
|
+
"name": "workspace_id",
|
|
2101
|
+
"required": false
|
|
2102
|
+
}
|
|
2103
|
+
},
|
|
2104
|
+
"description": "Get details of a specific workspace from the Xano Metadata API",
|
|
2024
2105
|
"examples": [
|
|
2025
|
-
"$ xano workspace:
|
|
2026
|
-
"$ xano workspace
|
|
2027
|
-
"$ xano workspace
|
|
2028
|
-
"$ xano workspace:list -p staging -o json\n{\n \"workspaces\": [\n {\n \"id\": 1,\n \"name\": \"my-app\"\n }\n ]\n}\n"
|
|
2106
|
+
"$ xano workspace get 123\nWorkspace: my-workspace (ID: 123)\n Description: My workspace description\n Created: 2024-01-15\n",
|
|
2107
|
+
"$ xano workspace get --output json\n{\n \"id\": 123,\n \"name\": \"my-workspace\",\n \"description\": \"My workspace description\"\n}\n",
|
|
2108
|
+
"$ xano workspace get 456 -p production -o json\n{\n \"id\": 456,\n \"name\": \"production-workspace\"\n}\n"
|
|
2029
2109
|
],
|
|
2030
2110
|
"flags": {
|
|
2031
2111
|
"profile": {
|
|
@@ -2064,7 +2144,7 @@
|
|
|
2064
2144
|
},
|
|
2065
2145
|
"hasDynamicHelp": false,
|
|
2066
2146
|
"hiddenAliases": [],
|
|
2067
|
-
"id": "workspace:
|
|
2147
|
+
"id": "workspace:get",
|
|
2068
2148
|
"pluginAlias": "@xano/cli",
|
|
2069
2149
|
"pluginName": "@xano/cli",
|
|
2070
2150
|
"pluginType": "core",
|
|
@@ -2075,24 +2155,19 @@
|
|
|
2075
2155
|
"dist",
|
|
2076
2156
|
"commands",
|
|
2077
2157
|
"workspace",
|
|
2078
|
-
"
|
|
2158
|
+
"get",
|
|
2079
2159
|
"index.js"
|
|
2080
2160
|
]
|
|
2081
2161
|
},
|
|
2082
|
-
"workspace:
|
|
2162
|
+
"workspace:list": {
|
|
2083
2163
|
"aliases": [],
|
|
2084
|
-
"args": {
|
|
2085
|
-
|
|
2086
|
-
"description": "Workspace ID to get details for (uses profile workspace if not provided)",
|
|
2087
|
-
"name": "workspace_id",
|
|
2088
|
-
"required": false
|
|
2089
|
-
}
|
|
2090
|
-
},
|
|
2091
|
-
"description": "Get details of a specific workspace from the Xano Metadata API",
|
|
2164
|
+
"args": {},
|
|
2165
|
+
"description": "List all workspaces from the Xano Metadata API",
|
|
2092
2166
|
"examples": [
|
|
2093
|
-
"$ xano workspace
|
|
2094
|
-
"$ xano workspace
|
|
2095
|
-
"$ xano workspace
|
|
2167
|
+
"$ xano workspace:list\nAvailable workspaces:\n - workspace-1 (ID: 1)\n - workspace-2 (ID: 2)\n - workspace-3 (ID: 3)\n",
|
|
2168
|
+
"$ xano workspace:list --profile production\nAvailable workspaces:\n - my-app (ID: 1)\n - staging-env (ID: 2)\n",
|
|
2169
|
+
"$ 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",
|
|
2170
|
+
"$ xano workspace:list -p staging -o json\n{\n \"workspaces\": [\n {\n \"id\": 1,\n \"name\": \"my-app\"\n }\n ]\n}\n"
|
|
2096
2171
|
],
|
|
2097
2172
|
"flags": {
|
|
2098
2173
|
"profile": {
|
|
@@ -2131,7 +2206,7 @@
|
|
|
2131
2206
|
},
|
|
2132
2207
|
"hasDynamicHelp": false,
|
|
2133
2208
|
"hiddenAliases": [],
|
|
2134
|
-
"id": "workspace:
|
|
2209
|
+
"id": "workspace:list",
|
|
2135
2210
|
"pluginAlias": "@xano/cli",
|
|
2136
2211
|
"pluginName": "@xano/cli",
|
|
2137
2212
|
"pluginType": "core",
|
|
@@ -2142,7 +2217,7 @@
|
|
|
2142
2217
|
"dist",
|
|
2143
2218
|
"commands",
|
|
2144
2219
|
"workspace",
|
|
2145
|
-
"
|
|
2220
|
+
"list",
|
|
2146
2221
|
"index.js"
|
|
2147
2222
|
]
|
|
2148
2223
|
},
|
|
@@ -2364,20 +2439,19 @@
|
|
|
2364
2439
|
"index.js"
|
|
2365
2440
|
]
|
|
2366
2441
|
},
|
|
2367
|
-
"
|
|
2442
|
+
"run:env:get": {
|
|
2368
2443
|
"aliases": [],
|
|
2369
2444
|
"args": {
|
|
2370
|
-
"
|
|
2371
|
-
"description": "
|
|
2372
|
-
"name": "
|
|
2445
|
+
"name": {
|
|
2446
|
+
"description": "Environment variable name",
|
|
2447
|
+
"name": "name",
|
|
2373
2448
|
"required": true
|
|
2374
2449
|
}
|
|
2375
2450
|
},
|
|
2376
|
-
"description": "
|
|
2451
|
+
"description": "Get an environment variable value",
|
|
2377
2452
|
"examples": [
|
|
2378
|
-
"$ xano
|
|
2379
|
-
"$ xano
|
|
2380
|
-
"$ xano workspace delete 123 -f -o json\n{\n \"deleted\": true,\n \"workspace_id\": 123\n}\n"
|
|
2453
|
+
"$ xano run env get API_KEY\nmy-secret-api-key\n",
|
|
2454
|
+
"$ xano run env get API_KEY -o json\n{ \"name\": \"API_KEY\", \"value\": \"my-secret-api-key\" }\n"
|
|
2381
2455
|
],
|
|
2382
2456
|
"flags": {
|
|
2383
2457
|
"profile": {
|
|
@@ -2399,24 +2473,16 @@
|
|
|
2399
2473
|
"allowNo": false,
|
|
2400
2474
|
"type": "boolean"
|
|
2401
2475
|
},
|
|
2402
|
-
"force": {
|
|
2403
|
-
"char": "f",
|
|
2404
|
-
"description": "Skip confirmation prompt",
|
|
2405
|
-
"name": "force",
|
|
2406
|
-
"required": false,
|
|
2407
|
-
"allowNo": false,
|
|
2408
|
-
"type": "boolean"
|
|
2409
|
-
},
|
|
2410
2476
|
"output": {
|
|
2411
2477
|
"char": "o",
|
|
2412
2478
|
"description": "Output format",
|
|
2413
2479
|
"name": "output",
|
|
2414
2480
|
"required": false,
|
|
2415
|
-
"default": "
|
|
2481
|
+
"default": "value",
|
|
2416
2482
|
"hasDynamicHelp": false,
|
|
2417
2483
|
"multiple": false,
|
|
2418
2484
|
"options": [
|
|
2419
|
-
"
|
|
2485
|
+
"value",
|
|
2420
2486
|
"json"
|
|
2421
2487
|
],
|
|
2422
2488
|
"type": "option"
|
|
@@ -2424,34 +2490,28 @@
|
|
|
2424
2490
|
},
|
|
2425
2491
|
"hasDynamicHelp": false,
|
|
2426
2492
|
"hiddenAliases": [],
|
|
2427
|
-
"id": "
|
|
2493
|
+
"id": "run:env:get",
|
|
2428
2494
|
"pluginAlias": "@xano/cli",
|
|
2429
2495
|
"pluginName": "@xano/cli",
|
|
2430
2496
|
"pluginType": "core",
|
|
2431
2497
|
"strict": true,
|
|
2432
|
-
"enableJsonFlag": false,
|
|
2433
2498
|
"isESM": true,
|
|
2434
2499
|
"relativePath": [
|
|
2435
2500
|
"dist",
|
|
2436
2501
|
"commands",
|
|
2437
|
-
"
|
|
2438
|
-
"
|
|
2502
|
+
"run",
|
|
2503
|
+
"env",
|
|
2504
|
+
"get",
|
|
2439
2505
|
"index.js"
|
|
2440
2506
|
]
|
|
2441
2507
|
},
|
|
2442
|
-
"run:env:
|
|
2508
|
+
"run:env:list": {
|
|
2443
2509
|
"aliases": [],
|
|
2444
|
-
"args": {
|
|
2445
|
-
|
|
2446
|
-
"description": "Environment variable name",
|
|
2447
|
-
"name": "name",
|
|
2448
|
-
"required": true
|
|
2449
|
-
}
|
|
2450
|
-
},
|
|
2451
|
-
"description": "Get an environment variable value",
|
|
2510
|
+
"args": {},
|
|
2511
|
+
"description": "List all environment variable keys",
|
|
2452
2512
|
"examples": [
|
|
2453
|
-
"$ xano run env
|
|
2454
|
-
"$ xano run env
|
|
2513
|
+
"$ xano run env list\nEnvironment variables:\n - API_KEY\n - DATABASE_URL\n - DEBUG\n",
|
|
2514
|
+
"$ xano run env list -o json\n{ \"env\": [\"API_KEY\", \"DATABASE_URL\", \"DEBUG\"] }\n"
|
|
2455
2515
|
],
|
|
2456
2516
|
"flags": {
|
|
2457
2517
|
"profile": {
|
|
@@ -2478,11 +2538,11 @@
|
|
|
2478
2538
|
"description": "Output format",
|
|
2479
2539
|
"name": "output",
|
|
2480
2540
|
"required": false,
|
|
2481
|
-
"default": "
|
|
2541
|
+
"default": "list",
|
|
2482
2542
|
"hasDynamicHelp": false,
|
|
2483
2543
|
"multiple": false,
|
|
2484
2544
|
"options": [
|
|
2485
|
-
"
|
|
2545
|
+
"list",
|
|
2486
2546
|
"json"
|
|
2487
2547
|
],
|
|
2488
2548
|
"type": "option"
|
|
@@ -2490,7 +2550,7 @@
|
|
|
2490
2550
|
},
|
|
2491
2551
|
"hasDynamicHelp": false,
|
|
2492
2552
|
"hiddenAliases": [],
|
|
2493
|
-
"id": "run:env:
|
|
2553
|
+
"id": "run:env:list",
|
|
2494
2554
|
"pluginAlias": "@xano/cli",
|
|
2495
2555
|
"pluginName": "@xano/cli",
|
|
2496
2556
|
"pluginType": "core",
|
|
@@ -2501,17 +2561,28 @@
|
|
|
2501
2561
|
"commands",
|
|
2502
2562
|
"run",
|
|
2503
2563
|
"env",
|
|
2504
|
-
"
|
|
2564
|
+
"list",
|
|
2505
2565
|
"index.js"
|
|
2506
2566
|
]
|
|
2507
2567
|
},
|
|
2508
|
-
"run:env:
|
|
2568
|
+
"run:env:set": {
|
|
2509
2569
|
"aliases": [],
|
|
2510
|
-
"args": {
|
|
2511
|
-
|
|
2570
|
+
"args": {
|
|
2571
|
+
"name": {
|
|
2572
|
+
"description": "Environment variable name",
|
|
2573
|
+
"name": "name",
|
|
2574
|
+
"required": true
|
|
2575
|
+
},
|
|
2576
|
+
"value": {
|
|
2577
|
+
"description": "Environment variable value",
|
|
2578
|
+
"name": "value",
|
|
2579
|
+
"required": true
|
|
2580
|
+
}
|
|
2581
|
+
},
|
|
2582
|
+
"description": "Set an environment variable",
|
|
2512
2583
|
"examples": [
|
|
2513
|
-
"$ xano run env
|
|
2514
|
-
"$ xano run env
|
|
2584
|
+
"$ xano run env set API_KEY my-secret-key\nEnvironment variable 'API_KEY' set successfully!\n",
|
|
2585
|
+
"$ xano run env set DATABASE_URL \"postgres://user:pass@host/db\"\nEnvironment variable 'DATABASE_URL' set successfully!\n"
|
|
2515
2586
|
],
|
|
2516
2587
|
"flags": {
|
|
2517
2588
|
"profile": {
|
|
@@ -2532,25 +2603,11 @@
|
|
|
2532
2603
|
"required": false,
|
|
2533
2604
|
"allowNo": false,
|
|
2534
2605
|
"type": "boolean"
|
|
2535
|
-
},
|
|
2536
|
-
"output": {
|
|
2537
|
-
"char": "o",
|
|
2538
|
-
"description": "Output format",
|
|
2539
|
-
"name": "output",
|
|
2540
|
-
"required": false,
|
|
2541
|
-
"default": "list",
|
|
2542
|
-
"hasDynamicHelp": false,
|
|
2543
|
-
"multiple": false,
|
|
2544
|
-
"options": [
|
|
2545
|
-
"list",
|
|
2546
|
-
"json"
|
|
2547
|
-
],
|
|
2548
|
-
"type": "option"
|
|
2549
2606
|
}
|
|
2550
2607
|
},
|
|
2551
2608
|
"hasDynamicHelp": false,
|
|
2552
2609
|
"hiddenAliases": [],
|
|
2553
|
-
"id": "run:env:
|
|
2610
|
+
"id": "run:env:set",
|
|
2554
2611
|
"pluginAlias": "@xano/cli",
|
|
2555
2612
|
"pluginName": "@xano/cli",
|
|
2556
2613
|
"pluginType": "core",
|
|
@@ -2561,28 +2618,18 @@
|
|
|
2561
2618
|
"commands",
|
|
2562
2619
|
"run",
|
|
2563
2620
|
"env",
|
|
2564
|
-
"
|
|
2621
|
+
"set",
|
|
2565
2622
|
"index.js"
|
|
2566
2623
|
]
|
|
2567
2624
|
},
|
|
2568
|
-
"run:
|
|
2625
|
+
"run:projects:create": {
|
|
2569
2626
|
"aliases": [],
|
|
2570
|
-
"args": {
|
|
2571
|
-
|
|
2572
|
-
"description": "Environment variable name",
|
|
2573
|
-
"name": "name",
|
|
2574
|
-
"required": true
|
|
2575
|
-
},
|
|
2576
|
-
"value": {
|
|
2577
|
-
"description": "Environment variable value",
|
|
2578
|
-
"name": "value",
|
|
2579
|
-
"required": true
|
|
2580
|
-
}
|
|
2581
|
-
},
|
|
2582
|
-
"description": "Set an environment variable",
|
|
2627
|
+
"args": {},
|
|
2628
|
+
"description": "Create a new project",
|
|
2583
2629
|
"examples": [
|
|
2584
|
-
"$ xano run
|
|
2585
|
-
"$ xano run
|
|
2630
|
+
"$ xano run projects create -n \"My Project\"\nProject created successfully!\n ID: abc123-def456-ghi789\n Name: My Project\n",
|
|
2631
|
+
"$ xano run projects create -n \"My Project\" -d \"Description here\"\nProject created successfully!\n ID: abc123-def456-ghi789\n Name: My Project\n",
|
|
2632
|
+
"$ xano run projects create -n \"My Project\" -o json\n{ \"id\": \"abc123-def456-ghi789\", \"name\": \"My Project\", ... }\n"
|
|
2586
2633
|
],
|
|
2587
2634
|
"flags": {
|
|
2588
2635
|
"profile": {
|
|
@@ -2594,20 +2641,53 @@
|
|
|
2594
2641
|
"hasDynamicHelp": false,
|
|
2595
2642
|
"multiple": false,
|
|
2596
2643
|
"type": "option"
|
|
2597
|
-
},
|
|
2598
|
-
"verbose": {
|
|
2599
|
-
"char": "v",
|
|
2600
|
-
"description": "Show detailed request/response information",
|
|
2601
|
-
"env": "XANO_VERBOSE",
|
|
2602
|
-
"name": "verbose",
|
|
2603
|
-
"required": false,
|
|
2604
|
-
"allowNo": false,
|
|
2605
|
-
"type": "boolean"
|
|
2644
|
+
},
|
|
2645
|
+
"verbose": {
|
|
2646
|
+
"char": "v",
|
|
2647
|
+
"description": "Show detailed request/response information",
|
|
2648
|
+
"env": "XANO_VERBOSE",
|
|
2649
|
+
"name": "verbose",
|
|
2650
|
+
"required": false,
|
|
2651
|
+
"allowNo": false,
|
|
2652
|
+
"type": "boolean"
|
|
2653
|
+
},
|
|
2654
|
+
"description": {
|
|
2655
|
+
"char": "d",
|
|
2656
|
+
"description": "Project description",
|
|
2657
|
+
"name": "description",
|
|
2658
|
+
"required": false,
|
|
2659
|
+
"default": "",
|
|
2660
|
+
"hasDynamicHelp": false,
|
|
2661
|
+
"multiple": false,
|
|
2662
|
+
"type": "option"
|
|
2663
|
+
},
|
|
2664
|
+
"name": {
|
|
2665
|
+
"char": "n",
|
|
2666
|
+
"description": "Project name",
|
|
2667
|
+
"name": "name",
|
|
2668
|
+
"required": true,
|
|
2669
|
+
"hasDynamicHelp": false,
|
|
2670
|
+
"multiple": false,
|
|
2671
|
+
"type": "option"
|
|
2672
|
+
},
|
|
2673
|
+
"output": {
|
|
2674
|
+
"char": "o",
|
|
2675
|
+
"description": "Output format",
|
|
2676
|
+
"name": "output",
|
|
2677
|
+
"required": false,
|
|
2678
|
+
"default": "summary",
|
|
2679
|
+
"hasDynamicHelp": false,
|
|
2680
|
+
"multiple": false,
|
|
2681
|
+
"options": [
|
|
2682
|
+
"summary",
|
|
2683
|
+
"json"
|
|
2684
|
+
],
|
|
2685
|
+
"type": "option"
|
|
2606
2686
|
}
|
|
2607
2687
|
},
|
|
2608
2688
|
"hasDynamicHelp": false,
|
|
2609
2689
|
"hiddenAliases": [],
|
|
2610
|
-
"id": "run:
|
|
2690
|
+
"id": "run:projects:create",
|
|
2611
2691
|
"pluginAlias": "@xano/cli",
|
|
2612
2692
|
"pluginName": "@xano/cli",
|
|
2613
2693
|
"pluginType": "core",
|
|
@@ -2617,18 +2697,24 @@
|
|
|
2617
2697
|
"dist",
|
|
2618
2698
|
"commands",
|
|
2619
2699
|
"run",
|
|
2620
|
-
"
|
|
2621
|
-
"
|
|
2700
|
+
"projects",
|
|
2701
|
+
"create",
|
|
2622
2702
|
"index.js"
|
|
2623
2703
|
]
|
|
2624
2704
|
},
|
|
2625
|
-
"run:
|
|
2705
|
+
"run:projects:delete": {
|
|
2626
2706
|
"aliases": [],
|
|
2627
|
-
"args": {
|
|
2628
|
-
|
|
2707
|
+
"args": {
|
|
2708
|
+
"projectId": {
|
|
2709
|
+
"description": "Project ID to delete",
|
|
2710
|
+
"name": "projectId",
|
|
2711
|
+
"required": true
|
|
2712
|
+
}
|
|
2713
|
+
},
|
|
2714
|
+
"description": "Delete a project",
|
|
2629
2715
|
"examples": [
|
|
2630
|
-
"$ xano run
|
|
2631
|
-
"$ xano run
|
|
2716
|
+
"$ xano run projects delete abc123-def456\nAre you sure you want to delete project 'abc123-def456'? (y/N)\nProject deleted successfully!\n",
|
|
2717
|
+
"$ xano run projects delete abc123-def456 --force\nProject deleted successfully!\n"
|
|
2632
2718
|
],
|
|
2633
2719
|
"flags": {
|
|
2634
2720
|
"profile": {
|
|
@@ -2650,24 +2736,18 @@
|
|
|
2650
2736
|
"allowNo": false,
|
|
2651
2737
|
"type": "boolean"
|
|
2652
2738
|
},
|
|
2653
|
-
"
|
|
2654
|
-
"char": "
|
|
2655
|
-
"description": "
|
|
2656
|
-
"name": "
|
|
2739
|
+
"force": {
|
|
2740
|
+
"char": "f",
|
|
2741
|
+
"description": "Skip confirmation prompt",
|
|
2742
|
+
"name": "force",
|
|
2657
2743
|
"required": false,
|
|
2658
|
-
"
|
|
2659
|
-
"
|
|
2660
|
-
"multiple": false,
|
|
2661
|
-
"options": [
|
|
2662
|
-
"table",
|
|
2663
|
-
"json"
|
|
2664
|
-
],
|
|
2665
|
-
"type": "option"
|
|
2744
|
+
"allowNo": false,
|
|
2745
|
+
"type": "boolean"
|
|
2666
2746
|
}
|
|
2667
2747
|
},
|
|
2668
2748
|
"hasDynamicHelp": false,
|
|
2669
2749
|
"hiddenAliases": [],
|
|
2670
|
-
"id": "run:
|
|
2750
|
+
"id": "run:projects:delete",
|
|
2671
2751
|
"pluginAlias": "@xano/cli",
|
|
2672
2752
|
"pluginName": "@xano/cli",
|
|
2673
2753
|
"pluginType": "core",
|
|
@@ -2677,24 +2757,18 @@
|
|
|
2677
2757
|
"dist",
|
|
2678
2758
|
"commands",
|
|
2679
2759
|
"run",
|
|
2680
|
-
"
|
|
2681
|
-
"
|
|
2760
|
+
"projects",
|
|
2761
|
+
"delete",
|
|
2682
2762
|
"index.js"
|
|
2683
2763
|
]
|
|
2684
2764
|
},
|
|
2685
|
-
"run:
|
|
2765
|
+
"run:projects:list": {
|
|
2686
2766
|
"aliases": [],
|
|
2687
|
-
"args": {
|
|
2688
|
-
|
|
2689
|
-
"description": "Secret name",
|
|
2690
|
-
"name": "name",
|
|
2691
|
-
"required": true
|
|
2692
|
-
}
|
|
2693
|
-
},
|
|
2694
|
-
"description": "Get a secret value",
|
|
2767
|
+
"args": {},
|
|
2768
|
+
"description": "List all projects",
|
|
2695
2769
|
"examples": [
|
|
2696
|
-
"$ xano run
|
|
2697
|
-
"$ xano run
|
|
2770
|
+
"$ xano run projects list\nID NAME ACCESS\nabc123-def456-ghi789 My Project private\nxyz789-uvw456-rst123 Test Project public\n",
|
|
2771
|
+
"$ xano run projects list -o json\n[\n { \"id\": \"abc123-def456-ghi789\", \"name\": \"My Project\", ... }\n]\n"
|
|
2698
2772
|
],
|
|
2699
2773
|
"flags": {
|
|
2700
2774
|
"profile": {
|
|
@@ -2721,11 +2795,11 @@
|
|
|
2721
2795
|
"description": "Output format",
|
|
2722
2796
|
"name": "output",
|
|
2723
2797
|
"required": false,
|
|
2724
|
-
"default": "
|
|
2798
|
+
"default": "table",
|
|
2725
2799
|
"hasDynamicHelp": false,
|
|
2726
2800
|
"multiple": false,
|
|
2727
2801
|
"options": [
|
|
2728
|
-
"
|
|
2802
|
+
"table",
|
|
2729
2803
|
"json"
|
|
2730
2804
|
],
|
|
2731
2805
|
"type": "option"
|
|
@@ -2733,7 +2807,7 @@
|
|
|
2733
2807
|
},
|
|
2734
2808
|
"hasDynamicHelp": false,
|
|
2735
2809
|
"hiddenAliases": [],
|
|
2736
|
-
"id": "run:
|
|
2810
|
+
"id": "run:projects:list",
|
|
2737
2811
|
"pluginAlias": "@xano/cli",
|
|
2738
2812
|
"pluginName": "@xano/cli",
|
|
2739
2813
|
"pluginType": "core",
|
|
@@ -2743,24 +2817,25 @@
|
|
|
2743
2817
|
"dist",
|
|
2744
2818
|
"commands",
|
|
2745
2819
|
"run",
|
|
2746
|
-
"
|
|
2747
|
-
"
|
|
2820
|
+
"projects",
|
|
2821
|
+
"list",
|
|
2748
2822
|
"index.js"
|
|
2749
2823
|
]
|
|
2750
2824
|
},
|
|
2751
|
-
"run:
|
|
2825
|
+
"run:projects:update": {
|
|
2752
2826
|
"aliases": [],
|
|
2753
2827
|
"args": {
|
|
2754
|
-
"
|
|
2755
|
-
"description": "
|
|
2756
|
-
"name": "
|
|
2828
|
+
"projectId": {
|
|
2829
|
+
"description": "Project ID to update",
|
|
2830
|
+
"name": "projectId",
|
|
2757
2831
|
"required": true
|
|
2758
2832
|
}
|
|
2759
2833
|
},
|
|
2760
|
-
"description": "
|
|
2834
|
+
"description": "Update a project",
|
|
2761
2835
|
"examples": [
|
|
2762
|
-
"$ xano run
|
|
2763
|
-
"$ xano run
|
|
2836
|
+
"$ xano run projects update abc123-def456 -n \"New Name\"\nProject updated successfully!\n ID: abc123-def456\n Name: New Name\n",
|
|
2837
|
+
"$ xano run projects update abc123-def456 -d \"New description\"\nProject updated successfully!\n ID: abc123-def456\n Description: New description\n",
|
|
2838
|
+
"$ xano run projects update abc123-def456 -n \"New Name\" -o json\n{ \"id\": \"abc123-def456\", \"name\": \"New Name\", ... }\n"
|
|
2764
2839
|
],
|
|
2765
2840
|
"flags": {
|
|
2766
2841
|
"profile": {
|
|
@@ -2782,41 +2857,42 @@
|
|
|
2782
2857
|
"allowNo": false,
|
|
2783
2858
|
"type": "boolean"
|
|
2784
2859
|
},
|
|
2785
|
-
"
|
|
2786
|
-
"char": "
|
|
2787
|
-
"description": "
|
|
2788
|
-
"name": "
|
|
2860
|
+
"description": {
|
|
2861
|
+
"char": "d",
|
|
2862
|
+
"description": "New project description",
|
|
2863
|
+
"name": "description",
|
|
2789
2864
|
"required": false,
|
|
2790
2865
|
"hasDynamicHelp": false,
|
|
2791
2866
|
"multiple": false,
|
|
2792
2867
|
"type": "option"
|
|
2793
2868
|
},
|
|
2794
|
-
"
|
|
2795
|
-
"char": "
|
|
2796
|
-
"description": "
|
|
2797
|
-
"name": "
|
|
2798
|
-
"required":
|
|
2869
|
+
"name": {
|
|
2870
|
+
"char": "n",
|
|
2871
|
+
"description": "New project name",
|
|
2872
|
+
"name": "name",
|
|
2873
|
+
"required": false,
|
|
2799
2874
|
"hasDynamicHelp": false,
|
|
2800
2875
|
"multiple": false,
|
|
2801
|
-
"options": [
|
|
2802
|
-
"dockerconfigjson",
|
|
2803
|
-
"service-account-token"
|
|
2804
|
-
],
|
|
2805
2876
|
"type": "option"
|
|
2806
2877
|
},
|
|
2807
|
-
"
|
|
2808
|
-
"char": "
|
|
2809
|
-
"description": "
|
|
2810
|
-
"name": "
|
|
2811
|
-
"required":
|
|
2878
|
+
"output": {
|
|
2879
|
+
"char": "o",
|
|
2880
|
+
"description": "Output format",
|
|
2881
|
+
"name": "output",
|
|
2882
|
+
"required": false,
|
|
2883
|
+
"default": "summary",
|
|
2812
2884
|
"hasDynamicHelp": false,
|
|
2813
2885
|
"multiple": false,
|
|
2886
|
+
"options": [
|
|
2887
|
+
"summary",
|
|
2888
|
+
"json"
|
|
2889
|
+
],
|
|
2814
2890
|
"type": "option"
|
|
2815
2891
|
}
|
|
2816
2892
|
},
|
|
2817
2893
|
"hasDynamicHelp": false,
|
|
2818
2894
|
"hiddenAliases": [],
|
|
2819
|
-
"id": "run:
|
|
2895
|
+
"id": "run:projects:update",
|
|
2820
2896
|
"pluginAlias": "@xano/cli",
|
|
2821
2897
|
"pluginName": "@xano/cli",
|
|
2822
2898
|
"pluginType": "core",
|
|
@@ -2826,8 +2902,8 @@
|
|
|
2826
2902
|
"dist",
|
|
2827
2903
|
"commands",
|
|
2828
2904
|
"run",
|
|
2829
|
-
"
|
|
2830
|
-
"
|
|
2905
|
+
"projects",
|
|
2906
|
+
"update",
|
|
2831
2907
|
"index.js"
|
|
2832
2908
|
]
|
|
2833
2909
|
},
|
|
@@ -2891,93 +2967,19 @@
|
|
|
2891
2967
|
"index.js"
|
|
2892
2968
|
]
|
|
2893
2969
|
},
|
|
2894
|
-
"run:
|
|
2970
|
+
"run:secrets:get": {
|
|
2895
2971
|
"aliases": [],
|
|
2896
|
-
"args": {
|
|
2897
|
-
"description": "Create a new project",
|
|
2898
|
-
"examples": [
|
|
2899
|
-
"$ xano run projects create -n \"My Project\"\nProject created successfully!\n ID: abc123-def456-ghi789\n Name: My Project\n",
|
|
2900
|
-
"$ xano run projects create -n \"My Project\" -d \"Description here\"\nProject created successfully!\n ID: abc123-def456-ghi789\n Name: My Project\n",
|
|
2901
|
-
"$ xano run projects create -n \"My Project\" -o json\n{ \"id\": \"abc123-def456-ghi789\", \"name\": \"My Project\", ... }\n"
|
|
2902
|
-
],
|
|
2903
|
-
"flags": {
|
|
2904
|
-
"profile": {
|
|
2905
|
-
"char": "p",
|
|
2906
|
-
"description": "Profile to use for this command",
|
|
2907
|
-
"env": "XANO_PROFILE",
|
|
2908
|
-
"name": "profile",
|
|
2909
|
-
"required": false,
|
|
2910
|
-
"hasDynamicHelp": false,
|
|
2911
|
-
"multiple": false,
|
|
2912
|
-
"type": "option"
|
|
2913
|
-
},
|
|
2914
|
-
"verbose": {
|
|
2915
|
-
"char": "v",
|
|
2916
|
-
"description": "Show detailed request/response information",
|
|
2917
|
-
"env": "XANO_VERBOSE",
|
|
2918
|
-
"name": "verbose",
|
|
2919
|
-
"required": false,
|
|
2920
|
-
"allowNo": false,
|
|
2921
|
-
"type": "boolean"
|
|
2922
|
-
},
|
|
2923
|
-
"description": {
|
|
2924
|
-
"char": "d",
|
|
2925
|
-
"description": "Project description",
|
|
2926
|
-
"name": "description",
|
|
2927
|
-
"required": false,
|
|
2928
|
-
"default": "",
|
|
2929
|
-
"hasDynamicHelp": false,
|
|
2930
|
-
"multiple": false,
|
|
2931
|
-
"type": "option"
|
|
2932
|
-
},
|
|
2972
|
+
"args": {
|
|
2933
2973
|
"name": {
|
|
2934
|
-
"
|
|
2935
|
-
"description": "Project name",
|
|
2974
|
+
"description": "Secret name",
|
|
2936
2975
|
"name": "name",
|
|
2937
|
-
"required": true
|
|
2938
|
-
"hasDynamicHelp": false,
|
|
2939
|
-
"multiple": false,
|
|
2940
|
-
"type": "option"
|
|
2941
|
-
},
|
|
2942
|
-
"output": {
|
|
2943
|
-
"char": "o",
|
|
2944
|
-
"description": "Output format",
|
|
2945
|
-
"name": "output",
|
|
2946
|
-
"required": false,
|
|
2947
|
-
"default": "summary",
|
|
2948
|
-
"hasDynamicHelp": false,
|
|
2949
|
-
"multiple": false,
|
|
2950
|
-
"options": [
|
|
2951
|
-
"summary",
|
|
2952
|
-
"json"
|
|
2953
|
-
],
|
|
2954
|
-
"type": "option"
|
|
2976
|
+
"required": true
|
|
2955
2977
|
}
|
|
2956
2978
|
},
|
|
2957
|
-
"
|
|
2958
|
-
"hiddenAliases": [],
|
|
2959
|
-
"id": "run:projects:create",
|
|
2960
|
-
"pluginAlias": "@xano/cli",
|
|
2961
|
-
"pluginName": "@xano/cli",
|
|
2962
|
-
"pluginType": "core",
|
|
2963
|
-
"strict": true,
|
|
2964
|
-
"isESM": true,
|
|
2965
|
-
"relativePath": [
|
|
2966
|
-
"dist",
|
|
2967
|
-
"commands",
|
|
2968
|
-
"run",
|
|
2969
|
-
"projects",
|
|
2970
|
-
"create",
|
|
2971
|
-
"index.js"
|
|
2972
|
-
]
|
|
2973
|
-
},
|
|
2974
|
-
"run:projects:list": {
|
|
2975
|
-
"aliases": [],
|
|
2976
|
-
"args": {},
|
|
2977
|
-
"description": "List all projects",
|
|
2979
|
+
"description": "Get a secret value",
|
|
2978
2980
|
"examples": [
|
|
2979
|
-
"$ xano run
|
|
2980
|
-
"$ xano run
|
|
2981
|
+
"$ xano run secrets get docker-registry\n{\"auths\":{\"ghcr.io\":{\"auth\":\"...\"}}}\n",
|
|
2982
|
+
"$ xano run secrets get docker-registry -o json\n{ \"name\": \"docker-registry\", \"type\": \"kubernetes.io/dockerconfigjson\", \"value\": \"...\" }\n"
|
|
2981
2983
|
],
|
|
2982
2984
|
"flags": {
|
|
2983
2985
|
"profile": {
|
|
@@ -3004,11 +3006,11 @@
|
|
|
3004
3006
|
"description": "Output format",
|
|
3005
3007
|
"name": "output",
|
|
3006
3008
|
"required": false,
|
|
3007
|
-
"default": "
|
|
3009
|
+
"default": "value",
|
|
3008
3010
|
"hasDynamicHelp": false,
|
|
3009
3011
|
"multiple": false,
|
|
3010
3012
|
"options": [
|
|
3011
|
-
"
|
|
3013
|
+
"value",
|
|
3012
3014
|
"json"
|
|
3013
3015
|
],
|
|
3014
3016
|
"type": "option"
|
|
@@ -3016,7 +3018,7 @@
|
|
|
3016
3018
|
},
|
|
3017
3019
|
"hasDynamicHelp": false,
|
|
3018
3020
|
"hiddenAliases": [],
|
|
3019
|
-
"id": "run:
|
|
3021
|
+
"id": "run:secrets:get",
|
|
3020
3022
|
"pluginAlias": "@xano/cli",
|
|
3021
3023
|
"pluginName": "@xano/cli",
|
|
3022
3024
|
"pluginType": "core",
|
|
@@ -3026,24 +3028,18 @@
|
|
|
3026
3028
|
"dist",
|
|
3027
3029
|
"commands",
|
|
3028
3030
|
"run",
|
|
3029
|
-
"
|
|
3030
|
-
"
|
|
3031
|
+
"secrets",
|
|
3032
|
+
"get",
|
|
3031
3033
|
"index.js"
|
|
3032
|
-
]
|
|
3033
|
-
},
|
|
3034
|
-
"run:
|
|
3035
|
-
"aliases": [],
|
|
3036
|
-
"args": {
|
|
3037
|
-
|
|
3038
|
-
"description": "Project ID to delete",
|
|
3039
|
-
"name": "projectId",
|
|
3040
|
-
"required": true
|
|
3041
|
-
}
|
|
3042
|
-
},
|
|
3043
|
-
"description": "Delete a project",
|
|
3034
|
+
]
|
|
3035
|
+
},
|
|
3036
|
+
"run:secrets:list": {
|
|
3037
|
+
"aliases": [],
|
|
3038
|
+
"args": {},
|
|
3039
|
+
"description": "List all secret keys",
|
|
3044
3040
|
"examples": [
|
|
3045
|
-
"$ xano run
|
|
3046
|
-
"$ xano run
|
|
3041
|
+
"$ xano run secrets list\nNAME TYPE REPO\ndocker-registry kubernetes.io/dockerconfigjson ghcr.io\nservice-account kubernetes.io/service-account-token -\n",
|
|
3042
|
+
"$ xano run secrets list -o json\n{ \"secrets\": [{ \"name\": \"docker-registry\", \"type\": \"kubernetes.io/dockerconfigjson\", \"repo\": \"ghcr.io\" }] }\n"
|
|
3047
3043
|
],
|
|
3048
3044
|
"flags": {
|
|
3049
3045
|
"profile": {
|
|
@@ -3065,18 +3061,24 @@
|
|
|
3065
3061
|
"allowNo": false,
|
|
3066
3062
|
"type": "boolean"
|
|
3067
3063
|
},
|
|
3068
|
-
"
|
|
3069
|
-
"char": "
|
|
3070
|
-
"description": "
|
|
3071
|
-
"name": "
|
|
3064
|
+
"output": {
|
|
3065
|
+
"char": "o",
|
|
3066
|
+
"description": "Output format",
|
|
3067
|
+
"name": "output",
|
|
3072
3068
|
"required": false,
|
|
3073
|
-
"
|
|
3074
|
-
"
|
|
3069
|
+
"default": "table",
|
|
3070
|
+
"hasDynamicHelp": false,
|
|
3071
|
+
"multiple": false,
|
|
3072
|
+
"options": [
|
|
3073
|
+
"table",
|
|
3074
|
+
"json"
|
|
3075
|
+
],
|
|
3076
|
+
"type": "option"
|
|
3075
3077
|
}
|
|
3076
3078
|
},
|
|
3077
3079
|
"hasDynamicHelp": false,
|
|
3078
3080
|
"hiddenAliases": [],
|
|
3079
|
-
"id": "run:
|
|
3081
|
+
"id": "run:secrets:list",
|
|
3080
3082
|
"pluginAlias": "@xano/cli",
|
|
3081
3083
|
"pluginName": "@xano/cli",
|
|
3082
3084
|
"pluginType": "core",
|
|
@@ -3086,25 +3088,24 @@
|
|
|
3086
3088
|
"dist",
|
|
3087
3089
|
"commands",
|
|
3088
3090
|
"run",
|
|
3089
|
-
"
|
|
3090
|
-
"
|
|
3091
|
+
"secrets",
|
|
3092
|
+
"list",
|
|
3091
3093
|
"index.js"
|
|
3092
3094
|
]
|
|
3093
3095
|
},
|
|
3094
|
-
"run:
|
|
3096
|
+
"run:secrets:set": {
|
|
3095
3097
|
"aliases": [],
|
|
3096
3098
|
"args": {
|
|
3097
|
-
"
|
|
3098
|
-
"description": "
|
|
3099
|
-
"name": "
|
|
3099
|
+
"name": {
|
|
3100
|
+
"description": "Secret name",
|
|
3101
|
+
"name": "name",
|
|
3100
3102
|
"required": true
|
|
3101
3103
|
}
|
|
3102
3104
|
},
|
|
3103
|
-
"description": "
|
|
3105
|
+
"description": "Set a secret",
|
|
3104
3106
|
"examples": [
|
|
3105
|
-
"$ xano run
|
|
3106
|
-
"$ xano run
|
|
3107
|
-
"$ xano run projects update abc123-def456 -n \"New Name\" -o json\n{ \"id\": \"abc123-def456\", \"name\": \"New Name\", ... }\n"
|
|
3107
|
+
"$ xano run secrets set docker-registry -t dockerconfigjson -v '{\"auths\":{\"ghcr.io\":{\"auth\":\"...\"}}}' -r ghcr.io\nSecret 'docker-registry' set successfully!\n",
|
|
3108
|
+
"$ xano run secrets set service-key -t service-account-token -v 'token-value-here'\nSecret 'service-key' set successfully!\n"
|
|
3108
3109
|
],
|
|
3109
3110
|
"flags": {
|
|
3110
3111
|
"profile": {
|
|
@@ -3126,42 +3127,41 @@
|
|
|
3126
3127
|
"allowNo": false,
|
|
3127
3128
|
"type": "boolean"
|
|
3128
3129
|
},
|
|
3129
|
-
"
|
|
3130
|
-
"char": "
|
|
3131
|
-
"description": "
|
|
3132
|
-
"name": "
|
|
3130
|
+
"repo": {
|
|
3131
|
+
"char": "r",
|
|
3132
|
+
"description": "Repository (for dockerconfigjson type)",
|
|
3133
|
+
"name": "repo",
|
|
3133
3134
|
"required": false,
|
|
3134
3135
|
"hasDynamicHelp": false,
|
|
3135
3136
|
"multiple": false,
|
|
3136
3137
|
"type": "option"
|
|
3137
3138
|
},
|
|
3138
|
-
"
|
|
3139
|
-
"char": "
|
|
3140
|
-
"description": "
|
|
3141
|
-
"name": "
|
|
3142
|
-
"required":
|
|
3139
|
+
"type": {
|
|
3140
|
+
"char": "t",
|
|
3141
|
+
"description": "Secret type",
|
|
3142
|
+
"name": "type",
|
|
3143
|
+
"required": true,
|
|
3143
3144
|
"hasDynamicHelp": false,
|
|
3144
3145
|
"multiple": false,
|
|
3146
|
+
"options": [
|
|
3147
|
+
"dockerconfigjson",
|
|
3148
|
+
"service-account-token"
|
|
3149
|
+
],
|
|
3145
3150
|
"type": "option"
|
|
3146
3151
|
},
|
|
3147
|
-
"
|
|
3148
|
-
"char": "
|
|
3149
|
-
"description": "
|
|
3150
|
-
"name": "
|
|
3151
|
-
"required":
|
|
3152
|
-
"default": "summary",
|
|
3152
|
+
"value": {
|
|
3153
|
+
"char": "v",
|
|
3154
|
+
"description": "Secret value",
|
|
3155
|
+
"name": "value",
|
|
3156
|
+
"required": true,
|
|
3153
3157
|
"hasDynamicHelp": false,
|
|
3154
3158
|
"multiple": false,
|
|
3155
|
-
"options": [
|
|
3156
|
-
"summary",
|
|
3157
|
-
"json"
|
|
3158
|
-
],
|
|
3159
3159
|
"type": "option"
|
|
3160
3160
|
}
|
|
3161
3161
|
},
|
|
3162
3162
|
"hasDynamicHelp": false,
|
|
3163
3163
|
"hiddenAliases": [],
|
|
3164
|
-
"id": "run:
|
|
3164
|
+
"id": "run:secrets:set",
|
|
3165
3165
|
"pluginAlias": "@xano/cli",
|
|
3166
3166
|
"pluginName": "@xano/cli",
|
|
3167
3167
|
"pluginType": "core",
|
|
@@ -3171,8 +3171,8 @@
|
|
|
3171
3171
|
"dist",
|
|
3172
3172
|
"commands",
|
|
3173
3173
|
"run",
|
|
3174
|
-
"
|
|
3175
|
-
"
|
|
3174
|
+
"secrets",
|
|
3175
|
+
"set",
|
|
3176
3176
|
"index.js"
|
|
3177
3177
|
]
|
|
3178
3178
|
},
|
|
@@ -3302,6 +3302,66 @@
|
|
|
3302
3302
|
"index.js"
|
|
3303
3303
|
]
|
|
3304
3304
|
},
|
|
3305
|
+
"run:sessions:list": {
|
|
3306
|
+
"aliases": [],
|
|
3307
|
+
"args": {},
|
|
3308
|
+
"description": "List all sessions for the project",
|
|
3309
|
+
"examples": [
|
|
3310
|
+
"$ xano run sessions list\nID STATE CREATED\nabc123-def456-ghi789 running 2024-01-15T10:30:00Z\nxyz789-uvw456-rst123 stopped 2024-01-14T09:00:00Z\n",
|
|
3311
|
+
"$ xano run sessions list -o json\n{ \"items\": [{ \"id\": \"abc123-def456-ghi789\", \"state\": \"running\", ... }] }\n"
|
|
3312
|
+
],
|
|
3313
|
+
"flags": {
|
|
3314
|
+
"profile": {
|
|
3315
|
+
"char": "p",
|
|
3316
|
+
"description": "Profile to use for this command",
|
|
3317
|
+
"env": "XANO_PROFILE",
|
|
3318
|
+
"name": "profile",
|
|
3319
|
+
"required": false,
|
|
3320
|
+
"hasDynamicHelp": false,
|
|
3321
|
+
"multiple": false,
|
|
3322
|
+
"type": "option"
|
|
3323
|
+
},
|
|
3324
|
+
"verbose": {
|
|
3325
|
+
"char": "v",
|
|
3326
|
+
"description": "Show detailed request/response information",
|
|
3327
|
+
"env": "XANO_VERBOSE",
|
|
3328
|
+
"name": "verbose",
|
|
3329
|
+
"required": false,
|
|
3330
|
+
"allowNo": false,
|
|
3331
|
+
"type": "boolean"
|
|
3332
|
+
},
|
|
3333
|
+
"output": {
|
|
3334
|
+
"char": "o",
|
|
3335
|
+
"description": "Output format",
|
|
3336
|
+
"name": "output",
|
|
3337
|
+
"required": false,
|
|
3338
|
+
"default": "table",
|
|
3339
|
+
"hasDynamicHelp": false,
|
|
3340
|
+
"multiple": false,
|
|
3341
|
+
"options": [
|
|
3342
|
+
"table",
|
|
3343
|
+
"json"
|
|
3344
|
+
],
|
|
3345
|
+
"type": "option"
|
|
3346
|
+
}
|
|
3347
|
+
},
|
|
3348
|
+
"hasDynamicHelp": false,
|
|
3349
|
+
"hiddenAliases": [],
|
|
3350
|
+
"id": "run:sessions:list",
|
|
3351
|
+
"pluginAlias": "@xano/cli",
|
|
3352
|
+
"pluginName": "@xano/cli",
|
|
3353
|
+
"pluginType": "core",
|
|
3354
|
+
"strict": true,
|
|
3355
|
+
"isESM": true,
|
|
3356
|
+
"relativePath": [
|
|
3357
|
+
"dist",
|
|
3358
|
+
"commands",
|
|
3359
|
+
"run",
|
|
3360
|
+
"sessions",
|
|
3361
|
+
"list",
|
|
3362
|
+
"index.js"
|
|
3363
|
+
]
|
|
3364
|
+
},
|
|
3305
3365
|
"run:sessions:start": {
|
|
3306
3366
|
"aliases": [],
|
|
3307
3367
|
"args": {
|
|
@@ -3368,13 +3428,19 @@
|
|
|
3368
3428
|
"index.js"
|
|
3369
3429
|
]
|
|
3370
3430
|
},
|
|
3371
|
-
"run:sessions:
|
|
3431
|
+
"run:sessions:stop": {
|
|
3372
3432
|
"aliases": [],
|
|
3373
|
-
"args": {
|
|
3374
|
-
|
|
3433
|
+
"args": {
|
|
3434
|
+
"sessionId": {
|
|
3435
|
+
"description": "Session ID",
|
|
3436
|
+
"name": "sessionId",
|
|
3437
|
+
"required": true
|
|
3438
|
+
}
|
|
3439
|
+
},
|
|
3440
|
+
"description": "Stop a session",
|
|
3375
3441
|
"examples": [
|
|
3376
|
-
"$ xano run sessions
|
|
3377
|
-
"$ xano run sessions
|
|
3442
|
+
"$ xano run sessions stop abc123-def456\nSession stopped successfully!\n ID: abc123-def456\n State: stopped\n",
|
|
3443
|
+
"$ xano run sessions stop abc123-def456 -o json\n{ \"id\": \"abc123-def456\", \"state\": \"stopped\", ... }\n"
|
|
3378
3444
|
],
|
|
3379
3445
|
"flags": {
|
|
3380
3446
|
"profile": {
|
|
@@ -3401,11 +3467,11 @@
|
|
|
3401
3467
|
"description": "Output format",
|
|
3402
3468
|
"name": "output",
|
|
3403
3469
|
"required": false,
|
|
3404
|
-
"default": "
|
|
3470
|
+
"default": "summary",
|
|
3405
3471
|
"hasDynamicHelp": false,
|
|
3406
3472
|
"multiple": false,
|
|
3407
3473
|
"options": [
|
|
3408
|
-
"
|
|
3474
|
+
"summary",
|
|
3409
3475
|
"json"
|
|
3410
3476
|
],
|
|
3411
3477
|
"type": "option"
|
|
@@ -3413,7 +3479,7 @@
|
|
|
3413
3479
|
},
|
|
3414
3480
|
"hasDynamicHelp": false,
|
|
3415
3481
|
"hiddenAliases": [],
|
|
3416
|
-
"id": "run:sessions:
|
|
3482
|
+
"id": "run:sessions:stop",
|
|
3417
3483
|
"pluginAlias": "@xano/cli",
|
|
3418
3484
|
"pluginName": "@xano/cli",
|
|
3419
3485
|
"pluginType": "core",
|
|
@@ -3424,11 +3490,11 @@
|
|
|
3424
3490
|
"commands",
|
|
3425
3491
|
"run",
|
|
3426
3492
|
"sessions",
|
|
3427
|
-
"
|
|
3493
|
+
"stop",
|
|
3428
3494
|
"index.js"
|
|
3429
3495
|
]
|
|
3430
3496
|
},
|
|
3431
|
-
"run:
|
|
3497
|
+
"run:sink:get": {
|
|
3432
3498
|
"aliases": [],
|
|
3433
3499
|
"args": {
|
|
3434
3500
|
"sessionId": {
|
|
@@ -3437,10 +3503,10 @@
|
|
|
3437
3503
|
"required": true
|
|
3438
3504
|
}
|
|
3439
3505
|
},
|
|
3440
|
-
"description": "
|
|
3506
|
+
"description": "Get sink data for a completed session",
|
|
3441
3507
|
"examples": [
|
|
3442
|
-
"$ xano run
|
|
3443
|
-
"$ xano run
|
|
3508
|
+
"$ xano run sink get abc123-def456\nSink Data:\n Tables: 3\n - users (5 rows)\n - orders (12 rows)\n - products (8 rows)\n Logs: 15 entries\n",
|
|
3509
|
+
"$ xano run sink get abc123-def456 -o json\n{ \"tables\": [...], \"logs\": [...] }\n"
|
|
3444
3510
|
],
|
|
3445
3511
|
"flags": {
|
|
3446
3512
|
"profile": {
|
|
@@ -3479,7 +3545,7 @@
|
|
|
3479
3545
|
},
|
|
3480
3546
|
"hasDynamicHelp": false,
|
|
3481
3547
|
"hiddenAliases": [],
|
|
3482
|
-
"id": "run:
|
|
3548
|
+
"id": "run:sink:get",
|
|
3483
3549
|
"pluginAlias": "@xano/cli",
|
|
3484
3550
|
"pluginName": "@xano/cli",
|
|
3485
3551
|
"pluginType": "core",
|
|
@@ -3489,8 +3555,8 @@
|
|
|
3489
3555
|
"dist",
|
|
3490
3556
|
"commands",
|
|
3491
3557
|
"run",
|
|
3492
|
-
"
|
|
3493
|
-
"
|
|
3558
|
+
"sink",
|
|
3559
|
+
"get",
|
|
3494
3560
|
"index.js"
|
|
3495
3561
|
]
|
|
3496
3562
|
},
|
|
@@ -3598,72 +3664,6 @@
|
|
|
3598
3664
|
"index.js"
|
|
3599
3665
|
]
|
|
3600
3666
|
},
|
|
3601
|
-
"run:sink:get": {
|
|
3602
|
-
"aliases": [],
|
|
3603
|
-
"args": {
|
|
3604
|
-
"sessionId": {
|
|
3605
|
-
"description": "Session ID",
|
|
3606
|
-
"name": "sessionId",
|
|
3607
|
-
"required": true
|
|
3608
|
-
}
|
|
3609
|
-
},
|
|
3610
|
-
"description": "Get sink data for a completed session",
|
|
3611
|
-
"examples": [
|
|
3612
|
-
"$ xano run sink get abc123-def456\nSink Data:\n Tables: 3\n - users (5 rows)\n - orders (12 rows)\n - products (8 rows)\n Logs: 15 entries\n",
|
|
3613
|
-
"$ xano run sink get abc123-def456 -o json\n{ \"tables\": [...], \"logs\": [...] }\n"
|
|
3614
|
-
],
|
|
3615
|
-
"flags": {
|
|
3616
|
-
"profile": {
|
|
3617
|
-
"char": "p",
|
|
3618
|
-
"description": "Profile to use for this command",
|
|
3619
|
-
"env": "XANO_PROFILE",
|
|
3620
|
-
"name": "profile",
|
|
3621
|
-
"required": false,
|
|
3622
|
-
"hasDynamicHelp": false,
|
|
3623
|
-
"multiple": false,
|
|
3624
|
-
"type": "option"
|
|
3625
|
-
},
|
|
3626
|
-
"verbose": {
|
|
3627
|
-
"char": "v",
|
|
3628
|
-
"description": "Show detailed request/response information",
|
|
3629
|
-
"env": "XANO_VERBOSE",
|
|
3630
|
-
"name": "verbose",
|
|
3631
|
-
"required": false,
|
|
3632
|
-
"allowNo": false,
|
|
3633
|
-
"type": "boolean"
|
|
3634
|
-
},
|
|
3635
|
-
"output": {
|
|
3636
|
-
"char": "o",
|
|
3637
|
-
"description": "Output format",
|
|
3638
|
-
"name": "output",
|
|
3639
|
-
"required": false,
|
|
3640
|
-
"default": "summary",
|
|
3641
|
-
"hasDynamicHelp": false,
|
|
3642
|
-
"multiple": false,
|
|
3643
|
-
"options": [
|
|
3644
|
-
"summary",
|
|
3645
|
-
"json"
|
|
3646
|
-
],
|
|
3647
|
-
"type": "option"
|
|
3648
|
-
}
|
|
3649
|
-
},
|
|
3650
|
-
"hasDynamicHelp": false,
|
|
3651
|
-
"hiddenAliases": [],
|
|
3652
|
-
"id": "run:sink:get",
|
|
3653
|
-
"pluginAlias": "@xano/cli",
|
|
3654
|
-
"pluginName": "@xano/cli",
|
|
3655
|
-
"pluginType": "core",
|
|
3656
|
-
"strict": true,
|
|
3657
|
-
"isESM": true,
|
|
3658
|
-
"relativePath": [
|
|
3659
|
-
"dist",
|
|
3660
|
-
"commands",
|
|
3661
|
-
"run",
|
|
3662
|
-
"sink",
|
|
3663
|
-
"get",
|
|
3664
|
-
"index.js"
|
|
3665
|
-
]
|
|
3666
|
-
},
|
|
3667
3667
|
"static_host:build:get": {
|
|
3668
3668
|
"aliases": [],
|
|
3669
3669
|
"args": {
|
|
@@ -3844,5 +3844,5 @@
|
|
|
3844
3844
|
]
|
|
3845
3845
|
}
|
|
3846
3846
|
},
|
|
3847
|
-
"version": "0.0.
|
|
3847
|
+
"version": "0.0.30"
|
|
3848
3848
|
}
|