@xano/cli 0.0.20 → 0.0.22
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 +1 -1
- package/dist/base-command.js +6 -6
- package/dist/commands/branch/create/index.d.ts +17 -0
- package/dist/commands/branch/create/index.js +164 -0
- package/dist/commands/branch/delete/index.d.ts +18 -0
- package/dist/commands/branch/delete/index.js +156 -0
- package/dist/commands/branch/edit/index.d.ts +19 -0
- package/dist/commands/branch/edit/index.js +166 -0
- package/dist/commands/branch/get/index.d.ts +16 -0
- package/dist/commands/branch/get/index.js +135 -0
- package/dist/commands/branch/list/index.d.ts +18 -0
- package/dist/commands/branch/list/index.js +138 -0
- package/dist/commands/branch/set-live/index.d.ts +18 -0
- package/dist/commands/branch/set-live/index.js +155 -0
- package/dist/commands/function/create/index.d.ts +6 -6
- package/dist/commands/function/create/index.js +55 -55
- package/dist/commands/function/edit/index.d.ts +10 -10
- package/dist/commands/function/edit/index.js +155 -162
- package/dist/commands/function/get/index.d.ts +5 -5
- package/dist/commands/function/get/index.js +55 -60
- package/dist/commands/function/list/index.d.ts +5 -5
- package/dist/commands/function/list/index.js +52 -52
- package/dist/commands/profile/create/index.d.ts +6 -6
- package/dist/commands/profile/create/index.js +37 -37
- package/dist/commands/profile/delete/index.d.ts +2 -2
- package/dist/commands/profile/delete/index.js +9 -9
- package/dist/commands/profile/edit/index.d.ts +7 -7
- package/dist/commands/profile/edit/index.js +47 -47
- package/dist/commands/profile/get-default/index.js +1 -1
- package/dist/commands/profile/list/index.d.ts +2 -2
- package/dist/commands/profile/list/index.js +9 -9
- package/dist/commands/profile/me/index.d.ts +3 -3
- package/dist/commands/profile/me/index.js +21 -21
- package/dist/commands/profile/project/index.js +1 -1
- package/dist/commands/profile/set-default/index.js +1 -1
- package/dist/commands/profile/token/index.js +1 -1
- package/dist/commands/profile/wizard/index.d.ts +4 -4
- package/dist/commands/profile/wizard/index.js +118 -122
- package/dist/commands/run/env/delete/index.d.ts +2 -2
- package/dist/commands/run/env/delete/index.js +9 -9
- package/dist/commands/run/env/get/index.d.ts +2 -2
- package/dist/commands/run/env/get/index.js +10 -10
- package/dist/commands/run/env/list/index.d.ts +2 -2
- package/dist/commands/run/env/list/index.js +16 -18
- package/dist/commands/run/env/set/index.d.ts +2 -2
- package/dist/commands/run/env/set/index.js +4 -4
- package/dist/commands/run/exec/index.d.ts +11 -11
- package/dist/commands/run/exec/index.js +109 -109
- package/dist/commands/run/info/index.d.ts +4 -4
- package/dist/commands/run/info/index.js +26 -26
- package/dist/commands/run/projects/create/index.d.ts +3 -3
- package/dist/commands/run/projects/create/index.js +22 -22
- package/dist/commands/run/projects/delete/index.d.ts +2 -2
- package/dist/commands/run/projects/delete/index.js +9 -9
- package/dist/commands/run/projects/list/index.d.ts +2 -2
- package/dist/commands/run/projects/list/index.js +11 -11
- package/dist/commands/run/projects/update/index.d.ts +3 -3
- package/dist/commands/run/projects/update/index.js +20 -20
- package/dist/commands/run/secrets/delete/index.d.ts +2 -2
- package/dist/commands/run/secrets/delete/index.js +9 -9
- package/dist/commands/run/secrets/get/index.d.ts +2 -2
- package/dist/commands/run/secrets/get/index.js +10 -10
- package/dist/commands/run/secrets/list/index.d.ts +2 -2
- package/dist/commands/run/secrets/list/index.js +21 -23
- package/dist/commands/run/secrets/set/index.d.ts +3 -3
- package/dist/commands/run/secrets/set/index.js +15 -15
- package/dist/commands/run/sessions/delete/index.d.ts +2 -2
- package/dist/commands/run/sessions/delete/index.js +9 -9
- package/dist/commands/run/sessions/get/index.d.ts +2 -2
- package/dist/commands/run/sessions/get/index.js +10 -10
- package/dist/commands/run/sessions/list/index.d.ts +2 -2
- package/dist/commands/run/sessions/list/index.js +10 -10
- package/dist/commands/run/sessions/start/index.d.ts +2 -2
- package/dist/commands/run/sessions/start/index.js +10 -10
- package/dist/commands/run/sessions/stop/index.d.ts +2 -2
- package/dist/commands/run/sessions/stop/index.js +10 -10
- package/dist/commands/run/sink/get/index.d.ts +2 -2
- package/dist/commands/run/sink/get/index.js +10 -10
- package/dist/commands/static_host/build/create/index.d.ts +4 -4
- package/dist/commands/static_host/build/create/index.js +33 -33
- package/dist/commands/static_host/build/get/index.d.ts +4 -4
- package/dist/commands/static_host/build/get/index.js +20 -20
- package/dist/commands/static_host/build/list/index.d.ts +3 -3
- package/dist/commands/static_host/build/list/index.js +31 -31
- package/dist/commands/static_host/list/index.d.ts +3 -3
- package/dist/commands/static_host/list/index.js +31 -31
- package/dist/commands/workspace/create/index.d.ts +14 -0
- package/dist/commands/workspace/create/index.js +131 -0
- package/dist/commands/workspace/delete/index.d.ts +20 -0
- package/dist/commands/workspace/delete/index.js +141 -0
- package/dist/commands/workspace/edit/index.d.ts +22 -0
- package/dist/commands/workspace/edit/index.js +176 -0
- package/dist/commands/workspace/get/index.d.ts +18 -0
- package/dist/commands/workspace/get/index.js +136 -0
- package/dist/commands/workspace/list/index.d.ts +2 -2
- package/dist/commands/workspace/list/index.js +15 -15
- package/dist/commands/workspace/pull/index.d.ts +4 -4
- package/dist/commands/workspace/pull/index.js +46 -51
- package/dist/commands/workspace/push/index.js +3 -3
- package/dist/help.d.ts +1 -1
- package/dist/lib/base-run-command.d.ts +4 -4
- package/dist/lib/base-run-command.js +3 -3
- package/dist/lib/run-http-client.d.ts +21 -21
- package/dist/lib/run-http-client.js +72 -72
- package/dist/lib/run-types.d.ts +80 -80
- package/oclif.manifest.json +1633 -791
- package/package.json +1 -1
package/oclif.manifest.json
CHANGED
|
@@ -1,15 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"commands": {
|
|
3
|
-
"
|
|
3
|
+
"branch:create": {
|
|
4
4
|
"aliases": [],
|
|
5
5
|
"args": {},
|
|
6
|
-
"description": "Create a new
|
|
6
|
+
"description": "Create a new branch by cloning from an existing branch",
|
|
7
7
|
"examples": [
|
|
8
|
-
"$ xano
|
|
9
|
-
"$ xano
|
|
10
|
-
"$ xano
|
|
11
|
-
"$ cat function.xs | xano function:create -w 40 --stdin\nFunction created successfully!\nID: 123\nName: my_function\n",
|
|
12
|
-
"$ xano function:create -w 40 -f function.xs -o json\n{\n \"id\": 123,\n \"name\": \"my_function\",\n ...\n}\n"
|
|
8
|
+
"$ xano branch create --label dev\nCreated branch: dev\n Cloned from: v1\n",
|
|
9
|
+
"$ xano branch create -l feature-auth -s dev -d \"Authentication feature\"\nCreated branch: feature-auth\n Cloned from: dev\n Description: Authentication feature\n",
|
|
10
|
+
"$ xano branch create --label staging --color \"#ebc346\" --output json\n{\n \"created_at\": \"2024-02-11T10:00:00Z\",\n \"label\": \"staging\",\n \"backup\": false,\n \"live\": false\n}\n"
|
|
13
11
|
],
|
|
14
12
|
"flags": {
|
|
15
13
|
"profile": {
|
|
@@ -31,48 +29,32 @@
|
|
|
31
29
|
"allowNo": false,
|
|
32
30
|
"type": "boolean"
|
|
33
31
|
},
|
|
34
|
-
"
|
|
35
|
-
"char": "
|
|
36
|
-
"description": "
|
|
37
|
-
"name": "
|
|
32
|
+
"color": {
|
|
33
|
+
"char": "c",
|
|
34
|
+
"description": "Color hex code for the branch (e.g., \"#ebc346\")",
|
|
35
|
+
"name": "color",
|
|
38
36
|
"required": false,
|
|
39
37
|
"hasDynamicHelp": false,
|
|
40
38
|
"multiple": false,
|
|
41
39
|
"type": "option"
|
|
42
40
|
},
|
|
43
|
-
"
|
|
44
|
-
"char": "
|
|
45
|
-
"description": "
|
|
46
|
-
"
|
|
47
|
-
"stdin"
|
|
48
|
-
],
|
|
49
|
-
"name": "file",
|
|
41
|
+
"description": {
|
|
42
|
+
"char": "d",
|
|
43
|
+
"description": "Description for the new branch",
|
|
44
|
+
"name": "description",
|
|
50
45
|
"required": false,
|
|
51
46
|
"hasDynamicHelp": false,
|
|
52
47
|
"multiple": false,
|
|
53
48
|
"type": "option"
|
|
54
49
|
},
|
|
55
|
-
"
|
|
56
|
-
"char": "
|
|
57
|
-
"description": "
|
|
58
|
-
"
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
"
|
|
62
|
-
"
|
|
63
|
-
"allowNo": false,
|
|
64
|
-
"type": "boolean"
|
|
65
|
-
},
|
|
66
|
-
"edit": {
|
|
67
|
-
"char": "e",
|
|
68
|
-
"dependsOn": [
|
|
69
|
-
"file"
|
|
70
|
-
],
|
|
71
|
-
"description": "Open file in editor before creating function (requires --file)",
|
|
72
|
-
"name": "edit",
|
|
73
|
-
"required": false,
|
|
74
|
-
"allowNo": false,
|
|
75
|
-
"type": "boolean"
|
|
50
|
+
"label": {
|
|
51
|
+
"char": "l",
|
|
52
|
+
"description": "Label for the new branch",
|
|
53
|
+
"name": "label",
|
|
54
|
+
"required": true,
|
|
55
|
+
"hasDynamicHelp": false,
|
|
56
|
+
"multiple": false,
|
|
57
|
+
"type": "option"
|
|
76
58
|
},
|
|
77
59
|
"output": {
|
|
78
60
|
"char": "o",
|
|
@@ -87,11 +69,30 @@
|
|
|
87
69
|
"json"
|
|
88
70
|
],
|
|
89
71
|
"type": "option"
|
|
72
|
+
},
|
|
73
|
+
"source": {
|
|
74
|
+
"char": "s",
|
|
75
|
+
"description": "Source branch to clone from (defaults to \"v1\")",
|
|
76
|
+
"name": "source",
|
|
77
|
+
"required": false,
|
|
78
|
+
"default": "v1",
|
|
79
|
+
"hasDynamicHelp": false,
|
|
80
|
+
"multiple": false,
|
|
81
|
+
"type": "option"
|
|
82
|
+
},
|
|
83
|
+
"workspace": {
|
|
84
|
+
"char": "w",
|
|
85
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
86
|
+
"name": "workspace",
|
|
87
|
+
"required": false,
|
|
88
|
+
"hasDynamicHelp": false,
|
|
89
|
+
"multiple": false,
|
|
90
|
+
"type": "option"
|
|
90
91
|
}
|
|
91
92
|
},
|
|
92
93
|
"hasDynamicHelp": false,
|
|
93
94
|
"hiddenAliases": [],
|
|
94
|
-
"id": "
|
|
95
|
+
"id": "branch:create",
|
|
95
96
|
"pluginAlias": "@xano/cli",
|
|
96
97
|
"pluginName": "@xano/cli",
|
|
97
98
|
"pluginType": "core",
|
|
@@ -101,30 +102,25 @@
|
|
|
101
102
|
"relativePath": [
|
|
102
103
|
"dist",
|
|
103
104
|
"commands",
|
|
104
|
-
"
|
|
105
|
+
"branch",
|
|
105
106
|
"create",
|
|
106
107
|
"index.js"
|
|
107
108
|
]
|
|
108
109
|
},
|
|
109
|
-
"
|
|
110
|
+
"branch:delete": {
|
|
110
111
|
"aliases": [],
|
|
111
112
|
"args": {
|
|
112
|
-
"
|
|
113
|
-
"description": "
|
|
114
|
-
"name": "
|
|
115
|
-
"required":
|
|
113
|
+
"branch_label": {
|
|
114
|
+
"description": "Branch label to delete (cannot delete \"v1\" or the live branch)",
|
|
115
|
+
"name": "branch_label",
|
|
116
|
+
"required": true
|
|
116
117
|
}
|
|
117
118
|
},
|
|
118
|
-
"description": "
|
|
119
|
+
"description": "Delete a branch (cannot delete \"v1\" or the live branch)",
|
|
119
120
|
"examples": [
|
|
120
|
-
"$ xano
|
|
121
|
-
"$ xano
|
|
122
|
-
"$ xano
|
|
123
|
-
"$ xano function:edit 163 -w 40 -f function.xs\nFunction updated successfully!\nID: 163\nName: my_function\n",
|
|
124
|
-
"$ xano function:edit -f function.xs\nSelect a function to edit:\n ❯ my_function (ID: 163) - Sample function\n another-func (ID: 164)\n",
|
|
125
|
-
"$ 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",
|
|
126
|
-
"$ cat function.xs | xano function:edit 163 --stdin\nFunction updated successfully!\nID: 163\nName: my_function\n",
|
|
127
|
-
"$ xano function:edit 163 -f function.xs -o json\n{\n \"id\": 163,\n \"name\": \"my_function\",\n ...\n}\n"
|
|
121
|
+
"$ xano branch delete feature-old\nAre you sure you want to delete branch 'feature-old'? This action cannot be undone. (y/N) y\nDeleted branch: feature-old\n",
|
|
122
|
+
"$ xano branch delete dev --force\nDeleted branch: dev\n",
|
|
123
|
+
"$ xano branch delete staging -f -o json\n{\n \"deleted\": true,\n \"branch_label\": \"staging\"\n}\n"
|
|
128
124
|
],
|
|
129
125
|
"flags": {
|
|
130
126
|
"profile": {
|
|
@@ -146,52 +142,116 @@
|
|
|
146
142
|
"allowNo": false,
|
|
147
143
|
"type": "boolean"
|
|
148
144
|
},
|
|
145
|
+
"force": {
|
|
146
|
+
"char": "f",
|
|
147
|
+
"description": "Skip confirmation prompt",
|
|
148
|
+
"name": "force",
|
|
149
|
+
"required": false,
|
|
150
|
+
"allowNo": false,
|
|
151
|
+
"type": "boolean"
|
|
152
|
+
},
|
|
153
|
+
"output": {
|
|
154
|
+
"char": "o",
|
|
155
|
+
"description": "Output format",
|
|
156
|
+
"name": "output",
|
|
157
|
+
"required": false,
|
|
158
|
+
"default": "summary",
|
|
159
|
+
"hasDynamicHelp": false,
|
|
160
|
+
"multiple": false,
|
|
161
|
+
"options": [
|
|
162
|
+
"summary",
|
|
163
|
+
"json"
|
|
164
|
+
],
|
|
165
|
+
"type": "option"
|
|
166
|
+
},
|
|
149
167
|
"workspace": {
|
|
150
168
|
"char": "w",
|
|
151
|
-
"description": "Workspace ID (
|
|
169
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
152
170
|
"name": "workspace",
|
|
153
171
|
"required": false,
|
|
154
172
|
"hasDynamicHelp": false,
|
|
155
173
|
"multiple": false,
|
|
156
174
|
"type": "option"
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
175
|
+
}
|
|
176
|
+
},
|
|
177
|
+
"hasDynamicHelp": false,
|
|
178
|
+
"hiddenAliases": [],
|
|
179
|
+
"id": "branch:delete",
|
|
180
|
+
"pluginAlias": "@xano/cli",
|
|
181
|
+
"pluginName": "@xano/cli",
|
|
182
|
+
"pluginType": "core",
|
|
183
|
+
"strict": true,
|
|
184
|
+
"enableJsonFlag": false,
|
|
185
|
+
"isESM": true,
|
|
186
|
+
"relativePath": [
|
|
187
|
+
"dist",
|
|
188
|
+
"commands",
|
|
189
|
+
"branch",
|
|
190
|
+
"delete",
|
|
191
|
+
"index.js"
|
|
192
|
+
]
|
|
193
|
+
},
|
|
194
|
+
"branch:edit": {
|
|
195
|
+
"aliases": [],
|
|
196
|
+
"args": {
|
|
197
|
+
"branch_label": {
|
|
198
|
+
"description": "Branch label to edit (cannot edit \"v1\" label)",
|
|
199
|
+
"name": "branch_label",
|
|
200
|
+
"required": true
|
|
201
|
+
}
|
|
202
|
+
},
|
|
203
|
+
"description": "Update an existing branch (cannot update \"v1\" label)",
|
|
204
|
+
"examples": [
|
|
205
|
+
"$ xano branch edit dev --label development\nUpdated branch: development\n",
|
|
206
|
+
"$ xano branch edit feature-auth -l feature-authentication --color \"#ff5733\"\nUpdated branch: feature-authentication\n Color: #ff5733\n",
|
|
207
|
+
"$ xano branch edit staging --description \"Staging environment\" -o json\n{\n \"created_at\": \"2024-02-10T09:15:00Z\",\n \"label\": \"staging\",\n \"backup\": false\n}\n"
|
|
208
|
+
],
|
|
209
|
+
"flags": {
|
|
210
|
+
"profile": {
|
|
211
|
+
"char": "p",
|
|
212
|
+
"description": "Profile to use for this command",
|
|
213
|
+
"env": "XANO_PROFILE",
|
|
214
|
+
"name": "profile",
|
|
165
215
|
"required": false,
|
|
166
216
|
"hasDynamicHelp": false,
|
|
167
217
|
"multiple": false,
|
|
168
218
|
"type": "option"
|
|
169
219
|
},
|
|
170
|
-
"
|
|
171
|
-
"char": "
|
|
172
|
-
"description": "
|
|
173
|
-
"
|
|
174
|
-
|
|
175
|
-
],
|
|
176
|
-
"name": "stdin",
|
|
220
|
+
"verbose": {
|
|
221
|
+
"char": "v",
|
|
222
|
+
"description": "Show detailed request/response information",
|
|
223
|
+
"env": "XANO_VERBOSE",
|
|
224
|
+
"name": "verbose",
|
|
177
225
|
"required": false,
|
|
178
226
|
"allowNo": false,
|
|
179
227
|
"type": "boolean"
|
|
180
228
|
},
|
|
181
|
-
"
|
|
182
|
-
"char": "
|
|
183
|
-
"description": "
|
|
184
|
-
"name": "
|
|
229
|
+
"color": {
|
|
230
|
+
"char": "c",
|
|
231
|
+
"description": "New color hex code for the branch (e.g., \"#ff5733\")",
|
|
232
|
+
"name": "color",
|
|
185
233
|
"required": false,
|
|
186
|
-
"
|
|
187
|
-
"
|
|
234
|
+
"hasDynamicHelp": false,
|
|
235
|
+
"multiple": false,
|
|
236
|
+
"type": "option"
|
|
188
237
|
},
|
|
189
|
-
"
|
|
190
|
-
"
|
|
191
|
-
"
|
|
238
|
+
"description": {
|
|
239
|
+
"char": "d",
|
|
240
|
+
"description": "New description for the branch",
|
|
241
|
+
"name": "description",
|
|
192
242
|
"required": false,
|
|
193
|
-
"
|
|
194
|
-
"
|
|
243
|
+
"hasDynamicHelp": false,
|
|
244
|
+
"multiple": false,
|
|
245
|
+
"type": "option"
|
|
246
|
+
},
|
|
247
|
+
"label": {
|
|
248
|
+
"char": "l",
|
|
249
|
+
"description": "New label for the branch",
|
|
250
|
+
"name": "label",
|
|
251
|
+
"required": false,
|
|
252
|
+
"hasDynamicHelp": false,
|
|
253
|
+
"multiple": false,
|
|
254
|
+
"type": "option"
|
|
195
255
|
},
|
|
196
256
|
"output": {
|
|
197
257
|
"char": "o",
|
|
@@ -206,11 +266,20 @@
|
|
|
206
266
|
"json"
|
|
207
267
|
],
|
|
208
268
|
"type": "option"
|
|
269
|
+
},
|
|
270
|
+
"workspace": {
|
|
271
|
+
"char": "w",
|
|
272
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
273
|
+
"name": "workspace",
|
|
274
|
+
"required": false,
|
|
275
|
+
"hasDynamicHelp": false,
|
|
276
|
+
"multiple": false,
|
|
277
|
+
"type": "option"
|
|
209
278
|
}
|
|
210
279
|
},
|
|
211
280
|
"hasDynamicHelp": false,
|
|
212
281
|
"hiddenAliases": [],
|
|
213
|
-
"id": "
|
|
282
|
+
"id": "branch:edit",
|
|
214
283
|
"pluginAlias": "@xano/cli",
|
|
215
284
|
"pluginName": "@xano/cli",
|
|
216
285
|
"pluginType": "core",
|
|
@@ -220,28 +289,25 @@
|
|
|
220
289
|
"relativePath": [
|
|
221
290
|
"dist",
|
|
222
291
|
"commands",
|
|
223
|
-
"
|
|
292
|
+
"branch",
|
|
224
293
|
"edit",
|
|
225
294
|
"index.js"
|
|
226
295
|
]
|
|
227
296
|
},
|
|
228
|
-
"
|
|
297
|
+
"branch:get": {
|
|
229
298
|
"aliases": [],
|
|
230
299
|
"args": {
|
|
231
|
-
"
|
|
232
|
-
"description": "
|
|
233
|
-
"name": "
|
|
234
|
-
"required":
|
|
300
|
+
"branch_label": {
|
|
301
|
+
"description": "Branch label (e.g., \"v1\", \"dev\")",
|
|
302
|
+
"name": "branch_label",
|
|
303
|
+
"required": true
|
|
235
304
|
}
|
|
236
305
|
},
|
|
237
|
-
"description": "Get a specific
|
|
306
|
+
"description": "Get details for a specific branch",
|
|
238
307
|
"examples": [
|
|
239
|
-
"$ xano
|
|
240
|
-
"$ xano
|
|
241
|
-
"$ xano
|
|
242
|
-
"$ xano function:get 145 -w 40 --output json\n{\n \"id\": 145,\n \"name\": \"yo\",\n \"description\": \"Sample function\"\n}\n",
|
|
243
|
-
"$ xano function:get 145 -p staging -o json --include_draft\n{\n \"id\": 145,\n \"name\": \"yo\"\n}\n",
|
|
244
|
-
"$ xano function:get 145 -p staging -o xs\nfunction yo {\n input {\n }\n stack {\n }\n response = null\n}\n"
|
|
308
|
+
"$ xano branch get v1\nBranch: v1 (live)\n Created: 2024-01-15\n",
|
|
309
|
+
"$ xano branch get dev -w 123\nBranch: dev\n Created: 2024-02-01\n",
|
|
310
|
+
"$ xano branch get staging --output json\n{\n \"created_at\": \"2024-02-10T09:15:00Z\",\n \"label\": \"staging\",\n \"backup\": false,\n \"live\": false\n}\n"
|
|
245
311
|
],
|
|
246
312
|
"flags": {
|
|
247
313
|
"profile": {
|
|
@@ -263,15 +329,6 @@
|
|
|
263
329
|
"allowNo": false,
|
|
264
330
|
"type": "boolean"
|
|
265
331
|
},
|
|
266
|
-
"workspace": {
|
|
267
|
-
"char": "w",
|
|
268
|
-
"description": "Workspace ID (optional if set in profile)",
|
|
269
|
-
"name": "workspace",
|
|
270
|
-
"required": false,
|
|
271
|
-
"hasDynamicHelp": false,
|
|
272
|
-
"multiple": false,
|
|
273
|
-
"type": "option"
|
|
274
|
-
},
|
|
275
332
|
"output": {
|
|
276
333
|
"char": "o",
|
|
277
334
|
"description": "Output format",
|
|
@@ -282,29 +339,23 @@
|
|
|
282
339
|
"multiple": false,
|
|
283
340
|
"options": [
|
|
284
341
|
"summary",
|
|
285
|
-
"json"
|
|
286
|
-
"xs"
|
|
342
|
+
"json"
|
|
287
343
|
],
|
|
288
344
|
"type": "option"
|
|
289
345
|
},
|
|
290
|
-
"
|
|
291
|
-
"
|
|
292
|
-
"
|
|
293
|
-
"
|
|
294
|
-
"allowNo": false,
|
|
295
|
-
"type": "boolean"
|
|
296
|
-
},
|
|
297
|
-
"include_xanoscript": {
|
|
298
|
-
"description": "Include XanoScript in response",
|
|
299
|
-
"name": "include_xanoscript",
|
|
346
|
+
"workspace": {
|
|
347
|
+
"char": "w",
|
|
348
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
349
|
+
"name": "workspace",
|
|
300
350
|
"required": false,
|
|
301
|
-
"
|
|
302
|
-
"
|
|
351
|
+
"hasDynamicHelp": false,
|
|
352
|
+
"multiple": false,
|
|
353
|
+
"type": "option"
|
|
303
354
|
}
|
|
304
355
|
},
|
|
305
356
|
"hasDynamicHelp": false,
|
|
306
357
|
"hiddenAliases": [],
|
|
307
|
-
"id": "
|
|
358
|
+
"id": "branch:get",
|
|
308
359
|
"pluginAlias": "@xano/cli",
|
|
309
360
|
"pluginName": "@xano/cli",
|
|
310
361
|
"pluginType": "core",
|
|
@@ -314,20 +365,25 @@
|
|
|
314
365
|
"relativePath": [
|
|
315
366
|
"dist",
|
|
316
367
|
"commands",
|
|
317
|
-
"
|
|
368
|
+
"branch",
|
|
318
369
|
"get",
|
|
319
370
|
"index.js"
|
|
320
371
|
]
|
|
321
372
|
},
|
|
322
|
-
"
|
|
373
|
+
"branch:set-live": {
|
|
323
374
|
"aliases": [],
|
|
324
|
-
"args": {
|
|
325
|
-
|
|
375
|
+
"args": {
|
|
376
|
+
"branch_label": {
|
|
377
|
+
"description": "Branch label to set as live (use \"v1\" for default branch)",
|
|
378
|
+
"name": "branch_label",
|
|
379
|
+
"required": true
|
|
380
|
+
}
|
|
381
|
+
},
|
|
382
|
+
"description": "Set a branch as the live (active) branch for API requests",
|
|
326
383
|
"examples": [
|
|
327
|
-
"$ xano
|
|
328
|
-
"$ xano
|
|
329
|
-
"$ xano
|
|
330
|
-
"$ xano function:list -p staging -o json --include_draft\n[\n {\n \"id\": 1,\n \"name\": \"function-1\"\n }\n]\n"
|
|
384
|
+
"$ 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",
|
|
385
|
+
"$ xano branch set-live v1 --force\nBranch 'v1' is now live\n",
|
|
386
|
+
"$ 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"
|
|
331
387
|
],
|
|
332
388
|
"flags": {
|
|
333
389
|
"profile": {
|
|
@@ -349,14 +405,13 @@
|
|
|
349
405
|
"allowNo": false,
|
|
350
406
|
"type": "boolean"
|
|
351
407
|
},
|
|
352
|
-
"
|
|
353
|
-
"char": "
|
|
354
|
-
"description": "
|
|
355
|
-
"name": "
|
|
408
|
+
"force": {
|
|
409
|
+
"char": "f",
|
|
410
|
+
"description": "Skip confirmation prompt",
|
|
411
|
+
"name": "force",
|
|
356
412
|
"required": false,
|
|
357
|
-
"
|
|
358
|
-
"
|
|
359
|
-
"type": "option"
|
|
413
|
+
"allowNo": false,
|
|
414
|
+
"type": "boolean"
|
|
360
415
|
},
|
|
361
416
|
"output": {
|
|
362
417
|
"char": "o",
|
|
@@ -372,75 +427,742 @@
|
|
|
372
427
|
],
|
|
373
428
|
"type": "option"
|
|
374
429
|
},
|
|
375
|
-
"
|
|
376
|
-
"
|
|
430
|
+
"workspace": {
|
|
431
|
+
"char": "w",
|
|
432
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
433
|
+
"name": "workspace",
|
|
434
|
+
"required": false,
|
|
435
|
+
"hasDynamicHelp": false,
|
|
436
|
+
"multiple": false,
|
|
437
|
+
"type": "option"
|
|
438
|
+
}
|
|
439
|
+
},
|
|
440
|
+
"hasDynamicHelp": false,
|
|
441
|
+
"hiddenAliases": [],
|
|
442
|
+
"id": "branch:set-live",
|
|
443
|
+
"pluginAlias": "@xano/cli",
|
|
444
|
+
"pluginName": "@xano/cli",
|
|
445
|
+
"pluginType": "core",
|
|
446
|
+
"strict": true,
|
|
447
|
+
"enableJsonFlag": false,
|
|
448
|
+
"isESM": true,
|
|
449
|
+
"relativePath": [
|
|
450
|
+
"dist",
|
|
451
|
+
"commands",
|
|
452
|
+
"branch",
|
|
453
|
+
"set-live",
|
|
454
|
+
"index.js"
|
|
455
|
+
]
|
|
456
|
+
},
|
|
457
|
+
"branch:list": {
|
|
458
|
+
"aliases": [],
|
|
459
|
+
"args": {
|
|
460
|
+
"workspace_id": {
|
|
461
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
462
|
+
"name": "workspace_id",
|
|
463
|
+
"required": false
|
|
464
|
+
}
|
|
465
|
+
},
|
|
466
|
+
"description": "List all branches in a workspace",
|
|
467
|
+
"examples": [
|
|
468
|
+
"$ xano branch list\nAvailable branches:\n - v1 (live)\n - dev\n - staging\n",
|
|
469
|
+
"$ xano branch list 123\nAvailable branches:\n - v1 (live)\n - feature-auth\n",
|
|
470
|
+
"$ xano branch list --output json\n[\n {\n \"created_at\": \"2024-01-15T10:30:00Z\",\n \"label\": \"v1\",\n \"backup\": false,\n \"live\": true\n }\n]\n"
|
|
471
|
+
],
|
|
472
|
+
"flags": {
|
|
473
|
+
"profile": {
|
|
474
|
+
"char": "p",
|
|
475
|
+
"description": "Profile to use for this command",
|
|
476
|
+
"env": "XANO_PROFILE",
|
|
477
|
+
"name": "profile",
|
|
478
|
+
"required": false,
|
|
479
|
+
"hasDynamicHelp": false,
|
|
480
|
+
"multiple": false,
|
|
481
|
+
"type": "option"
|
|
482
|
+
},
|
|
483
|
+
"verbose": {
|
|
484
|
+
"char": "v",
|
|
485
|
+
"description": "Show detailed request/response information",
|
|
486
|
+
"env": "XANO_VERBOSE",
|
|
487
|
+
"name": "verbose",
|
|
488
|
+
"required": false,
|
|
489
|
+
"allowNo": false,
|
|
490
|
+
"type": "boolean"
|
|
491
|
+
},
|
|
492
|
+
"output": {
|
|
493
|
+
"char": "o",
|
|
494
|
+
"description": "Output format",
|
|
495
|
+
"name": "output",
|
|
496
|
+
"required": false,
|
|
497
|
+
"default": "summary",
|
|
498
|
+
"hasDynamicHelp": false,
|
|
499
|
+
"multiple": false,
|
|
500
|
+
"options": [
|
|
501
|
+
"summary",
|
|
502
|
+
"json"
|
|
503
|
+
],
|
|
504
|
+
"type": "option"
|
|
505
|
+
}
|
|
506
|
+
},
|
|
507
|
+
"hasDynamicHelp": false,
|
|
508
|
+
"hiddenAliases": [],
|
|
509
|
+
"id": "branch:list",
|
|
510
|
+
"pluginAlias": "@xano/cli",
|
|
511
|
+
"pluginName": "@xano/cli",
|
|
512
|
+
"pluginType": "core",
|
|
513
|
+
"strict": true,
|
|
514
|
+
"enableJsonFlag": false,
|
|
515
|
+
"isESM": true,
|
|
516
|
+
"relativePath": [
|
|
517
|
+
"dist",
|
|
518
|
+
"commands",
|
|
519
|
+
"branch",
|
|
520
|
+
"list",
|
|
521
|
+
"index.js"
|
|
522
|
+
]
|
|
523
|
+
},
|
|
524
|
+
"function:create": {
|
|
525
|
+
"aliases": [],
|
|
526
|
+
"args": {},
|
|
527
|
+
"description": "Create a new function in a workspace",
|
|
528
|
+
"examples": [
|
|
529
|
+
"$ xano function:create -w 40 -f function.xs\nFunction created successfully!\nID: 123\nName: my_function\n",
|
|
530
|
+
"$ xano function:create -f function.xs\nFunction created successfully!\nID: 123\nName: my_function\n",
|
|
531
|
+
"$ 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",
|
|
532
|
+
"$ cat function.xs | xano function:create -w 40 --stdin\nFunction created successfully!\nID: 123\nName: my_function\n",
|
|
533
|
+
"$ xano function:create -w 40 -f function.xs -o json\n{\n \"id\": 123,\n \"name\": \"my_function\",\n ...\n}\n"
|
|
534
|
+
],
|
|
535
|
+
"flags": {
|
|
536
|
+
"profile": {
|
|
537
|
+
"char": "p",
|
|
538
|
+
"description": "Profile to use for this command",
|
|
539
|
+
"env": "XANO_PROFILE",
|
|
540
|
+
"name": "profile",
|
|
541
|
+
"required": false,
|
|
542
|
+
"hasDynamicHelp": false,
|
|
543
|
+
"multiple": false,
|
|
544
|
+
"type": "option"
|
|
545
|
+
},
|
|
546
|
+
"verbose": {
|
|
547
|
+
"char": "v",
|
|
548
|
+
"description": "Show detailed request/response information",
|
|
549
|
+
"env": "XANO_VERBOSE",
|
|
550
|
+
"name": "verbose",
|
|
551
|
+
"required": false,
|
|
552
|
+
"allowNo": false,
|
|
553
|
+
"type": "boolean"
|
|
554
|
+
},
|
|
555
|
+
"edit": {
|
|
556
|
+
"char": "e",
|
|
557
|
+
"dependsOn": [
|
|
558
|
+
"file"
|
|
559
|
+
],
|
|
560
|
+
"description": "Open file in editor before creating function (requires --file)",
|
|
561
|
+
"name": "edit",
|
|
562
|
+
"required": false,
|
|
563
|
+
"allowNo": false,
|
|
564
|
+
"type": "boolean"
|
|
565
|
+
},
|
|
566
|
+
"file": {
|
|
567
|
+
"char": "f",
|
|
568
|
+
"description": "Path to file containing XanoScript code",
|
|
569
|
+
"exclusive": [
|
|
570
|
+
"stdin"
|
|
571
|
+
],
|
|
572
|
+
"name": "file",
|
|
573
|
+
"required": false,
|
|
574
|
+
"hasDynamicHelp": false,
|
|
575
|
+
"multiple": false,
|
|
576
|
+
"type": "option"
|
|
577
|
+
},
|
|
578
|
+
"output": {
|
|
579
|
+
"char": "o",
|
|
580
|
+
"description": "Output format",
|
|
581
|
+
"name": "output",
|
|
582
|
+
"required": false,
|
|
583
|
+
"default": "summary",
|
|
584
|
+
"hasDynamicHelp": false,
|
|
585
|
+
"multiple": false,
|
|
586
|
+
"options": [
|
|
587
|
+
"summary",
|
|
588
|
+
"json"
|
|
589
|
+
],
|
|
590
|
+
"type": "option"
|
|
591
|
+
},
|
|
592
|
+
"stdin": {
|
|
593
|
+
"char": "s",
|
|
594
|
+
"description": "Read XanoScript code from stdin",
|
|
595
|
+
"exclusive": [
|
|
596
|
+
"file"
|
|
597
|
+
],
|
|
598
|
+
"name": "stdin",
|
|
599
|
+
"required": false,
|
|
600
|
+
"allowNo": false,
|
|
601
|
+
"type": "boolean"
|
|
602
|
+
},
|
|
603
|
+
"workspace": {
|
|
604
|
+
"char": "w",
|
|
605
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
606
|
+
"name": "workspace",
|
|
607
|
+
"required": false,
|
|
608
|
+
"hasDynamicHelp": false,
|
|
609
|
+
"multiple": false,
|
|
610
|
+
"type": "option"
|
|
611
|
+
}
|
|
612
|
+
},
|
|
613
|
+
"hasDynamicHelp": false,
|
|
614
|
+
"hiddenAliases": [],
|
|
615
|
+
"id": "function:create",
|
|
616
|
+
"pluginAlias": "@xano/cli",
|
|
617
|
+
"pluginName": "@xano/cli",
|
|
618
|
+
"pluginType": "core",
|
|
619
|
+
"strict": true,
|
|
620
|
+
"enableJsonFlag": false,
|
|
621
|
+
"isESM": true,
|
|
622
|
+
"relativePath": [
|
|
623
|
+
"dist",
|
|
624
|
+
"commands",
|
|
625
|
+
"function",
|
|
626
|
+
"create",
|
|
627
|
+
"index.js"
|
|
628
|
+
]
|
|
629
|
+
},
|
|
630
|
+
"function:edit": {
|
|
631
|
+
"aliases": [],
|
|
632
|
+
"args": {
|
|
633
|
+
"function_id": {
|
|
634
|
+
"description": "Function ID to edit",
|
|
635
|
+
"name": "function_id",
|
|
636
|
+
"required": false
|
|
637
|
+
}
|
|
638
|
+
},
|
|
639
|
+
"description": "Edit a function in a workspace",
|
|
640
|
+
"examples": [
|
|
641
|
+
"$ 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",
|
|
642
|
+
"$ 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",
|
|
643
|
+
"$ xano function:edit 163 -f function.xs\nFunction updated successfully!\nID: 163\nName: my_function\n",
|
|
644
|
+
"$ xano function:edit 163 -w 40 -f function.xs\nFunction updated successfully!\nID: 163\nName: my_function\n",
|
|
645
|
+
"$ xano function:edit -f function.xs\nSelect a function to edit:\n ❯ my_function (ID: 163) - Sample function\n another-func (ID: 164)\n",
|
|
646
|
+
"$ 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",
|
|
647
|
+
"$ cat function.xs | xano function:edit 163 --stdin\nFunction updated successfully!\nID: 163\nName: my_function\n",
|
|
648
|
+
"$ xano function:edit 163 -f function.xs -o json\n{\n \"id\": 163,\n \"name\": \"my_function\",\n ...\n}\n"
|
|
649
|
+
],
|
|
650
|
+
"flags": {
|
|
651
|
+
"profile": {
|
|
652
|
+
"char": "p",
|
|
653
|
+
"description": "Profile to use for this command",
|
|
654
|
+
"env": "XANO_PROFILE",
|
|
655
|
+
"name": "profile",
|
|
656
|
+
"required": false,
|
|
657
|
+
"hasDynamicHelp": false,
|
|
658
|
+
"multiple": false,
|
|
659
|
+
"type": "option"
|
|
660
|
+
},
|
|
661
|
+
"verbose": {
|
|
662
|
+
"char": "v",
|
|
663
|
+
"description": "Show detailed request/response information",
|
|
664
|
+
"env": "XANO_VERBOSE",
|
|
665
|
+
"name": "verbose",
|
|
666
|
+
"required": false,
|
|
667
|
+
"allowNo": false,
|
|
668
|
+
"type": "boolean"
|
|
669
|
+
},
|
|
670
|
+
"edit": {
|
|
671
|
+
"char": "e",
|
|
672
|
+
"description": "Open file in editor before updating function (requires --file)",
|
|
673
|
+
"name": "edit",
|
|
674
|
+
"required": false,
|
|
675
|
+
"allowNo": false,
|
|
676
|
+
"type": "boolean"
|
|
677
|
+
},
|
|
678
|
+
"file": {
|
|
679
|
+
"char": "f",
|
|
680
|
+
"description": "Path to file containing XanoScript code",
|
|
681
|
+
"exclusive": [
|
|
682
|
+
"stdin"
|
|
683
|
+
],
|
|
684
|
+
"name": "file",
|
|
685
|
+
"required": false,
|
|
686
|
+
"hasDynamicHelp": false,
|
|
687
|
+
"multiple": false,
|
|
688
|
+
"type": "option"
|
|
689
|
+
},
|
|
690
|
+
"output": {
|
|
691
|
+
"char": "o",
|
|
692
|
+
"description": "Output format",
|
|
693
|
+
"name": "output",
|
|
694
|
+
"required": false,
|
|
695
|
+
"default": "summary",
|
|
696
|
+
"hasDynamicHelp": false,
|
|
697
|
+
"multiple": false,
|
|
698
|
+
"options": [
|
|
699
|
+
"summary",
|
|
700
|
+
"json"
|
|
701
|
+
],
|
|
702
|
+
"type": "option"
|
|
703
|
+
},
|
|
704
|
+
"publish": {
|
|
705
|
+
"description": "Publish the function after editing",
|
|
706
|
+
"name": "publish",
|
|
707
|
+
"required": false,
|
|
708
|
+
"allowNo": false,
|
|
709
|
+
"type": "boolean"
|
|
710
|
+
},
|
|
711
|
+
"stdin": {
|
|
712
|
+
"char": "s",
|
|
713
|
+
"description": "Read XanoScript code from stdin",
|
|
714
|
+
"exclusive": [
|
|
715
|
+
"file"
|
|
716
|
+
],
|
|
717
|
+
"name": "stdin",
|
|
718
|
+
"required": false,
|
|
719
|
+
"allowNo": false,
|
|
720
|
+
"type": "boolean"
|
|
721
|
+
},
|
|
722
|
+
"workspace": {
|
|
723
|
+
"char": "w",
|
|
724
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
725
|
+
"name": "workspace",
|
|
726
|
+
"required": false,
|
|
727
|
+
"hasDynamicHelp": false,
|
|
728
|
+
"multiple": false,
|
|
729
|
+
"type": "option"
|
|
730
|
+
}
|
|
731
|
+
},
|
|
732
|
+
"hasDynamicHelp": false,
|
|
733
|
+
"hiddenAliases": [],
|
|
734
|
+
"id": "function:edit",
|
|
735
|
+
"pluginAlias": "@xano/cli",
|
|
736
|
+
"pluginName": "@xano/cli",
|
|
737
|
+
"pluginType": "core",
|
|
738
|
+
"strict": true,
|
|
739
|
+
"enableJsonFlag": false,
|
|
740
|
+
"isESM": true,
|
|
741
|
+
"relativePath": [
|
|
742
|
+
"dist",
|
|
743
|
+
"commands",
|
|
744
|
+
"function",
|
|
745
|
+
"edit",
|
|
746
|
+
"index.js"
|
|
747
|
+
]
|
|
748
|
+
},
|
|
749
|
+
"function:get": {
|
|
750
|
+
"aliases": [],
|
|
751
|
+
"args": {
|
|
752
|
+
"function_id": {
|
|
753
|
+
"description": "Function ID",
|
|
754
|
+
"name": "function_id",
|
|
755
|
+
"required": false
|
|
756
|
+
}
|
|
757
|
+
},
|
|
758
|
+
"description": "Get a specific function from a workspace",
|
|
759
|
+
"examples": [
|
|
760
|
+
"$ xano function:get 145 -w 40\nFunction: yo (ID: 145)\nCreated: 2025-10-10 10:30:00\nDescription: Sample function\n",
|
|
761
|
+
"$ xano function:get 145 --profile production\nFunction: yo (ID: 145)\nCreated: 2025-10-10 10:30:00\n",
|
|
762
|
+
"$ xano function:get\nSelect a function:\n ❯ yo (ID: 145) - Sample function\n another-func (ID: 146)\n",
|
|
763
|
+
"$ xano function:get 145 -w 40 --output json\n{\n \"id\": 145,\n \"name\": \"yo\",\n \"description\": \"Sample function\"\n}\n",
|
|
764
|
+
"$ xano function:get 145 -p staging -o json --include_draft\n{\n \"id\": 145,\n \"name\": \"yo\"\n}\n",
|
|
765
|
+
"$ xano function:get 145 -p staging -o xs\nfunction yo {\n input {\n }\n stack {\n }\n response = null\n}\n"
|
|
766
|
+
],
|
|
767
|
+
"flags": {
|
|
768
|
+
"profile": {
|
|
769
|
+
"char": "p",
|
|
770
|
+
"description": "Profile to use for this command",
|
|
771
|
+
"env": "XANO_PROFILE",
|
|
772
|
+
"name": "profile",
|
|
773
|
+
"required": false,
|
|
774
|
+
"hasDynamicHelp": false,
|
|
775
|
+
"multiple": false,
|
|
776
|
+
"type": "option"
|
|
777
|
+
},
|
|
778
|
+
"verbose": {
|
|
779
|
+
"char": "v",
|
|
780
|
+
"description": "Show detailed request/response information",
|
|
781
|
+
"env": "XANO_VERBOSE",
|
|
782
|
+
"name": "verbose",
|
|
783
|
+
"required": false,
|
|
784
|
+
"allowNo": false,
|
|
785
|
+
"type": "boolean"
|
|
786
|
+
},
|
|
787
|
+
"include_draft": {
|
|
788
|
+
"description": "Include draft version",
|
|
377
789
|
"name": "include_draft",
|
|
378
790
|
"required": false,
|
|
379
791
|
"allowNo": false,
|
|
380
792
|
"type": "boolean"
|
|
381
793
|
},
|
|
382
|
-
"include_xanoscript": {
|
|
383
|
-
"description": "Include XanoScript in response",
|
|
384
|
-
"name": "include_xanoscript",
|
|
794
|
+
"include_xanoscript": {
|
|
795
|
+
"description": "Include XanoScript in response",
|
|
796
|
+
"name": "include_xanoscript",
|
|
797
|
+
"required": false,
|
|
798
|
+
"allowNo": false,
|
|
799
|
+
"type": "boolean"
|
|
800
|
+
},
|
|
801
|
+
"output": {
|
|
802
|
+
"char": "o",
|
|
803
|
+
"description": "Output format",
|
|
804
|
+
"name": "output",
|
|
805
|
+
"required": false,
|
|
806
|
+
"default": "summary",
|
|
807
|
+
"hasDynamicHelp": false,
|
|
808
|
+
"multiple": false,
|
|
809
|
+
"options": [
|
|
810
|
+
"summary",
|
|
811
|
+
"json",
|
|
812
|
+
"xs"
|
|
813
|
+
],
|
|
814
|
+
"type": "option"
|
|
815
|
+
},
|
|
816
|
+
"workspace": {
|
|
817
|
+
"char": "w",
|
|
818
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
819
|
+
"name": "workspace",
|
|
820
|
+
"required": false,
|
|
821
|
+
"hasDynamicHelp": false,
|
|
822
|
+
"multiple": false,
|
|
823
|
+
"type": "option"
|
|
824
|
+
}
|
|
825
|
+
},
|
|
826
|
+
"hasDynamicHelp": false,
|
|
827
|
+
"hiddenAliases": [],
|
|
828
|
+
"id": "function:get",
|
|
829
|
+
"pluginAlias": "@xano/cli",
|
|
830
|
+
"pluginName": "@xano/cli",
|
|
831
|
+
"pluginType": "core",
|
|
832
|
+
"strict": true,
|
|
833
|
+
"enableJsonFlag": false,
|
|
834
|
+
"isESM": true,
|
|
835
|
+
"relativePath": [
|
|
836
|
+
"dist",
|
|
837
|
+
"commands",
|
|
838
|
+
"function",
|
|
839
|
+
"get",
|
|
840
|
+
"index.js"
|
|
841
|
+
]
|
|
842
|
+
},
|
|
843
|
+
"function:list": {
|
|
844
|
+
"aliases": [],
|
|
845
|
+
"args": {},
|
|
846
|
+
"description": "List all functions in a workspace from the Xano Metadata API",
|
|
847
|
+
"examples": [
|
|
848
|
+
"$ xano function:list -w 40\nAvailable functions:\n - function-1 (ID: 1)\n - function-2 (ID: 2)\n - function-3 (ID: 3)\n",
|
|
849
|
+
"$ xano function:list --profile production\nAvailable functions:\n - my-function (ID: 1)\n - another-function (ID: 2)\n",
|
|
850
|
+
"$ xano function:list -w 40 --output json\n[\n {\n \"id\": 1,\n \"name\": \"function-1\"\n }\n]\n",
|
|
851
|
+
"$ xano function:list -p staging -o json --include_draft\n[\n {\n \"id\": 1,\n \"name\": \"function-1\"\n }\n]\n"
|
|
852
|
+
],
|
|
853
|
+
"flags": {
|
|
854
|
+
"profile": {
|
|
855
|
+
"char": "p",
|
|
856
|
+
"description": "Profile to use for this command",
|
|
857
|
+
"env": "XANO_PROFILE",
|
|
858
|
+
"name": "profile",
|
|
859
|
+
"required": false,
|
|
860
|
+
"hasDynamicHelp": false,
|
|
861
|
+
"multiple": false,
|
|
862
|
+
"type": "option"
|
|
863
|
+
},
|
|
864
|
+
"verbose": {
|
|
865
|
+
"char": "v",
|
|
866
|
+
"description": "Show detailed request/response information",
|
|
867
|
+
"env": "XANO_VERBOSE",
|
|
868
|
+
"name": "verbose",
|
|
869
|
+
"required": false,
|
|
870
|
+
"allowNo": false,
|
|
871
|
+
"type": "boolean"
|
|
872
|
+
},
|
|
873
|
+
"include_draft": {
|
|
874
|
+
"description": "Include draft functions",
|
|
875
|
+
"name": "include_draft",
|
|
876
|
+
"required": false,
|
|
877
|
+
"allowNo": false,
|
|
878
|
+
"type": "boolean"
|
|
879
|
+
},
|
|
880
|
+
"include_xanoscript": {
|
|
881
|
+
"description": "Include XanoScript in response",
|
|
882
|
+
"name": "include_xanoscript",
|
|
883
|
+
"required": false,
|
|
884
|
+
"allowNo": false,
|
|
885
|
+
"type": "boolean"
|
|
886
|
+
},
|
|
887
|
+
"order": {
|
|
888
|
+
"description": "Sort order",
|
|
889
|
+
"name": "order",
|
|
890
|
+
"required": false,
|
|
891
|
+
"default": "desc",
|
|
892
|
+
"hasDynamicHelp": false,
|
|
893
|
+
"multiple": false,
|
|
894
|
+
"options": [
|
|
895
|
+
"asc",
|
|
896
|
+
"desc"
|
|
897
|
+
],
|
|
898
|
+
"type": "option"
|
|
899
|
+
},
|
|
900
|
+
"output": {
|
|
901
|
+
"char": "o",
|
|
902
|
+
"description": "Output format",
|
|
903
|
+
"name": "output",
|
|
904
|
+
"required": false,
|
|
905
|
+
"default": "summary",
|
|
906
|
+
"hasDynamicHelp": false,
|
|
907
|
+
"multiple": false,
|
|
908
|
+
"options": [
|
|
909
|
+
"summary",
|
|
910
|
+
"json"
|
|
911
|
+
],
|
|
912
|
+
"type": "option"
|
|
913
|
+
},
|
|
914
|
+
"page": {
|
|
915
|
+
"description": "Page number for pagination",
|
|
916
|
+
"name": "page",
|
|
917
|
+
"required": false,
|
|
918
|
+
"default": 1,
|
|
919
|
+
"hasDynamicHelp": false,
|
|
920
|
+
"multiple": false,
|
|
921
|
+
"type": "option"
|
|
922
|
+
},
|
|
923
|
+
"per_page": {
|
|
924
|
+
"description": "Number of results per page",
|
|
925
|
+
"name": "per_page",
|
|
926
|
+
"required": false,
|
|
927
|
+
"default": 50,
|
|
928
|
+
"hasDynamicHelp": false,
|
|
929
|
+
"multiple": false,
|
|
930
|
+
"type": "option"
|
|
931
|
+
},
|
|
932
|
+
"sort": {
|
|
933
|
+
"description": "Sort field",
|
|
934
|
+
"name": "sort",
|
|
935
|
+
"required": false,
|
|
936
|
+
"default": "created_at",
|
|
937
|
+
"hasDynamicHelp": false,
|
|
938
|
+
"multiple": false,
|
|
939
|
+
"type": "option"
|
|
940
|
+
},
|
|
941
|
+
"workspace": {
|
|
942
|
+
"char": "w",
|
|
943
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
944
|
+
"name": "workspace",
|
|
945
|
+
"required": false,
|
|
946
|
+
"hasDynamicHelp": false,
|
|
947
|
+
"multiple": false,
|
|
948
|
+
"type": "option"
|
|
949
|
+
}
|
|
950
|
+
},
|
|
951
|
+
"hasDynamicHelp": false,
|
|
952
|
+
"hiddenAliases": [],
|
|
953
|
+
"id": "function:list",
|
|
954
|
+
"pluginAlias": "@xano/cli",
|
|
955
|
+
"pluginName": "@xano/cli",
|
|
956
|
+
"pluginType": "core",
|
|
957
|
+
"strict": true,
|
|
958
|
+
"enableJsonFlag": false,
|
|
959
|
+
"isESM": true,
|
|
960
|
+
"relativePath": [
|
|
961
|
+
"dist",
|
|
962
|
+
"commands",
|
|
963
|
+
"function",
|
|
964
|
+
"list",
|
|
965
|
+
"index.js"
|
|
966
|
+
]
|
|
967
|
+
},
|
|
968
|
+
"run:exec": {
|
|
969
|
+
"aliases": [],
|
|
970
|
+
"args": {
|
|
971
|
+
"path": {
|
|
972
|
+
"description": "Path to file or directory containing XanoScript code (directory creates multidoc from .xs files)",
|
|
973
|
+
"name": "path",
|
|
974
|
+
"required": false
|
|
975
|
+
}
|
|
976
|
+
},
|
|
977
|
+
"description": "Execute XanoScript code (job or service)",
|
|
978
|
+
"examples": [
|
|
979
|
+
"$ xano run exec script.xs\nExecuted successfully!\n...\n",
|
|
980
|
+
"$ xano run exec ./my-workspace\n# Executes all .xs files in directory as multidoc\nExecuted successfully!\n...\n",
|
|
981
|
+
"$ xano run exec script.xs --edit\n# Opens script.xs in $EDITOR, then executes\nExecuted successfully!\n...\n",
|
|
982
|
+
"$ cat script.xs | xano run exec --stdin\nExecuted successfully!\n...\n",
|
|
983
|
+
"$ xano run exec script.xs -o json\n{\n \"run\": { ... }\n}\n",
|
|
984
|
+
"$ xano run exec script.xs -a args.json\n# Executes with input arguments from args.json\nExecuted successfully!\n...\n",
|
|
985
|
+
"$ xano run exec script.xs --env API_KEY=secret --env DEBUG=true\n# Executes with environment variable overrides\nExecuted successfully!\n...\n"
|
|
986
|
+
],
|
|
987
|
+
"flags": {
|
|
988
|
+
"profile": {
|
|
989
|
+
"char": "p",
|
|
990
|
+
"description": "Profile to use for this command",
|
|
991
|
+
"env": "XANO_PROFILE",
|
|
992
|
+
"name": "profile",
|
|
993
|
+
"required": false,
|
|
994
|
+
"hasDynamicHelp": false,
|
|
995
|
+
"multiple": false,
|
|
996
|
+
"type": "option"
|
|
997
|
+
},
|
|
998
|
+
"verbose": {
|
|
999
|
+
"char": "v",
|
|
1000
|
+
"description": "Show detailed request/response information",
|
|
1001
|
+
"env": "XANO_VERBOSE",
|
|
1002
|
+
"name": "verbose",
|
|
1003
|
+
"required": false,
|
|
1004
|
+
"allowNo": false,
|
|
1005
|
+
"type": "boolean"
|
|
1006
|
+
},
|
|
1007
|
+
"args": {
|
|
1008
|
+
"char": "a",
|
|
1009
|
+
"description": "Path or URL to JSON file containing input arguments",
|
|
1010
|
+
"name": "args",
|
|
1011
|
+
"required": false,
|
|
1012
|
+
"hasDynamicHelp": false,
|
|
1013
|
+
"multiple": false,
|
|
1014
|
+
"type": "option"
|
|
1015
|
+
},
|
|
1016
|
+
"edit": {
|
|
1017
|
+
"char": "e",
|
|
1018
|
+
"description": "Open file in editor before running (requires path argument or --file)",
|
|
1019
|
+
"name": "edit",
|
|
385
1020
|
"required": false,
|
|
386
1021
|
"allowNo": false,
|
|
387
1022
|
"type": "boolean"
|
|
388
1023
|
},
|
|
389
|
-
"
|
|
390
|
-
"description": "
|
|
391
|
-
"name": "
|
|
1024
|
+
"env": {
|
|
1025
|
+
"description": "Environment variable override (key=value)",
|
|
1026
|
+
"name": "env",
|
|
1027
|
+
"required": false,
|
|
1028
|
+
"hasDynamicHelp": false,
|
|
1029
|
+
"multiple": true,
|
|
1030
|
+
"type": "option"
|
|
1031
|
+
},
|
|
1032
|
+
"file": {
|
|
1033
|
+
"char": "f",
|
|
1034
|
+
"description": "Path or URL to file containing XanoScript code (deprecated: use path argument instead)",
|
|
1035
|
+
"exclusive": [
|
|
1036
|
+
"stdin"
|
|
1037
|
+
],
|
|
1038
|
+
"name": "file",
|
|
392
1039
|
"required": false,
|
|
393
|
-
"default": 1,
|
|
394
1040
|
"hasDynamicHelp": false,
|
|
395
1041
|
"multiple": false,
|
|
396
1042
|
"type": "option"
|
|
397
1043
|
},
|
|
398
|
-
"
|
|
399
|
-
"
|
|
400
|
-
"
|
|
1044
|
+
"output": {
|
|
1045
|
+
"char": "o",
|
|
1046
|
+
"description": "Output format",
|
|
1047
|
+
"name": "output",
|
|
401
1048
|
"required": false,
|
|
402
|
-
"default":
|
|
1049
|
+
"default": "summary",
|
|
403
1050
|
"hasDynamicHelp": false,
|
|
404
1051
|
"multiple": false,
|
|
1052
|
+
"options": [
|
|
1053
|
+
"summary",
|
|
1054
|
+
"json"
|
|
1055
|
+
],
|
|
405
1056
|
"type": "option"
|
|
406
1057
|
},
|
|
407
|
-
"
|
|
408
|
-
"
|
|
409
|
-
"
|
|
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
|
+
},
|
|
1070
|
+
"hasDynamicHelp": false,
|
|
1071
|
+
"hiddenAliases": [],
|
|
1072
|
+
"id": "run:exec",
|
|
1073
|
+
"pluginAlias": "@xano/cli",
|
|
1074
|
+
"pluginName": "@xano/cli",
|
|
1075
|
+
"pluginType": "core",
|
|
1076
|
+
"strict": true,
|
|
1077
|
+
"isESM": true,
|
|
1078
|
+
"relativePath": [
|
|
1079
|
+
"dist",
|
|
1080
|
+
"commands",
|
|
1081
|
+
"run",
|
|
1082
|
+
"exec",
|
|
1083
|
+
"index.js"
|
|
1084
|
+
]
|
|
1085
|
+
},
|
|
1086
|
+
"run:info": {
|
|
1087
|
+
"aliases": [],
|
|
1088
|
+
"args": {},
|
|
1089
|
+
"description": "Get information about a XanoScript document (type, inputs, env vars)",
|
|
1090
|
+
"examples": [
|
|
1091
|
+
"$ xano run info -f script.xs\nDocument Info:\n Type: job\n Inputs:\n - name (string, required)\n - count (number, optional)\n Environment Variables:\n - API_KEY\n - DEBUG\n",
|
|
1092
|
+
"$ cat script.xs | xano run info --stdin\nDocument Info:\n Type: service\n Inputs: none\n Environment Variables: none\n",
|
|
1093
|
+
"$ xano run info -f script.xs -o json\n{ \"type\": \"job\", \"input\": { \"name\": {...} }, \"env\": [\"API_KEY\"] }\n"
|
|
1094
|
+
],
|
|
1095
|
+
"flags": {
|
|
1096
|
+
"profile": {
|
|
1097
|
+
"char": "p",
|
|
1098
|
+
"description": "Profile to use for this command",
|
|
1099
|
+
"env": "XANO_PROFILE",
|
|
1100
|
+
"name": "profile",
|
|
410
1101
|
"required": false,
|
|
411
|
-
"default": "created_at",
|
|
412
1102
|
"hasDynamicHelp": false,
|
|
413
1103
|
"multiple": false,
|
|
414
1104
|
"type": "option"
|
|
415
1105
|
},
|
|
416
|
-
"
|
|
417
|
-
"
|
|
418
|
-
"
|
|
1106
|
+
"verbose": {
|
|
1107
|
+
"char": "v",
|
|
1108
|
+
"description": "Show detailed request/response information",
|
|
1109
|
+
"env": "XANO_VERBOSE",
|
|
1110
|
+
"name": "verbose",
|
|
419
1111
|
"required": false,
|
|
420
|
-
"
|
|
1112
|
+
"allowNo": false,
|
|
1113
|
+
"type": "boolean"
|
|
1114
|
+
},
|
|
1115
|
+
"file": {
|
|
1116
|
+
"char": "f",
|
|
1117
|
+
"description": "Path or URL to file containing XanoScript code",
|
|
1118
|
+
"exclusive": [
|
|
1119
|
+
"stdin"
|
|
1120
|
+
],
|
|
1121
|
+
"name": "file",
|
|
1122
|
+
"required": false,
|
|
1123
|
+
"hasDynamicHelp": false,
|
|
1124
|
+
"multiple": false,
|
|
1125
|
+
"type": "option"
|
|
1126
|
+
},
|
|
1127
|
+
"output": {
|
|
1128
|
+
"char": "o",
|
|
1129
|
+
"description": "Output format",
|
|
1130
|
+
"name": "output",
|
|
1131
|
+
"required": false,
|
|
1132
|
+
"default": "summary",
|
|
421
1133
|
"hasDynamicHelp": false,
|
|
422
1134
|
"multiple": false,
|
|
423
1135
|
"options": [
|
|
424
|
-
"
|
|
425
|
-
"
|
|
1136
|
+
"summary",
|
|
1137
|
+
"json"
|
|
426
1138
|
],
|
|
427
1139
|
"type": "option"
|
|
1140
|
+
},
|
|
1141
|
+
"stdin": {
|
|
1142
|
+
"char": "s",
|
|
1143
|
+
"description": "Read XanoScript code from stdin",
|
|
1144
|
+
"exclusive": [
|
|
1145
|
+
"file"
|
|
1146
|
+
],
|
|
1147
|
+
"name": "stdin",
|
|
1148
|
+
"required": false,
|
|
1149
|
+
"allowNo": false,
|
|
1150
|
+
"type": "boolean"
|
|
428
1151
|
}
|
|
429
1152
|
},
|
|
430
1153
|
"hasDynamicHelp": false,
|
|
431
1154
|
"hiddenAliases": [],
|
|
432
|
-
"id": "
|
|
1155
|
+
"id": "run:info",
|
|
433
1156
|
"pluginAlias": "@xano/cli",
|
|
434
1157
|
"pluginName": "@xano/cli",
|
|
435
1158
|
"pluginType": "core",
|
|
436
1159
|
"strict": true,
|
|
437
|
-
"enableJsonFlag": false,
|
|
438
1160
|
"isESM": true,
|
|
439
1161
|
"relativePath": [
|
|
440
1162
|
"dist",
|
|
441
1163
|
"commands",
|
|
442
|
-
"
|
|
443
|
-
"
|
|
1164
|
+
"run",
|
|
1165
|
+
"info",
|
|
444
1166
|
"index.js"
|
|
445
1167
|
]
|
|
446
1168
|
},
|
|
@@ -462,24 +1184,6 @@
|
|
|
462
1184
|
"$ 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"
|
|
463
1185
|
],
|
|
464
1186
|
"flags": {
|
|
465
|
-
"account_origin": {
|
|
466
|
-
"char": "a",
|
|
467
|
-
"description": "Account origin URL. Optional for self hosted installs.",
|
|
468
|
-
"name": "account_origin",
|
|
469
|
-
"required": false,
|
|
470
|
-
"hasDynamicHelp": false,
|
|
471
|
-
"multiple": false,
|
|
472
|
-
"type": "option"
|
|
473
|
-
},
|
|
474
|
-
"instance_origin": {
|
|
475
|
-
"char": "i",
|
|
476
|
-
"description": "Instance origin URL",
|
|
477
|
-
"name": "instance_origin",
|
|
478
|
-
"required": true,
|
|
479
|
-
"hasDynamicHelp": false,
|
|
480
|
-
"multiple": false,
|
|
481
|
-
"type": "option"
|
|
482
|
-
},
|
|
483
1187
|
"access_token": {
|
|
484
1188
|
"char": "t",
|
|
485
1189
|
"description": "Access token for the Xano Metadata API",
|
|
@@ -489,10 +1193,10 @@
|
|
|
489
1193
|
"multiple": false,
|
|
490
1194
|
"type": "option"
|
|
491
1195
|
},
|
|
492
|
-
"
|
|
493
|
-
"char": "
|
|
494
|
-
"description": "
|
|
495
|
-
"name": "
|
|
1196
|
+
"account_origin": {
|
|
1197
|
+
"char": "a",
|
|
1198
|
+
"description": "Account origin URL. Optional for self hosted installs.",
|
|
1199
|
+
"name": "account_origin",
|
|
496
1200
|
"required": false,
|
|
497
1201
|
"hasDynamicHelp": false,
|
|
498
1202
|
"multiple": false,
|
|
@@ -507,6 +1211,22 @@
|
|
|
507
1211
|
"multiple": false,
|
|
508
1212
|
"type": "option"
|
|
509
1213
|
},
|
|
1214
|
+
"default": {
|
|
1215
|
+
"description": "Set this profile as the default",
|
|
1216
|
+
"name": "default",
|
|
1217
|
+
"required": false,
|
|
1218
|
+
"allowNo": false,
|
|
1219
|
+
"type": "boolean"
|
|
1220
|
+
},
|
|
1221
|
+
"instance_origin": {
|
|
1222
|
+
"char": "i",
|
|
1223
|
+
"description": "Instance origin URL",
|
|
1224
|
+
"name": "instance_origin",
|
|
1225
|
+
"required": true,
|
|
1226
|
+
"hasDynamicHelp": false,
|
|
1227
|
+
"multiple": false,
|
|
1228
|
+
"type": "option"
|
|
1229
|
+
},
|
|
510
1230
|
"project": {
|
|
511
1231
|
"char": "j",
|
|
512
1232
|
"description": "Project name",
|
|
@@ -524,13 +1244,15 @@
|
|
|
524
1244
|
"hasDynamicHelp": false,
|
|
525
1245
|
"multiple": false,
|
|
526
1246
|
"type": "option"
|
|
527
|
-
},
|
|
528
|
-
"
|
|
529
|
-
"
|
|
530
|
-
"
|
|
531
|
-
"
|
|
532
|
-
"
|
|
533
|
-
"
|
|
1247
|
+
},
|
|
1248
|
+
"workspace": {
|
|
1249
|
+
"char": "w",
|
|
1250
|
+
"description": "Workspace name",
|
|
1251
|
+
"name": "workspace",
|
|
1252
|
+
"required": false,
|
|
1253
|
+
"hasDynamicHelp": false,
|
|
1254
|
+
"multiple": false,
|
|
1255
|
+
"type": "option"
|
|
534
1256
|
}
|
|
535
1257
|
},
|
|
536
1258
|
"hasDynamicHelp": false,
|
|
@@ -631,24 +1353,6 @@
|
|
|
631
1353
|
"allowNo": false,
|
|
632
1354
|
"type": "boolean"
|
|
633
1355
|
},
|
|
634
|
-
"account_origin": {
|
|
635
|
-
"char": "a",
|
|
636
|
-
"description": "Update account origin URL",
|
|
637
|
-
"name": "account_origin",
|
|
638
|
-
"required": false,
|
|
639
|
-
"hasDynamicHelp": false,
|
|
640
|
-
"multiple": false,
|
|
641
|
-
"type": "option"
|
|
642
|
-
},
|
|
643
|
-
"instance_origin": {
|
|
644
|
-
"char": "i",
|
|
645
|
-
"description": "Update instance origin URL",
|
|
646
|
-
"name": "instance_origin",
|
|
647
|
-
"required": false,
|
|
648
|
-
"hasDynamicHelp": false,
|
|
649
|
-
"multiple": false,
|
|
650
|
-
"type": "option"
|
|
651
|
-
},
|
|
652
1356
|
"access_token": {
|
|
653
1357
|
"char": "t",
|
|
654
1358
|
"description": "Update access token for the Xano Metadata API",
|
|
@@ -658,10 +1362,10 @@
|
|
|
658
1362
|
"multiple": false,
|
|
659
1363
|
"type": "option"
|
|
660
1364
|
},
|
|
661
|
-
"
|
|
662
|
-
"char": "
|
|
663
|
-
"description": "Update
|
|
664
|
-
"name": "
|
|
1365
|
+
"account_origin": {
|
|
1366
|
+
"char": "a",
|
|
1367
|
+
"description": "Update account origin URL",
|
|
1368
|
+
"name": "account_origin",
|
|
665
1369
|
"required": false,
|
|
666
1370
|
"hasDynamicHelp": false,
|
|
667
1371
|
"multiple": false,
|
|
@@ -676,6 +1380,15 @@
|
|
|
676
1380
|
"multiple": false,
|
|
677
1381
|
"type": "option"
|
|
678
1382
|
},
|
|
1383
|
+
"instance_origin": {
|
|
1384
|
+
"char": "i",
|
|
1385
|
+
"description": "Update instance origin URL",
|
|
1386
|
+
"name": "instance_origin",
|
|
1387
|
+
"required": false,
|
|
1388
|
+
"hasDynamicHelp": false,
|
|
1389
|
+
"multiple": false,
|
|
1390
|
+
"type": "option"
|
|
1391
|
+
},
|
|
679
1392
|
"project": {
|
|
680
1393
|
"char": "j",
|
|
681
1394
|
"description": "Update project ID",
|
|
@@ -685,13 +1398,6 @@
|
|
|
685
1398
|
"multiple": false,
|
|
686
1399
|
"type": "option"
|
|
687
1400
|
},
|
|
688
|
-
"remove-workspace": {
|
|
689
|
-
"description": "Remove workspace from profile",
|
|
690
|
-
"name": "remove-workspace",
|
|
691
|
-
"required": false,
|
|
692
|
-
"allowNo": false,
|
|
693
|
-
"type": "boolean"
|
|
694
|
-
},
|
|
695
1401
|
"remove-branch": {
|
|
696
1402
|
"description": "Remove branch from profile",
|
|
697
1403
|
"name": "remove-branch",
|
|
@@ -706,6 +1412,20 @@
|
|
|
706
1412
|
"allowNo": false,
|
|
707
1413
|
"type": "boolean"
|
|
708
1414
|
},
|
|
1415
|
+
"remove-run-base-url": {
|
|
1416
|
+
"description": "Remove run_base_url from profile (use default)",
|
|
1417
|
+
"name": "remove-run-base-url",
|
|
1418
|
+
"required": false,
|
|
1419
|
+
"allowNo": false,
|
|
1420
|
+
"type": "boolean"
|
|
1421
|
+
},
|
|
1422
|
+
"remove-workspace": {
|
|
1423
|
+
"description": "Remove workspace from profile",
|
|
1424
|
+
"name": "remove-workspace",
|
|
1425
|
+
"required": false,
|
|
1426
|
+
"allowNo": false,
|
|
1427
|
+
"type": "boolean"
|
|
1428
|
+
},
|
|
709
1429
|
"run_base_url": {
|
|
710
1430
|
"char": "r",
|
|
711
1431
|
"description": "Update Xano Run API base URL",
|
|
@@ -715,12 +1435,14 @@
|
|
|
715
1435
|
"multiple": false,
|
|
716
1436
|
"type": "option"
|
|
717
1437
|
},
|
|
718
|
-
"
|
|
719
|
-
"
|
|
720
|
-
"
|
|
1438
|
+
"workspace": {
|
|
1439
|
+
"char": "w",
|
|
1440
|
+
"description": "Update workspace name",
|
|
1441
|
+
"name": "workspace",
|
|
721
1442
|
"required": false,
|
|
722
|
-
"
|
|
723
|
-
"
|
|
1443
|
+
"hasDynamicHelp": false,
|
|
1444
|
+
"multiple": false,
|
|
1445
|
+
"type": "option"
|
|
724
1446
|
}
|
|
725
1447
|
},
|
|
726
1448
|
"hasDynamicHelp": false,
|
|
@@ -740,28 +1462,18 @@
|
|
|
740
1462
|
"index.js"
|
|
741
1463
|
]
|
|
742
1464
|
},
|
|
743
|
-
"profile:
|
|
1465
|
+
"profile:get-default": {
|
|
744
1466
|
"aliases": [],
|
|
745
1467
|
"args": {},
|
|
746
|
-
"description": "
|
|
1468
|
+
"description": "Get the current default profile name",
|
|
747
1469
|
"examples": [
|
|
748
|
-
"$ xano profile:
|
|
749
|
-
"$ xano profile:
|
|
750
|
-
"$ 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"
|
|
1470
|
+
"$ xano profile:get-default\nproduction\n",
|
|
1471
|
+
"$ xano profile:get-default\nNo default profile set\n"
|
|
751
1472
|
],
|
|
752
|
-
"flags": {
|
|
753
|
-
"details": {
|
|
754
|
-
"char": "d",
|
|
755
|
-
"description": "Show detailed information for each profile",
|
|
756
|
-
"name": "details",
|
|
757
|
-
"required": false,
|
|
758
|
-
"allowNo": false,
|
|
759
|
-
"type": "boolean"
|
|
760
|
-
}
|
|
761
|
-
},
|
|
1473
|
+
"flags": {},
|
|
762
1474
|
"hasDynamicHelp": false,
|
|
763
1475
|
"hiddenAliases": [],
|
|
764
|
-
"id": "profile:
|
|
1476
|
+
"id": "profile:get-default",
|
|
765
1477
|
"pluginAlias": "@xano/cli",
|
|
766
1478
|
"pluginName": "@xano/cli",
|
|
767
1479
|
"pluginType": "core",
|
|
@@ -772,22 +1484,32 @@
|
|
|
772
1484
|
"dist",
|
|
773
1485
|
"commands",
|
|
774
1486
|
"profile",
|
|
775
|
-
"
|
|
1487
|
+
"get-default",
|
|
776
1488
|
"index.js"
|
|
777
1489
|
]
|
|
778
1490
|
},
|
|
779
|
-
"profile:
|
|
1491
|
+
"profile:list": {
|
|
780
1492
|
"aliases": [],
|
|
781
1493
|
"args": {},
|
|
782
|
-
"description": "
|
|
1494
|
+
"description": "List all available profile configurations",
|
|
783
1495
|
"examples": [
|
|
784
|
-
"$ xano profile:
|
|
785
|
-
"$ xano profile:
|
|
1496
|
+
"$ xano profile:list\nAvailable profiles:\n - default\n - production\n - staging\n - development\n",
|
|
1497
|
+
"$ 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",
|
|
1498
|
+
"$ 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"
|
|
786
1499
|
],
|
|
787
|
-
"flags": {
|
|
1500
|
+
"flags": {
|
|
1501
|
+
"details": {
|
|
1502
|
+
"char": "d",
|
|
1503
|
+
"description": "Show detailed information for each profile",
|
|
1504
|
+
"name": "details",
|
|
1505
|
+
"required": false,
|
|
1506
|
+
"allowNo": false,
|
|
1507
|
+
"type": "boolean"
|
|
1508
|
+
}
|
|
1509
|
+
},
|
|
788
1510
|
"hasDynamicHelp": false,
|
|
789
1511
|
"hiddenAliases": [],
|
|
790
|
-
"id": "profile:
|
|
1512
|
+
"id": "profile:list",
|
|
791
1513
|
"pluginAlias": "@xano/cli",
|
|
792
1514
|
"pluginName": "@xano/cli",
|
|
793
1515
|
"pluginType": "core",
|
|
@@ -798,7 +1520,7 @@
|
|
|
798
1520
|
"dist",
|
|
799
1521
|
"commands",
|
|
800
1522
|
"profile",
|
|
801
|
-
"
|
|
1523
|
+
"list",
|
|
802
1524
|
"index.js"
|
|
803
1525
|
]
|
|
804
1526
|
},
|
|
@@ -1022,15 +1744,6 @@
|
|
|
1022
1744
|
"allowNo": false,
|
|
1023
1745
|
"type": "boolean"
|
|
1024
1746
|
},
|
|
1025
|
-
"workspace": {
|
|
1026
|
-
"char": "w",
|
|
1027
|
-
"description": "Workspace ID (optional if set in profile)",
|
|
1028
|
-
"name": "workspace",
|
|
1029
|
-
"required": false,
|
|
1030
|
-
"hasDynamicHelp": false,
|
|
1031
|
-
"multiple": false,
|
|
1032
|
-
"type": "option"
|
|
1033
|
-
},
|
|
1034
1747
|
"output": {
|
|
1035
1748
|
"char": "o",
|
|
1036
1749
|
"description": "Output format",
|
|
@@ -1062,151 +1775,42 @@
|
|
|
1062
1775
|
"hasDynamicHelp": false,
|
|
1063
1776
|
"multiple": false,
|
|
1064
1777
|
"type": "option"
|
|
1065
|
-
}
|
|
1066
|
-
},
|
|
1067
|
-
"hasDynamicHelp": false,
|
|
1068
|
-
"hiddenAliases": [],
|
|
1069
|
-
"id": "static_host:list",
|
|
1070
|
-
"pluginAlias": "@xano/cli",
|
|
1071
|
-
"pluginName": "@xano/cli",
|
|
1072
|
-
"pluginType": "core",
|
|
1073
|
-
"strict": true,
|
|
1074
|
-
"enableJsonFlag": false,
|
|
1075
|
-
"isESM": true,
|
|
1076
|
-
"relativePath": [
|
|
1077
|
-
"dist",
|
|
1078
|
-
"commands",
|
|
1079
|
-
"static_host",
|
|
1080
|
-
"list",
|
|
1081
|
-
"index.js"
|
|
1082
|
-
]
|
|
1083
|
-
},
|
|
1084
|
-
"run:exec": {
|
|
1085
|
-
"aliases": [],
|
|
1086
|
-
"args": {
|
|
1087
|
-
"path": {
|
|
1088
|
-
"description": "Path to file or directory containing XanoScript code (directory creates multidoc from .xs files)",
|
|
1089
|
-
"name": "path",
|
|
1090
|
-
"required": false
|
|
1091
|
-
}
|
|
1092
|
-
},
|
|
1093
|
-
"description": "Execute XanoScript code (job or service)",
|
|
1094
|
-
"examples": [
|
|
1095
|
-
"$ xano run exec script.xs\nExecuted successfully!\n...\n",
|
|
1096
|
-
"$ xano run exec ./my-workspace\n# Executes all .xs files in directory as multidoc\nExecuted successfully!\n...\n",
|
|
1097
|
-
"$ xano run exec script.xs --edit\n# Opens script.xs in $EDITOR, then executes\nExecuted successfully!\n...\n",
|
|
1098
|
-
"$ cat script.xs | xano run exec --stdin\nExecuted successfully!\n...\n",
|
|
1099
|
-
"$ xano run exec script.xs -o json\n{\n \"run\": { ... }\n}\n",
|
|
1100
|
-
"$ xano run exec script.xs -a args.json\n# Executes with input arguments from args.json\nExecuted successfully!\n...\n",
|
|
1101
|
-
"$ xano run exec script.xs --env API_KEY=secret --env DEBUG=true\n# Executes with environment variable overrides\nExecuted successfully!\n...\n"
|
|
1102
|
-
],
|
|
1103
|
-
"flags": {
|
|
1104
|
-
"profile": {
|
|
1105
|
-
"char": "p",
|
|
1106
|
-
"description": "Profile to use for this command",
|
|
1107
|
-
"env": "XANO_PROFILE",
|
|
1108
|
-
"name": "profile",
|
|
1109
|
-
"required": false,
|
|
1110
|
-
"hasDynamicHelp": false,
|
|
1111
|
-
"multiple": false,
|
|
1112
|
-
"type": "option"
|
|
1113
|
-
},
|
|
1114
|
-
"verbose": {
|
|
1115
|
-
"char": "v",
|
|
1116
|
-
"description": "Show detailed request/response information",
|
|
1117
|
-
"env": "XANO_VERBOSE",
|
|
1118
|
-
"name": "verbose",
|
|
1119
|
-
"required": false,
|
|
1120
|
-
"allowNo": false,
|
|
1121
|
-
"type": "boolean"
|
|
1122
|
-
},
|
|
1123
|
-
"file": {
|
|
1124
|
-
"char": "f",
|
|
1125
|
-
"description": "Path or URL to file containing XanoScript code (deprecated: use path argument instead)",
|
|
1126
|
-
"exclusive": [
|
|
1127
|
-
"stdin"
|
|
1128
|
-
],
|
|
1129
|
-
"name": "file",
|
|
1130
|
-
"required": false,
|
|
1131
|
-
"hasDynamicHelp": false,
|
|
1132
|
-
"multiple": false,
|
|
1133
|
-
"type": "option"
|
|
1134
|
-
},
|
|
1135
|
-
"stdin": {
|
|
1136
|
-
"char": "s",
|
|
1137
|
-
"description": "Read XanoScript code from stdin",
|
|
1138
|
-
"exclusive": [
|
|
1139
|
-
"file"
|
|
1140
|
-
],
|
|
1141
|
-
"name": "stdin",
|
|
1142
|
-
"required": false,
|
|
1143
|
-
"allowNo": false,
|
|
1144
|
-
"type": "boolean"
|
|
1145
|
-
},
|
|
1146
|
-
"edit": {
|
|
1147
|
-
"char": "e",
|
|
1148
|
-
"description": "Open file in editor before running (requires path argument or --file)",
|
|
1149
|
-
"name": "edit",
|
|
1150
|
-
"required": false,
|
|
1151
|
-
"allowNo": false,
|
|
1152
|
-
"type": "boolean"
|
|
1153
|
-
},
|
|
1154
|
-
"output": {
|
|
1155
|
-
"char": "o",
|
|
1156
|
-
"description": "Output format",
|
|
1157
|
-
"name": "output",
|
|
1158
|
-
"required": false,
|
|
1159
|
-
"default": "summary",
|
|
1160
|
-
"hasDynamicHelp": false,
|
|
1161
|
-
"multiple": false,
|
|
1162
|
-
"options": [
|
|
1163
|
-
"summary",
|
|
1164
|
-
"json"
|
|
1165
|
-
],
|
|
1166
|
-
"type": "option"
|
|
1167
1778
|
},
|
|
1168
|
-
"
|
|
1169
|
-
"char": "
|
|
1170
|
-
"description": "
|
|
1171
|
-
"name": "
|
|
1779
|
+
"workspace": {
|
|
1780
|
+
"char": "w",
|
|
1781
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
1782
|
+
"name": "workspace",
|
|
1172
1783
|
"required": false,
|
|
1173
1784
|
"hasDynamicHelp": false,
|
|
1174
1785
|
"multiple": false,
|
|
1175
1786
|
"type": "option"
|
|
1176
|
-
},
|
|
1177
|
-
"env": {
|
|
1178
|
-
"description": "Environment variable override (key=value)",
|
|
1179
|
-
"name": "env",
|
|
1180
|
-
"required": false,
|
|
1181
|
-
"hasDynamicHelp": false,
|
|
1182
|
-
"multiple": true,
|
|
1183
|
-
"type": "option"
|
|
1184
1787
|
}
|
|
1185
1788
|
},
|
|
1186
1789
|
"hasDynamicHelp": false,
|
|
1187
1790
|
"hiddenAliases": [],
|
|
1188
|
-
"id": "
|
|
1791
|
+
"id": "static_host:list",
|
|
1189
1792
|
"pluginAlias": "@xano/cli",
|
|
1190
1793
|
"pluginName": "@xano/cli",
|
|
1191
1794
|
"pluginType": "core",
|
|
1192
1795
|
"strict": true,
|
|
1796
|
+
"enableJsonFlag": false,
|
|
1193
1797
|
"isESM": true,
|
|
1194
1798
|
"relativePath": [
|
|
1195
1799
|
"dist",
|
|
1196
1800
|
"commands",
|
|
1197
|
-
"
|
|
1198
|
-
"
|
|
1801
|
+
"static_host",
|
|
1802
|
+
"list",
|
|
1199
1803
|
"index.js"
|
|
1200
1804
|
]
|
|
1201
1805
|
},
|
|
1202
|
-
"
|
|
1806
|
+
"workspace:create": {
|
|
1203
1807
|
"aliases": [],
|
|
1204
1808
|
"args": {},
|
|
1205
|
-
"description": "
|
|
1809
|
+
"description": "Create a new workspace via the Xano Metadata API",
|
|
1206
1810
|
"examples": [
|
|
1207
|
-
"$ xano
|
|
1208
|
-
"$
|
|
1209
|
-
"$ xano
|
|
1811
|
+
"$ xano workspace create --name \"my-workspace\"\nCreated workspace: my-workspace (ID: 123)\n",
|
|
1812
|
+
"$ xano workspace create --name \"my-app\" --description \"My application workspace\"\nCreated workspace: my-app (ID: 456)\n Description: My application workspace\n",
|
|
1813
|
+
"$ xano workspace create -n \"new-project\" -d \"New project workspace\" -o json\n{\n \"id\": 789,\n \"name\": \"new-project\",\n \"description\": \"New project workspace\"\n}\n"
|
|
1210
1814
|
],
|
|
1211
1815
|
"flags": {
|
|
1212
1816
|
"profile": {
|
|
@@ -1228,28 +1832,23 @@
|
|
|
1228
1832
|
"allowNo": false,
|
|
1229
1833
|
"type": "boolean"
|
|
1230
1834
|
},
|
|
1231
|
-
"
|
|
1232
|
-
"char": "
|
|
1233
|
-
"description": "
|
|
1234
|
-
"
|
|
1235
|
-
"stdin"
|
|
1236
|
-
],
|
|
1237
|
-
"name": "file",
|
|
1835
|
+
"description": {
|
|
1836
|
+
"char": "d",
|
|
1837
|
+
"description": "Description for the workspace",
|
|
1838
|
+
"name": "description",
|
|
1238
1839
|
"required": false,
|
|
1239
1840
|
"hasDynamicHelp": false,
|
|
1240
1841
|
"multiple": false,
|
|
1241
1842
|
"type": "option"
|
|
1242
1843
|
},
|
|
1243
|
-
"
|
|
1244
|
-
"char": "
|
|
1245
|
-
"description": "
|
|
1246
|
-
"
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
"
|
|
1250
|
-
"
|
|
1251
|
-
"allowNo": false,
|
|
1252
|
-
"type": "boolean"
|
|
1844
|
+
"name": {
|
|
1845
|
+
"char": "n",
|
|
1846
|
+
"description": "Name of the workspace",
|
|
1847
|
+
"name": "name",
|
|
1848
|
+
"required": true,
|
|
1849
|
+
"hasDynamicHelp": false,
|
|
1850
|
+
"multiple": false,
|
|
1851
|
+
"type": "option"
|
|
1253
1852
|
},
|
|
1254
1853
|
"output": {
|
|
1255
1854
|
"char": "o",
|
|
@@ -1268,29 +1867,35 @@
|
|
|
1268
1867
|
},
|
|
1269
1868
|
"hasDynamicHelp": false,
|
|
1270
1869
|
"hiddenAliases": [],
|
|
1271
|
-
"id": "
|
|
1870
|
+
"id": "workspace:create",
|
|
1272
1871
|
"pluginAlias": "@xano/cli",
|
|
1273
1872
|
"pluginName": "@xano/cli",
|
|
1274
1873
|
"pluginType": "core",
|
|
1275
1874
|
"strict": true,
|
|
1875
|
+
"enableJsonFlag": false,
|
|
1276
1876
|
"isESM": true,
|
|
1277
1877
|
"relativePath": [
|
|
1278
1878
|
"dist",
|
|
1279
1879
|
"commands",
|
|
1280
|
-
"
|
|
1281
|
-
"
|
|
1880
|
+
"workspace",
|
|
1881
|
+
"create",
|
|
1282
1882
|
"index.js"
|
|
1283
1883
|
]
|
|
1284
1884
|
},
|
|
1285
|
-
"workspace:
|
|
1885
|
+
"workspace:delete": {
|
|
1286
1886
|
"aliases": [],
|
|
1287
|
-
"args": {
|
|
1288
|
-
|
|
1887
|
+
"args": {
|
|
1888
|
+
"workspace_id": {
|
|
1889
|
+
"description": "Workspace ID to delete",
|
|
1890
|
+
"name": "workspace_id",
|
|
1891
|
+
"required": true
|
|
1892
|
+
}
|
|
1893
|
+
},
|
|
1894
|
+
"description": "Delete a workspace via the Xano Metadata API. Cannot delete workspaces with active tenants.",
|
|
1289
1895
|
"examples": [
|
|
1290
|
-
"$ xano workspace
|
|
1291
|
-
"$ xano workspace
|
|
1292
|
-
"$ xano workspace
|
|
1293
|
-
"$ xano workspace:list -p staging -o json\n{\n \"workspaces\": [\n {\n \"id\": 1,\n \"name\": \"my-app\"\n }\n ]\n}\n"
|
|
1896
|
+
"$ 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",
|
|
1897
|
+
"$ xano workspace delete 123 --force\nDeleted workspace 123\n",
|
|
1898
|
+
"$ xano workspace delete 123 -f -o json\n{\n \"deleted\": true,\n \"workspace_id\": 123\n}\n"
|
|
1294
1899
|
],
|
|
1295
1900
|
"flags": {
|
|
1296
1901
|
"profile": {
|
|
@@ -1312,6 +1917,14 @@
|
|
|
1312
1917
|
"allowNo": false,
|
|
1313
1918
|
"type": "boolean"
|
|
1314
1919
|
},
|
|
1920
|
+
"force": {
|
|
1921
|
+
"char": "f",
|
|
1922
|
+
"description": "Skip confirmation prompt",
|
|
1923
|
+
"name": "force",
|
|
1924
|
+
"required": false,
|
|
1925
|
+
"allowNo": false,
|
|
1926
|
+
"type": "boolean"
|
|
1927
|
+
},
|
|
1315
1928
|
"output": {
|
|
1316
1929
|
"char": "o",
|
|
1317
1930
|
"description": "Output format",
|
|
@@ -1329,7 +1942,7 @@
|
|
|
1329
1942
|
},
|
|
1330
1943
|
"hasDynamicHelp": false,
|
|
1331
1944
|
"hiddenAliases": [],
|
|
1332
|
-
"id": "workspace:
|
|
1945
|
+
"id": "workspace:delete",
|
|
1333
1946
|
"pluginAlias": "@xano/cli",
|
|
1334
1947
|
"pluginName": "@xano/cli",
|
|
1335
1948
|
"pluginType": "core",
|
|
@@ -1340,24 +1953,25 @@
|
|
|
1340
1953
|
"dist",
|
|
1341
1954
|
"commands",
|
|
1342
1955
|
"workspace",
|
|
1343
|
-
"
|
|
1956
|
+
"delete",
|
|
1344
1957
|
"index.js"
|
|
1345
1958
|
]
|
|
1346
1959
|
},
|
|
1347
|
-
"workspace:
|
|
1960
|
+
"workspace:edit": {
|
|
1348
1961
|
"aliases": [],
|
|
1349
1962
|
"args": {
|
|
1350
|
-
"
|
|
1351
|
-
"description": "
|
|
1352
|
-
"name": "
|
|
1353
|
-
"required":
|
|
1963
|
+
"workspace_id": {
|
|
1964
|
+
"description": "Workspace ID to edit (uses profile workspace if not provided)",
|
|
1965
|
+
"name": "workspace_id",
|
|
1966
|
+
"required": false
|
|
1354
1967
|
}
|
|
1355
1968
|
},
|
|
1356
|
-
"description": "
|
|
1969
|
+
"description": "Edit an existing workspace via the Xano Metadata API",
|
|
1357
1970
|
"examples": [
|
|
1358
|
-
"$ xano workspace
|
|
1359
|
-
"$ xano workspace
|
|
1360
|
-
"$ xano workspace
|
|
1971
|
+
"$ xano workspace edit 123 --name \"new-name\"\nUpdated workspace: new-name (ID: 123)\n",
|
|
1972
|
+
"$ xano workspace edit --name \"updated-workspace\" --description \"Updated description\"\nUpdated workspace: updated-workspace (ID: 123)\n Description: Updated description\n",
|
|
1973
|
+
"$ xano workspace edit 123 --swagger --require-token\nUpdated workspace: my-workspace (ID: 123)\n Swagger: enabled\n Require Token: true\n",
|
|
1974
|
+
"$ xano workspace edit 123 --no-swagger -o json\n{\n \"id\": 123,\n \"name\": \"my-workspace\",\n \"swagger\": false\n}\n"
|
|
1361
1975
|
],
|
|
1362
1976
|
"flags": {
|
|
1363
1977
|
"profile": {
|
|
@@ -1379,33 +1993,56 @@
|
|
|
1379
1993
|
"allowNo": false,
|
|
1380
1994
|
"type": "boolean"
|
|
1381
1995
|
},
|
|
1382
|
-
"
|
|
1383
|
-
"char": "
|
|
1384
|
-
"description": "
|
|
1385
|
-
"name": "
|
|
1996
|
+
"description": {
|
|
1997
|
+
"char": "d",
|
|
1998
|
+
"description": "New description for the workspace",
|
|
1999
|
+
"name": "description",
|
|
1386
2000
|
"required": false,
|
|
1387
2001
|
"hasDynamicHelp": false,
|
|
1388
2002
|
"multiple": false,
|
|
1389
2003
|
"type": "option"
|
|
1390
2004
|
},
|
|
1391
|
-
"
|
|
1392
|
-
"
|
|
1393
|
-
"
|
|
2005
|
+
"name": {
|
|
2006
|
+
"char": "n",
|
|
2007
|
+
"description": "New name for the workspace",
|
|
2008
|
+
"name": "name",
|
|
1394
2009
|
"required": false,
|
|
1395
|
-
"
|
|
2010
|
+
"hasDynamicHelp": false,
|
|
2011
|
+
"multiple": false,
|
|
2012
|
+
"type": "option"
|
|
2013
|
+
},
|
|
2014
|
+
"output": {
|
|
2015
|
+
"char": "o",
|
|
2016
|
+
"description": "Output format",
|
|
2017
|
+
"name": "output",
|
|
2018
|
+
"required": false,
|
|
2019
|
+
"default": "summary",
|
|
2020
|
+
"hasDynamicHelp": false,
|
|
2021
|
+
"multiple": false,
|
|
2022
|
+
"options": [
|
|
2023
|
+
"summary",
|
|
2024
|
+
"json"
|
|
2025
|
+
],
|
|
2026
|
+
"type": "option"
|
|
2027
|
+
},
|
|
2028
|
+
"require-token": {
|
|
2029
|
+
"description": "Whether to require a token for documentation access",
|
|
2030
|
+
"name": "require-token",
|
|
2031
|
+
"required": false,
|
|
2032
|
+
"allowNo": true,
|
|
1396
2033
|
"type": "boolean"
|
|
1397
2034
|
},
|
|
1398
|
-
"
|
|
1399
|
-
"description": "
|
|
1400
|
-
"name": "
|
|
2035
|
+
"swagger": {
|
|
2036
|
+
"description": "Enable or disable swagger documentation",
|
|
2037
|
+
"name": "swagger",
|
|
1401
2038
|
"required": false,
|
|
1402
|
-
"allowNo":
|
|
2039
|
+
"allowNo": true,
|
|
1403
2040
|
"type": "boolean"
|
|
1404
2041
|
}
|
|
1405
2042
|
},
|
|
1406
2043
|
"hasDynamicHelp": false,
|
|
1407
2044
|
"hiddenAliases": [],
|
|
1408
|
-
"id": "workspace:
|
|
2045
|
+
"id": "workspace:edit",
|
|
1409
2046
|
"pluginAlias": "@xano/cli",
|
|
1410
2047
|
"pluginName": "@xano/cli",
|
|
1411
2048
|
"pluginType": "core",
|
|
@@ -1416,24 +2053,24 @@
|
|
|
1416
2053
|
"dist",
|
|
1417
2054
|
"commands",
|
|
1418
2055
|
"workspace",
|
|
1419
|
-
"
|
|
2056
|
+
"edit",
|
|
1420
2057
|
"index.js"
|
|
1421
2058
|
]
|
|
1422
2059
|
},
|
|
1423
|
-
"workspace:
|
|
2060
|
+
"workspace:get": {
|
|
1424
2061
|
"aliases": [],
|
|
1425
2062
|
"args": {
|
|
1426
|
-
"
|
|
1427
|
-
"description": "
|
|
1428
|
-
"name": "
|
|
1429
|
-
"required":
|
|
2063
|
+
"workspace_id": {
|
|
2064
|
+
"description": "Workspace ID to get details for (uses profile workspace if not provided)",
|
|
2065
|
+
"name": "workspace_id",
|
|
2066
|
+
"required": false
|
|
1430
2067
|
}
|
|
1431
2068
|
},
|
|
1432
|
-
"description": "
|
|
2069
|
+
"description": "Get details of a specific workspace from the Xano Metadata API",
|
|
1433
2070
|
"examples": [
|
|
1434
|
-
"$ xano workspace
|
|
1435
|
-
"$ xano workspace
|
|
1436
|
-
"$ xano workspace
|
|
2071
|
+
"$ xano workspace get 123\nWorkspace: my-workspace (ID: 123)\n Description: My workspace description\n Created: 2024-01-15\n",
|
|
2072
|
+
"$ xano workspace get --output json\n{\n \"id\": 123,\n \"name\": \"my-workspace\",\n \"description\": \"My workspace description\"\n}\n",
|
|
2073
|
+
"$ xano workspace get 456 -p production -o json\n{\n \"id\": 456,\n \"name\": \"production-workspace\"\n}\n"
|
|
1437
2074
|
],
|
|
1438
2075
|
"flags": {
|
|
1439
2076
|
"profile": {
|
|
@@ -1455,19 +2092,24 @@
|
|
|
1455
2092
|
"allowNo": false,
|
|
1456
2093
|
"type": "boolean"
|
|
1457
2094
|
},
|
|
1458
|
-
"
|
|
1459
|
-
"char": "
|
|
1460
|
-
"description": "
|
|
1461
|
-
"name": "
|
|
2095
|
+
"output": {
|
|
2096
|
+
"char": "o",
|
|
2097
|
+
"description": "Output format",
|
|
2098
|
+
"name": "output",
|
|
1462
2099
|
"required": false,
|
|
2100
|
+
"default": "summary",
|
|
1463
2101
|
"hasDynamicHelp": false,
|
|
1464
2102
|
"multiple": false,
|
|
2103
|
+
"options": [
|
|
2104
|
+
"summary",
|
|
2105
|
+
"json"
|
|
2106
|
+
],
|
|
1465
2107
|
"type": "option"
|
|
1466
2108
|
}
|
|
1467
2109
|
},
|
|
1468
2110
|
"hasDynamicHelp": false,
|
|
1469
2111
|
"hiddenAliases": [],
|
|
1470
|
-
"id": "workspace:
|
|
2112
|
+
"id": "workspace:get",
|
|
1471
2113
|
"pluginAlias": "@xano/cli",
|
|
1472
2114
|
"pluginName": "@xano/cli",
|
|
1473
2115
|
"pluginType": "core",
|
|
@@ -1478,24 +2120,19 @@
|
|
|
1478
2120
|
"dist",
|
|
1479
2121
|
"commands",
|
|
1480
2122
|
"workspace",
|
|
1481
|
-
"
|
|
2123
|
+
"get",
|
|
1482
2124
|
"index.js"
|
|
1483
2125
|
]
|
|
1484
2126
|
},
|
|
1485
|
-
"
|
|
2127
|
+
"workspace:list": {
|
|
1486
2128
|
"aliases": [],
|
|
1487
|
-
"args": {
|
|
1488
|
-
|
|
1489
|
-
"description": "Static Host name",
|
|
1490
|
-
"name": "static_host",
|
|
1491
|
-
"required": true
|
|
1492
|
-
}
|
|
1493
|
-
},
|
|
1494
|
-
"description": "Create a new build for a static host",
|
|
2129
|
+
"args": {},
|
|
2130
|
+
"description": "List all workspaces from the Xano Metadata API",
|
|
1495
2131
|
"examples": [
|
|
1496
|
-
"$ xano
|
|
1497
|
-
"$ xano
|
|
1498
|
-
"$ xano
|
|
2132
|
+
"$ xano workspace:list\nAvailable workspaces:\n - workspace-1 (ID: 1)\n - workspace-2 (ID: 2)\n - workspace-3 (ID: 3)\n",
|
|
2133
|
+
"$ xano workspace:list --profile production\nAvailable workspaces:\n - my-app (ID: 1)\n - staging-env (ID: 2)\n",
|
|
2134
|
+
"$ 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",
|
|
2135
|
+
"$ xano workspace:list -p staging -o json\n{\n \"workspaces\": [\n {\n \"id\": 1,\n \"name\": \"my-app\"\n }\n ]\n}\n"
|
|
1499
2136
|
],
|
|
1500
2137
|
"flags": {
|
|
1501
2138
|
"profile": {
|
|
@@ -1517,42 +2154,6 @@
|
|
|
1517
2154
|
"allowNo": false,
|
|
1518
2155
|
"type": "boolean"
|
|
1519
2156
|
},
|
|
1520
|
-
"workspace": {
|
|
1521
|
-
"char": "w",
|
|
1522
|
-
"description": "Workspace ID (optional if set in profile)",
|
|
1523
|
-
"name": "workspace",
|
|
1524
|
-
"required": false,
|
|
1525
|
-
"hasDynamicHelp": false,
|
|
1526
|
-
"multiple": false,
|
|
1527
|
-
"type": "option"
|
|
1528
|
-
},
|
|
1529
|
-
"file": {
|
|
1530
|
-
"char": "f",
|
|
1531
|
-
"description": "Path to zip file to upload",
|
|
1532
|
-
"name": "file",
|
|
1533
|
-
"required": true,
|
|
1534
|
-
"hasDynamicHelp": false,
|
|
1535
|
-
"multiple": false,
|
|
1536
|
-
"type": "option"
|
|
1537
|
-
},
|
|
1538
|
-
"name": {
|
|
1539
|
-
"char": "n",
|
|
1540
|
-
"description": "Build name",
|
|
1541
|
-
"name": "name",
|
|
1542
|
-
"required": true,
|
|
1543
|
-
"hasDynamicHelp": false,
|
|
1544
|
-
"multiple": false,
|
|
1545
|
-
"type": "option"
|
|
1546
|
-
},
|
|
1547
|
-
"description": {
|
|
1548
|
-
"char": "d",
|
|
1549
|
-
"description": "Build description",
|
|
1550
|
-
"name": "description",
|
|
1551
|
-
"required": false,
|
|
1552
|
-
"hasDynamicHelp": false,
|
|
1553
|
-
"multiple": false,
|
|
1554
|
-
"type": "option"
|
|
1555
|
-
},
|
|
1556
2157
|
"output": {
|
|
1557
2158
|
"char": "o",
|
|
1558
2159
|
"description": "Output format",
|
|
@@ -1570,7 +2171,7 @@
|
|
|
1570
2171
|
},
|
|
1571
2172
|
"hasDynamicHelp": false,
|
|
1572
2173
|
"hiddenAliases": [],
|
|
1573
|
-
"id": "
|
|
2174
|
+
"id": "workspace:list",
|
|
1574
2175
|
"pluginAlias": "@xano/cli",
|
|
1575
2176
|
"pluginName": "@xano/cli",
|
|
1576
2177
|
"pluginType": "core",
|
|
@@ -1580,32 +2181,25 @@
|
|
|
1580
2181
|
"relativePath": [
|
|
1581
2182
|
"dist",
|
|
1582
2183
|
"commands",
|
|
1583
|
-
"
|
|
1584
|
-
"
|
|
1585
|
-
"create",
|
|
2184
|
+
"workspace",
|
|
2185
|
+
"list",
|
|
1586
2186
|
"index.js"
|
|
1587
2187
|
]
|
|
1588
2188
|
},
|
|
1589
|
-
"
|
|
2189
|
+
"workspace:pull": {
|
|
1590
2190
|
"aliases": [],
|
|
1591
2191
|
"args": {
|
|
1592
|
-
"
|
|
1593
|
-
"description": "
|
|
1594
|
-
"name": "
|
|
1595
|
-
"required": true
|
|
1596
|
-
},
|
|
1597
|
-
"build_id": {
|
|
1598
|
-
"description": "Build ID",
|
|
1599
|
-
"name": "build_id",
|
|
2192
|
+
"directory": {
|
|
2193
|
+
"description": "Output directory for pulled documents",
|
|
2194
|
+
"name": "directory",
|
|
1600
2195
|
"required": true
|
|
1601
2196
|
}
|
|
1602
2197
|
},
|
|
1603
|
-
"description": "
|
|
2198
|
+
"description": "Pull a workspace multidoc from the Xano Metadata API and split into individual files",
|
|
1604
2199
|
"examples": [
|
|
1605
|
-
"$ xano
|
|
1606
|
-
"$ xano
|
|
1607
|
-
"$ xano
|
|
1608
|
-
"$ xano static_host:build:get default 52 -o json\n{\n \"id\": 52,\n \"name\": \"v1.0.0\",\n \"status\": \"completed\"\n}\n"
|
|
2200
|
+
"$ xano workspace pull ./my-workspace\nPulled 42 documents to ./my-workspace\n",
|
|
2201
|
+
"$ xano workspace pull ./output -w 40\nPulled 15 documents to ./output\n",
|
|
2202
|
+
"$ xano workspace pull ./backup --profile production --env --records\nPulled 58 documents to ./backup\n"
|
|
1609
2203
|
],
|
|
1610
2204
|
"flags": {
|
|
1611
2205
|
"profile": {
|
|
@@ -1627,6 +2221,20 @@
|
|
|
1627
2221
|
"allowNo": false,
|
|
1628
2222
|
"type": "boolean"
|
|
1629
2223
|
},
|
|
2224
|
+
"env": {
|
|
2225
|
+
"description": "Include environment variables",
|
|
2226
|
+
"name": "env",
|
|
2227
|
+
"required": false,
|
|
2228
|
+
"allowNo": false,
|
|
2229
|
+
"type": "boolean"
|
|
2230
|
+
},
|
|
2231
|
+
"records": {
|
|
2232
|
+
"description": "Include records",
|
|
2233
|
+
"name": "records",
|
|
2234
|
+
"required": false,
|
|
2235
|
+
"allowNo": false,
|
|
2236
|
+
"type": "boolean"
|
|
2237
|
+
},
|
|
1630
2238
|
"workspace": {
|
|
1631
2239
|
"char": "w",
|
|
1632
2240
|
"description": "Workspace ID (optional if set in profile)",
|
|
@@ -1635,25 +2243,11 @@
|
|
|
1635
2243
|
"hasDynamicHelp": false,
|
|
1636
2244
|
"multiple": false,
|
|
1637
2245
|
"type": "option"
|
|
1638
|
-
},
|
|
1639
|
-
"output": {
|
|
1640
|
-
"char": "o",
|
|
1641
|
-
"description": "Output format",
|
|
1642
|
-
"name": "output",
|
|
1643
|
-
"required": false,
|
|
1644
|
-
"default": "summary",
|
|
1645
|
-
"hasDynamicHelp": false,
|
|
1646
|
-
"multiple": false,
|
|
1647
|
-
"options": [
|
|
1648
|
-
"summary",
|
|
1649
|
-
"json"
|
|
1650
|
-
],
|
|
1651
|
-
"type": "option"
|
|
1652
2246
|
}
|
|
1653
2247
|
},
|
|
1654
2248
|
"hasDynamicHelp": false,
|
|
1655
2249
|
"hiddenAliases": [],
|
|
1656
|
-
"id": "
|
|
2250
|
+
"id": "workspace:pull",
|
|
1657
2251
|
"pluginAlias": "@xano/cli",
|
|
1658
2252
|
"pluginName": "@xano/cli",
|
|
1659
2253
|
"pluginType": "core",
|
|
@@ -1662,28 +2256,26 @@
|
|
|
1662
2256
|
"isESM": true,
|
|
1663
2257
|
"relativePath": [
|
|
1664
2258
|
"dist",
|
|
1665
|
-
"commands",
|
|
1666
|
-
"
|
|
1667
|
-
"
|
|
1668
|
-
"get",
|
|
2259
|
+
"commands",
|
|
2260
|
+
"workspace",
|
|
2261
|
+
"pull",
|
|
1669
2262
|
"index.js"
|
|
1670
2263
|
]
|
|
1671
2264
|
},
|
|
1672
|
-
"
|
|
2265
|
+
"workspace:push": {
|
|
1673
2266
|
"aliases": [],
|
|
1674
2267
|
"args": {
|
|
1675
|
-
"
|
|
1676
|
-
"description": "
|
|
1677
|
-
"name": "
|
|
2268
|
+
"directory": {
|
|
2269
|
+
"description": "Directory containing documents to push (as produced by workspace pull)",
|
|
2270
|
+
"name": "directory",
|
|
1678
2271
|
"required": true
|
|
1679
2272
|
}
|
|
1680
2273
|
},
|
|
1681
|
-
"description": "
|
|
2274
|
+
"description": "Push local documents to a workspace via the Xano Metadata API multidoc endpoint",
|
|
1682
2275
|
"examples": [
|
|
1683
|
-
"$ xano
|
|
1684
|
-
"$ xano
|
|
1685
|
-
"$ xano
|
|
1686
|
-
"$ 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"
|
|
2276
|
+
"$ xano workspace push ./my-workspace\nPushed 42 documents from ./my-workspace\n",
|
|
2277
|
+
"$ xano workspace push ./output -w 40\nPushed 15 documents from ./output\n",
|
|
2278
|
+
"$ xano workspace push ./backup --profile production\nPushed 58 documents from ./backup\n"
|
|
1687
2279
|
],
|
|
1688
2280
|
"flags": {
|
|
1689
2281
|
"profile": {
|
|
@@ -1713,43 +2305,11 @@
|
|
|
1713
2305
|
"hasDynamicHelp": false,
|
|
1714
2306
|
"multiple": false,
|
|
1715
2307
|
"type": "option"
|
|
1716
|
-
},
|
|
1717
|
-
"output": {
|
|
1718
|
-
"char": "o",
|
|
1719
|
-
"description": "Output format",
|
|
1720
|
-
"name": "output",
|
|
1721
|
-
"required": false,
|
|
1722
|
-
"default": "summary",
|
|
1723
|
-
"hasDynamicHelp": false,
|
|
1724
|
-
"multiple": false,
|
|
1725
|
-
"options": [
|
|
1726
|
-
"summary",
|
|
1727
|
-
"json"
|
|
1728
|
-
],
|
|
1729
|
-
"type": "option"
|
|
1730
|
-
},
|
|
1731
|
-
"page": {
|
|
1732
|
-
"description": "Page number for pagination",
|
|
1733
|
-
"name": "page",
|
|
1734
|
-
"required": false,
|
|
1735
|
-
"default": 1,
|
|
1736
|
-
"hasDynamicHelp": false,
|
|
1737
|
-
"multiple": false,
|
|
1738
|
-
"type": "option"
|
|
1739
|
-
},
|
|
1740
|
-
"per_page": {
|
|
1741
|
-
"description": "Number of results per page",
|
|
1742
|
-
"name": "per_page",
|
|
1743
|
-
"required": false,
|
|
1744
|
-
"default": 50,
|
|
1745
|
-
"hasDynamicHelp": false,
|
|
1746
|
-
"multiple": false,
|
|
1747
|
-
"type": "option"
|
|
1748
2308
|
}
|
|
1749
2309
|
},
|
|
1750
2310
|
"hasDynamicHelp": false,
|
|
1751
2311
|
"hiddenAliases": [],
|
|
1752
|
-
"id": "
|
|
2312
|
+
"id": "workspace:push",
|
|
1753
2313
|
"pluginAlias": "@xano/cli",
|
|
1754
2314
|
"pluginName": "@xano/cli",
|
|
1755
2315
|
"pluginType": "core",
|
|
@@ -1759,9 +2319,8 @@
|
|
|
1759
2319
|
"relativePath": [
|
|
1760
2320
|
"dist",
|
|
1761
2321
|
"commands",
|
|
1762
|
-
"
|
|
1763
|
-
"
|
|
1764
|
-
"list",
|
|
2322
|
+
"workspace",
|
|
2323
|
+
"push",
|
|
1765
2324
|
"index.js"
|
|
1766
2325
|
]
|
|
1767
2326
|
},
|
|
@@ -1993,7 +2552,207 @@
|
|
|
1993
2552
|
},
|
|
1994
2553
|
"hasDynamicHelp": false,
|
|
1995
2554
|
"hiddenAliases": [],
|
|
1996
|
-
"id": "run:env:set",
|
|
2555
|
+
"id": "run:env:set",
|
|
2556
|
+
"pluginAlias": "@xano/cli",
|
|
2557
|
+
"pluginName": "@xano/cli",
|
|
2558
|
+
"pluginType": "core",
|
|
2559
|
+
"strict": true,
|
|
2560
|
+
"isESM": true,
|
|
2561
|
+
"relativePath": [
|
|
2562
|
+
"dist",
|
|
2563
|
+
"commands",
|
|
2564
|
+
"run",
|
|
2565
|
+
"env",
|
|
2566
|
+
"set",
|
|
2567
|
+
"index.js"
|
|
2568
|
+
]
|
|
2569
|
+
},
|
|
2570
|
+
"run:projects:create": {
|
|
2571
|
+
"aliases": [],
|
|
2572
|
+
"args": {},
|
|
2573
|
+
"description": "Create a new project",
|
|
2574
|
+
"examples": [
|
|
2575
|
+
"$ xano run projects create -n \"My Project\"\nProject created successfully!\n ID: abc123-def456-ghi789\n Name: My Project\n",
|
|
2576
|
+
"$ xano run projects create -n \"My Project\" -d \"Description here\"\nProject created successfully!\n ID: abc123-def456-ghi789\n Name: My Project\n",
|
|
2577
|
+
"$ xano run projects create -n \"My Project\" -o json\n{ \"id\": \"abc123-def456-ghi789\", \"name\": \"My Project\", ... }\n"
|
|
2578
|
+
],
|
|
2579
|
+
"flags": {
|
|
2580
|
+
"profile": {
|
|
2581
|
+
"char": "p",
|
|
2582
|
+
"description": "Profile to use for this command",
|
|
2583
|
+
"env": "XANO_PROFILE",
|
|
2584
|
+
"name": "profile",
|
|
2585
|
+
"required": false,
|
|
2586
|
+
"hasDynamicHelp": false,
|
|
2587
|
+
"multiple": false,
|
|
2588
|
+
"type": "option"
|
|
2589
|
+
},
|
|
2590
|
+
"verbose": {
|
|
2591
|
+
"char": "v",
|
|
2592
|
+
"description": "Show detailed request/response information",
|
|
2593
|
+
"env": "XANO_VERBOSE",
|
|
2594
|
+
"name": "verbose",
|
|
2595
|
+
"required": false,
|
|
2596
|
+
"allowNo": false,
|
|
2597
|
+
"type": "boolean"
|
|
2598
|
+
},
|
|
2599
|
+
"description": {
|
|
2600
|
+
"char": "d",
|
|
2601
|
+
"description": "Project description",
|
|
2602
|
+
"name": "description",
|
|
2603
|
+
"required": false,
|
|
2604
|
+
"default": "",
|
|
2605
|
+
"hasDynamicHelp": false,
|
|
2606
|
+
"multiple": false,
|
|
2607
|
+
"type": "option"
|
|
2608
|
+
},
|
|
2609
|
+
"name": {
|
|
2610
|
+
"char": "n",
|
|
2611
|
+
"description": "Project name",
|
|
2612
|
+
"name": "name",
|
|
2613
|
+
"required": true,
|
|
2614
|
+
"hasDynamicHelp": false,
|
|
2615
|
+
"multiple": false,
|
|
2616
|
+
"type": "option"
|
|
2617
|
+
},
|
|
2618
|
+
"output": {
|
|
2619
|
+
"char": "o",
|
|
2620
|
+
"description": "Output format",
|
|
2621
|
+
"name": "output",
|
|
2622
|
+
"required": false,
|
|
2623
|
+
"default": "summary",
|
|
2624
|
+
"hasDynamicHelp": false,
|
|
2625
|
+
"multiple": false,
|
|
2626
|
+
"options": [
|
|
2627
|
+
"summary",
|
|
2628
|
+
"json"
|
|
2629
|
+
],
|
|
2630
|
+
"type": "option"
|
|
2631
|
+
}
|
|
2632
|
+
},
|
|
2633
|
+
"hasDynamicHelp": false,
|
|
2634
|
+
"hiddenAliases": [],
|
|
2635
|
+
"id": "run:projects:create",
|
|
2636
|
+
"pluginAlias": "@xano/cli",
|
|
2637
|
+
"pluginName": "@xano/cli",
|
|
2638
|
+
"pluginType": "core",
|
|
2639
|
+
"strict": true,
|
|
2640
|
+
"isESM": true,
|
|
2641
|
+
"relativePath": [
|
|
2642
|
+
"dist",
|
|
2643
|
+
"commands",
|
|
2644
|
+
"run",
|
|
2645
|
+
"projects",
|
|
2646
|
+
"create",
|
|
2647
|
+
"index.js"
|
|
2648
|
+
]
|
|
2649
|
+
},
|
|
2650
|
+
"run:projects:delete": {
|
|
2651
|
+
"aliases": [],
|
|
2652
|
+
"args": {
|
|
2653
|
+
"projectId": {
|
|
2654
|
+
"description": "Project ID to delete",
|
|
2655
|
+
"name": "projectId",
|
|
2656
|
+
"required": true
|
|
2657
|
+
}
|
|
2658
|
+
},
|
|
2659
|
+
"description": "Delete a project",
|
|
2660
|
+
"examples": [
|
|
2661
|
+
"$ xano run projects delete abc123-def456\nAre you sure you want to delete project 'abc123-def456'? (y/N)\nProject deleted successfully!\n",
|
|
2662
|
+
"$ xano run projects delete abc123-def456 --force\nProject deleted successfully!\n"
|
|
2663
|
+
],
|
|
2664
|
+
"flags": {
|
|
2665
|
+
"profile": {
|
|
2666
|
+
"char": "p",
|
|
2667
|
+
"description": "Profile to use for this command",
|
|
2668
|
+
"env": "XANO_PROFILE",
|
|
2669
|
+
"name": "profile",
|
|
2670
|
+
"required": false,
|
|
2671
|
+
"hasDynamicHelp": false,
|
|
2672
|
+
"multiple": false,
|
|
2673
|
+
"type": "option"
|
|
2674
|
+
},
|
|
2675
|
+
"verbose": {
|
|
2676
|
+
"char": "v",
|
|
2677
|
+
"description": "Show detailed request/response information",
|
|
2678
|
+
"env": "XANO_VERBOSE",
|
|
2679
|
+
"name": "verbose",
|
|
2680
|
+
"required": false,
|
|
2681
|
+
"allowNo": false,
|
|
2682
|
+
"type": "boolean"
|
|
2683
|
+
},
|
|
2684
|
+
"force": {
|
|
2685
|
+
"char": "f",
|
|
2686
|
+
"description": "Skip confirmation prompt",
|
|
2687
|
+
"name": "force",
|
|
2688
|
+
"required": false,
|
|
2689
|
+
"allowNo": false,
|
|
2690
|
+
"type": "boolean"
|
|
2691
|
+
}
|
|
2692
|
+
},
|
|
2693
|
+
"hasDynamicHelp": false,
|
|
2694
|
+
"hiddenAliases": [],
|
|
2695
|
+
"id": "run:projects:delete",
|
|
2696
|
+
"pluginAlias": "@xano/cli",
|
|
2697
|
+
"pluginName": "@xano/cli",
|
|
2698
|
+
"pluginType": "core",
|
|
2699
|
+
"strict": true,
|
|
2700
|
+
"isESM": true,
|
|
2701
|
+
"relativePath": [
|
|
2702
|
+
"dist",
|
|
2703
|
+
"commands",
|
|
2704
|
+
"run",
|
|
2705
|
+
"projects",
|
|
2706
|
+
"delete",
|
|
2707
|
+
"index.js"
|
|
2708
|
+
]
|
|
2709
|
+
},
|
|
2710
|
+
"run:projects:list": {
|
|
2711
|
+
"aliases": [],
|
|
2712
|
+
"args": {},
|
|
2713
|
+
"description": "List all projects",
|
|
2714
|
+
"examples": [
|
|
2715
|
+
"$ xano run projects list\nID NAME ACCESS\nabc123-def456-ghi789 My Project private\nxyz789-uvw456-rst123 Test Project public\n",
|
|
2716
|
+
"$ xano run projects list -o json\n[\n { \"id\": \"abc123-def456-ghi789\", \"name\": \"My Project\", ... }\n]\n"
|
|
2717
|
+
],
|
|
2718
|
+
"flags": {
|
|
2719
|
+
"profile": {
|
|
2720
|
+
"char": "p",
|
|
2721
|
+
"description": "Profile to use for this command",
|
|
2722
|
+
"env": "XANO_PROFILE",
|
|
2723
|
+
"name": "profile",
|
|
2724
|
+
"required": false,
|
|
2725
|
+
"hasDynamicHelp": false,
|
|
2726
|
+
"multiple": false,
|
|
2727
|
+
"type": "option"
|
|
2728
|
+
},
|
|
2729
|
+
"verbose": {
|
|
2730
|
+
"char": "v",
|
|
2731
|
+
"description": "Show detailed request/response information",
|
|
2732
|
+
"env": "XANO_VERBOSE",
|
|
2733
|
+
"name": "verbose",
|
|
2734
|
+
"required": false,
|
|
2735
|
+
"allowNo": false,
|
|
2736
|
+
"type": "boolean"
|
|
2737
|
+
},
|
|
2738
|
+
"output": {
|
|
2739
|
+
"char": "o",
|
|
2740
|
+
"description": "Output format",
|
|
2741
|
+
"name": "output",
|
|
2742
|
+
"required": false,
|
|
2743
|
+
"default": "table",
|
|
2744
|
+
"hasDynamicHelp": false,
|
|
2745
|
+
"multiple": false,
|
|
2746
|
+
"options": [
|
|
2747
|
+
"table",
|
|
2748
|
+
"json"
|
|
2749
|
+
],
|
|
2750
|
+
"type": "option"
|
|
2751
|
+
}
|
|
2752
|
+
},
|
|
2753
|
+
"hasDynamicHelp": false,
|
|
2754
|
+
"hiddenAliases": [],
|
|
2755
|
+
"id": "run:projects:list",
|
|
1997
2756
|
"pluginAlias": "@xano/cli",
|
|
1998
2757
|
"pluginName": "@xano/cli",
|
|
1999
2758
|
"pluginType": "core",
|
|
@@ -2003,19 +2762,25 @@
|
|
|
2003
2762
|
"dist",
|
|
2004
2763
|
"commands",
|
|
2005
2764
|
"run",
|
|
2006
|
-
"
|
|
2007
|
-
"
|
|
2765
|
+
"projects",
|
|
2766
|
+
"list",
|
|
2008
2767
|
"index.js"
|
|
2009
2768
|
]
|
|
2010
2769
|
},
|
|
2011
|
-
"run:projects:
|
|
2770
|
+
"run:projects:update": {
|
|
2012
2771
|
"aliases": [],
|
|
2013
|
-
"args": {
|
|
2014
|
-
|
|
2772
|
+
"args": {
|
|
2773
|
+
"projectId": {
|
|
2774
|
+
"description": "Project ID to update",
|
|
2775
|
+
"name": "projectId",
|
|
2776
|
+
"required": true
|
|
2777
|
+
}
|
|
2778
|
+
},
|
|
2779
|
+
"description": "Update a project",
|
|
2015
2780
|
"examples": [
|
|
2016
|
-
"$ xano run projects
|
|
2017
|
-
"$ xano run projects
|
|
2018
|
-
"$ xano run projects
|
|
2781
|
+
"$ xano run projects update abc123-def456 -n \"New Name\"\nProject updated successfully!\n ID: abc123-def456\n Name: New Name\n",
|
|
2782
|
+
"$ xano run projects update abc123-def456 -d \"New description\"\nProject updated successfully!\n ID: abc123-def456\n Description: New description\n",
|
|
2783
|
+
"$ xano run projects update abc123-def456 -n \"New Name\" -o json\n{ \"id\": \"abc123-def456\", \"name\": \"New Name\", ... }\n"
|
|
2019
2784
|
],
|
|
2020
2785
|
"flags": {
|
|
2021
2786
|
"profile": {
|
|
@@ -2037,21 +2802,20 @@
|
|
|
2037
2802
|
"allowNo": false,
|
|
2038
2803
|
"type": "boolean"
|
|
2039
2804
|
},
|
|
2040
|
-
"
|
|
2041
|
-
"char": "
|
|
2042
|
-
"description": "
|
|
2043
|
-
"name": "
|
|
2044
|
-
"required":
|
|
2805
|
+
"description": {
|
|
2806
|
+
"char": "d",
|
|
2807
|
+
"description": "New project description",
|
|
2808
|
+
"name": "description",
|
|
2809
|
+
"required": false,
|
|
2045
2810
|
"hasDynamicHelp": false,
|
|
2046
2811
|
"multiple": false,
|
|
2047
2812
|
"type": "option"
|
|
2048
2813
|
},
|
|
2049
|
-
"
|
|
2050
|
-
"char": "
|
|
2051
|
-
"description": "
|
|
2052
|
-
"name": "
|
|
2814
|
+
"name": {
|
|
2815
|
+
"char": "n",
|
|
2816
|
+
"description": "New project name",
|
|
2817
|
+
"name": "name",
|
|
2053
2818
|
"required": false,
|
|
2054
|
-
"default": "",
|
|
2055
2819
|
"hasDynamicHelp": false,
|
|
2056
2820
|
"multiple": false,
|
|
2057
2821
|
"type": "option"
|
|
@@ -2073,7 +2837,7 @@
|
|
|
2073
2837
|
},
|
|
2074
2838
|
"hasDynamicHelp": false,
|
|
2075
2839
|
"hiddenAliases": [],
|
|
2076
|
-
"id": "run:projects:
|
|
2840
|
+
"id": "run:projects:update",
|
|
2077
2841
|
"pluginAlias": "@xano/cli",
|
|
2078
2842
|
"pluginName": "@xano/cli",
|
|
2079
2843
|
"pluginType": "core",
|
|
@@ -2084,23 +2848,23 @@
|
|
|
2084
2848
|
"commands",
|
|
2085
2849
|
"run",
|
|
2086
2850
|
"projects",
|
|
2087
|
-
"
|
|
2851
|
+
"update",
|
|
2088
2852
|
"index.js"
|
|
2089
2853
|
]
|
|
2090
2854
|
},
|
|
2091
|
-
"run:
|
|
2855
|
+
"run:secrets:delete": {
|
|
2092
2856
|
"aliases": [],
|
|
2093
2857
|
"args": {
|
|
2094
|
-
"
|
|
2095
|
-
"description": "
|
|
2096
|
-
"name": "
|
|
2858
|
+
"name": {
|
|
2859
|
+
"description": "Secret name",
|
|
2860
|
+
"name": "name",
|
|
2097
2861
|
"required": true
|
|
2098
2862
|
}
|
|
2099
2863
|
},
|
|
2100
|
-
"description": "Delete a
|
|
2864
|
+
"description": "Delete a secret",
|
|
2101
2865
|
"examples": [
|
|
2102
|
-
"$ xano run
|
|
2103
|
-
"$ xano run
|
|
2866
|
+
"$ xano run secrets delete docker-registry\nAre you sure you want to delete secret 'docker-registry'? (y/N)\nSecret 'docker-registry' deleted successfully!\n",
|
|
2867
|
+
"$ xano run secrets delete docker-registry --force\nSecret 'docker-registry' deleted successfully!\n"
|
|
2104
2868
|
],
|
|
2105
2869
|
"flags": {
|
|
2106
2870
|
"profile": {
|
|
@@ -2133,7 +2897,7 @@
|
|
|
2133
2897
|
},
|
|
2134
2898
|
"hasDynamicHelp": false,
|
|
2135
2899
|
"hiddenAliases": [],
|
|
2136
|
-
"id": "run:
|
|
2900
|
+
"id": "run:secrets:delete",
|
|
2137
2901
|
"pluginAlias": "@xano/cli",
|
|
2138
2902
|
"pluginName": "@xano/cli",
|
|
2139
2903
|
"pluginType": "core",
|
|
@@ -2143,18 +2907,18 @@
|
|
|
2143
2907
|
"dist",
|
|
2144
2908
|
"commands",
|
|
2145
2909
|
"run",
|
|
2146
|
-
"
|
|
2910
|
+
"secrets",
|
|
2147
2911
|
"delete",
|
|
2148
2912
|
"index.js"
|
|
2149
2913
|
]
|
|
2150
2914
|
},
|
|
2151
|
-
"run:
|
|
2915
|
+
"run:secrets:list": {
|
|
2152
2916
|
"aliases": [],
|
|
2153
2917
|
"args": {},
|
|
2154
|
-
"description": "List all
|
|
2918
|
+
"description": "List all secret keys",
|
|
2155
2919
|
"examples": [
|
|
2156
|
-
"$ xano run
|
|
2157
|
-
"$ xano run
|
|
2920
|
+
"$ xano run secrets list\nNAME TYPE REPO\ndocker-registry kubernetes.io/dockerconfigjson ghcr.io\nservice-account kubernetes.io/service-account-token -\n",
|
|
2921
|
+
"$ xano run secrets list -o json\n{ \"secrets\": [{ \"name\": \"docker-registry\", \"type\": \"kubernetes.io/dockerconfigjson\", \"repo\": \"ghcr.io\" }] }\n"
|
|
2158
2922
|
],
|
|
2159
2923
|
"flags": {
|
|
2160
2924
|
"profile": {
|
|
@@ -2193,7 +2957,7 @@
|
|
|
2193
2957
|
},
|
|
2194
2958
|
"hasDynamicHelp": false,
|
|
2195
2959
|
"hiddenAliases": [],
|
|
2196
|
-
"id": "run:
|
|
2960
|
+
"id": "run:secrets:list",
|
|
2197
2961
|
"pluginAlias": "@xano/cli",
|
|
2198
2962
|
"pluginName": "@xano/cli",
|
|
2199
2963
|
"pluginType": "core",
|
|
@@ -2203,25 +2967,24 @@
|
|
|
2203
2967
|
"dist",
|
|
2204
2968
|
"commands",
|
|
2205
2969
|
"run",
|
|
2206
|
-
"
|
|
2970
|
+
"secrets",
|
|
2207
2971
|
"list",
|
|
2208
2972
|
"index.js"
|
|
2209
2973
|
]
|
|
2210
2974
|
},
|
|
2211
|
-
"run:
|
|
2975
|
+
"run:secrets:get": {
|
|
2212
2976
|
"aliases": [],
|
|
2213
2977
|
"args": {
|
|
2214
|
-
"
|
|
2215
|
-
"description": "
|
|
2216
|
-
"name": "
|
|
2978
|
+
"name": {
|
|
2979
|
+
"description": "Secret name",
|
|
2980
|
+
"name": "name",
|
|
2217
2981
|
"required": true
|
|
2218
2982
|
}
|
|
2219
2983
|
},
|
|
2220
|
-
"description": "
|
|
2984
|
+
"description": "Get a secret value",
|
|
2221
2985
|
"examples": [
|
|
2222
|
-
"$ xano run
|
|
2223
|
-
"$ xano run
|
|
2224
|
-
"$ xano run projects update abc123-def456 -n \"New Name\" -o json\n{ \"id\": \"abc123-def456\", \"name\": \"New Name\", ... }\n"
|
|
2986
|
+
"$ xano run secrets get docker-registry\n{\"auths\":{\"ghcr.io\":{\"auth\":\"...\"}}}\n",
|
|
2987
|
+
"$ xano run secrets get docker-registry -o json\n{ \"name\": \"docker-registry\", \"type\": \"kubernetes.io/dockerconfigjson\", \"value\": \"...\" }\n"
|
|
2225
2988
|
],
|
|
2226
2989
|
"flags": {
|
|
2227
2990
|
"profile": {
|
|
@@ -2243,34 +3006,16 @@
|
|
|
2243
3006
|
"allowNo": false,
|
|
2244
3007
|
"type": "boolean"
|
|
2245
3008
|
},
|
|
2246
|
-
"name": {
|
|
2247
|
-
"char": "n",
|
|
2248
|
-
"description": "New project name",
|
|
2249
|
-
"name": "name",
|
|
2250
|
-
"required": false,
|
|
2251
|
-
"hasDynamicHelp": false,
|
|
2252
|
-
"multiple": false,
|
|
2253
|
-
"type": "option"
|
|
2254
|
-
},
|
|
2255
|
-
"description": {
|
|
2256
|
-
"char": "d",
|
|
2257
|
-
"description": "New project description",
|
|
2258
|
-
"name": "description",
|
|
2259
|
-
"required": false,
|
|
2260
|
-
"hasDynamicHelp": false,
|
|
2261
|
-
"multiple": false,
|
|
2262
|
-
"type": "option"
|
|
2263
|
-
},
|
|
2264
3009
|
"output": {
|
|
2265
3010
|
"char": "o",
|
|
2266
3011
|
"description": "Output format",
|
|
2267
3012
|
"name": "output",
|
|
2268
3013
|
"required": false,
|
|
2269
|
-
"default": "
|
|
3014
|
+
"default": "value",
|
|
2270
3015
|
"hasDynamicHelp": false,
|
|
2271
3016
|
"multiple": false,
|
|
2272
3017
|
"options": [
|
|
2273
|
-
"
|
|
3018
|
+
"value",
|
|
2274
3019
|
"json"
|
|
2275
3020
|
],
|
|
2276
3021
|
"type": "option"
|
|
@@ -2278,7 +3023,7 @@
|
|
|
2278
3023
|
},
|
|
2279
3024
|
"hasDynamicHelp": false,
|
|
2280
3025
|
"hiddenAliases": [],
|
|
2281
|
-
"id": "run:
|
|
3026
|
+
"id": "run:secrets:get",
|
|
2282
3027
|
"pluginAlias": "@xano/cli",
|
|
2283
3028
|
"pluginName": "@xano/cli",
|
|
2284
3029
|
"pluginType": "core",
|
|
@@ -2288,12 +3033,12 @@
|
|
|
2288
3033
|
"dist",
|
|
2289
3034
|
"commands",
|
|
2290
3035
|
"run",
|
|
2291
|
-
"
|
|
2292
|
-
"
|
|
3036
|
+
"secrets",
|
|
3037
|
+
"get",
|
|
2293
3038
|
"index.js"
|
|
2294
3039
|
]
|
|
2295
3040
|
},
|
|
2296
|
-
"run:secrets:
|
|
3041
|
+
"run:secrets:set": {
|
|
2297
3042
|
"aliases": [],
|
|
2298
3043
|
"args": {
|
|
2299
3044
|
"name": {
|
|
@@ -2302,10 +3047,10 @@
|
|
|
2302
3047
|
"required": true
|
|
2303
3048
|
}
|
|
2304
3049
|
},
|
|
2305
|
-
"description": "
|
|
3050
|
+
"description": "Set a secret",
|
|
2306
3051
|
"examples": [
|
|
2307
|
-
"$ xano run secrets
|
|
2308
|
-
"$ xano run secrets
|
|
3052
|
+
"$ xano run secrets set docker-registry -t dockerconfigjson -v '{\"auths\":{\"ghcr.io\":{\"auth\":\"...\"}}}' -r ghcr.io\nSecret 'docker-registry' set successfully!\n",
|
|
3053
|
+
"$ xano run secrets set service-key -t service-account-token -v 'token-value-here'\nSecret 'service-key' set successfully!\n"
|
|
2309
3054
|
],
|
|
2310
3055
|
"flags": {
|
|
2311
3056
|
"profile": {
|
|
@@ -2327,18 +3072,41 @@
|
|
|
2327
3072
|
"allowNo": false,
|
|
2328
3073
|
"type": "boolean"
|
|
2329
3074
|
},
|
|
2330
|
-
"
|
|
2331
|
-
"char": "
|
|
2332
|
-
"description": "
|
|
2333
|
-
"name": "
|
|
3075
|
+
"repo": {
|
|
3076
|
+
"char": "r",
|
|
3077
|
+
"description": "Repository (for dockerconfigjson type)",
|
|
3078
|
+
"name": "repo",
|
|
2334
3079
|
"required": false,
|
|
2335
|
-
"
|
|
2336
|
-
"
|
|
3080
|
+
"hasDynamicHelp": false,
|
|
3081
|
+
"multiple": false,
|
|
3082
|
+
"type": "option"
|
|
3083
|
+
},
|
|
3084
|
+
"type": {
|
|
3085
|
+
"char": "t",
|
|
3086
|
+
"description": "Secret type",
|
|
3087
|
+
"name": "type",
|
|
3088
|
+
"required": true,
|
|
3089
|
+
"hasDynamicHelp": false,
|
|
3090
|
+
"multiple": false,
|
|
3091
|
+
"options": [
|
|
3092
|
+
"dockerconfigjson",
|
|
3093
|
+
"service-account-token"
|
|
3094
|
+
],
|
|
3095
|
+
"type": "option"
|
|
3096
|
+
},
|
|
3097
|
+
"value": {
|
|
3098
|
+
"char": "v",
|
|
3099
|
+
"description": "Secret value",
|
|
3100
|
+
"name": "value",
|
|
3101
|
+
"required": true,
|
|
3102
|
+
"hasDynamicHelp": false,
|
|
3103
|
+
"multiple": false,
|
|
3104
|
+
"type": "option"
|
|
2337
3105
|
}
|
|
2338
3106
|
},
|
|
2339
3107
|
"hasDynamicHelp": false,
|
|
2340
3108
|
"hiddenAliases": [],
|
|
2341
|
-
"id": "run:secrets:
|
|
3109
|
+
"id": "run:secrets:set",
|
|
2342
3110
|
"pluginAlias": "@xano/cli",
|
|
2343
3111
|
"pluginName": "@xano/cli",
|
|
2344
3112
|
"pluginType": "core",
|
|
@@ -2349,23 +3117,23 @@
|
|
|
2349
3117
|
"commands",
|
|
2350
3118
|
"run",
|
|
2351
3119
|
"secrets",
|
|
2352
|
-
"
|
|
3120
|
+
"set",
|
|
2353
3121
|
"index.js"
|
|
2354
3122
|
]
|
|
2355
3123
|
},
|
|
2356
|
-
"run:
|
|
3124
|
+
"run:sessions:delete": {
|
|
2357
3125
|
"aliases": [],
|
|
2358
3126
|
"args": {
|
|
2359
|
-
"
|
|
2360
|
-
"description": "
|
|
2361
|
-
"name": "
|
|
3127
|
+
"sessionId": {
|
|
3128
|
+
"description": "Session ID",
|
|
3129
|
+
"name": "sessionId",
|
|
2362
3130
|
"required": true
|
|
2363
3131
|
}
|
|
2364
3132
|
},
|
|
2365
|
-
"description": "
|
|
3133
|
+
"description": "Delete a session",
|
|
2366
3134
|
"examples": [
|
|
2367
|
-
"$ xano run
|
|
2368
|
-
"$ xano run
|
|
3135
|
+
"$ xano run sessions delete abc123-def456\nAre you sure you want to delete session 'abc123-def456'? (y/N)\nSession deleted successfully!\n",
|
|
3136
|
+
"$ xano run sessions delete abc123-def456 --force\nSession deleted successfully!\n"
|
|
2369
3137
|
],
|
|
2370
3138
|
"flags": {
|
|
2371
3139
|
"profile": {
|
|
@@ -2387,24 +3155,18 @@
|
|
|
2387
3155
|
"allowNo": false,
|
|
2388
3156
|
"type": "boolean"
|
|
2389
3157
|
},
|
|
2390
|
-
"
|
|
2391
|
-
"char": "
|
|
2392
|
-
"description": "
|
|
2393
|
-
"name": "
|
|
3158
|
+
"force": {
|
|
3159
|
+
"char": "f",
|
|
3160
|
+
"description": "Skip confirmation prompt",
|
|
3161
|
+
"name": "force",
|
|
2394
3162
|
"required": false,
|
|
2395
|
-
"
|
|
2396
|
-
"
|
|
2397
|
-
"multiple": false,
|
|
2398
|
-
"options": [
|
|
2399
|
-
"value",
|
|
2400
|
-
"json"
|
|
2401
|
-
],
|
|
2402
|
-
"type": "option"
|
|
3163
|
+
"allowNo": false,
|
|
3164
|
+
"type": "boolean"
|
|
2403
3165
|
}
|
|
2404
3166
|
},
|
|
2405
3167
|
"hasDynamicHelp": false,
|
|
2406
3168
|
"hiddenAliases": [],
|
|
2407
|
-
"id": "run:
|
|
3169
|
+
"id": "run:sessions:delete",
|
|
2408
3170
|
"pluginAlias": "@xano/cli",
|
|
2409
3171
|
"pluginName": "@xano/cli",
|
|
2410
3172
|
"pluginType": "core",
|
|
@@ -2414,18 +3176,24 @@
|
|
|
2414
3176
|
"dist",
|
|
2415
3177
|
"commands",
|
|
2416
3178
|
"run",
|
|
2417
|
-
"
|
|
2418
|
-
"
|
|
3179
|
+
"sessions",
|
|
3180
|
+
"delete",
|
|
2419
3181
|
"index.js"
|
|
2420
3182
|
]
|
|
2421
3183
|
},
|
|
2422
|
-
"run:
|
|
3184
|
+
"run:sessions:get": {
|
|
2423
3185
|
"aliases": [],
|
|
2424
|
-
"args": {
|
|
2425
|
-
|
|
3186
|
+
"args": {
|
|
3187
|
+
"sessionId": {
|
|
3188
|
+
"description": "Session ID",
|
|
3189
|
+
"name": "sessionId",
|
|
3190
|
+
"required": true
|
|
3191
|
+
}
|
|
3192
|
+
},
|
|
3193
|
+
"description": "Get session details",
|
|
2426
3194
|
"examples": [
|
|
2427
|
-
"$ xano run
|
|
2428
|
-
"$ xano run
|
|
3195
|
+
"$ xano run sessions get abc123-def456\nSession Details:\n ID: abc123-def456\n Name: My Session\n Status: running\n Access: private\n URL: https://session.xano.io/abc123\n Uptime: 3600s\n",
|
|
3196
|
+
"$ xano run sessions get abc123-def456 -o json\n{ \"id\": \"abc123-def456\", \"name\": \"My Session\", \"status\": \"running\", ... }\n"
|
|
2429
3197
|
],
|
|
2430
3198
|
"flags": {
|
|
2431
3199
|
"profile": {
|
|
@@ -2452,11 +3220,11 @@
|
|
|
2452
3220
|
"description": "Output format",
|
|
2453
3221
|
"name": "output",
|
|
2454
3222
|
"required": false,
|
|
2455
|
-
"default": "
|
|
3223
|
+
"default": "summary",
|
|
2456
3224
|
"hasDynamicHelp": false,
|
|
2457
3225
|
"multiple": false,
|
|
2458
3226
|
"options": [
|
|
2459
|
-
"
|
|
3227
|
+
"summary",
|
|
2460
3228
|
"json"
|
|
2461
3229
|
],
|
|
2462
3230
|
"type": "option"
|
|
@@ -2464,7 +3232,7 @@
|
|
|
2464
3232
|
},
|
|
2465
3233
|
"hasDynamicHelp": false,
|
|
2466
3234
|
"hiddenAliases": [],
|
|
2467
|
-
"id": "run:
|
|
3235
|
+
"id": "run:sessions:get",
|
|
2468
3236
|
"pluginAlias": "@xano/cli",
|
|
2469
3237
|
"pluginName": "@xano/cli",
|
|
2470
3238
|
"pluginType": "core",
|
|
@@ -2474,24 +3242,18 @@
|
|
|
2474
3242
|
"dist",
|
|
2475
3243
|
"commands",
|
|
2476
3244
|
"run",
|
|
2477
|
-
"
|
|
2478
|
-
"
|
|
3245
|
+
"sessions",
|
|
3246
|
+
"get",
|
|
2479
3247
|
"index.js"
|
|
2480
3248
|
]
|
|
2481
3249
|
},
|
|
2482
|
-
"run:
|
|
3250
|
+
"run:sessions:list": {
|
|
2483
3251
|
"aliases": [],
|
|
2484
|
-
"args": {
|
|
2485
|
-
|
|
2486
|
-
"description": "Session ID",
|
|
2487
|
-
"name": "sessionId",
|
|
2488
|
-
"required": true
|
|
2489
|
-
}
|
|
2490
|
-
},
|
|
2491
|
-
"description": "Get sink data for a completed session",
|
|
3252
|
+
"args": {},
|
|
3253
|
+
"description": "List all sessions for the project",
|
|
2492
3254
|
"examples": [
|
|
2493
|
-
"$ xano run
|
|
2494
|
-
"$ xano run
|
|
3255
|
+
"$ 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",
|
|
3256
|
+
"$ xano run sessions list -o json\n{ \"items\": [{ \"id\": \"abc123-def456-ghi789\", \"state\": \"running\", ... }] }\n"
|
|
2495
3257
|
],
|
|
2496
3258
|
"flags": {
|
|
2497
3259
|
"profile": {
|
|
@@ -2518,11 +3280,11 @@
|
|
|
2518
3280
|
"description": "Output format",
|
|
2519
3281
|
"name": "output",
|
|
2520
3282
|
"required": false,
|
|
2521
|
-
"default": "
|
|
3283
|
+
"default": "table",
|
|
2522
3284
|
"hasDynamicHelp": false,
|
|
2523
3285
|
"multiple": false,
|
|
2524
3286
|
"options": [
|
|
2525
|
-
"
|
|
3287
|
+
"table",
|
|
2526
3288
|
"json"
|
|
2527
3289
|
],
|
|
2528
3290
|
"type": "option"
|
|
@@ -2530,7 +3292,7 @@
|
|
|
2530
3292
|
},
|
|
2531
3293
|
"hasDynamicHelp": false,
|
|
2532
3294
|
"hiddenAliases": [],
|
|
2533
|
-
"id": "run:
|
|
3295
|
+
"id": "run:sessions:list",
|
|
2534
3296
|
"pluginAlias": "@xano/cli",
|
|
2535
3297
|
"pluginName": "@xano/cli",
|
|
2536
3298
|
"pluginType": "core",
|
|
@@ -2540,12 +3302,12 @@
|
|
|
2540
3302
|
"dist",
|
|
2541
3303
|
"commands",
|
|
2542
3304
|
"run",
|
|
2543
|
-
"
|
|
2544
|
-
"
|
|
3305
|
+
"sessions",
|
|
3306
|
+
"list",
|
|
2545
3307
|
"index.js"
|
|
2546
3308
|
]
|
|
2547
3309
|
},
|
|
2548
|
-
"run:sessions:
|
|
3310
|
+
"run:sessions:stop": {
|
|
2549
3311
|
"aliases": [],
|
|
2550
3312
|
"args": {
|
|
2551
3313
|
"sessionId": {
|
|
@@ -2554,10 +3316,10 @@
|
|
|
2554
3316
|
"required": true
|
|
2555
3317
|
}
|
|
2556
3318
|
},
|
|
2557
|
-
"description": "
|
|
3319
|
+
"description": "Stop a session",
|
|
2558
3320
|
"examples": [
|
|
2559
|
-
"$ xano run sessions
|
|
2560
|
-
"$ xano run sessions
|
|
3321
|
+
"$ xano run sessions stop abc123-def456\nSession stopped successfully!\n ID: abc123-def456\n State: stopped\n",
|
|
3322
|
+
"$ xano run sessions stop abc123-def456 -o json\n{ \"id\": \"abc123-def456\", \"state\": \"stopped\", ... }\n"
|
|
2561
3323
|
],
|
|
2562
3324
|
"flags": {
|
|
2563
3325
|
"profile": {
|
|
@@ -2579,18 +3341,24 @@
|
|
|
2579
3341
|
"allowNo": false,
|
|
2580
3342
|
"type": "boolean"
|
|
2581
3343
|
},
|
|
2582
|
-
"
|
|
2583
|
-
"char": "
|
|
2584
|
-
"description": "
|
|
2585
|
-
"name": "
|
|
3344
|
+
"output": {
|
|
3345
|
+
"char": "o",
|
|
3346
|
+
"description": "Output format",
|
|
3347
|
+
"name": "output",
|
|
2586
3348
|
"required": false,
|
|
2587
|
-
"
|
|
2588
|
-
"
|
|
3349
|
+
"default": "summary",
|
|
3350
|
+
"hasDynamicHelp": false,
|
|
3351
|
+
"multiple": false,
|
|
3352
|
+
"options": [
|
|
3353
|
+
"summary",
|
|
3354
|
+
"json"
|
|
3355
|
+
],
|
|
3356
|
+
"type": "option"
|
|
2589
3357
|
}
|
|
2590
3358
|
},
|
|
2591
3359
|
"hasDynamicHelp": false,
|
|
2592
3360
|
"hiddenAliases": [],
|
|
2593
|
-
"id": "run:sessions:
|
|
3361
|
+
"id": "run:sessions:stop",
|
|
2594
3362
|
"pluginAlias": "@xano/cli",
|
|
2595
3363
|
"pluginName": "@xano/cli",
|
|
2596
3364
|
"pluginType": "core",
|
|
@@ -2601,23 +3369,23 @@
|
|
|
2601
3369
|
"commands",
|
|
2602
3370
|
"run",
|
|
2603
3371
|
"sessions",
|
|
2604
|
-
"
|
|
3372
|
+
"stop",
|
|
2605
3373
|
"index.js"
|
|
2606
3374
|
]
|
|
2607
3375
|
},
|
|
2608
|
-
"run:
|
|
3376
|
+
"run:sessions:start": {
|
|
2609
3377
|
"aliases": [],
|
|
2610
3378
|
"args": {
|
|
2611
|
-
"
|
|
2612
|
-
"description": "
|
|
2613
|
-
"name": "
|
|
3379
|
+
"sessionId": {
|
|
3380
|
+
"description": "Session ID",
|
|
3381
|
+
"name": "sessionId",
|
|
2614
3382
|
"required": true
|
|
2615
3383
|
}
|
|
2616
3384
|
},
|
|
2617
|
-
"description": "
|
|
3385
|
+
"description": "Start a session",
|
|
2618
3386
|
"examples": [
|
|
2619
|
-
"$ xano run
|
|
2620
|
-
"$ xano run
|
|
3387
|
+
"$ xano run sessions start abc123-def456\nSession started successfully!\n ID: abc123-def456\n State: running\n",
|
|
3388
|
+
"$ xano run sessions start abc123-def456 -o json\n{ \"id\": \"abc123-def456\", \"state\": \"running\", ... }\n"
|
|
2621
3389
|
],
|
|
2622
3390
|
"flags": {
|
|
2623
3391
|
"profile": {
|
|
@@ -2639,41 +3407,24 @@
|
|
|
2639
3407
|
"allowNo": false,
|
|
2640
3408
|
"type": "boolean"
|
|
2641
3409
|
},
|
|
2642
|
-
"
|
|
2643
|
-
"char": "
|
|
2644
|
-
"description": "
|
|
2645
|
-
"name": "
|
|
2646
|
-
"required":
|
|
3410
|
+
"output": {
|
|
3411
|
+
"char": "o",
|
|
3412
|
+
"description": "Output format",
|
|
3413
|
+
"name": "output",
|
|
3414
|
+
"required": false,
|
|
3415
|
+
"default": "summary",
|
|
2647
3416
|
"hasDynamicHelp": false,
|
|
2648
3417
|
"multiple": false,
|
|
2649
3418
|
"options": [
|
|
2650
|
-
"
|
|
2651
|
-
"
|
|
3419
|
+
"summary",
|
|
3420
|
+
"json"
|
|
2652
3421
|
],
|
|
2653
3422
|
"type": "option"
|
|
2654
|
-
},
|
|
2655
|
-
"value": {
|
|
2656
|
-
"char": "v",
|
|
2657
|
-
"description": "Secret value",
|
|
2658
|
-
"name": "value",
|
|
2659
|
-
"required": true,
|
|
2660
|
-
"hasDynamicHelp": false,
|
|
2661
|
-
"multiple": false,
|
|
2662
|
-
"type": "option"
|
|
2663
|
-
},
|
|
2664
|
-
"repo": {
|
|
2665
|
-
"char": "r",
|
|
2666
|
-
"description": "Repository (for dockerconfigjson type)",
|
|
2667
|
-
"name": "repo",
|
|
2668
|
-
"required": false,
|
|
2669
|
-
"hasDynamicHelp": false,
|
|
2670
|
-
"multiple": false,
|
|
2671
|
-
"type": "option"
|
|
2672
3423
|
}
|
|
2673
3424
|
},
|
|
2674
3425
|
"hasDynamicHelp": false,
|
|
2675
3426
|
"hiddenAliases": [],
|
|
2676
|
-
"id": "run:
|
|
3427
|
+
"id": "run:sessions:start",
|
|
2677
3428
|
"pluginAlias": "@xano/cli",
|
|
2678
3429
|
"pluginName": "@xano/cli",
|
|
2679
3430
|
"pluginType": "core",
|
|
@@ -2683,12 +3434,12 @@
|
|
|
2683
3434
|
"dist",
|
|
2684
3435
|
"commands",
|
|
2685
3436
|
"run",
|
|
2686
|
-
"
|
|
2687
|
-
"
|
|
3437
|
+
"sessions",
|
|
3438
|
+
"start",
|
|
2688
3439
|
"index.js"
|
|
2689
3440
|
]
|
|
2690
3441
|
},
|
|
2691
|
-
"run:
|
|
3442
|
+
"run:sink:get": {
|
|
2692
3443
|
"aliases": [],
|
|
2693
3444
|
"args": {
|
|
2694
3445
|
"sessionId": {
|
|
@@ -2697,10 +3448,10 @@
|
|
|
2697
3448
|
"required": true
|
|
2698
3449
|
}
|
|
2699
3450
|
},
|
|
2700
|
-
"description": "Get session
|
|
3451
|
+
"description": "Get sink data for a completed session",
|
|
2701
3452
|
"examples": [
|
|
2702
|
-
"$ xano run
|
|
2703
|
-
"$ xano run
|
|
3453
|
+
"$ 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",
|
|
3454
|
+
"$ xano run sink get abc123-def456 -o json\n{ \"tables\": [...], \"logs\": [...] }\n"
|
|
2704
3455
|
],
|
|
2705
3456
|
"flags": {
|
|
2706
3457
|
"profile": {
|
|
@@ -2739,7 +3490,7 @@
|
|
|
2739
3490
|
},
|
|
2740
3491
|
"hasDynamicHelp": false,
|
|
2741
3492
|
"hiddenAliases": [],
|
|
2742
|
-
"id": "run:
|
|
3493
|
+
"id": "run:sink:get",
|
|
2743
3494
|
"pluginAlias": "@xano/cli",
|
|
2744
3495
|
"pluginName": "@xano/cli",
|
|
2745
3496
|
"pluginType": "core",
|
|
@@ -2749,18 +3500,25 @@
|
|
|
2749
3500
|
"dist",
|
|
2750
3501
|
"commands",
|
|
2751
3502
|
"run",
|
|
2752
|
-
"
|
|
3503
|
+
"sink",
|
|
2753
3504
|
"get",
|
|
2754
3505
|
"index.js"
|
|
2755
3506
|
]
|
|
2756
3507
|
},
|
|
2757
|
-
"
|
|
3508
|
+
"static_host:build:create": {
|
|
2758
3509
|
"aliases": [],
|
|
2759
|
-
"args": {
|
|
2760
|
-
|
|
3510
|
+
"args": {
|
|
3511
|
+
"static_host": {
|
|
3512
|
+
"description": "Static Host name",
|
|
3513
|
+
"name": "static_host",
|
|
3514
|
+
"required": true
|
|
3515
|
+
}
|
|
3516
|
+
},
|
|
3517
|
+
"description": "Create a new build for a static host",
|
|
2761
3518
|
"examples": [
|
|
2762
|
-
"$ xano
|
|
2763
|
-
"$ xano
|
|
3519
|
+
"$ 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",
|
|
3520
|
+
"$ 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",
|
|
3521
|
+
"$ 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"
|
|
2764
3522
|
],
|
|
2765
3523
|
"flags": {
|
|
2766
3524
|
"profile": {
|
|
@@ -2782,51 +3540,95 @@
|
|
|
2782
3540
|
"allowNo": false,
|
|
2783
3541
|
"type": "boolean"
|
|
2784
3542
|
},
|
|
3543
|
+
"description": {
|
|
3544
|
+
"char": "d",
|
|
3545
|
+
"description": "Build description",
|
|
3546
|
+
"name": "description",
|
|
3547
|
+
"required": false,
|
|
3548
|
+
"hasDynamicHelp": false,
|
|
3549
|
+
"multiple": false,
|
|
3550
|
+
"type": "option"
|
|
3551
|
+
},
|
|
3552
|
+
"file": {
|
|
3553
|
+
"char": "f",
|
|
3554
|
+
"description": "Path to zip file to upload",
|
|
3555
|
+
"name": "file",
|
|
3556
|
+
"required": true,
|
|
3557
|
+
"hasDynamicHelp": false,
|
|
3558
|
+
"multiple": false,
|
|
3559
|
+
"type": "option"
|
|
3560
|
+
},
|
|
3561
|
+
"name": {
|
|
3562
|
+
"char": "n",
|
|
3563
|
+
"description": "Build name",
|
|
3564
|
+
"name": "name",
|
|
3565
|
+
"required": true,
|
|
3566
|
+
"hasDynamicHelp": false,
|
|
3567
|
+
"multiple": false,
|
|
3568
|
+
"type": "option"
|
|
3569
|
+
},
|
|
2785
3570
|
"output": {
|
|
2786
3571
|
"char": "o",
|
|
2787
3572
|
"description": "Output format",
|
|
2788
3573
|
"name": "output",
|
|
2789
3574
|
"required": false,
|
|
2790
|
-
"default": "
|
|
3575
|
+
"default": "summary",
|
|
2791
3576
|
"hasDynamicHelp": false,
|
|
2792
3577
|
"multiple": false,
|
|
2793
3578
|
"options": [
|
|
2794
|
-
"
|
|
3579
|
+
"summary",
|
|
2795
3580
|
"json"
|
|
2796
3581
|
],
|
|
2797
3582
|
"type": "option"
|
|
3583
|
+
},
|
|
3584
|
+
"workspace": {
|
|
3585
|
+
"char": "w",
|
|
3586
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
3587
|
+
"name": "workspace",
|
|
3588
|
+
"required": false,
|
|
3589
|
+
"hasDynamicHelp": false,
|
|
3590
|
+
"multiple": false,
|
|
3591
|
+
"type": "option"
|
|
2798
3592
|
}
|
|
2799
3593
|
},
|
|
2800
3594
|
"hasDynamicHelp": false,
|
|
2801
3595
|
"hiddenAliases": [],
|
|
2802
|
-
"id": "
|
|
3596
|
+
"id": "static_host:build:create",
|
|
2803
3597
|
"pluginAlias": "@xano/cli",
|
|
2804
3598
|
"pluginName": "@xano/cli",
|
|
2805
3599
|
"pluginType": "core",
|
|
2806
3600
|
"strict": true,
|
|
3601
|
+
"enableJsonFlag": false,
|
|
2807
3602
|
"isESM": true,
|
|
2808
3603
|
"relativePath": [
|
|
2809
3604
|
"dist",
|
|
2810
3605
|
"commands",
|
|
2811
|
-
"
|
|
2812
|
-
"
|
|
2813
|
-
"
|
|
3606
|
+
"static_host",
|
|
3607
|
+
"build",
|
|
3608
|
+
"create",
|
|
2814
3609
|
"index.js"
|
|
2815
3610
|
]
|
|
2816
3611
|
},
|
|
2817
|
-
"
|
|
3612
|
+
"static_host:build:get": {
|
|
2818
3613
|
"aliases": [],
|
|
2819
3614
|
"args": {
|
|
2820
|
-
"
|
|
2821
|
-
"description": "
|
|
2822
|
-
"name": "
|
|
3615
|
+
"build_id": {
|
|
3616
|
+
"description": "Build ID",
|
|
3617
|
+
"name": "build_id",
|
|
3618
|
+
"required": true
|
|
3619
|
+
},
|
|
3620
|
+
"static_host": {
|
|
3621
|
+
"description": "Static Host name",
|
|
3622
|
+
"name": "static_host",
|
|
2823
3623
|
"required": true
|
|
2824
3624
|
}
|
|
2825
3625
|
},
|
|
2826
|
-
"description": "
|
|
3626
|
+
"description": "Get details of a specific build for a static host",
|
|
2827
3627
|
"examples": [
|
|
2828
|
-
"$ xano
|
|
2829
|
-
"$ xano
|
|
3628
|
+
"$ xano static_host:build:get default 52\nBuild Details:\nID: 52\nName: v1.0.0\nStatus: completed\n",
|
|
3629
|
+
"$ xano static_host:build:get default 52 -w 40\nBuild Details:\nID: 52\nName: v1.0.0\nStatus: completed\n",
|
|
3630
|
+
"$ xano static_host:build:get myhost 123 --profile production\nBuild Details:\nID: 123\nName: production-build\n",
|
|
3631
|
+
"$ xano static_host:build:get default 52 -o json\n{\n \"id\": 52,\n \"name\": \"v1.0.0\",\n \"status\": \"completed\"\n}\n"
|
|
2830
3632
|
],
|
|
2831
3633
|
"flags": {
|
|
2832
3634
|
"profile": {
|
|
@@ -2861,38 +3663,50 @@
|
|
|
2861
3663
|
"json"
|
|
2862
3664
|
],
|
|
2863
3665
|
"type": "option"
|
|
3666
|
+
},
|
|
3667
|
+
"workspace": {
|
|
3668
|
+
"char": "w",
|
|
3669
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
3670
|
+
"name": "workspace",
|
|
3671
|
+
"required": false,
|
|
3672
|
+
"hasDynamicHelp": false,
|
|
3673
|
+
"multiple": false,
|
|
3674
|
+
"type": "option"
|
|
2864
3675
|
}
|
|
2865
3676
|
},
|
|
2866
3677
|
"hasDynamicHelp": false,
|
|
2867
3678
|
"hiddenAliases": [],
|
|
2868
|
-
"id": "
|
|
3679
|
+
"id": "static_host:build:get",
|
|
2869
3680
|
"pluginAlias": "@xano/cli",
|
|
2870
3681
|
"pluginName": "@xano/cli",
|
|
2871
3682
|
"pluginType": "core",
|
|
2872
3683
|
"strict": true,
|
|
3684
|
+
"enableJsonFlag": false,
|
|
2873
3685
|
"isESM": true,
|
|
2874
3686
|
"relativePath": [
|
|
2875
3687
|
"dist",
|
|
2876
3688
|
"commands",
|
|
2877
|
-
"
|
|
2878
|
-
"
|
|
2879
|
-
"
|
|
3689
|
+
"static_host",
|
|
3690
|
+
"build",
|
|
3691
|
+
"get",
|
|
2880
3692
|
"index.js"
|
|
2881
3693
|
]
|
|
2882
3694
|
},
|
|
2883
|
-
"
|
|
3695
|
+
"static_host:build:list": {
|
|
2884
3696
|
"aliases": [],
|
|
2885
3697
|
"args": {
|
|
2886
|
-
"
|
|
2887
|
-
"description": "
|
|
2888
|
-
"name": "
|
|
3698
|
+
"static_host": {
|
|
3699
|
+
"description": "Static Host name",
|
|
3700
|
+
"name": "static_host",
|
|
2889
3701
|
"required": true
|
|
2890
3702
|
}
|
|
2891
3703
|
},
|
|
2892
|
-
"description": "
|
|
3704
|
+
"description": "List all builds for a static host",
|
|
2893
3705
|
"examples": [
|
|
2894
|
-
"$ xano
|
|
2895
|
-
"$ xano
|
|
3706
|
+
"$ 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",
|
|
3707
|
+
"$ xano static_host:build:list myhost --profile production\nAvailable builds:\n - production (ID: 1) - Status: completed\n - staging (ID: 2) - Status: completed\n",
|
|
3708
|
+
"$ 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",
|
|
3709
|
+
"$ 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"
|
|
2896
3710
|
],
|
|
2897
3711
|
"flags": {
|
|
2898
3712
|
"profile": {
|
|
@@ -2927,25 +3741,53 @@
|
|
|
2927
3741
|
"json"
|
|
2928
3742
|
],
|
|
2929
3743
|
"type": "option"
|
|
3744
|
+
},
|
|
3745
|
+
"page": {
|
|
3746
|
+
"description": "Page number for pagination",
|
|
3747
|
+
"name": "page",
|
|
3748
|
+
"required": false,
|
|
3749
|
+
"default": 1,
|
|
3750
|
+
"hasDynamicHelp": false,
|
|
3751
|
+
"multiple": false,
|
|
3752
|
+
"type": "option"
|
|
3753
|
+
},
|
|
3754
|
+
"per_page": {
|
|
3755
|
+
"description": "Number of results per page",
|
|
3756
|
+
"name": "per_page",
|
|
3757
|
+
"required": false,
|
|
3758
|
+
"default": 50,
|
|
3759
|
+
"hasDynamicHelp": false,
|
|
3760
|
+
"multiple": false,
|
|
3761
|
+
"type": "option"
|
|
3762
|
+
},
|
|
3763
|
+
"workspace": {
|
|
3764
|
+
"char": "w",
|
|
3765
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
3766
|
+
"name": "workspace",
|
|
3767
|
+
"required": false,
|
|
3768
|
+
"hasDynamicHelp": false,
|
|
3769
|
+
"multiple": false,
|
|
3770
|
+
"type": "option"
|
|
2930
3771
|
}
|
|
2931
3772
|
},
|
|
2932
3773
|
"hasDynamicHelp": false,
|
|
2933
3774
|
"hiddenAliases": [],
|
|
2934
|
-
"id": "
|
|
3775
|
+
"id": "static_host:build:list",
|
|
2935
3776
|
"pluginAlias": "@xano/cli",
|
|
2936
3777
|
"pluginName": "@xano/cli",
|
|
2937
3778
|
"pluginType": "core",
|
|
2938
3779
|
"strict": true,
|
|
3780
|
+
"enableJsonFlag": false,
|
|
2939
3781
|
"isESM": true,
|
|
2940
3782
|
"relativePath": [
|
|
2941
3783
|
"dist",
|
|
2942
3784
|
"commands",
|
|
2943
|
-
"
|
|
2944
|
-
"
|
|
2945
|
-
"
|
|
3785
|
+
"static_host",
|
|
3786
|
+
"build",
|
|
3787
|
+
"list",
|
|
2946
3788
|
"index.js"
|
|
2947
3789
|
]
|
|
2948
3790
|
}
|
|
2949
3791
|
},
|
|
2950
|
-
"version": "0.0.
|
|
3792
|
+
"version": "0.0.22"
|
|
2951
3793
|
}
|