@xano/cli 0.0.5 → 0.0.7
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/README.md +89 -1153
- package/oclif.manifest.json +585 -585
- package/package.json +2 -2
package/oclif.manifest.json
CHANGED
|
@@ -1,88 +1,104 @@
|
|
|
1
1
|
{
|
|
2
2
|
"commands": {
|
|
3
|
-
"
|
|
3
|
+
"profile:get-default": {
|
|
4
4
|
"aliases": [],
|
|
5
5
|
"args": {},
|
|
6
|
-
"description": "
|
|
6
|
+
"description": "Get the current default profile name",
|
|
7
7
|
"examples": [
|
|
8
|
-
"$ xano
|
|
9
|
-
"$ xano
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
8
|
+
"$ xano profile:get-default\nproduction\n",
|
|
9
|
+
"$ xano profile:get-default\nNo default profile set\n"
|
|
10
|
+
],
|
|
11
|
+
"flags": {},
|
|
12
|
+
"hasDynamicHelp": false,
|
|
13
|
+
"hiddenAliases": [],
|
|
14
|
+
"id": "profile:get-default",
|
|
15
|
+
"pluginAlias": "@xano/cli",
|
|
16
|
+
"pluginName": "@xano/cli",
|
|
17
|
+
"pluginType": "core",
|
|
18
|
+
"strict": true,
|
|
19
|
+
"enableJsonFlag": false,
|
|
20
|
+
"isESM": true,
|
|
21
|
+
"relativePath": [
|
|
22
|
+
"dist",
|
|
23
|
+
"commands",
|
|
24
|
+
"profile",
|
|
25
|
+
"get-default",
|
|
26
|
+
"index.js"
|
|
27
|
+
]
|
|
28
|
+
},
|
|
29
|
+
"profile:create": {
|
|
30
|
+
"aliases": [],
|
|
31
|
+
"args": {
|
|
32
|
+
"name": {
|
|
33
|
+
"description": "Profile name",
|
|
34
|
+
"name": "name",
|
|
35
|
+
"required": true
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
"description": "Create a new profile configuration",
|
|
39
|
+
"examples": [
|
|
40
|
+
"$ 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",
|
|
41
|
+
"$ 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",
|
|
42
|
+
"$ 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",
|
|
43
|
+
"$ 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"
|
|
13
44
|
],
|
|
14
45
|
"flags": {
|
|
15
|
-
"
|
|
16
|
-
"char": "
|
|
17
|
-
"description": "
|
|
18
|
-
"
|
|
19
|
-
"name": "profile",
|
|
46
|
+
"account_origin": {
|
|
47
|
+
"char": "a",
|
|
48
|
+
"description": "Account origin URL. Optional for self hosted installs.",
|
|
49
|
+
"name": "account_origin",
|
|
20
50
|
"required": false,
|
|
21
51
|
"hasDynamicHelp": false,
|
|
22
52
|
"multiple": false,
|
|
23
53
|
"type": "option"
|
|
24
54
|
},
|
|
55
|
+
"instance_origin": {
|
|
56
|
+
"char": "i",
|
|
57
|
+
"description": "Instance origin URL",
|
|
58
|
+
"name": "instance_origin",
|
|
59
|
+
"required": true,
|
|
60
|
+
"hasDynamicHelp": false,
|
|
61
|
+
"multiple": false,
|
|
62
|
+
"type": "option"
|
|
63
|
+
},
|
|
64
|
+
"access_token": {
|
|
65
|
+
"char": "t",
|
|
66
|
+
"description": "Access token for the Xano Metadata API",
|
|
67
|
+
"name": "access_token",
|
|
68
|
+
"required": true,
|
|
69
|
+
"hasDynamicHelp": false,
|
|
70
|
+
"multiple": false,
|
|
71
|
+
"type": "option"
|
|
72
|
+
},
|
|
25
73
|
"workspace": {
|
|
26
74
|
"char": "w",
|
|
27
|
-
"description": "Workspace
|
|
75
|
+
"description": "Workspace name",
|
|
28
76
|
"name": "workspace",
|
|
29
77
|
"required": false,
|
|
30
78
|
"hasDynamicHelp": false,
|
|
31
79
|
"multiple": false,
|
|
32
80
|
"type": "option"
|
|
33
81
|
},
|
|
34
|
-
"
|
|
35
|
-
"char": "
|
|
36
|
-
"description": "
|
|
37
|
-
"
|
|
38
|
-
"stdin"
|
|
39
|
-
],
|
|
40
|
-
"name": "file",
|
|
82
|
+
"branch": {
|
|
83
|
+
"char": "b",
|
|
84
|
+
"description": "Branch name",
|
|
85
|
+
"name": "branch",
|
|
41
86
|
"required": false,
|
|
42
87
|
"hasDynamicHelp": false,
|
|
43
88
|
"multiple": false,
|
|
44
89
|
"type": "option"
|
|
45
90
|
},
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
"
|
|
49
|
-
"exclusive": [
|
|
50
|
-
"file"
|
|
51
|
-
],
|
|
52
|
-
"name": "stdin",
|
|
53
|
-
"required": false,
|
|
54
|
-
"allowNo": false,
|
|
55
|
-
"type": "boolean"
|
|
56
|
-
},
|
|
57
|
-
"edit": {
|
|
58
|
-
"char": "e",
|
|
59
|
-
"dependsOn": [
|
|
60
|
-
"file"
|
|
61
|
-
],
|
|
62
|
-
"description": "Open file in editor before creating function (requires --file)",
|
|
63
|
-
"name": "edit",
|
|
91
|
+
"default": {
|
|
92
|
+
"description": "Set this profile as the default",
|
|
93
|
+
"name": "default",
|
|
64
94
|
"required": false,
|
|
65
95
|
"allowNo": false,
|
|
66
96
|
"type": "boolean"
|
|
67
|
-
},
|
|
68
|
-
"output": {
|
|
69
|
-
"char": "o",
|
|
70
|
-
"description": "Output format",
|
|
71
|
-
"name": "output",
|
|
72
|
-
"required": false,
|
|
73
|
-
"default": "summary",
|
|
74
|
-
"hasDynamicHelp": false,
|
|
75
|
-
"multiple": false,
|
|
76
|
-
"options": [
|
|
77
|
-
"summary",
|
|
78
|
-
"json"
|
|
79
|
-
],
|
|
80
|
-
"type": "option"
|
|
81
97
|
}
|
|
82
98
|
},
|
|
83
99
|
"hasDynamicHelp": false,
|
|
84
100
|
"hiddenAliases": [],
|
|
85
|
-
"id": "
|
|
101
|
+
"id": "profile:create",
|
|
86
102
|
"pluginAlias": "@xano/cli",
|
|
87
103
|
"pluginName": "@xano/cli",
|
|
88
104
|
"pluginType": "core",
|
|
@@ -92,37 +108,50 @@
|
|
|
92
108
|
"relativePath": [
|
|
93
109
|
"dist",
|
|
94
110
|
"commands",
|
|
95
|
-
"
|
|
111
|
+
"profile",
|
|
96
112
|
"create",
|
|
97
113
|
"index.js"
|
|
98
114
|
]
|
|
99
115
|
},
|
|
100
|
-
"
|
|
116
|
+
"profile:edit": {
|
|
101
117
|
"aliases": [],
|
|
102
118
|
"args": {
|
|
103
|
-
"
|
|
104
|
-
"description": "
|
|
105
|
-
"name": "
|
|
106
|
-
"required":
|
|
119
|
+
"name": {
|
|
120
|
+
"description": "Profile name to edit",
|
|
121
|
+
"name": "name",
|
|
122
|
+
"required": true
|
|
107
123
|
}
|
|
108
124
|
},
|
|
109
|
-
"description": "Edit
|
|
125
|
+
"description": "Edit an existing profile configuration",
|
|
110
126
|
"examples": [
|
|
111
|
-
"$ xano
|
|
112
|
-
"$ xano
|
|
113
|
-
"$ xano
|
|
114
|
-
"$ xano
|
|
115
|
-
"$ xano function:edit -f function.xs\nSelect a function to edit:\n ❯ my_function (ID: 163) - Sample function\n another-func (ID: 164)\n",
|
|
116
|
-
"$ xano function:edit 163 -f function.xs --edit\n# Opens function.xs in $EDITOR, then updates function with edited content\nFunction updated successfully!\nID: 163\nName: my_function\n",
|
|
117
|
-
"$ cat function.xs | xano function:edit 163 --stdin\nFunction updated successfully!\nID: 163\nName: my_function\n",
|
|
118
|
-
"$ xano function:edit 163 -f function.xs -o json\n{\n \"id\": 163,\n \"name\": \"my_function\",\n ...\n}\n"
|
|
127
|
+
"$ xano profile:edit production --access_token new_token123\nProfile 'production' updated successfully at ~/.xano/credentials.yaml\n",
|
|
128
|
+
"$ xano profile:edit staging -i https://new-staging-instance.xano.com -t new_token456\nProfile 'staging' updated successfully at ~/.xano/credentials.yaml\n",
|
|
129
|
+
"$ xano profile:edit dev -w new-workspace -b new-branch\nProfile 'dev' updated successfully at ~/.xano/credentials.yaml\n",
|
|
130
|
+
"$ xano profile:edit dev --remove-workspace\nProfile 'dev' updated successfully at ~/.xano/credentials.yaml\n"
|
|
119
131
|
],
|
|
120
132
|
"flags": {
|
|
121
|
-
"
|
|
122
|
-
"char": "
|
|
123
|
-
"description": "
|
|
124
|
-
"
|
|
125
|
-
"
|
|
133
|
+
"account_origin": {
|
|
134
|
+
"char": "a",
|
|
135
|
+
"description": "Update account origin URL",
|
|
136
|
+
"name": "account_origin",
|
|
137
|
+
"required": false,
|
|
138
|
+
"hasDynamicHelp": false,
|
|
139
|
+
"multiple": false,
|
|
140
|
+
"type": "option"
|
|
141
|
+
},
|
|
142
|
+
"instance_origin": {
|
|
143
|
+
"char": "i",
|
|
144
|
+
"description": "Update instance origin URL",
|
|
145
|
+
"name": "instance_origin",
|
|
146
|
+
"required": false,
|
|
147
|
+
"hasDynamicHelp": false,
|
|
148
|
+
"multiple": false,
|
|
149
|
+
"type": "option"
|
|
150
|
+
},
|
|
151
|
+
"access_token": {
|
|
152
|
+
"char": "t",
|
|
153
|
+
"description": "Update access token for the Xano Metadata API",
|
|
154
|
+
"name": "access_token",
|
|
126
155
|
"required": false,
|
|
127
156
|
"hasDynamicHelp": false,
|
|
128
157
|
"multiple": false,
|
|
@@ -130,69 +159,40 @@
|
|
|
130
159
|
},
|
|
131
160
|
"workspace": {
|
|
132
161
|
"char": "w",
|
|
133
|
-
"description": "
|
|
162
|
+
"description": "Update workspace name",
|
|
134
163
|
"name": "workspace",
|
|
135
164
|
"required": false,
|
|
136
165
|
"hasDynamicHelp": false,
|
|
137
166
|
"multiple": false,
|
|
138
167
|
"type": "option"
|
|
139
168
|
},
|
|
140
|
-
"
|
|
141
|
-
"char": "
|
|
142
|
-
"description": "
|
|
143
|
-
"
|
|
144
|
-
"stdin"
|
|
145
|
-
],
|
|
146
|
-
"name": "file",
|
|
169
|
+
"branch": {
|
|
170
|
+
"char": "b",
|
|
171
|
+
"description": "Update branch name",
|
|
172
|
+
"name": "branch",
|
|
147
173
|
"required": false,
|
|
148
174
|
"hasDynamicHelp": false,
|
|
149
175
|
"multiple": false,
|
|
150
176
|
"type": "option"
|
|
151
177
|
},
|
|
152
|
-
"
|
|
153
|
-
"
|
|
154
|
-
"
|
|
155
|
-
"exclusive": [
|
|
156
|
-
"file"
|
|
157
|
-
],
|
|
158
|
-
"name": "stdin",
|
|
159
|
-
"required": false,
|
|
160
|
-
"allowNo": false,
|
|
161
|
-
"type": "boolean"
|
|
162
|
-
},
|
|
163
|
-
"edit": {
|
|
164
|
-
"char": "e",
|
|
165
|
-
"description": "Open file in editor before updating function (requires --file)",
|
|
166
|
-
"name": "edit",
|
|
178
|
+
"remove-workspace": {
|
|
179
|
+
"description": "Remove workspace from profile",
|
|
180
|
+
"name": "remove-workspace",
|
|
167
181
|
"required": false,
|
|
168
182
|
"allowNo": false,
|
|
169
183
|
"type": "boolean"
|
|
170
184
|
},
|
|
171
|
-
"
|
|
172
|
-
"description": "
|
|
173
|
-
"name": "
|
|
185
|
+
"remove-branch": {
|
|
186
|
+
"description": "Remove branch from profile",
|
|
187
|
+
"name": "remove-branch",
|
|
174
188
|
"required": false,
|
|
175
189
|
"allowNo": false,
|
|
176
190
|
"type": "boolean"
|
|
177
|
-
},
|
|
178
|
-
"output": {
|
|
179
|
-
"char": "o",
|
|
180
|
-
"description": "Output format",
|
|
181
|
-
"name": "output",
|
|
182
|
-
"required": false,
|
|
183
|
-
"default": "summary",
|
|
184
|
-
"hasDynamicHelp": false,
|
|
185
|
-
"multiple": false,
|
|
186
|
-
"options": [
|
|
187
|
-
"summary",
|
|
188
|
-
"json"
|
|
189
|
-
],
|
|
190
|
-
"type": "option"
|
|
191
191
|
}
|
|
192
192
|
},
|
|
193
193
|
"hasDynamicHelp": false,
|
|
194
194
|
"hiddenAliases": [],
|
|
195
|
-
"id": "
|
|
195
|
+
"id": "profile:edit",
|
|
196
196
|
"pluginAlias": "@xano/cli",
|
|
197
197
|
"pluginName": "@xano/cli",
|
|
198
198
|
"pluginType": "core",
|
|
@@ -202,82 +202,152 @@
|
|
|
202
202
|
"relativePath": [
|
|
203
203
|
"dist",
|
|
204
204
|
"commands",
|
|
205
|
-
"
|
|
205
|
+
"profile",
|
|
206
206
|
"edit",
|
|
207
207
|
"index.js"
|
|
208
208
|
]
|
|
209
209
|
},
|
|
210
|
-
"
|
|
210
|
+
"profile:delete": {
|
|
211
211
|
"aliases": [],
|
|
212
212
|
"args": {
|
|
213
|
-
"
|
|
214
|
-
"description": "
|
|
215
|
-
"name": "
|
|
216
|
-
"required":
|
|
213
|
+
"name": {
|
|
214
|
+
"description": "Profile name to delete",
|
|
215
|
+
"name": "name",
|
|
216
|
+
"required": true
|
|
217
217
|
}
|
|
218
218
|
},
|
|
219
|
-
"description": "
|
|
219
|
+
"description": "Delete a profile configuration",
|
|
220
220
|
"examples": [
|
|
221
|
-
"$ xano
|
|
222
|
-
"$ xano
|
|
223
|
-
"$ xano
|
|
224
|
-
"$ xano function:get 145 -w 40 --output json\n{\n \"id\": 145,\n \"name\": \"yo\",\n \"description\": \"Sample function\"\n}\n",
|
|
225
|
-
"$ xano function:get 145 -p staging -o json --include_draft\n{\n \"id\": 145,\n \"name\": \"yo\"\n}\n",
|
|
226
|
-
"$ xano function:get 145 -p staging -o xs\nfunction yo {\n input {\n }\n stack {\n }\n response = null\n}\n"
|
|
221
|
+
"$ 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",
|
|
222
|
+
"$ xano profile:delete old-profile --force\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n",
|
|
223
|
+
"$ xano profile:delete old-profile -f\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n"
|
|
227
224
|
],
|
|
228
225
|
"flags": {
|
|
229
|
-
"
|
|
230
|
-
"char": "
|
|
231
|
-
"description": "
|
|
232
|
-
"
|
|
233
|
-
"name": "profile",
|
|
226
|
+
"force": {
|
|
227
|
+
"char": "f",
|
|
228
|
+
"description": "Skip confirmation prompt",
|
|
229
|
+
"name": "force",
|
|
234
230
|
"required": false,
|
|
235
|
-
"
|
|
236
|
-
"
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
231
|
+
"allowNo": false,
|
|
232
|
+
"type": "boolean"
|
|
233
|
+
}
|
|
234
|
+
},
|
|
235
|
+
"hasDynamicHelp": false,
|
|
236
|
+
"hiddenAliases": [],
|
|
237
|
+
"id": "profile:delete",
|
|
238
|
+
"pluginAlias": "@xano/cli",
|
|
239
|
+
"pluginName": "@xano/cli",
|
|
240
|
+
"pluginType": "core",
|
|
241
|
+
"strict": true,
|
|
242
|
+
"enableJsonFlag": false,
|
|
243
|
+
"isESM": true,
|
|
244
|
+
"relativePath": [
|
|
245
|
+
"dist",
|
|
246
|
+
"commands",
|
|
247
|
+
"profile",
|
|
248
|
+
"delete",
|
|
249
|
+
"index.js"
|
|
250
|
+
]
|
|
251
|
+
},
|
|
252
|
+
"profile:list": {
|
|
253
|
+
"aliases": [],
|
|
254
|
+
"args": {},
|
|
255
|
+
"description": "List all available profile configurations",
|
|
256
|
+
"examples": [
|
|
257
|
+
"$ xano profile:list\nAvailable profiles:\n - default\n - production\n - staging\n - development\n",
|
|
258
|
+
"$ 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",
|
|
259
|
+
"$ 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"
|
|
260
|
+
],
|
|
261
|
+
"flags": {
|
|
262
|
+
"details": {
|
|
263
|
+
"char": "d",
|
|
264
|
+
"description": "Show detailed information for each profile",
|
|
265
|
+
"name": "details",
|
|
266
|
+
"required": false,
|
|
267
|
+
"allowNo": false,
|
|
268
|
+
"type": "boolean"
|
|
269
|
+
}
|
|
270
|
+
},
|
|
271
|
+
"hasDynamicHelp": false,
|
|
272
|
+
"hiddenAliases": [],
|
|
273
|
+
"id": "profile:list",
|
|
274
|
+
"pluginAlias": "@xano/cli",
|
|
275
|
+
"pluginName": "@xano/cli",
|
|
276
|
+
"pluginType": "core",
|
|
277
|
+
"strict": true,
|
|
278
|
+
"enableJsonFlag": false,
|
|
279
|
+
"isESM": true,
|
|
280
|
+
"relativePath": [
|
|
281
|
+
"dist",
|
|
282
|
+
"commands",
|
|
283
|
+
"profile",
|
|
284
|
+
"list",
|
|
285
|
+
"index.js"
|
|
286
|
+
]
|
|
287
|
+
},
|
|
288
|
+
"profile:set-default": {
|
|
289
|
+
"aliases": [],
|
|
290
|
+
"args": {
|
|
291
|
+
"name": {
|
|
292
|
+
"description": "Profile name to set as default",
|
|
293
|
+
"name": "name",
|
|
294
|
+
"required": true
|
|
295
|
+
}
|
|
296
|
+
},
|
|
297
|
+
"description": "Set the default profile",
|
|
298
|
+
"examples": [
|
|
299
|
+
"$ xano profile:set-default production\nDefault profile set to 'production'\n",
|
|
300
|
+
"$ xano profile:set-default staging\nDefault profile set to 'staging'\n"
|
|
301
|
+
],
|
|
302
|
+
"flags": {},
|
|
303
|
+
"hasDynamicHelp": false,
|
|
304
|
+
"hiddenAliases": [],
|
|
305
|
+
"id": "profile:set-default",
|
|
306
|
+
"pluginAlias": "@xano/cli",
|
|
307
|
+
"pluginName": "@xano/cli",
|
|
308
|
+
"pluginType": "core",
|
|
309
|
+
"strict": true,
|
|
310
|
+
"enableJsonFlag": false,
|
|
311
|
+
"isESM": true,
|
|
312
|
+
"relativePath": [
|
|
313
|
+
"dist",
|
|
314
|
+
"commands",
|
|
315
|
+
"profile",
|
|
316
|
+
"set-default",
|
|
317
|
+
"index.js"
|
|
318
|
+
]
|
|
319
|
+
},
|
|
320
|
+
"profile:wizard": {
|
|
321
|
+
"aliases": [],
|
|
322
|
+
"args": {},
|
|
323
|
+
"description": "Create a new profile configuration using an interactive wizard",
|
|
324
|
+
"examples": [
|
|
325
|
+
"$ 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"
|
|
326
|
+
],
|
|
327
|
+
"flags": {
|
|
328
|
+
"name": {
|
|
329
|
+
"char": "n",
|
|
330
|
+
"description": "Profile name (skip prompt if provided)",
|
|
331
|
+
"name": "name",
|
|
243
332
|
"required": false,
|
|
244
333
|
"hasDynamicHelp": false,
|
|
245
334
|
"multiple": false,
|
|
246
335
|
"type": "option"
|
|
247
336
|
},
|
|
248
|
-
"
|
|
337
|
+
"origin": {
|
|
249
338
|
"char": "o",
|
|
250
|
-
"description": "
|
|
251
|
-
"name": "
|
|
339
|
+
"description": "Xano instance origin URL",
|
|
340
|
+
"name": "origin",
|
|
252
341
|
"required": false,
|
|
253
|
-
"default": "
|
|
342
|
+
"default": "https://app.xano.com",
|
|
254
343
|
"hasDynamicHelp": false,
|
|
255
344
|
"multiple": false,
|
|
256
|
-
"options": [
|
|
257
|
-
"summary",
|
|
258
|
-
"json",
|
|
259
|
-
"xs"
|
|
260
|
-
],
|
|
261
345
|
"type": "option"
|
|
262
|
-
},
|
|
263
|
-
"include_draft": {
|
|
264
|
-
"description": "Include draft version",
|
|
265
|
-
"name": "include_draft",
|
|
266
|
-
"required": false,
|
|
267
|
-
"allowNo": false,
|
|
268
|
-
"type": "boolean"
|
|
269
|
-
},
|
|
270
|
-
"include_xanoscript": {
|
|
271
|
-
"description": "Include XanoScript in response",
|
|
272
|
-
"name": "include_xanoscript",
|
|
273
|
-
"required": false,
|
|
274
|
-
"allowNo": false,
|
|
275
|
-
"type": "boolean"
|
|
276
346
|
}
|
|
277
347
|
},
|
|
278
348
|
"hasDynamicHelp": false,
|
|
279
349
|
"hiddenAliases": [],
|
|
280
|
-
"id": "
|
|
350
|
+
"id": "profile:wizard",
|
|
281
351
|
"pluginAlias": "@xano/cli",
|
|
282
352
|
"pluginName": "@xano/cli",
|
|
283
353
|
"pluginType": "core",
|
|
@@ -287,20 +357,28 @@
|
|
|
287
357
|
"relativePath": [
|
|
288
358
|
"dist",
|
|
289
359
|
"commands",
|
|
290
|
-
"
|
|
291
|
-
"
|
|
360
|
+
"profile",
|
|
361
|
+
"wizard",
|
|
292
362
|
"index.js"
|
|
293
363
|
]
|
|
294
364
|
},
|
|
295
|
-
"function:
|
|
365
|
+
"function:get": {
|
|
296
366
|
"aliases": [],
|
|
297
|
-
"args": {
|
|
298
|
-
|
|
367
|
+
"args": {
|
|
368
|
+
"function_id": {
|
|
369
|
+
"description": "Function ID",
|
|
370
|
+
"name": "function_id",
|
|
371
|
+
"required": false
|
|
372
|
+
}
|
|
373
|
+
},
|
|
374
|
+
"description": "Get a specific function from a workspace",
|
|
299
375
|
"examples": [
|
|
300
|
-
"$ xano function:
|
|
301
|
-
"$ xano function:
|
|
302
|
-
"$ xano function:
|
|
303
|
-
"$ xano function:
|
|
376
|
+
"$ xano function:get 145 -w 40\nFunction: yo (ID: 145)\nCreated: 2025-10-10 10:30:00\nDescription: Sample function\n",
|
|
377
|
+
"$ xano function:get 145 --profile production\nFunction: yo (ID: 145)\nCreated: 2025-10-10 10:30:00\n",
|
|
378
|
+
"$ xano function:get\nSelect a function:\n ❯ yo (ID: 145) - Sample function\n another-func (ID: 146)\n",
|
|
379
|
+
"$ xano function:get 145 -w 40 --output json\n{\n \"id\": 145,\n \"name\": \"yo\",\n \"description\": \"Sample function\"\n}\n",
|
|
380
|
+
"$ xano function:get 145 -p staging -o json --include_draft\n{\n \"id\": 145,\n \"name\": \"yo\"\n}\n",
|
|
381
|
+
"$ xano function:get 145 -p staging -o xs\nfunction yo {\n input {\n }\n stack {\n }\n response = null\n}\n"
|
|
304
382
|
],
|
|
305
383
|
"flags": {
|
|
306
384
|
"profile": {
|
|
@@ -332,12 +410,13 @@
|
|
|
332
410
|
"multiple": false,
|
|
333
411
|
"options": [
|
|
334
412
|
"summary",
|
|
335
|
-
"json"
|
|
413
|
+
"json",
|
|
414
|
+
"xs"
|
|
336
415
|
],
|
|
337
416
|
"type": "option"
|
|
338
417
|
},
|
|
339
418
|
"include_draft": {
|
|
340
|
-
"description": "Include draft
|
|
419
|
+
"description": "Include draft version",
|
|
341
420
|
"name": "include_draft",
|
|
342
421
|
"required": false,
|
|
343
422
|
"allowNo": false,
|
|
@@ -349,51 +428,11 @@
|
|
|
349
428
|
"required": false,
|
|
350
429
|
"allowNo": false,
|
|
351
430
|
"type": "boolean"
|
|
352
|
-
},
|
|
353
|
-
"page": {
|
|
354
|
-
"description": "Page number for pagination",
|
|
355
|
-
"name": "page",
|
|
356
|
-
"required": false,
|
|
357
|
-
"default": 1,
|
|
358
|
-
"hasDynamicHelp": false,
|
|
359
|
-
"multiple": false,
|
|
360
|
-
"type": "option"
|
|
361
|
-
},
|
|
362
|
-
"per_page": {
|
|
363
|
-
"description": "Number of results per page",
|
|
364
|
-
"name": "per_page",
|
|
365
|
-
"required": false,
|
|
366
|
-
"default": 50,
|
|
367
|
-
"hasDynamicHelp": false,
|
|
368
|
-
"multiple": false,
|
|
369
|
-
"type": "option"
|
|
370
|
-
},
|
|
371
|
-
"sort": {
|
|
372
|
-
"description": "Sort field",
|
|
373
|
-
"name": "sort",
|
|
374
|
-
"required": false,
|
|
375
|
-
"default": "created_at",
|
|
376
|
-
"hasDynamicHelp": false,
|
|
377
|
-
"multiple": false,
|
|
378
|
-
"type": "option"
|
|
379
|
-
},
|
|
380
|
-
"order": {
|
|
381
|
-
"description": "Sort order",
|
|
382
|
-
"name": "order",
|
|
383
|
-
"required": false,
|
|
384
|
-
"default": "desc",
|
|
385
|
-
"hasDynamicHelp": false,
|
|
386
|
-
"multiple": false,
|
|
387
|
-
"options": [
|
|
388
|
-
"asc",
|
|
389
|
-
"desc"
|
|
390
|
-
],
|
|
391
|
-
"type": "option"
|
|
392
431
|
}
|
|
393
432
|
},
|
|
394
433
|
"hasDynamicHelp": false,
|
|
395
434
|
"hiddenAliases": [],
|
|
396
|
-
"id": "function:
|
|
435
|
+
"id": "function:get",
|
|
397
436
|
"pluginAlias": "@xano/cli",
|
|
398
437
|
"pluginName": "@xano/cli",
|
|
399
438
|
"pluginType": "core",
|
|
@@ -404,19 +443,29 @@
|
|
|
404
443
|
"dist",
|
|
405
444
|
"commands",
|
|
406
445
|
"function",
|
|
407
|
-
"
|
|
446
|
+
"get",
|
|
408
447
|
"index.js"
|
|
409
448
|
]
|
|
410
449
|
},
|
|
411
|
-
"
|
|
450
|
+
"function:edit": {
|
|
412
451
|
"aliases": [],
|
|
413
|
-
"args": {
|
|
414
|
-
|
|
452
|
+
"args": {
|
|
453
|
+
"function_id": {
|
|
454
|
+
"description": "Function ID to edit",
|
|
455
|
+
"name": "function_id",
|
|
456
|
+
"required": false
|
|
457
|
+
}
|
|
458
|
+
},
|
|
459
|
+
"description": "Edit a function in a workspace",
|
|
415
460
|
"examples": [
|
|
416
|
-
"$ xano
|
|
417
|
-
"$ xano
|
|
418
|
-
"$ xano
|
|
419
|
-
"$ xano
|
|
461
|
+
"$ xano function:edit 163\n# Fetches the function code and opens it in $EDITOR for editing\nFunction updated successfully!\nID: 163\nName: my_function\n",
|
|
462
|
+
"$ xano function:edit\n# Prompts for function, fetches the code and opens it in $EDITOR for editing\nSelect a function to edit:\n ❯ my_function (ID: 163) - Sample function\n another-func (ID: 164)\n",
|
|
463
|
+
"$ xano function:edit 163 -f function.xs\nFunction updated successfully!\nID: 163\nName: my_function\n",
|
|
464
|
+
"$ xano function:edit 163 -w 40 -f function.xs\nFunction updated successfully!\nID: 163\nName: my_function\n",
|
|
465
|
+
"$ xano function:edit -f function.xs\nSelect a function to edit:\n ❯ my_function (ID: 163) - Sample function\n another-func (ID: 164)\n",
|
|
466
|
+
"$ xano function:edit 163 -f function.xs --edit\n# Opens function.xs in $EDITOR, then updates function with edited content\nFunction updated successfully!\nID: 163\nName: my_function\n",
|
|
467
|
+
"$ cat function.xs | xano function:edit 163 --stdin\nFunction updated successfully!\nID: 163\nName: my_function\n",
|
|
468
|
+
"$ xano function:edit 163 -f function.xs -o json\n{\n \"id\": 163,\n \"name\": \"my_function\",\n ...\n}\n"
|
|
420
469
|
],
|
|
421
470
|
"flags": {
|
|
422
471
|
"profile": {
|
|
@@ -438,42 +487,62 @@
|
|
|
438
487
|
"multiple": false,
|
|
439
488
|
"type": "option"
|
|
440
489
|
},
|
|
441
|
-
"
|
|
442
|
-
"char": "
|
|
443
|
-
"description": "
|
|
444
|
-
"
|
|
490
|
+
"file": {
|
|
491
|
+
"char": "f",
|
|
492
|
+
"description": "Path to file containing XanoScript code",
|
|
493
|
+
"exclusive": [
|
|
494
|
+
"stdin"
|
|
495
|
+
],
|
|
496
|
+
"name": "file",
|
|
445
497
|
"required": false,
|
|
446
|
-
"default": "summary",
|
|
447
498
|
"hasDynamicHelp": false,
|
|
448
499
|
"multiple": false,
|
|
449
|
-
"options": [
|
|
450
|
-
"summary",
|
|
451
|
-
"json"
|
|
452
|
-
],
|
|
453
500
|
"type": "option"
|
|
454
501
|
},
|
|
455
|
-
"
|
|
456
|
-
"
|
|
457
|
-
"
|
|
502
|
+
"stdin": {
|
|
503
|
+
"char": "s",
|
|
504
|
+
"description": "Read XanoScript code from stdin",
|
|
505
|
+
"exclusive": [
|
|
506
|
+
"file"
|
|
507
|
+
],
|
|
508
|
+
"name": "stdin",
|
|
458
509
|
"required": false,
|
|
459
|
-
"
|
|
460
|
-
"
|
|
461
|
-
"multiple": false,
|
|
462
|
-
"type": "option"
|
|
510
|
+
"allowNo": false,
|
|
511
|
+
"type": "boolean"
|
|
463
512
|
},
|
|
464
|
-
"
|
|
465
|
-
"
|
|
466
|
-
"
|
|
513
|
+
"edit": {
|
|
514
|
+
"char": "e",
|
|
515
|
+
"description": "Open file in editor before updating function (requires --file)",
|
|
516
|
+
"name": "edit",
|
|
467
517
|
"required": false,
|
|
468
|
-
"
|
|
518
|
+
"allowNo": false,
|
|
519
|
+
"type": "boolean"
|
|
520
|
+
},
|
|
521
|
+
"publish": {
|
|
522
|
+
"description": "Publish the function after editing",
|
|
523
|
+
"name": "publish",
|
|
524
|
+
"required": false,
|
|
525
|
+
"allowNo": false,
|
|
526
|
+
"type": "boolean"
|
|
527
|
+
},
|
|
528
|
+
"output": {
|
|
529
|
+
"char": "o",
|
|
530
|
+
"description": "Output format",
|
|
531
|
+
"name": "output",
|
|
532
|
+
"required": false,
|
|
533
|
+
"default": "summary",
|
|
469
534
|
"hasDynamicHelp": false,
|
|
470
535
|
"multiple": false,
|
|
536
|
+
"options": [
|
|
537
|
+
"summary",
|
|
538
|
+
"json"
|
|
539
|
+
],
|
|
471
540
|
"type": "option"
|
|
472
541
|
}
|
|
473
542
|
},
|
|
474
543
|
"hasDynamicHelp": false,
|
|
475
544
|
"hiddenAliases": [],
|
|
476
|
-
"id": "
|
|
545
|
+
"id": "function:edit",
|
|
477
546
|
"pluginAlias": "@xano/cli",
|
|
478
547
|
"pluginName": "@xano/cli",
|
|
479
548
|
"pluginType": "core",
|
|
@@ -483,91 +552,113 @@
|
|
|
483
552
|
"relativePath": [
|
|
484
553
|
"dist",
|
|
485
554
|
"commands",
|
|
486
|
-
"
|
|
487
|
-
"
|
|
555
|
+
"function",
|
|
556
|
+
"edit",
|
|
488
557
|
"index.js"
|
|
489
558
|
]
|
|
490
559
|
},
|
|
491
|
-
"
|
|
560
|
+
"function:list": {
|
|
492
561
|
"aliases": [],
|
|
493
|
-
"args": {
|
|
494
|
-
|
|
495
|
-
"description": "Profile name to edit",
|
|
496
|
-
"name": "name",
|
|
497
|
-
"required": true
|
|
498
|
-
}
|
|
499
|
-
},
|
|
500
|
-
"description": "Edit an existing profile configuration",
|
|
562
|
+
"args": {},
|
|
563
|
+
"description": "List all functions in a workspace from the Xano Metadata API",
|
|
501
564
|
"examples": [
|
|
502
|
-
"$ xano
|
|
503
|
-
"$ xano
|
|
504
|
-
"$ xano
|
|
505
|
-
"$ xano
|
|
565
|
+
"$ xano function:list -w 40\nAvailable functions:\n - function-1 (ID: 1)\n - function-2 (ID: 2)\n - function-3 (ID: 3)\n",
|
|
566
|
+
"$ xano function:list --profile production\nAvailable functions:\n - my-function (ID: 1)\n - another-function (ID: 2)\n",
|
|
567
|
+
"$ xano function:list -w 40 --output json\n[\n {\n \"id\": 1,\n \"name\": \"function-1\"\n }\n]\n",
|
|
568
|
+
"$ xano function:list -p staging -o json --include_draft\n[\n {\n \"id\": 1,\n \"name\": \"function-1\"\n }\n]\n"
|
|
506
569
|
],
|
|
507
570
|
"flags": {
|
|
508
|
-
"
|
|
509
|
-
"char": "
|
|
510
|
-
"description": "
|
|
511
|
-
"
|
|
571
|
+
"profile": {
|
|
572
|
+
"char": "p",
|
|
573
|
+
"description": "Profile to use for this command",
|
|
574
|
+
"env": "XANO_PROFILE",
|
|
575
|
+
"name": "profile",
|
|
512
576
|
"required": false,
|
|
513
577
|
"hasDynamicHelp": false,
|
|
514
578
|
"multiple": false,
|
|
515
579
|
"type": "option"
|
|
516
580
|
},
|
|
517
|
-
"
|
|
518
|
-
"char": "
|
|
519
|
-
"description": "
|
|
520
|
-
"name": "
|
|
581
|
+
"workspace": {
|
|
582
|
+
"char": "w",
|
|
583
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
584
|
+
"name": "workspace",
|
|
521
585
|
"required": false,
|
|
522
586
|
"hasDynamicHelp": false,
|
|
523
587
|
"multiple": false,
|
|
524
588
|
"type": "option"
|
|
525
589
|
},
|
|
526
|
-
"
|
|
527
|
-
"char": "
|
|
528
|
-
"description": "
|
|
529
|
-
"name": "
|
|
590
|
+
"output": {
|
|
591
|
+
"char": "o",
|
|
592
|
+
"description": "Output format",
|
|
593
|
+
"name": "output",
|
|
530
594
|
"required": false,
|
|
595
|
+
"default": "summary",
|
|
531
596
|
"hasDynamicHelp": false,
|
|
532
597
|
"multiple": false,
|
|
598
|
+
"options": [
|
|
599
|
+
"summary",
|
|
600
|
+
"json"
|
|
601
|
+
],
|
|
533
602
|
"type": "option"
|
|
534
603
|
},
|
|
535
|
-
"
|
|
536
|
-
"
|
|
537
|
-
"
|
|
538
|
-
"name": "workspace",
|
|
604
|
+
"include_draft": {
|
|
605
|
+
"description": "Include draft functions",
|
|
606
|
+
"name": "include_draft",
|
|
539
607
|
"required": false,
|
|
608
|
+
"allowNo": false,
|
|
609
|
+
"type": "boolean"
|
|
610
|
+
},
|
|
611
|
+
"include_xanoscript": {
|
|
612
|
+
"description": "Include XanoScript in response",
|
|
613
|
+
"name": "include_xanoscript",
|
|
614
|
+
"required": false,
|
|
615
|
+
"allowNo": false,
|
|
616
|
+
"type": "boolean"
|
|
617
|
+
},
|
|
618
|
+
"page": {
|
|
619
|
+
"description": "Page number for pagination",
|
|
620
|
+
"name": "page",
|
|
621
|
+
"required": false,
|
|
622
|
+
"default": 1,
|
|
540
623
|
"hasDynamicHelp": false,
|
|
541
624
|
"multiple": false,
|
|
542
625
|
"type": "option"
|
|
543
626
|
},
|
|
544
|
-
"
|
|
545
|
-
"
|
|
546
|
-
"
|
|
547
|
-
"name": "branch",
|
|
627
|
+
"per_page": {
|
|
628
|
+
"description": "Number of results per page",
|
|
629
|
+
"name": "per_page",
|
|
548
630
|
"required": false,
|
|
631
|
+
"default": 50,
|
|
549
632
|
"hasDynamicHelp": false,
|
|
550
633
|
"multiple": false,
|
|
551
634
|
"type": "option"
|
|
552
635
|
},
|
|
553
|
-
"
|
|
554
|
-
"description": "
|
|
555
|
-
"name": "
|
|
636
|
+
"sort": {
|
|
637
|
+
"description": "Sort field",
|
|
638
|
+
"name": "sort",
|
|
556
639
|
"required": false,
|
|
557
|
-
"
|
|
558
|
-
"
|
|
640
|
+
"default": "created_at",
|
|
641
|
+
"hasDynamicHelp": false,
|
|
642
|
+
"multiple": false,
|
|
643
|
+
"type": "option"
|
|
559
644
|
},
|
|
560
|
-
"
|
|
561
|
-
"description": "
|
|
562
|
-
"name": "
|
|
645
|
+
"order": {
|
|
646
|
+
"description": "Sort order",
|
|
647
|
+
"name": "order",
|
|
563
648
|
"required": false,
|
|
564
|
-
"
|
|
565
|
-
"
|
|
649
|
+
"default": "desc",
|
|
650
|
+
"hasDynamicHelp": false,
|
|
651
|
+
"multiple": false,
|
|
652
|
+
"options": [
|
|
653
|
+
"asc",
|
|
654
|
+
"desc"
|
|
655
|
+
],
|
|
656
|
+
"type": "option"
|
|
566
657
|
}
|
|
567
658
|
},
|
|
568
659
|
"hasDynamicHelp": false,
|
|
569
660
|
"hiddenAliases": [],
|
|
570
|
-
"id": "
|
|
661
|
+
"id": "function:list",
|
|
571
662
|
"pluginAlias": "@xano/cli",
|
|
572
663
|
"pluginName": "@xano/cli",
|
|
573
664
|
"pluginType": "core",
|
|
@@ -577,257 +668,69 @@
|
|
|
577
668
|
"relativePath": [
|
|
578
669
|
"dist",
|
|
579
670
|
"commands",
|
|
580
|
-
"
|
|
581
|
-
"
|
|
671
|
+
"function",
|
|
672
|
+
"list",
|
|
582
673
|
"index.js"
|
|
583
674
|
]
|
|
584
675
|
},
|
|
585
|
-
"
|
|
676
|
+
"static_host:list": {
|
|
586
677
|
"aliases": [],
|
|
587
|
-
"args": {
|
|
588
|
-
|
|
589
|
-
"description": "Profile name",
|
|
590
|
-
"name": "name",
|
|
591
|
-
"required": true
|
|
592
|
-
}
|
|
593
|
-
},
|
|
594
|
-
"description": "Create a new profile configuration",
|
|
678
|
+
"args": {},
|
|
679
|
+
"description": "List all static hosts in a workspace from the Xano Metadata API",
|
|
595
680
|
"examples": [
|
|
596
|
-
"$ xano
|
|
597
|
-
"$ xano
|
|
598
|
-
"$ xano
|
|
599
|
-
"$ xano
|
|
681
|
+
"$ xano static_host:list -w 40\nAvailable static hosts:\n - my-static-host (ID: 1)\n - another-host (ID: 2)\n",
|
|
682
|
+
"$ xano static_host:list --profile production\nAvailable static hosts:\n - my-static-host (ID: 1)\n - another-host (ID: 2)\n",
|
|
683
|
+
"$ 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",
|
|
684
|
+
"$ xano static_host:list -p staging -o json --page 2\n[\n {\n \"id\": 3,\n \"name\": \"static-host-3\"\n }\n]\n"
|
|
600
685
|
],
|
|
601
686
|
"flags": {
|
|
602
|
-
"
|
|
603
|
-
"char": "
|
|
604
|
-
"description": "
|
|
605
|
-
"
|
|
687
|
+
"profile": {
|
|
688
|
+
"char": "p",
|
|
689
|
+
"description": "Profile to use for this command",
|
|
690
|
+
"env": "XANO_PROFILE",
|
|
691
|
+
"name": "profile",
|
|
606
692
|
"required": false,
|
|
607
693
|
"hasDynamicHelp": false,
|
|
608
694
|
"multiple": false,
|
|
609
695
|
"type": "option"
|
|
610
696
|
},
|
|
611
|
-
"instance_origin": {
|
|
612
|
-
"char": "i",
|
|
613
|
-
"description": "Instance origin URL",
|
|
614
|
-
"name": "instance_origin",
|
|
615
|
-
"required": true,
|
|
616
|
-
"hasDynamicHelp": false,
|
|
617
|
-
"multiple": false,
|
|
618
|
-
"type": "option"
|
|
619
|
-
},
|
|
620
|
-
"access_token": {
|
|
621
|
-
"char": "t",
|
|
622
|
-
"description": "Access token for the Xano Metadata API",
|
|
623
|
-
"name": "access_token",
|
|
624
|
-
"required": true,
|
|
625
|
-
"hasDynamicHelp": false,
|
|
626
|
-
"multiple": false,
|
|
627
|
-
"type": "option"
|
|
628
|
-
},
|
|
629
697
|
"workspace": {
|
|
630
698
|
"char": "w",
|
|
631
|
-
"description": "Workspace
|
|
699
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
632
700
|
"name": "workspace",
|
|
633
701
|
"required": false,
|
|
634
702
|
"hasDynamicHelp": false,
|
|
635
703
|
"multiple": false,
|
|
636
704
|
"type": "option"
|
|
637
705
|
},
|
|
638
|
-
"
|
|
639
|
-
"char": "
|
|
640
|
-
"description": "
|
|
641
|
-
"name": "
|
|
706
|
+
"output": {
|
|
707
|
+
"char": "o",
|
|
708
|
+
"description": "Output format",
|
|
709
|
+
"name": "output",
|
|
642
710
|
"required": false,
|
|
711
|
+
"default": "summary",
|
|
643
712
|
"hasDynamicHelp": false,
|
|
644
713
|
"multiple": false,
|
|
714
|
+
"options": [
|
|
715
|
+
"summary",
|
|
716
|
+
"json"
|
|
717
|
+
],
|
|
645
718
|
"type": "option"
|
|
646
719
|
},
|
|
647
|
-
"
|
|
648
|
-
"description": "
|
|
649
|
-
"name": "
|
|
650
|
-
"required": false,
|
|
651
|
-
"allowNo": false,
|
|
652
|
-
"type": "boolean"
|
|
653
|
-
}
|
|
654
|
-
},
|
|
655
|
-
"hasDynamicHelp": false,
|
|
656
|
-
"hiddenAliases": [],
|
|
657
|
-
"id": "profile:create",
|
|
658
|
-
"pluginAlias": "@xano/cli",
|
|
659
|
-
"pluginName": "@xano/cli",
|
|
660
|
-
"pluginType": "core",
|
|
661
|
-
"strict": true,
|
|
662
|
-
"enableJsonFlag": false,
|
|
663
|
-
"isESM": true,
|
|
664
|
-
"relativePath": [
|
|
665
|
-
"dist",
|
|
666
|
-
"commands",
|
|
667
|
-
"profile",
|
|
668
|
-
"create",
|
|
669
|
-
"index.js"
|
|
670
|
-
]
|
|
671
|
-
},
|
|
672
|
-
"profile:delete": {
|
|
673
|
-
"aliases": [],
|
|
674
|
-
"args": {
|
|
675
|
-
"name": {
|
|
676
|
-
"description": "Profile name to delete",
|
|
677
|
-
"name": "name",
|
|
678
|
-
"required": true
|
|
679
|
-
}
|
|
680
|
-
},
|
|
681
|
-
"description": "Delete a profile configuration",
|
|
682
|
-
"examples": [
|
|
683
|
-
"$ 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",
|
|
684
|
-
"$ xano profile:delete old-profile --force\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n",
|
|
685
|
-
"$ xano profile:delete old-profile -f\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n"
|
|
686
|
-
],
|
|
687
|
-
"flags": {
|
|
688
|
-
"force": {
|
|
689
|
-
"char": "f",
|
|
690
|
-
"description": "Skip confirmation prompt",
|
|
691
|
-
"name": "force",
|
|
692
|
-
"required": false,
|
|
693
|
-
"allowNo": false,
|
|
694
|
-
"type": "boolean"
|
|
695
|
-
}
|
|
696
|
-
},
|
|
697
|
-
"hasDynamicHelp": false,
|
|
698
|
-
"hiddenAliases": [],
|
|
699
|
-
"id": "profile:delete",
|
|
700
|
-
"pluginAlias": "@xano/cli",
|
|
701
|
-
"pluginName": "@xano/cli",
|
|
702
|
-
"pluginType": "core",
|
|
703
|
-
"strict": true,
|
|
704
|
-
"enableJsonFlag": false,
|
|
705
|
-
"isESM": true,
|
|
706
|
-
"relativePath": [
|
|
707
|
-
"dist",
|
|
708
|
-
"commands",
|
|
709
|
-
"profile",
|
|
710
|
-
"delete",
|
|
711
|
-
"index.js"
|
|
712
|
-
]
|
|
713
|
-
},
|
|
714
|
-
"profile:get-default": {
|
|
715
|
-
"aliases": [],
|
|
716
|
-
"args": {},
|
|
717
|
-
"description": "Get the current default profile name",
|
|
718
|
-
"examples": [
|
|
719
|
-
"$ xano profile:get-default\nproduction\n",
|
|
720
|
-
"$ xano profile:get-default\nNo default profile set\n"
|
|
721
|
-
],
|
|
722
|
-
"flags": {},
|
|
723
|
-
"hasDynamicHelp": false,
|
|
724
|
-
"hiddenAliases": [],
|
|
725
|
-
"id": "profile:get-default",
|
|
726
|
-
"pluginAlias": "@xano/cli",
|
|
727
|
-
"pluginName": "@xano/cli",
|
|
728
|
-
"pluginType": "core",
|
|
729
|
-
"strict": true,
|
|
730
|
-
"enableJsonFlag": false,
|
|
731
|
-
"isESM": true,
|
|
732
|
-
"relativePath": [
|
|
733
|
-
"dist",
|
|
734
|
-
"commands",
|
|
735
|
-
"profile",
|
|
736
|
-
"get-default",
|
|
737
|
-
"index.js"
|
|
738
|
-
]
|
|
739
|
-
},
|
|
740
|
-
"profile:list": {
|
|
741
|
-
"aliases": [],
|
|
742
|
-
"args": {},
|
|
743
|
-
"description": "List all available profile configurations",
|
|
744
|
-
"examples": [
|
|
745
|
-
"$ xano profile:list\nAvailable profiles:\n - default\n - production\n - staging\n - development\n",
|
|
746
|
-
"$ 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",
|
|
747
|
-
"$ 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"
|
|
748
|
-
],
|
|
749
|
-
"flags": {
|
|
750
|
-
"details": {
|
|
751
|
-
"char": "d",
|
|
752
|
-
"description": "Show detailed information for each profile",
|
|
753
|
-
"name": "details",
|
|
754
|
-
"required": false,
|
|
755
|
-
"allowNo": false,
|
|
756
|
-
"type": "boolean"
|
|
757
|
-
}
|
|
758
|
-
},
|
|
759
|
-
"hasDynamicHelp": false,
|
|
760
|
-
"hiddenAliases": [],
|
|
761
|
-
"id": "profile:list",
|
|
762
|
-
"pluginAlias": "@xano/cli",
|
|
763
|
-
"pluginName": "@xano/cli",
|
|
764
|
-
"pluginType": "core",
|
|
765
|
-
"strict": true,
|
|
766
|
-
"enableJsonFlag": false,
|
|
767
|
-
"isESM": true,
|
|
768
|
-
"relativePath": [
|
|
769
|
-
"dist",
|
|
770
|
-
"commands",
|
|
771
|
-
"profile",
|
|
772
|
-
"list",
|
|
773
|
-
"index.js"
|
|
774
|
-
]
|
|
775
|
-
},
|
|
776
|
-
"profile:set-default": {
|
|
777
|
-
"aliases": [],
|
|
778
|
-
"args": {
|
|
779
|
-
"name": {
|
|
780
|
-
"description": "Profile name to set as default",
|
|
781
|
-
"name": "name",
|
|
782
|
-
"required": true
|
|
783
|
-
}
|
|
784
|
-
},
|
|
785
|
-
"description": "Set the default profile",
|
|
786
|
-
"examples": [
|
|
787
|
-
"$ xano profile:set-default production\nDefault profile set to 'production'\n",
|
|
788
|
-
"$ xano profile:set-default staging\nDefault profile set to 'staging'\n"
|
|
789
|
-
],
|
|
790
|
-
"flags": {},
|
|
791
|
-
"hasDynamicHelp": false,
|
|
792
|
-
"hiddenAliases": [],
|
|
793
|
-
"id": "profile:set-default",
|
|
794
|
-
"pluginAlias": "@xano/cli",
|
|
795
|
-
"pluginName": "@xano/cli",
|
|
796
|
-
"pluginType": "core",
|
|
797
|
-
"strict": true,
|
|
798
|
-
"enableJsonFlag": false,
|
|
799
|
-
"isESM": true,
|
|
800
|
-
"relativePath": [
|
|
801
|
-
"dist",
|
|
802
|
-
"commands",
|
|
803
|
-
"profile",
|
|
804
|
-
"set-default",
|
|
805
|
-
"index.js"
|
|
806
|
-
]
|
|
807
|
-
},
|
|
808
|
-
"profile:wizard": {
|
|
809
|
-
"aliases": [],
|
|
810
|
-
"args": {},
|
|
811
|
-
"description": "Create a new profile configuration using an interactive wizard",
|
|
812
|
-
"examples": [
|
|
813
|
-
"$ 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"
|
|
814
|
-
],
|
|
815
|
-
"flags": {
|
|
816
|
-
"name": {
|
|
817
|
-
"char": "n",
|
|
818
|
-
"description": "Profile name (skip prompt if provided)",
|
|
819
|
-
"name": "name",
|
|
720
|
+
"page": {
|
|
721
|
+
"description": "Page number for pagination",
|
|
722
|
+
"name": "page",
|
|
820
723
|
"required": false,
|
|
724
|
+
"default": 1,
|
|
821
725
|
"hasDynamicHelp": false,
|
|
822
726
|
"multiple": false,
|
|
823
727
|
"type": "option"
|
|
824
728
|
},
|
|
825
|
-
"
|
|
826
|
-
"
|
|
827
|
-
"
|
|
828
|
-
"name": "origin",
|
|
729
|
+
"per_page": {
|
|
730
|
+
"description": "Number of results per page",
|
|
731
|
+
"name": "per_page",
|
|
829
732
|
"required": false,
|
|
830
|
-
"default":
|
|
733
|
+
"default": 50,
|
|
831
734
|
"hasDynamicHelp": false,
|
|
832
735
|
"multiple": false,
|
|
833
736
|
"type": "option"
|
|
@@ -835,7 +738,7 @@
|
|
|
835
738
|
},
|
|
836
739
|
"hasDynamicHelp": false,
|
|
837
740
|
"hiddenAliases": [],
|
|
838
|
-
"id": "
|
|
741
|
+
"id": "static_host:list",
|
|
839
742
|
"pluginAlias": "@xano/cli",
|
|
840
743
|
"pluginName": "@xano/cli",
|
|
841
744
|
"pluginType": "core",
|
|
@@ -845,8 +748,8 @@
|
|
|
845
748
|
"relativePath": [
|
|
846
749
|
"dist",
|
|
847
750
|
"commands",
|
|
848
|
-
"
|
|
849
|
-
"
|
|
751
|
+
"static_host",
|
|
752
|
+
"list",
|
|
850
753
|
"index.js"
|
|
851
754
|
]
|
|
852
755
|
},
|
|
@@ -1109,26 +1012,16 @@
|
|
|
1109
1012
|
"index.js"
|
|
1110
1013
|
]
|
|
1111
1014
|
},
|
|
1112
|
-
"
|
|
1015
|
+
"function:create": {
|
|
1113
1016
|
"aliases": [],
|
|
1114
|
-
"args": {
|
|
1115
|
-
|
|
1116
|
-
"description": "Static Host name",
|
|
1117
|
-
"name": "static_host",
|
|
1118
|
-
"required": true
|
|
1119
|
-
},
|
|
1120
|
-
"build_id": {
|
|
1121
|
-
"description": "Build ID",
|
|
1122
|
-
"name": "build_id",
|
|
1123
|
-
"required": true
|
|
1124
|
-
}
|
|
1125
|
-
},
|
|
1126
|
-
"description": "Get details of a specific build for a static host",
|
|
1017
|
+
"args": {},
|
|
1018
|
+
"description": "Create a new function in a workspace",
|
|
1127
1019
|
"examples": [
|
|
1128
|
-
"$ xano
|
|
1129
|
-
"$ xano
|
|
1130
|
-
"$ xano
|
|
1131
|
-
"$ xano
|
|
1020
|
+
"$ xano function:create -w 40 -f function.xs\nFunction created successfully!\nID: 123\nName: my_function\n",
|
|
1021
|
+
"$ xano function:create -f function.xs\nFunction created successfully!\nID: 123\nName: my_function\n",
|
|
1022
|
+
"$ 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",
|
|
1023
|
+
"$ cat function.xs | xano function:create -w 40 --stdin\nFunction created successfully!\nID: 123\nName: my_function\n",
|
|
1024
|
+
"$ xano function:create -w 40 -f function.xs -o json\n{\n \"id\": 123,\n \"name\": \"my_function\",\n ...\n}\n"
|
|
1132
1025
|
],
|
|
1133
1026
|
"flags": {
|
|
1134
1027
|
"profile": {
|
|
@@ -1150,6 +1043,40 @@
|
|
|
1150
1043
|
"multiple": false,
|
|
1151
1044
|
"type": "option"
|
|
1152
1045
|
},
|
|
1046
|
+
"file": {
|
|
1047
|
+
"char": "f",
|
|
1048
|
+
"description": "Path to file containing XanoScript code",
|
|
1049
|
+
"exclusive": [
|
|
1050
|
+
"stdin"
|
|
1051
|
+
],
|
|
1052
|
+
"name": "file",
|
|
1053
|
+
"required": false,
|
|
1054
|
+
"hasDynamicHelp": false,
|
|
1055
|
+
"multiple": false,
|
|
1056
|
+
"type": "option"
|
|
1057
|
+
},
|
|
1058
|
+
"stdin": {
|
|
1059
|
+
"char": "s",
|
|
1060
|
+
"description": "Read XanoScript code from stdin",
|
|
1061
|
+
"exclusive": [
|
|
1062
|
+
"file"
|
|
1063
|
+
],
|
|
1064
|
+
"name": "stdin",
|
|
1065
|
+
"required": false,
|
|
1066
|
+
"allowNo": false,
|
|
1067
|
+
"type": "boolean"
|
|
1068
|
+
},
|
|
1069
|
+
"edit": {
|
|
1070
|
+
"char": "e",
|
|
1071
|
+
"dependsOn": [
|
|
1072
|
+
"file"
|
|
1073
|
+
],
|
|
1074
|
+
"description": "Open file in editor before creating function (requires --file)",
|
|
1075
|
+
"name": "edit",
|
|
1076
|
+
"required": false,
|
|
1077
|
+
"allowNo": false,
|
|
1078
|
+
"type": "boolean"
|
|
1079
|
+
},
|
|
1153
1080
|
"output": {
|
|
1154
1081
|
"char": "o",
|
|
1155
1082
|
"description": "Output format",
|
|
@@ -1167,7 +1094,7 @@
|
|
|
1167
1094
|
},
|
|
1168
1095
|
"hasDynamicHelp": false,
|
|
1169
1096
|
"hiddenAliases": [],
|
|
1170
|
-
"id": "
|
|
1097
|
+
"id": "function:create",
|
|
1171
1098
|
"pluginAlias": "@xano/cli",
|
|
1172
1099
|
"pluginName": "@xano/cli",
|
|
1173
1100
|
"pluginType": "core",
|
|
@@ -1177,13 +1104,12 @@
|
|
|
1177
1104
|
"relativePath": [
|
|
1178
1105
|
"dist",
|
|
1179
1106
|
"commands",
|
|
1180
|
-
"
|
|
1181
|
-
"
|
|
1182
|
-
"get",
|
|
1107
|
+
"function",
|
|
1108
|
+
"create",
|
|
1183
1109
|
"index.js"
|
|
1184
1110
|
]
|
|
1185
1111
|
},
|
|
1186
|
-
"static_host:build:
|
|
1112
|
+
"static_host:build:create": {
|
|
1187
1113
|
"aliases": [],
|
|
1188
1114
|
"args": {
|
|
1189
1115
|
"static_host": {
|
|
@@ -1192,12 +1118,11 @@
|
|
|
1192
1118
|
"required": true
|
|
1193
1119
|
}
|
|
1194
1120
|
},
|
|
1195
|
-
"description": "
|
|
1121
|
+
"description": "Create a new build for a static host",
|
|
1196
1122
|
"examples": [
|
|
1197
|
-
"$ xano static_host:build:
|
|
1198
|
-
"$ xano static_host:build:
|
|
1199
|
-
"$ xano static_host:build:
|
|
1200
|
-
"$ xano static_host:build:list default -p staging -o json --page 2\n[\n {\n \"id\": 3,\n \"name\": \"v1.0.2\"\n }\n]\n"
|
|
1123
|
+
"$ xano static_host:build:create default -f ./build.zip -n \"v1.0.0\"\nBuild created successfully!\nID: 123\nName: v1.0.0\nStatus: pending\n",
|
|
1124
|
+
"$ xano static_host:build:create default -w 40 -f ./dist.zip -n \"production\" -d \"Production build\"\nBuild created successfully!\nID: 124\nName: production\nDescription: Production build\n",
|
|
1125
|
+
"$ xano static_host:build:create myhost -f ./app.zip -n \"release-1.2\" -o json\n{\n \"id\": 125,\n \"name\": \"release-1.2\",\n \"status\": \"pending\"\n}\n"
|
|
1201
1126
|
],
|
|
1202
1127
|
"flags": {
|
|
1203
1128
|
"profile": {
|
|
@@ -1219,42 +1144,51 @@
|
|
|
1219
1144
|
"multiple": false,
|
|
1220
1145
|
"type": "option"
|
|
1221
1146
|
},
|
|
1222
|
-
"
|
|
1223
|
-
"char": "
|
|
1224
|
-
"description": "
|
|
1225
|
-
"name": "
|
|
1226
|
-
"required":
|
|
1227
|
-
"default": "summary",
|
|
1147
|
+
"file": {
|
|
1148
|
+
"char": "f",
|
|
1149
|
+
"description": "Path to zip file to upload",
|
|
1150
|
+
"name": "file",
|
|
1151
|
+
"required": true,
|
|
1228
1152
|
"hasDynamicHelp": false,
|
|
1229
1153
|
"multiple": false,
|
|
1230
|
-
"options": [
|
|
1231
|
-
"summary",
|
|
1232
|
-
"json"
|
|
1233
|
-
],
|
|
1234
1154
|
"type": "option"
|
|
1235
1155
|
},
|
|
1236
|
-
"
|
|
1237
|
-
"
|
|
1238
|
-
"
|
|
1156
|
+
"name": {
|
|
1157
|
+
"char": "n",
|
|
1158
|
+
"description": "Build name",
|
|
1159
|
+
"name": "name",
|
|
1160
|
+
"required": true,
|
|
1161
|
+
"hasDynamicHelp": false,
|
|
1162
|
+
"multiple": false,
|
|
1163
|
+
"type": "option"
|
|
1164
|
+
},
|
|
1165
|
+
"description": {
|
|
1166
|
+
"char": "d",
|
|
1167
|
+
"description": "Build description",
|
|
1168
|
+
"name": "description",
|
|
1239
1169
|
"required": false,
|
|
1240
|
-
"default": 1,
|
|
1241
1170
|
"hasDynamicHelp": false,
|
|
1242
1171
|
"multiple": false,
|
|
1243
1172
|
"type": "option"
|
|
1244
1173
|
},
|
|
1245
|
-
"
|
|
1246
|
-
"
|
|
1247
|
-
"
|
|
1174
|
+
"output": {
|
|
1175
|
+
"char": "o",
|
|
1176
|
+
"description": "Output format",
|
|
1177
|
+
"name": "output",
|
|
1248
1178
|
"required": false,
|
|
1249
|
-
"default":
|
|
1179
|
+
"default": "summary",
|
|
1250
1180
|
"hasDynamicHelp": false,
|
|
1251
1181
|
"multiple": false,
|
|
1182
|
+
"options": [
|
|
1183
|
+
"summary",
|
|
1184
|
+
"json"
|
|
1185
|
+
],
|
|
1252
1186
|
"type": "option"
|
|
1253
1187
|
}
|
|
1254
1188
|
},
|
|
1255
1189
|
"hasDynamicHelp": false,
|
|
1256
1190
|
"hiddenAliases": [],
|
|
1257
|
-
"id": "static_host:build:
|
|
1191
|
+
"id": "static_host:build:create",
|
|
1258
1192
|
"pluginAlias": "@xano/cli",
|
|
1259
1193
|
"pluginName": "@xano/cli",
|
|
1260
1194
|
"pluginType": "core",
|
|
@@ -1266,24 +1200,30 @@
|
|
|
1266
1200
|
"commands",
|
|
1267
1201
|
"static_host",
|
|
1268
1202
|
"build",
|
|
1269
|
-
"
|
|
1203
|
+
"create",
|
|
1270
1204
|
"index.js"
|
|
1271
1205
|
]
|
|
1272
1206
|
},
|
|
1273
|
-
"static_host:build:
|
|
1207
|
+
"static_host:build:get": {
|
|
1274
1208
|
"aliases": [],
|
|
1275
1209
|
"args": {
|
|
1276
1210
|
"static_host": {
|
|
1277
1211
|
"description": "Static Host name",
|
|
1278
1212
|
"name": "static_host",
|
|
1279
1213
|
"required": true
|
|
1214
|
+
},
|
|
1215
|
+
"build_id": {
|
|
1216
|
+
"description": "Build ID",
|
|
1217
|
+
"name": "build_id",
|
|
1218
|
+
"required": true
|
|
1280
1219
|
}
|
|
1281
1220
|
},
|
|
1282
|
-
"description": "
|
|
1221
|
+
"description": "Get details of a specific build for a static host",
|
|
1283
1222
|
"examples": [
|
|
1284
|
-
"$ xano static_host:build:
|
|
1285
|
-
"$ xano static_host:build:
|
|
1286
|
-
"$ xano static_host:build:
|
|
1223
|
+
"$ xano static_host:build:get default 52\nBuild Details:\nID: 52\nName: v1.0.0\nStatus: completed\n",
|
|
1224
|
+
"$ xano static_host:build:get default 52 -w 40\nBuild Details:\nID: 52\nName: v1.0.0\nStatus: completed\n",
|
|
1225
|
+
"$ xano static_host:build:get myhost 123 --profile production\nBuild Details:\nID: 123\nName: production-build\n",
|
|
1226
|
+
"$ xano static_host:build:get default 52 -o json\n{\n \"id\": 52,\n \"name\": \"v1.0.0\",\n \"status\": \"completed\"\n}\n"
|
|
1287
1227
|
],
|
|
1288
1228
|
"flags": {
|
|
1289
1229
|
"profile": {
|
|
@@ -1305,28 +1245,70 @@
|
|
|
1305
1245
|
"multiple": false,
|
|
1306
1246
|
"type": "option"
|
|
1307
1247
|
},
|
|
1308
|
-
"
|
|
1309
|
-
"char": "
|
|
1310
|
-
"description": "
|
|
1311
|
-
"name": "
|
|
1312
|
-
"required":
|
|
1248
|
+
"output": {
|
|
1249
|
+
"char": "o",
|
|
1250
|
+
"description": "Output format",
|
|
1251
|
+
"name": "output",
|
|
1252
|
+
"required": false,
|
|
1253
|
+
"default": "summary",
|
|
1313
1254
|
"hasDynamicHelp": false,
|
|
1314
1255
|
"multiple": false,
|
|
1256
|
+
"options": [
|
|
1257
|
+
"summary",
|
|
1258
|
+
"json"
|
|
1259
|
+
],
|
|
1315
1260
|
"type": "option"
|
|
1316
|
-
}
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1261
|
+
}
|
|
1262
|
+
},
|
|
1263
|
+
"hasDynamicHelp": false,
|
|
1264
|
+
"hiddenAliases": [],
|
|
1265
|
+
"id": "static_host:build:get",
|
|
1266
|
+
"pluginAlias": "@xano/cli",
|
|
1267
|
+
"pluginName": "@xano/cli",
|
|
1268
|
+
"pluginType": "core",
|
|
1269
|
+
"strict": true,
|
|
1270
|
+
"enableJsonFlag": false,
|
|
1271
|
+
"isESM": true,
|
|
1272
|
+
"relativePath": [
|
|
1273
|
+
"dist",
|
|
1274
|
+
"commands",
|
|
1275
|
+
"static_host",
|
|
1276
|
+
"build",
|
|
1277
|
+
"get",
|
|
1278
|
+
"index.js"
|
|
1279
|
+
]
|
|
1280
|
+
},
|
|
1281
|
+
"static_host:build:list": {
|
|
1282
|
+
"aliases": [],
|
|
1283
|
+
"args": {
|
|
1284
|
+
"static_host": {
|
|
1285
|
+
"description": "Static Host name",
|
|
1286
|
+
"name": "static_host",
|
|
1287
|
+
"required": true
|
|
1288
|
+
}
|
|
1289
|
+
},
|
|
1290
|
+
"description": "List all builds for a static host",
|
|
1291
|
+
"examples": [
|
|
1292
|
+
"$ xano static_host:build:list default -w 40\nAvailable builds:\n - v1.0.0 (ID: 1) - Status: completed\n - v1.0.1 (ID: 2) - Status: pending\n",
|
|
1293
|
+
"$ xano static_host:build:list myhost --profile production\nAvailable builds:\n - production (ID: 1) - Status: completed\n - staging (ID: 2) - Status: completed\n",
|
|
1294
|
+
"$ xano static_host:build:list default -w 40 --output json\n[\n {\n \"id\": 1,\n \"name\": \"v1.0.0\",\n \"status\": \"completed\"\n }\n]\n",
|
|
1295
|
+
"$ xano static_host:build:list default -p staging -o json --page 2\n[\n {\n \"id\": 3,\n \"name\": \"v1.0.2\"\n }\n]\n"
|
|
1296
|
+
],
|
|
1297
|
+
"flags": {
|
|
1298
|
+
"profile": {
|
|
1299
|
+
"char": "p",
|
|
1300
|
+
"description": "Profile to use for this command",
|
|
1301
|
+
"env": "XANO_PROFILE",
|
|
1302
|
+
"name": "profile",
|
|
1303
|
+
"required": false,
|
|
1322
1304
|
"hasDynamicHelp": false,
|
|
1323
1305
|
"multiple": false,
|
|
1324
1306
|
"type": "option"
|
|
1325
1307
|
},
|
|
1326
|
-
"
|
|
1327
|
-
"char": "
|
|
1328
|
-
"description": "
|
|
1329
|
-
"name": "
|
|
1308
|
+
"workspace": {
|
|
1309
|
+
"char": "w",
|
|
1310
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
1311
|
+
"name": "workspace",
|
|
1330
1312
|
"required": false,
|
|
1331
1313
|
"hasDynamicHelp": false,
|
|
1332
1314
|
"multiple": false,
|
|
@@ -1345,11 +1327,29 @@
|
|
|
1345
1327
|
"json"
|
|
1346
1328
|
],
|
|
1347
1329
|
"type": "option"
|
|
1330
|
+
},
|
|
1331
|
+
"page": {
|
|
1332
|
+
"description": "Page number for pagination",
|
|
1333
|
+
"name": "page",
|
|
1334
|
+
"required": false,
|
|
1335
|
+
"default": 1,
|
|
1336
|
+
"hasDynamicHelp": false,
|
|
1337
|
+
"multiple": false,
|
|
1338
|
+
"type": "option"
|
|
1339
|
+
},
|
|
1340
|
+
"per_page": {
|
|
1341
|
+
"description": "Number of results per page",
|
|
1342
|
+
"name": "per_page",
|
|
1343
|
+
"required": false,
|
|
1344
|
+
"default": 50,
|
|
1345
|
+
"hasDynamicHelp": false,
|
|
1346
|
+
"multiple": false,
|
|
1347
|
+
"type": "option"
|
|
1348
1348
|
}
|
|
1349
1349
|
},
|
|
1350
1350
|
"hasDynamicHelp": false,
|
|
1351
1351
|
"hiddenAliases": [],
|
|
1352
|
-
"id": "static_host:build:
|
|
1352
|
+
"id": "static_host:build:list",
|
|
1353
1353
|
"pluginAlias": "@xano/cli",
|
|
1354
1354
|
"pluginName": "@xano/cli",
|
|
1355
1355
|
"pluginType": "core",
|
|
@@ -1361,10 +1361,10 @@
|
|
|
1361
1361
|
"commands",
|
|
1362
1362
|
"static_host",
|
|
1363
1363
|
"build",
|
|
1364
|
-
"
|
|
1364
|
+
"list",
|
|
1365
1365
|
"index.js"
|
|
1366
1366
|
]
|
|
1367
1367
|
}
|
|
1368
1368
|
},
|
|
1369
|
-
"version": "0.0.
|
|
1369
|
+
"version": "0.0.7"
|
|
1370
1370
|
}
|