@xano/cli 0.0.12 → 0.0.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/oclif.manifest.json +172 -172
- package/package.json +1 -1
package/oclif.manifest.json
CHANGED
|
@@ -488,6 +488,48 @@
|
|
|
488
488
|
"index.js"
|
|
489
489
|
]
|
|
490
490
|
},
|
|
491
|
+
"profile:delete": {
|
|
492
|
+
"aliases": [],
|
|
493
|
+
"args": {
|
|
494
|
+
"name": {
|
|
495
|
+
"description": "Profile name to delete",
|
|
496
|
+
"name": "name",
|
|
497
|
+
"required": true
|
|
498
|
+
}
|
|
499
|
+
},
|
|
500
|
+
"description": "Delete a profile configuration",
|
|
501
|
+
"examples": [
|
|
502
|
+
"$ 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",
|
|
503
|
+
"$ xano profile:delete old-profile --force\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n",
|
|
504
|
+
"$ xano profile:delete old-profile -f\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n"
|
|
505
|
+
],
|
|
506
|
+
"flags": {
|
|
507
|
+
"force": {
|
|
508
|
+
"char": "f",
|
|
509
|
+
"description": "Skip confirmation prompt",
|
|
510
|
+
"name": "force",
|
|
511
|
+
"required": false,
|
|
512
|
+
"allowNo": false,
|
|
513
|
+
"type": "boolean"
|
|
514
|
+
}
|
|
515
|
+
},
|
|
516
|
+
"hasDynamicHelp": false,
|
|
517
|
+
"hiddenAliases": [],
|
|
518
|
+
"id": "profile:delete",
|
|
519
|
+
"pluginAlias": "@xano/cli",
|
|
520
|
+
"pluginName": "@xano/cli",
|
|
521
|
+
"pluginType": "core",
|
|
522
|
+
"strict": true,
|
|
523
|
+
"enableJsonFlag": false,
|
|
524
|
+
"isESM": true,
|
|
525
|
+
"relativePath": [
|
|
526
|
+
"dist",
|
|
527
|
+
"commands",
|
|
528
|
+
"profile",
|
|
529
|
+
"delete",
|
|
530
|
+
"index.js"
|
|
531
|
+
]
|
|
532
|
+
},
|
|
491
533
|
"profile:create": {
|
|
492
534
|
"aliases": [],
|
|
493
535
|
"args": {
|
|
@@ -575,34 +617,18 @@
|
|
|
575
617
|
"index.js"
|
|
576
618
|
]
|
|
577
619
|
},
|
|
578
|
-
"profile:
|
|
620
|
+
"profile:get-default": {
|
|
579
621
|
"aliases": [],
|
|
580
|
-
"args": {
|
|
581
|
-
|
|
582
|
-
"description": "Profile name to delete",
|
|
583
|
-
"name": "name",
|
|
584
|
-
"required": true
|
|
585
|
-
}
|
|
586
|
-
},
|
|
587
|
-
"description": "Delete a profile configuration",
|
|
622
|
+
"args": {},
|
|
623
|
+
"description": "Get the current default profile name",
|
|
588
624
|
"examples": [
|
|
589
|
-
"$ xano profile:
|
|
590
|
-
"$ xano profile:
|
|
591
|
-
"$ xano profile:delete old-profile -f\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n"
|
|
625
|
+
"$ xano profile:get-default\nproduction\n",
|
|
626
|
+
"$ xano profile:get-default\nNo default profile set\n"
|
|
592
627
|
],
|
|
593
|
-
"flags": {
|
|
594
|
-
"force": {
|
|
595
|
-
"char": "f",
|
|
596
|
-
"description": "Skip confirmation prompt",
|
|
597
|
-
"name": "force",
|
|
598
|
-
"required": false,
|
|
599
|
-
"allowNo": false,
|
|
600
|
-
"type": "boolean"
|
|
601
|
-
}
|
|
602
|
-
},
|
|
628
|
+
"flags": {},
|
|
603
629
|
"hasDynamicHelp": false,
|
|
604
630
|
"hiddenAliases": [],
|
|
605
|
-
"id": "profile:
|
|
631
|
+
"id": "profile:get-default",
|
|
606
632
|
"pluginAlias": "@xano/cli",
|
|
607
633
|
"pluginName": "@xano/cli",
|
|
608
634
|
"pluginType": "core",
|
|
@@ -613,93 +639,24 @@
|
|
|
613
639
|
"dist",
|
|
614
640
|
"commands",
|
|
615
641
|
"profile",
|
|
616
|
-
"
|
|
642
|
+
"get-default",
|
|
617
643
|
"index.js"
|
|
618
644
|
]
|
|
619
645
|
},
|
|
620
|
-
"profile:
|
|
646
|
+
"profile:list": {
|
|
621
647
|
"aliases": [],
|
|
622
|
-
"args": {
|
|
623
|
-
|
|
624
|
-
"description": "Profile name to edit (uses default profile if not specified)",
|
|
625
|
-
"name": "name",
|
|
626
|
-
"required": false
|
|
627
|
-
}
|
|
628
|
-
},
|
|
629
|
-
"description": "Edit an existing profile configuration",
|
|
648
|
+
"args": {},
|
|
649
|
+
"description": "List all available profile configurations",
|
|
630
650
|
"examples": [
|
|
631
|
-
"$ xano profile:
|
|
632
|
-
"$ xano profile:
|
|
633
|
-
"$ xano profile:
|
|
634
|
-
"$ xano profile:edit -b new-branch\nProfile 'default' updated successfully at ~/.xano/credentials.yaml\n",
|
|
635
|
-
"$ xano profile:edit --remove-branch\nProfile 'default' updated successfully at ~/.xano/credentials.yaml\n"
|
|
651
|
+
"$ xano profile:list\nAvailable profiles:\n - default\n - production\n - staging\n - development\n",
|
|
652
|
+
"$ 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\nProfile: production\n Account Origin: https://account.xano.com\n Instance Origin: https://prod-instance.xano.com\n Access Token: ***...***\n",
|
|
653
|
+
"$ 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"
|
|
636
654
|
],
|
|
637
655
|
"flags": {
|
|
638
|
-
"
|
|
639
|
-
"char": "
|
|
640
|
-
"description": "
|
|
641
|
-
"
|
|
642
|
-
"name": "profile",
|
|
643
|
-
"required": false,
|
|
644
|
-
"hasDynamicHelp": false,
|
|
645
|
-
"multiple": false,
|
|
646
|
-
"type": "option"
|
|
647
|
-
},
|
|
648
|
-
"account_origin": {
|
|
649
|
-
"char": "a",
|
|
650
|
-
"description": "Update account origin URL",
|
|
651
|
-
"name": "account_origin",
|
|
652
|
-
"required": false,
|
|
653
|
-
"hasDynamicHelp": false,
|
|
654
|
-
"multiple": false,
|
|
655
|
-
"type": "option"
|
|
656
|
-
},
|
|
657
|
-
"instance_origin": {
|
|
658
|
-
"char": "i",
|
|
659
|
-
"description": "Update instance origin URL",
|
|
660
|
-
"name": "instance_origin",
|
|
661
|
-
"required": false,
|
|
662
|
-
"hasDynamicHelp": false,
|
|
663
|
-
"multiple": false,
|
|
664
|
-
"type": "option"
|
|
665
|
-
},
|
|
666
|
-
"access_token": {
|
|
667
|
-
"char": "t",
|
|
668
|
-
"description": "Update access token for the Xano Metadata API",
|
|
669
|
-
"name": "access_token",
|
|
670
|
-
"required": false,
|
|
671
|
-
"hasDynamicHelp": false,
|
|
672
|
-
"multiple": false,
|
|
673
|
-
"type": "option"
|
|
674
|
-
},
|
|
675
|
-
"workspace": {
|
|
676
|
-
"char": "w",
|
|
677
|
-
"description": "Update workspace name",
|
|
678
|
-
"name": "workspace",
|
|
679
|
-
"required": false,
|
|
680
|
-
"hasDynamicHelp": false,
|
|
681
|
-
"multiple": false,
|
|
682
|
-
"type": "option"
|
|
683
|
-
},
|
|
684
|
-
"branch": {
|
|
685
|
-
"char": "b",
|
|
686
|
-
"description": "Update branch name",
|
|
687
|
-
"name": "branch",
|
|
688
|
-
"required": false,
|
|
689
|
-
"hasDynamicHelp": false,
|
|
690
|
-
"multiple": false,
|
|
691
|
-
"type": "option"
|
|
692
|
-
},
|
|
693
|
-
"remove-workspace": {
|
|
694
|
-
"description": "Remove workspace from profile",
|
|
695
|
-
"name": "remove-workspace",
|
|
696
|
-
"required": false,
|
|
697
|
-
"allowNo": false,
|
|
698
|
-
"type": "boolean"
|
|
699
|
-
},
|
|
700
|
-
"remove-branch": {
|
|
701
|
-
"description": "Remove branch from profile",
|
|
702
|
-
"name": "remove-branch",
|
|
656
|
+
"details": {
|
|
657
|
+
"char": "d",
|
|
658
|
+
"description": "Show detailed information for each profile",
|
|
659
|
+
"name": "details",
|
|
703
660
|
"required": false,
|
|
704
661
|
"allowNo": false,
|
|
705
662
|
"type": "boolean"
|
|
@@ -707,7 +664,7 @@
|
|
|
707
664
|
},
|
|
708
665
|
"hasDynamicHelp": false,
|
|
709
666
|
"hiddenAliases": [],
|
|
710
|
-
"id": "profile:
|
|
667
|
+
"id": "profile:list",
|
|
711
668
|
"pluginAlias": "@xano/cli",
|
|
712
669
|
"pluginName": "@xano/cli",
|
|
713
670
|
"pluginType": "core",
|
|
@@ -718,7 +675,7 @@
|
|
|
718
675
|
"dist",
|
|
719
676
|
"commands",
|
|
720
677
|
"profile",
|
|
721
|
-
"
|
|
678
|
+
"list",
|
|
722
679
|
"index.js"
|
|
723
680
|
]
|
|
724
681
|
},
|
|
@@ -774,28 +731,37 @@
|
|
|
774
731
|
"index.js"
|
|
775
732
|
]
|
|
776
733
|
},
|
|
777
|
-
"profile:
|
|
734
|
+
"profile:wizard": {
|
|
778
735
|
"aliases": [],
|
|
779
736
|
"args": {},
|
|
780
|
-
"description": "
|
|
737
|
+
"description": "Create a new profile configuration using an interactive wizard",
|
|
781
738
|
"examples": [
|
|
782
|
-
"$ xano profile:
|
|
783
|
-
"$ 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\nProfile: production\n Account Origin: https://account.xano.com\n Instance Origin: https://prod-instance.xano.com\n Access Token: ***...***\n",
|
|
784
|
-
"$ 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"
|
|
739
|
+
"$ 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"
|
|
785
740
|
],
|
|
786
741
|
"flags": {
|
|
787
|
-
"
|
|
788
|
-
"char": "
|
|
789
|
-
"description": "
|
|
790
|
-
"name": "
|
|
742
|
+
"name": {
|
|
743
|
+
"char": "n",
|
|
744
|
+
"description": "Profile name (skip prompt if provided)",
|
|
745
|
+
"name": "name",
|
|
791
746
|
"required": false,
|
|
792
|
-
"
|
|
793
|
-
"
|
|
747
|
+
"hasDynamicHelp": false,
|
|
748
|
+
"multiple": false,
|
|
749
|
+
"type": "option"
|
|
750
|
+
},
|
|
751
|
+
"origin": {
|
|
752
|
+
"char": "o",
|
|
753
|
+
"description": "Xano instance origin URL",
|
|
754
|
+
"name": "origin",
|
|
755
|
+
"required": false,
|
|
756
|
+
"default": "https://app.xano.com",
|
|
757
|
+
"hasDynamicHelp": false,
|
|
758
|
+
"multiple": false,
|
|
759
|
+
"type": "option"
|
|
794
760
|
}
|
|
795
761
|
},
|
|
796
762
|
"hasDynamicHelp": false,
|
|
797
763
|
"hiddenAliases": [],
|
|
798
|
-
"id": "profile:
|
|
764
|
+
"id": "profile:wizard",
|
|
799
765
|
"pluginAlias": "@xano/cli",
|
|
800
766
|
"pluginName": "@xano/cli",
|
|
801
767
|
"pluginType": "core",
|
|
@@ -806,7 +772,7 @@
|
|
|
806
772
|
"dist",
|
|
807
773
|
"commands",
|
|
808
774
|
"profile",
|
|
809
|
-
"
|
|
775
|
+
"wizard",
|
|
810
776
|
"index.js"
|
|
811
777
|
]
|
|
812
778
|
},
|
|
@@ -842,51 +808,6 @@
|
|
|
842
808
|
"index.js"
|
|
843
809
|
]
|
|
844
810
|
},
|
|
845
|
-
"profile:wizard": {
|
|
846
|
-
"aliases": [],
|
|
847
|
-
"args": {},
|
|
848
|
-
"description": "Create a new profile configuration using an interactive wizard",
|
|
849
|
-
"examples": [
|
|
850
|
-
"$ 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"
|
|
851
|
-
],
|
|
852
|
-
"flags": {
|
|
853
|
-
"name": {
|
|
854
|
-
"char": "n",
|
|
855
|
-
"description": "Profile name (skip prompt if provided)",
|
|
856
|
-
"name": "name",
|
|
857
|
-
"required": false,
|
|
858
|
-
"hasDynamicHelp": false,
|
|
859
|
-
"multiple": false,
|
|
860
|
-
"type": "option"
|
|
861
|
-
},
|
|
862
|
-
"origin": {
|
|
863
|
-
"char": "o",
|
|
864
|
-
"description": "Xano instance origin URL",
|
|
865
|
-
"name": "origin",
|
|
866
|
-
"required": false,
|
|
867
|
-
"default": "https://app.xano.com",
|
|
868
|
-
"hasDynamicHelp": false,
|
|
869
|
-
"multiple": false,
|
|
870
|
-
"type": "option"
|
|
871
|
-
}
|
|
872
|
-
},
|
|
873
|
-
"hasDynamicHelp": false,
|
|
874
|
-
"hiddenAliases": [],
|
|
875
|
-
"id": "profile:wizard",
|
|
876
|
-
"pluginAlias": "@xano/cli",
|
|
877
|
-
"pluginName": "@xano/cli",
|
|
878
|
-
"pluginType": "core",
|
|
879
|
-
"strict": true,
|
|
880
|
-
"enableJsonFlag": false,
|
|
881
|
-
"isESM": true,
|
|
882
|
-
"relativePath": [
|
|
883
|
-
"dist",
|
|
884
|
-
"commands",
|
|
885
|
-
"profile",
|
|
886
|
-
"wizard",
|
|
887
|
-
"index.js"
|
|
888
|
-
]
|
|
889
|
-
},
|
|
890
811
|
"workspace:list": {
|
|
891
812
|
"aliases": [],
|
|
892
813
|
"args": {},
|
|
@@ -1126,18 +1047,97 @@
|
|
|
1126
1047
|
"index.js"
|
|
1127
1048
|
]
|
|
1128
1049
|
},
|
|
1129
|
-
"profile:
|
|
1050
|
+
"profile:edit": {
|
|
1130
1051
|
"aliases": [],
|
|
1131
|
-
"args": {
|
|
1132
|
-
|
|
1052
|
+
"args": {
|
|
1053
|
+
"name": {
|
|
1054
|
+
"description": "Profile name to edit (uses default profile if not specified)",
|
|
1055
|
+
"name": "name",
|
|
1056
|
+
"required": false
|
|
1057
|
+
}
|
|
1058
|
+
},
|
|
1059
|
+
"description": "Edit an existing profile configuration",
|
|
1133
1060
|
"examples": [
|
|
1134
|
-
"$ xano profile:
|
|
1135
|
-
"$ xano profile:
|
|
1061
|
+
"$ xano profile:edit --access_token new_token123\nProfile 'default' updated successfully at ~/.xano/credentials.yaml\n",
|
|
1062
|
+
"$ xano profile:edit production --access_token new_token123\nProfile 'production' updated successfully at ~/.xano/credentials.yaml\n",
|
|
1063
|
+
"$ xano profile:edit staging -i https://new-staging-instance.xano.com -t new_token456\nProfile 'staging' updated successfully at ~/.xano/credentials.yaml\n",
|
|
1064
|
+
"$ xano profile:edit -b new-branch\nProfile 'default' updated successfully at ~/.xano/credentials.yaml\n",
|
|
1065
|
+
"$ xano profile:edit --remove-branch\nProfile 'default' updated successfully at ~/.xano/credentials.yaml\n"
|
|
1136
1066
|
],
|
|
1137
|
-
"flags": {
|
|
1067
|
+
"flags": {
|
|
1068
|
+
"profile": {
|
|
1069
|
+
"char": "p",
|
|
1070
|
+
"description": "Profile to use for this command",
|
|
1071
|
+
"env": "XANO_PROFILE",
|
|
1072
|
+
"name": "profile",
|
|
1073
|
+
"required": false,
|
|
1074
|
+
"hasDynamicHelp": false,
|
|
1075
|
+
"multiple": false,
|
|
1076
|
+
"type": "option"
|
|
1077
|
+
},
|
|
1078
|
+
"account_origin": {
|
|
1079
|
+
"char": "a",
|
|
1080
|
+
"description": "Update account origin URL",
|
|
1081
|
+
"name": "account_origin",
|
|
1082
|
+
"required": false,
|
|
1083
|
+
"hasDynamicHelp": false,
|
|
1084
|
+
"multiple": false,
|
|
1085
|
+
"type": "option"
|
|
1086
|
+
},
|
|
1087
|
+
"instance_origin": {
|
|
1088
|
+
"char": "i",
|
|
1089
|
+
"description": "Update instance origin URL",
|
|
1090
|
+
"name": "instance_origin",
|
|
1091
|
+
"required": false,
|
|
1092
|
+
"hasDynamicHelp": false,
|
|
1093
|
+
"multiple": false,
|
|
1094
|
+
"type": "option"
|
|
1095
|
+
},
|
|
1096
|
+
"access_token": {
|
|
1097
|
+
"char": "t",
|
|
1098
|
+
"description": "Update access token for the Xano Metadata API",
|
|
1099
|
+
"name": "access_token",
|
|
1100
|
+
"required": false,
|
|
1101
|
+
"hasDynamicHelp": false,
|
|
1102
|
+
"multiple": false,
|
|
1103
|
+
"type": "option"
|
|
1104
|
+
},
|
|
1105
|
+
"workspace": {
|
|
1106
|
+
"char": "w",
|
|
1107
|
+
"description": "Update workspace name",
|
|
1108
|
+
"name": "workspace",
|
|
1109
|
+
"required": false,
|
|
1110
|
+
"hasDynamicHelp": false,
|
|
1111
|
+
"multiple": false,
|
|
1112
|
+
"type": "option"
|
|
1113
|
+
},
|
|
1114
|
+
"branch": {
|
|
1115
|
+
"char": "b",
|
|
1116
|
+
"description": "Update branch name",
|
|
1117
|
+
"name": "branch",
|
|
1118
|
+
"required": false,
|
|
1119
|
+
"hasDynamicHelp": false,
|
|
1120
|
+
"multiple": false,
|
|
1121
|
+
"type": "option"
|
|
1122
|
+
},
|
|
1123
|
+
"remove-workspace": {
|
|
1124
|
+
"description": "Remove workspace from profile",
|
|
1125
|
+
"name": "remove-workspace",
|
|
1126
|
+
"required": false,
|
|
1127
|
+
"allowNo": false,
|
|
1128
|
+
"type": "boolean"
|
|
1129
|
+
},
|
|
1130
|
+
"remove-branch": {
|
|
1131
|
+
"description": "Remove branch from profile",
|
|
1132
|
+
"name": "remove-branch",
|
|
1133
|
+
"required": false,
|
|
1134
|
+
"allowNo": false,
|
|
1135
|
+
"type": "boolean"
|
|
1136
|
+
}
|
|
1137
|
+
},
|
|
1138
1138
|
"hasDynamicHelp": false,
|
|
1139
1139
|
"hiddenAliases": [],
|
|
1140
|
-
"id": "profile:
|
|
1140
|
+
"id": "profile:edit",
|
|
1141
1141
|
"pluginAlias": "@xano/cli",
|
|
1142
1142
|
"pluginName": "@xano/cli",
|
|
1143
1143
|
"pluginType": "core",
|
|
@@ -1148,7 +1148,7 @@
|
|
|
1148
1148
|
"dist",
|
|
1149
1149
|
"commands",
|
|
1150
1150
|
"profile",
|
|
1151
|
-
"
|
|
1151
|
+
"edit",
|
|
1152
1152
|
"index.js"
|
|
1153
1153
|
]
|
|
1154
1154
|
},
|
|
@@ -1409,5 +1409,5 @@
|
|
|
1409
1409
|
]
|
|
1410
1410
|
}
|
|
1411
1411
|
},
|
|
1412
|
-
"version": "0.0.
|
|
1412
|
+
"version": "0.0.13"
|
|
1413
1413
|
}
|