@xano/cli 0.0.12 → 0.0.14
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 +126 -126
- package/package.json +1 -1
package/oclif.manifest.json
CHANGED
|
@@ -617,89 +617,46 @@
|
|
|
617
617
|
"index.js"
|
|
618
618
|
]
|
|
619
619
|
},
|
|
620
|
-
"profile:
|
|
620
|
+
"profile:get-default": {
|
|
621
621
|
"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",
|
|
622
|
+
"args": {},
|
|
623
|
+
"description": "Get the current default profile name",
|
|
630
624
|
"examples": [
|
|
631
|
-
"$ xano profile:
|
|
632
|
-
"$ xano profile:
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
625
|
+
"$ xano profile:get-default\nproduction\n",
|
|
626
|
+
"$ xano profile:get-default\nNo default profile set\n"
|
|
627
|
+
],
|
|
628
|
+
"flags": {},
|
|
629
|
+
"hasDynamicHelp": false,
|
|
630
|
+
"hiddenAliases": [],
|
|
631
|
+
"id": "profile:get-default",
|
|
632
|
+
"pluginAlias": "@xano/cli",
|
|
633
|
+
"pluginName": "@xano/cli",
|
|
634
|
+
"pluginType": "core",
|
|
635
|
+
"strict": true,
|
|
636
|
+
"enableJsonFlag": false,
|
|
637
|
+
"isESM": true,
|
|
638
|
+
"relativePath": [
|
|
639
|
+
"dist",
|
|
640
|
+
"commands",
|
|
641
|
+
"profile",
|
|
642
|
+
"get-default",
|
|
643
|
+
"index.js"
|
|
644
|
+
]
|
|
645
|
+
},
|
|
646
|
+
"profile:list": {
|
|
647
|
+
"aliases": [],
|
|
648
|
+
"args": {},
|
|
649
|
+
"description": "List all available profile configurations",
|
|
650
|
+
"examples": [
|
|
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,42 +731,6 @@
|
|
|
774
731
|
"index.js"
|
|
775
732
|
]
|
|
776
733
|
},
|
|
777
|
-
"profile:list": {
|
|
778
|
-
"aliases": [],
|
|
779
|
-
"args": {},
|
|
780
|
-
"description": "List all available profile configurations",
|
|
781
|
-
"examples": [
|
|
782
|
-
"$ xano profile:list\nAvailable profiles:\n - default\n - production\n - staging\n - development\n",
|
|
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"
|
|
785
|
-
],
|
|
786
|
-
"flags": {
|
|
787
|
-
"details": {
|
|
788
|
-
"char": "d",
|
|
789
|
-
"description": "Show detailed information for each profile",
|
|
790
|
-
"name": "details",
|
|
791
|
-
"required": false,
|
|
792
|
-
"allowNo": false,
|
|
793
|
-
"type": "boolean"
|
|
794
|
-
}
|
|
795
|
-
},
|
|
796
|
-
"hasDynamicHelp": false,
|
|
797
|
-
"hiddenAliases": [],
|
|
798
|
-
"id": "profile:list",
|
|
799
|
-
"pluginAlias": "@xano/cli",
|
|
800
|
-
"pluginName": "@xano/cli",
|
|
801
|
-
"pluginType": "core",
|
|
802
|
-
"strict": true,
|
|
803
|
-
"enableJsonFlag": false,
|
|
804
|
-
"isESM": true,
|
|
805
|
-
"relativePath": [
|
|
806
|
-
"dist",
|
|
807
|
-
"commands",
|
|
808
|
-
"profile",
|
|
809
|
-
"list",
|
|
810
|
-
"index.js"
|
|
811
|
-
]
|
|
812
|
-
},
|
|
813
734
|
"profile:set-default": {
|
|
814
735
|
"aliases": [],
|
|
815
736
|
"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.14"
|
|
1413
1413
|
}
|