@xano/cli 0.0.9 → 0.0.11
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/commands/ephemeral/run/job/index.d.ts +1 -2
- package/dist/commands/ephemeral/run/job/index.js +48 -52
- package/dist/commands/ephemeral/run/service/index.d.ts +1 -2
- package/dist/commands/ephemeral/run/service/index.js +33 -33
- package/oclif.manifest.json +582 -582
- package/package.json +1 -1
package/oclif.manifest.json
CHANGED
|
@@ -1,120 +1,101 @@
|
|
|
1
1
|
{
|
|
2
2
|
"commands": {
|
|
3
|
-
"
|
|
3
|
+
"function:edit": {
|
|
4
4
|
"aliases": [],
|
|
5
5
|
"args": {
|
|
6
|
-
"
|
|
7
|
-
"description": "
|
|
8
|
-
"name": "
|
|
9
|
-
"required":
|
|
6
|
+
"function_id": {
|
|
7
|
+
"description": "Function ID to edit",
|
|
8
|
+
"name": "function_id",
|
|
9
|
+
"required": false
|
|
10
10
|
}
|
|
11
11
|
},
|
|
12
|
-
"description": "
|
|
12
|
+
"description": "Edit a function in a workspace",
|
|
13
13
|
"examples": [
|
|
14
|
-
"$ xano
|
|
15
|
-
"$ xano
|
|
16
|
-
"$ xano
|
|
17
|
-
"$ xano
|
|
14
|
+
"$ 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",
|
|
15
|
+
"$ 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",
|
|
16
|
+
"$ xano function:edit 163 -f function.xs\nFunction updated successfully!\nID: 163\nName: my_function\n",
|
|
17
|
+
"$ xano function:edit 163 -w 40 -f function.xs\nFunction updated successfully!\nID: 163\nName: my_function\n",
|
|
18
|
+
"$ xano function:edit -f function.xs\nSelect a function to edit:\n ❯ my_function (ID: 163) - Sample function\n another-func (ID: 164)\n",
|
|
19
|
+
"$ 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",
|
|
20
|
+
"$ cat function.xs | xano function:edit 163 --stdin\nFunction updated successfully!\nID: 163\nName: my_function\n",
|
|
21
|
+
"$ xano function:edit 163 -f function.xs -o json\n{\n \"id\": 163,\n \"name\": \"my_function\",\n ...\n}\n"
|
|
18
22
|
],
|
|
19
23
|
"flags": {
|
|
20
|
-
"
|
|
21
|
-
"char": "
|
|
22
|
-
"description": "
|
|
23
|
-
"
|
|
24
|
+
"profile": {
|
|
25
|
+
"char": "p",
|
|
26
|
+
"description": "Profile to use for this command",
|
|
27
|
+
"env": "XANO_PROFILE",
|
|
28
|
+
"name": "profile",
|
|
24
29
|
"required": false,
|
|
25
30
|
"hasDynamicHelp": false,
|
|
26
31
|
"multiple": false,
|
|
27
32
|
"type": "option"
|
|
28
33
|
},
|
|
29
|
-
"instance_origin": {
|
|
30
|
-
"char": "i",
|
|
31
|
-
"description": "Instance origin URL",
|
|
32
|
-
"name": "instance_origin",
|
|
33
|
-
"required": true,
|
|
34
|
-
"hasDynamicHelp": false,
|
|
35
|
-
"multiple": false,
|
|
36
|
-
"type": "option"
|
|
37
|
-
},
|
|
38
|
-
"access_token": {
|
|
39
|
-
"char": "t",
|
|
40
|
-
"description": "Access token for the Xano Metadata API",
|
|
41
|
-
"name": "access_token",
|
|
42
|
-
"required": true,
|
|
43
|
-
"hasDynamicHelp": false,
|
|
44
|
-
"multiple": false,
|
|
45
|
-
"type": "option"
|
|
46
|
-
},
|
|
47
34
|
"workspace": {
|
|
48
35
|
"char": "w",
|
|
49
|
-
"description": "Workspace
|
|
36
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
50
37
|
"name": "workspace",
|
|
51
38
|
"required": false,
|
|
52
39
|
"hasDynamicHelp": false,
|
|
53
40
|
"multiple": false,
|
|
54
41
|
"type": "option"
|
|
55
42
|
},
|
|
56
|
-
"
|
|
57
|
-
"char": "
|
|
58
|
-
"description": "
|
|
59
|
-
"
|
|
43
|
+
"file": {
|
|
44
|
+
"char": "f",
|
|
45
|
+
"description": "Path to file containing XanoScript code",
|
|
46
|
+
"exclusive": [
|
|
47
|
+
"stdin"
|
|
48
|
+
],
|
|
49
|
+
"name": "file",
|
|
60
50
|
"required": false,
|
|
61
51
|
"hasDynamicHelp": false,
|
|
62
52
|
"multiple": false,
|
|
63
53
|
"type": "option"
|
|
64
54
|
},
|
|
65
|
-
"
|
|
66
|
-
"
|
|
67
|
-
"
|
|
55
|
+
"stdin": {
|
|
56
|
+
"char": "s",
|
|
57
|
+
"description": "Read XanoScript code from stdin",
|
|
58
|
+
"exclusive": [
|
|
59
|
+
"file"
|
|
60
|
+
],
|
|
61
|
+
"name": "stdin",
|
|
68
62
|
"required": false,
|
|
69
63
|
"allowNo": false,
|
|
70
64
|
"type": "boolean"
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
"dist",
|
|
84
|
-
"commands",
|
|
85
|
-
"profile",
|
|
86
|
-
"create",
|
|
87
|
-
"index.js"
|
|
88
|
-
]
|
|
89
|
-
},
|
|
90
|
-
"profile:delete": {
|
|
91
|
-
"aliases": [],
|
|
92
|
-
"args": {
|
|
93
|
-
"name": {
|
|
94
|
-
"description": "Profile name to delete",
|
|
95
|
-
"name": "name",
|
|
96
|
-
"required": true
|
|
97
|
-
}
|
|
98
|
-
},
|
|
99
|
-
"description": "Delete a profile configuration",
|
|
100
|
-
"examples": [
|
|
101
|
-
"$ xano profile:delete old-profile\nAre you sure you want to delete profile 'old-profile'? (y/n): y\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n",
|
|
102
|
-
"$ xano profile:delete old-profile --force\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n",
|
|
103
|
-
"$ xano profile:delete old-profile -f\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n"
|
|
104
|
-
],
|
|
105
|
-
"flags": {
|
|
106
|
-
"force": {
|
|
107
|
-
"char": "f",
|
|
108
|
-
"description": "Skip confirmation prompt",
|
|
109
|
-
"name": "force",
|
|
65
|
+
},
|
|
66
|
+
"edit": {
|
|
67
|
+
"char": "e",
|
|
68
|
+
"description": "Open file in editor before updating function (requires --file)",
|
|
69
|
+
"name": "edit",
|
|
70
|
+
"required": false,
|
|
71
|
+
"allowNo": false,
|
|
72
|
+
"type": "boolean"
|
|
73
|
+
},
|
|
74
|
+
"publish": {
|
|
75
|
+
"description": "Publish the function after editing",
|
|
76
|
+
"name": "publish",
|
|
110
77
|
"required": false,
|
|
111
78
|
"allowNo": false,
|
|
112
79
|
"type": "boolean"
|
|
80
|
+
},
|
|
81
|
+
"output": {
|
|
82
|
+
"char": "o",
|
|
83
|
+
"description": "Output format",
|
|
84
|
+
"name": "output",
|
|
85
|
+
"required": false,
|
|
86
|
+
"default": "summary",
|
|
87
|
+
"hasDynamicHelp": false,
|
|
88
|
+
"multiple": false,
|
|
89
|
+
"options": [
|
|
90
|
+
"summary",
|
|
91
|
+
"json"
|
|
92
|
+
],
|
|
93
|
+
"type": "option"
|
|
113
94
|
}
|
|
114
95
|
},
|
|
115
96
|
"hasDynamicHelp": false,
|
|
116
97
|
"hiddenAliases": [],
|
|
117
|
-
"id": "
|
|
98
|
+
"id": "function:edit",
|
|
118
99
|
"pluginAlias": "@xano/cli",
|
|
119
100
|
"pluginName": "@xano/cli",
|
|
120
101
|
"pluginType": "core",
|
|
@@ -124,50 +105,28 @@
|
|
|
124
105
|
"relativePath": [
|
|
125
106
|
"dist",
|
|
126
107
|
"commands",
|
|
127
|
-
"
|
|
128
|
-
"
|
|
108
|
+
"function",
|
|
109
|
+
"edit",
|
|
129
110
|
"index.js"
|
|
130
111
|
]
|
|
131
112
|
},
|
|
132
|
-
"
|
|
113
|
+
"function:create": {
|
|
133
114
|
"aliases": [],
|
|
134
|
-
"args": {
|
|
135
|
-
|
|
136
|
-
"description": "Profile name to edit",
|
|
137
|
-
"name": "name",
|
|
138
|
-
"required": true
|
|
139
|
-
}
|
|
140
|
-
},
|
|
141
|
-
"description": "Edit an existing profile configuration",
|
|
115
|
+
"args": {},
|
|
116
|
+
"description": "Create a new function in a workspace",
|
|
142
117
|
"examples": [
|
|
143
|
-
"$ xano
|
|
144
|
-
"$ xano
|
|
145
|
-
"$ xano
|
|
146
|
-
"$ xano
|
|
118
|
+
"$ xano function:create -w 40 -f function.xs\nFunction created successfully!\nID: 123\nName: my_function\n",
|
|
119
|
+
"$ xano function:create -f function.xs\nFunction created successfully!\nID: 123\nName: my_function\n",
|
|
120
|
+
"$ 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",
|
|
121
|
+
"$ cat function.xs | xano function:create -w 40 --stdin\nFunction created successfully!\nID: 123\nName: my_function\n",
|
|
122
|
+
"$ xano function:create -w 40 -f function.xs -o json\n{\n \"id\": 123,\n \"name\": \"my_function\",\n ...\n}\n"
|
|
147
123
|
],
|
|
148
124
|
"flags": {
|
|
149
|
-
"
|
|
150
|
-
"char": "
|
|
151
|
-
"description": "
|
|
152
|
-
"
|
|
153
|
-
"
|
|
154
|
-
"hasDynamicHelp": false,
|
|
155
|
-
"multiple": false,
|
|
156
|
-
"type": "option"
|
|
157
|
-
},
|
|
158
|
-
"instance_origin": {
|
|
159
|
-
"char": "i",
|
|
160
|
-
"description": "Update instance origin URL",
|
|
161
|
-
"name": "instance_origin",
|
|
162
|
-
"required": false,
|
|
163
|
-
"hasDynamicHelp": false,
|
|
164
|
-
"multiple": false,
|
|
165
|
-
"type": "option"
|
|
166
|
-
},
|
|
167
|
-
"access_token": {
|
|
168
|
-
"char": "t",
|
|
169
|
-
"description": "Update access token for the Xano Metadata API",
|
|
170
|
-
"name": "access_token",
|
|
125
|
+
"profile": {
|
|
126
|
+
"char": "p",
|
|
127
|
+
"description": "Profile to use for this command",
|
|
128
|
+
"env": "XANO_PROFILE",
|
|
129
|
+
"name": "profile",
|
|
171
130
|
"required": false,
|
|
172
131
|
"hasDynamicHelp": false,
|
|
173
132
|
"multiple": false,
|
|
@@ -175,40 +134,65 @@
|
|
|
175
134
|
},
|
|
176
135
|
"workspace": {
|
|
177
136
|
"char": "w",
|
|
178
|
-
"description": "
|
|
137
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
179
138
|
"name": "workspace",
|
|
180
139
|
"required": false,
|
|
181
140
|
"hasDynamicHelp": false,
|
|
182
141
|
"multiple": false,
|
|
183
142
|
"type": "option"
|
|
184
143
|
},
|
|
185
|
-
"
|
|
186
|
-
"char": "
|
|
187
|
-
"description": "
|
|
188
|
-
"
|
|
144
|
+
"file": {
|
|
145
|
+
"char": "f",
|
|
146
|
+
"description": "Path to file containing XanoScript code",
|
|
147
|
+
"exclusive": [
|
|
148
|
+
"stdin"
|
|
149
|
+
],
|
|
150
|
+
"name": "file",
|
|
189
151
|
"required": false,
|
|
190
152
|
"hasDynamicHelp": false,
|
|
191
153
|
"multiple": false,
|
|
192
154
|
"type": "option"
|
|
193
155
|
},
|
|
194
|
-
"
|
|
195
|
-
"
|
|
196
|
-
"
|
|
156
|
+
"stdin": {
|
|
157
|
+
"char": "s",
|
|
158
|
+
"description": "Read XanoScript code from stdin",
|
|
159
|
+
"exclusive": [
|
|
160
|
+
"file"
|
|
161
|
+
],
|
|
162
|
+
"name": "stdin",
|
|
197
163
|
"required": false,
|
|
198
164
|
"allowNo": false,
|
|
199
165
|
"type": "boolean"
|
|
200
166
|
},
|
|
201
|
-
"
|
|
202
|
-
"
|
|
203
|
-
"
|
|
167
|
+
"edit": {
|
|
168
|
+
"char": "e",
|
|
169
|
+
"dependsOn": [
|
|
170
|
+
"file"
|
|
171
|
+
],
|
|
172
|
+
"description": "Open file in editor before creating function (requires --file)",
|
|
173
|
+
"name": "edit",
|
|
204
174
|
"required": false,
|
|
205
175
|
"allowNo": false,
|
|
206
176
|
"type": "boolean"
|
|
177
|
+
},
|
|
178
|
+
"output": {
|
|
179
|
+
"char": "o",
|
|
180
|
+
"description": "Output format",
|
|
181
|
+
"name": "output",
|
|
182
|
+
"required": false,
|
|
183
|
+
"default": "summary",
|
|
184
|
+
"hasDynamicHelp": false,
|
|
185
|
+
"multiple": false,
|
|
186
|
+
"options": [
|
|
187
|
+
"summary",
|
|
188
|
+
"json"
|
|
189
|
+
],
|
|
190
|
+
"type": "option"
|
|
207
191
|
}
|
|
208
192
|
},
|
|
209
193
|
"hasDynamicHelp": false,
|
|
210
194
|
"hiddenAliases": [],
|
|
211
|
-
"id": "
|
|
195
|
+
"id": "function:create",
|
|
212
196
|
"pluginAlias": "@xano/cli",
|
|
213
197
|
"pluginName": "@xano/cli",
|
|
214
198
|
"pluginType": "core",
|
|
@@ -218,51 +202,74 @@
|
|
|
218
202
|
"relativePath": [
|
|
219
203
|
"dist",
|
|
220
204
|
"commands",
|
|
221
|
-
"
|
|
222
|
-
"
|
|
205
|
+
"function",
|
|
206
|
+
"create",
|
|
223
207
|
"index.js"
|
|
224
208
|
]
|
|
225
209
|
},
|
|
226
|
-
"
|
|
210
|
+
"function:get": {
|
|
227
211
|
"aliases": [],
|
|
228
|
-
"args": {
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
"
|
|
236
|
-
"hiddenAliases": [],
|
|
237
|
-
"id": "profile:get-default",
|
|
238
|
-
"pluginAlias": "@xano/cli",
|
|
239
|
-
"pluginName": "@xano/cli",
|
|
240
|
-
"pluginType": "core",
|
|
241
|
-
"strict": true,
|
|
242
|
-
"enableJsonFlag": false,
|
|
243
|
-
"isESM": true,
|
|
244
|
-
"relativePath": [
|
|
245
|
-
"dist",
|
|
246
|
-
"commands",
|
|
247
|
-
"profile",
|
|
248
|
-
"get-default",
|
|
249
|
-
"index.js"
|
|
250
|
-
]
|
|
251
|
-
},
|
|
252
|
-
"profile:list": {
|
|
253
|
-
"aliases": [],
|
|
254
|
-
"args": {},
|
|
255
|
-
"description": "List all available profile configurations",
|
|
212
|
+
"args": {
|
|
213
|
+
"function_id": {
|
|
214
|
+
"description": "Function ID",
|
|
215
|
+
"name": "function_id",
|
|
216
|
+
"required": false
|
|
217
|
+
}
|
|
218
|
+
},
|
|
219
|
+
"description": "Get a specific function from a workspace",
|
|
256
220
|
"examples": [
|
|
257
|
-
"$ xano
|
|
258
|
-
"$ xano
|
|
259
|
-
"$ xano
|
|
221
|
+
"$ xano function:get 145 -w 40\nFunction: yo (ID: 145)\nCreated: 2025-10-10 10:30:00\nDescription: Sample function\n",
|
|
222
|
+
"$ xano function:get 145 --profile production\nFunction: yo (ID: 145)\nCreated: 2025-10-10 10:30:00\n",
|
|
223
|
+
"$ xano function:get\nSelect a function:\n ❯ yo (ID: 145) - Sample function\n another-func (ID: 146)\n",
|
|
224
|
+
"$ xano function:get 145 -w 40 --output json\n{\n \"id\": 145,\n \"name\": \"yo\",\n \"description\": \"Sample function\"\n}\n",
|
|
225
|
+
"$ xano function:get 145 -p staging -o json --include_draft\n{\n \"id\": 145,\n \"name\": \"yo\"\n}\n",
|
|
226
|
+
"$ xano function:get 145 -p staging -o xs\nfunction yo {\n input {\n }\n stack {\n }\n response = null\n}\n"
|
|
260
227
|
],
|
|
261
228
|
"flags": {
|
|
262
|
-
"
|
|
263
|
-
"char": "
|
|
264
|
-
"description": "
|
|
265
|
-
"
|
|
229
|
+
"profile": {
|
|
230
|
+
"char": "p",
|
|
231
|
+
"description": "Profile to use for this command",
|
|
232
|
+
"env": "XANO_PROFILE",
|
|
233
|
+
"name": "profile",
|
|
234
|
+
"required": false,
|
|
235
|
+
"hasDynamicHelp": false,
|
|
236
|
+
"multiple": false,
|
|
237
|
+
"type": "option"
|
|
238
|
+
},
|
|
239
|
+
"workspace": {
|
|
240
|
+
"char": "w",
|
|
241
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
242
|
+
"name": "workspace",
|
|
243
|
+
"required": false,
|
|
244
|
+
"hasDynamicHelp": false,
|
|
245
|
+
"multiple": false,
|
|
246
|
+
"type": "option"
|
|
247
|
+
},
|
|
248
|
+
"output": {
|
|
249
|
+
"char": "o",
|
|
250
|
+
"description": "Output format",
|
|
251
|
+
"name": "output",
|
|
252
|
+
"required": false,
|
|
253
|
+
"default": "summary",
|
|
254
|
+
"hasDynamicHelp": false,
|
|
255
|
+
"multiple": false,
|
|
256
|
+
"options": [
|
|
257
|
+
"summary",
|
|
258
|
+
"json",
|
|
259
|
+
"xs"
|
|
260
|
+
],
|
|
261
|
+
"type": "option"
|
|
262
|
+
},
|
|
263
|
+
"include_draft": {
|
|
264
|
+
"description": "Include draft version",
|
|
265
|
+
"name": "include_draft",
|
|
266
|
+
"required": false,
|
|
267
|
+
"allowNo": false,
|
|
268
|
+
"type": "boolean"
|
|
269
|
+
},
|
|
270
|
+
"include_xanoscript": {
|
|
271
|
+
"description": "Include XanoScript in response",
|
|
272
|
+
"name": "include_xanoscript",
|
|
266
273
|
"required": false,
|
|
267
274
|
"allowNo": false,
|
|
268
275
|
"type": "boolean"
|
|
@@ -270,39 +277,7 @@
|
|
|
270
277
|
},
|
|
271
278
|
"hasDynamicHelp": false,
|
|
272
279
|
"hiddenAliases": [],
|
|
273
|
-
"id": "
|
|
274
|
-
"pluginAlias": "@xano/cli",
|
|
275
|
-
"pluginName": "@xano/cli",
|
|
276
|
-
"pluginType": "core",
|
|
277
|
-
"strict": true,
|
|
278
|
-
"enableJsonFlag": false,
|
|
279
|
-
"isESM": true,
|
|
280
|
-
"relativePath": [
|
|
281
|
-
"dist",
|
|
282
|
-
"commands",
|
|
283
|
-
"profile",
|
|
284
|
-
"list",
|
|
285
|
-
"index.js"
|
|
286
|
-
]
|
|
287
|
-
},
|
|
288
|
-
"profile:set-default": {
|
|
289
|
-
"aliases": [],
|
|
290
|
-
"args": {
|
|
291
|
-
"name": {
|
|
292
|
-
"description": "Profile name to set as default",
|
|
293
|
-
"name": "name",
|
|
294
|
-
"required": true
|
|
295
|
-
}
|
|
296
|
-
},
|
|
297
|
-
"description": "Set the default profile",
|
|
298
|
-
"examples": [
|
|
299
|
-
"$ xano profile:set-default production\nDefault profile set to 'production'\n",
|
|
300
|
-
"$ xano profile:set-default staging\nDefault profile set to 'staging'\n"
|
|
301
|
-
],
|
|
302
|
-
"flags": {},
|
|
303
|
-
"hasDynamicHelp": false,
|
|
304
|
-
"hiddenAliases": [],
|
|
305
|
-
"id": "profile:set-default",
|
|
280
|
+
"id": "function:get",
|
|
306
281
|
"pluginAlias": "@xano/cli",
|
|
307
282
|
"pluginName": "@xano/cli",
|
|
308
283
|
"pluginType": "core",
|
|
@@ -312,42 +287,113 @@
|
|
|
312
287
|
"relativePath": [
|
|
313
288
|
"dist",
|
|
314
289
|
"commands",
|
|
315
|
-
"
|
|
316
|
-
"
|
|
290
|
+
"function",
|
|
291
|
+
"get",
|
|
317
292
|
"index.js"
|
|
318
293
|
]
|
|
319
294
|
},
|
|
320
|
-
"
|
|
295
|
+
"function:list": {
|
|
321
296
|
"aliases": [],
|
|
322
297
|
"args": {},
|
|
323
|
-
"description": "
|
|
298
|
+
"description": "List all functions in a workspace from the Xano Metadata API",
|
|
324
299
|
"examples": [
|
|
325
|
-
"$ xano
|
|
300
|
+
"$ xano function:list -w 40\nAvailable functions:\n - function-1 (ID: 1)\n - function-2 (ID: 2)\n - function-3 (ID: 3)\n",
|
|
301
|
+
"$ xano function:list --profile production\nAvailable functions:\n - my-function (ID: 1)\n - another-function (ID: 2)\n",
|
|
302
|
+
"$ xano function:list -w 40 --output json\n[\n {\n \"id\": 1,\n \"name\": \"function-1\"\n }\n]\n",
|
|
303
|
+
"$ xano function:list -p staging -o json --include_draft\n[\n {\n \"id\": 1,\n \"name\": \"function-1\"\n }\n]\n"
|
|
326
304
|
],
|
|
327
305
|
"flags": {
|
|
328
|
-
"
|
|
329
|
-
"char": "
|
|
330
|
-
"description": "Profile
|
|
331
|
-
"
|
|
306
|
+
"profile": {
|
|
307
|
+
"char": "p",
|
|
308
|
+
"description": "Profile to use for this command",
|
|
309
|
+
"env": "XANO_PROFILE",
|
|
310
|
+
"name": "profile",
|
|
332
311
|
"required": false,
|
|
333
312
|
"hasDynamicHelp": false,
|
|
334
313
|
"multiple": false,
|
|
335
314
|
"type": "option"
|
|
336
315
|
},
|
|
337
|
-
"
|
|
316
|
+
"workspace": {
|
|
317
|
+
"char": "w",
|
|
318
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
319
|
+
"name": "workspace",
|
|
320
|
+
"required": false,
|
|
321
|
+
"hasDynamicHelp": false,
|
|
322
|
+
"multiple": false,
|
|
323
|
+
"type": "option"
|
|
324
|
+
},
|
|
325
|
+
"output": {
|
|
338
326
|
"char": "o",
|
|
339
|
-
"description": "
|
|
340
|
-
"name": "
|
|
327
|
+
"description": "Output format",
|
|
328
|
+
"name": "output",
|
|
341
329
|
"required": false,
|
|
342
|
-
"default": "
|
|
330
|
+
"default": "summary",
|
|
331
|
+
"hasDynamicHelp": false,
|
|
332
|
+
"multiple": false,
|
|
333
|
+
"options": [
|
|
334
|
+
"summary",
|
|
335
|
+
"json"
|
|
336
|
+
],
|
|
337
|
+
"type": "option"
|
|
338
|
+
},
|
|
339
|
+
"include_draft": {
|
|
340
|
+
"description": "Include draft functions",
|
|
341
|
+
"name": "include_draft",
|
|
342
|
+
"required": false,
|
|
343
|
+
"allowNo": false,
|
|
344
|
+
"type": "boolean"
|
|
345
|
+
},
|
|
346
|
+
"include_xanoscript": {
|
|
347
|
+
"description": "Include XanoScript in response",
|
|
348
|
+
"name": "include_xanoscript",
|
|
349
|
+
"required": false,
|
|
350
|
+
"allowNo": false,
|
|
351
|
+
"type": "boolean"
|
|
352
|
+
},
|
|
353
|
+
"page": {
|
|
354
|
+
"description": "Page number for pagination",
|
|
355
|
+
"name": "page",
|
|
356
|
+
"required": false,
|
|
357
|
+
"default": 1,
|
|
358
|
+
"hasDynamicHelp": false,
|
|
359
|
+
"multiple": false,
|
|
360
|
+
"type": "option"
|
|
361
|
+
},
|
|
362
|
+
"per_page": {
|
|
363
|
+
"description": "Number of results per page",
|
|
364
|
+
"name": "per_page",
|
|
365
|
+
"required": false,
|
|
366
|
+
"default": 50,
|
|
367
|
+
"hasDynamicHelp": false,
|
|
368
|
+
"multiple": false,
|
|
369
|
+
"type": "option"
|
|
370
|
+
},
|
|
371
|
+
"sort": {
|
|
372
|
+
"description": "Sort field",
|
|
373
|
+
"name": "sort",
|
|
374
|
+
"required": false,
|
|
375
|
+
"default": "created_at",
|
|
376
|
+
"hasDynamicHelp": false,
|
|
377
|
+
"multiple": false,
|
|
378
|
+
"type": "option"
|
|
379
|
+
},
|
|
380
|
+
"order": {
|
|
381
|
+
"description": "Sort order",
|
|
382
|
+
"name": "order",
|
|
383
|
+
"required": false,
|
|
384
|
+
"default": "desc",
|
|
343
385
|
"hasDynamicHelp": false,
|
|
344
386
|
"multiple": false,
|
|
387
|
+
"options": [
|
|
388
|
+
"asc",
|
|
389
|
+
"desc"
|
|
390
|
+
],
|
|
345
391
|
"type": "option"
|
|
346
392
|
}
|
|
347
393
|
},
|
|
348
394
|
"hasDynamicHelp": false,
|
|
349
395
|
"hiddenAliases": [],
|
|
350
|
-
"id": "
|
|
396
|
+
"id": "function:list",
|
|
351
397
|
"pluginAlias": "@xano/cli",
|
|
352
398
|
"pluginName": "@xano/cli",
|
|
353
399
|
"pluginType": "core",
|
|
@@ -357,21 +403,22 @@
|
|
|
357
403
|
"relativePath": [
|
|
358
404
|
"dist",
|
|
359
405
|
"commands",
|
|
360
|
-
"
|
|
361
|
-
"
|
|
406
|
+
"function",
|
|
407
|
+
"list",
|
|
362
408
|
"index.js"
|
|
363
409
|
]
|
|
364
410
|
},
|
|
365
|
-
"
|
|
411
|
+
"ephemeral:run:job": {
|
|
366
412
|
"aliases": [],
|
|
367
413
|
"args": {},
|
|
368
|
-
"description": "
|
|
414
|
+
"description": "Run an ephemeral job in a workspace",
|
|
369
415
|
"examples": [
|
|
370
|
-
"$ xano
|
|
371
|
-
"$ xano
|
|
372
|
-
"$ xano
|
|
373
|
-
"$ cat
|
|
374
|
-
"$ xano
|
|
416
|
+
"$ xano ephemeral:run:job -w 1 -f script.xs\nJob executed successfully!\n...\n",
|
|
417
|
+
"$ xano ephemeral:run:job -f script.xs\nJob executed successfully!\n...\n",
|
|
418
|
+
"$ xano ephemeral:run:job -w 1 -f script.xs --edit\n# Opens script.xs in $EDITOR, then runs job with edited content\nJob executed successfully!\n...\n",
|
|
419
|
+
"$ cat script.xs | xano ephemeral:run:job -w 1 --stdin\nJob executed successfully!\n...\n",
|
|
420
|
+
"$ xano ephemeral:run:job -w 1 -f script.xs -o json\n{\n \"job\": { \"id\": 1, \"run\": { \"id\": 1 } },\n \"result\": { ... }\n}\n",
|
|
421
|
+
"$ xano ephemeral:run:job -w 1 -f script.xs -a args.json\n# Runs job with input arguments from args.json\nJob executed successfully!\n...\n"
|
|
375
422
|
],
|
|
376
423
|
"flags": {
|
|
377
424
|
"profile": {
|
|
@@ -395,7 +442,7 @@
|
|
|
395
442
|
},
|
|
396
443
|
"file": {
|
|
397
444
|
"char": "f",
|
|
398
|
-
"description": "Path to file containing XanoScript code",
|
|
445
|
+
"description": "Path or URL to file containing XanoScript code",
|
|
399
446
|
"exclusive": [
|
|
400
447
|
"stdin"
|
|
401
448
|
],
|
|
@@ -421,7 +468,7 @@
|
|
|
421
468
|
"dependsOn": [
|
|
422
469
|
"file"
|
|
423
470
|
],
|
|
424
|
-
"description": "Open file in editor before
|
|
471
|
+
"description": "Open file in editor before running job (requires --file)",
|
|
425
472
|
"name": "edit",
|
|
426
473
|
"required": false,
|
|
427
474
|
"allowNo": false,
|
|
@@ -440,11 +487,20 @@
|
|
|
440
487
|
"json"
|
|
441
488
|
],
|
|
442
489
|
"type": "option"
|
|
490
|
+
},
|
|
491
|
+
"args": {
|
|
492
|
+
"char": "a",
|
|
493
|
+
"description": "Path or URL to JSON file containing input arguments",
|
|
494
|
+
"name": "args",
|
|
495
|
+
"required": false,
|
|
496
|
+
"hasDynamicHelp": false,
|
|
497
|
+
"multiple": false,
|
|
498
|
+
"type": "option"
|
|
443
499
|
}
|
|
444
500
|
},
|
|
445
501
|
"hasDynamicHelp": false,
|
|
446
502
|
"hiddenAliases": [],
|
|
447
|
-
"id": "
|
|
503
|
+
"id": "ephemeral:run:job",
|
|
448
504
|
"pluginAlias": "@xano/cli",
|
|
449
505
|
"pluginName": "@xano/cli",
|
|
450
506
|
"pluginType": "core",
|
|
@@ -454,30 +510,21 @@
|
|
|
454
510
|
"relativePath": [
|
|
455
511
|
"dist",
|
|
456
512
|
"commands",
|
|
457
|
-
"
|
|
458
|
-
"
|
|
459
|
-
"
|
|
460
|
-
|
|
513
|
+
"ephemeral",
|
|
514
|
+
"run",
|
|
515
|
+
"job",
|
|
516
|
+
"index.js"
|
|
517
|
+
]
|
|
461
518
|
},
|
|
462
|
-
"
|
|
519
|
+
"workspace:list": {
|
|
463
520
|
"aliases": [],
|
|
464
|
-
"args": {
|
|
465
|
-
|
|
466
|
-
"description": "Function ID to edit",
|
|
467
|
-
"name": "function_id",
|
|
468
|
-
"required": false
|
|
469
|
-
}
|
|
470
|
-
},
|
|
471
|
-
"description": "Edit a function in a workspace",
|
|
521
|
+
"args": {},
|
|
522
|
+
"description": "List all workspaces from the Xano Metadata API",
|
|
472
523
|
"examples": [
|
|
473
|
-
"$ xano
|
|
474
|
-
"$ xano
|
|
475
|
-
"$ xano
|
|
476
|
-
"$ xano
|
|
477
|
-
"$ xano function:edit -f function.xs\nSelect a function to edit:\n ❯ my_function (ID: 163) - Sample function\n another-func (ID: 164)\n",
|
|
478
|
-
"$ 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",
|
|
479
|
-
"$ cat function.xs | xano function:edit 163 --stdin\nFunction updated successfully!\nID: 163\nName: my_function\n",
|
|
480
|
-
"$ xano function:edit 163 -f function.xs -o json\n{\n \"id\": 163,\n \"name\": \"my_function\",\n ...\n}\n"
|
|
524
|
+
"$ xano workspace:list\nAvailable workspaces:\n - workspace-1 (ID: 1)\n - workspace-2 (ID: 2)\n - workspace-3 (ID: 3)\n",
|
|
525
|
+
"$ xano workspace:list --profile production\nAvailable workspaces:\n - my-app (ID: 1)\n - staging-env (ID: 2)\n",
|
|
526
|
+
"$ 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",
|
|
527
|
+
"$ xano workspace:list -p staging -o json\n{\n \"workspaces\": [\n {\n \"id\": 1,\n \"name\": \"my-app\"\n }\n ]\n}\n"
|
|
481
528
|
],
|
|
482
529
|
"flags": {
|
|
483
530
|
"profile": {
|
|
@@ -490,53 +537,6 @@
|
|
|
490
537
|
"multiple": false,
|
|
491
538
|
"type": "option"
|
|
492
539
|
},
|
|
493
|
-
"workspace": {
|
|
494
|
-
"char": "w",
|
|
495
|
-
"description": "Workspace ID (optional if set in profile)",
|
|
496
|
-
"name": "workspace",
|
|
497
|
-
"required": false,
|
|
498
|
-
"hasDynamicHelp": false,
|
|
499
|
-
"multiple": false,
|
|
500
|
-
"type": "option"
|
|
501
|
-
},
|
|
502
|
-
"file": {
|
|
503
|
-
"char": "f",
|
|
504
|
-
"description": "Path to file containing XanoScript code",
|
|
505
|
-
"exclusive": [
|
|
506
|
-
"stdin"
|
|
507
|
-
],
|
|
508
|
-
"name": "file",
|
|
509
|
-
"required": false,
|
|
510
|
-
"hasDynamicHelp": false,
|
|
511
|
-
"multiple": false,
|
|
512
|
-
"type": "option"
|
|
513
|
-
},
|
|
514
|
-
"stdin": {
|
|
515
|
-
"char": "s",
|
|
516
|
-
"description": "Read XanoScript code from stdin",
|
|
517
|
-
"exclusive": [
|
|
518
|
-
"file"
|
|
519
|
-
],
|
|
520
|
-
"name": "stdin",
|
|
521
|
-
"required": false,
|
|
522
|
-
"allowNo": false,
|
|
523
|
-
"type": "boolean"
|
|
524
|
-
},
|
|
525
|
-
"edit": {
|
|
526
|
-
"char": "e",
|
|
527
|
-
"description": "Open file in editor before updating function (requires --file)",
|
|
528
|
-
"name": "edit",
|
|
529
|
-
"required": false,
|
|
530
|
-
"allowNo": false,
|
|
531
|
-
"type": "boolean"
|
|
532
|
-
},
|
|
533
|
-
"publish": {
|
|
534
|
-
"description": "Publish the function after editing",
|
|
535
|
-
"name": "publish",
|
|
536
|
-
"required": false,
|
|
537
|
-
"allowNo": false,
|
|
538
|
-
"type": "boolean"
|
|
539
|
-
},
|
|
540
540
|
"output": {
|
|
541
541
|
"char": "o",
|
|
542
542
|
"description": "Output format",
|
|
@@ -554,7 +554,7 @@
|
|
|
554
554
|
},
|
|
555
555
|
"hasDynamicHelp": false,
|
|
556
556
|
"hiddenAliases": [],
|
|
557
|
-
"id": "
|
|
557
|
+
"id": "workspace:list",
|
|
558
558
|
"pluginAlias": "@xano/cli",
|
|
559
559
|
"pluginName": "@xano/cli",
|
|
560
560
|
"pluginType": "core",
|
|
@@ -564,28 +564,20 @@
|
|
|
564
564
|
"relativePath": [
|
|
565
565
|
"dist",
|
|
566
566
|
"commands",
|
|
567
|
-
"
|
|
568
|
-
"
|
|
567
|
+
"workspace",
|
|
568
|
+
"list",
|
|
569
569
|
"index.js"
|
|
570
570
|
]
|
|
571
571
|
},
|
|
572
|
-
"
|
|
572
|
+
"static_host:list": {
|
|
573
573
|
"aliases": [],
|
|
574
|
-
"args": {
|
|
575
|
-
|
|
576
|
-
"description": "Function ID",
|
|
577
|
-
"name": "function_id",
|
|
578
|
-
"required": false
|
|
579
|
-
}
|
|
580
|
-
},
|
|
581
|
-
"description": "Get a specific function from a workspace",
|
|
574
|
+
"args": {},
|
|
575
|
+
"description": "List all static hosts in a workspace from the Xano Metadata API",
|
|
582
576
|
"examples": [
|
|
583
|
-
"$ xano
|
|
584
|
-
"$ xano
|
|
585
|
-
"$ xano
|
|
586
|
-
"$ xano
|
|
587
|
-
"$ xano function:get 145 -p staging -o json --include_draft\n{\n \"id\": 145,\n \"name\": \"yo\"\n}\n",
|
|
588
|
-
"$ xano function:get 145 -p staging -o xs\nfunction yo {\n input {\n }\n stack {\n }\n response = null\n}\n"
|
|
577
|
+
"$ xano static_host:list -w 40\nAvailable static hosts:\n - my-static-host (ID: 1)\n - another-host (ID: 2)\n",
|
|
578
|
+
"$ xano static_host:list --profile production\nAvailable static hosts:\n - my-static-host (ID: 1)\n - another-host (ID: 2)\n",
|
|
579
|
+
"$ xano static_host:list -w 40 --output json\n[\n {\n \"id\": 1,\n \"name\": \"my-static-host\",\n \"domain\": \"example.com\"\n }\n]\n",
|
|
580
|
+
"$ xano static_host:list -p staging -o json --page 2\n[\n {\n \"id\": 3,\n \"name\": \"static-host-3\"\n }\n]\n"
|
|
589
581
|
],
|
|
590
582
|
"flags": {
|
|
591
583
|
"profile": {
|
|
@@ -617,29 +609,32 @@
|
|
|
617
609
|
"multiple": false,
|
|
618
610
|
"options": [
|
|
619
611
|
"summary",
|
|
620
|
-
"json"
|
|
621
|
-
"xs"
|
|
612
|
+
"json"
|
|
622
613
|
],
|
|
623
614
|
"type": "option"
|
|
624
615
|
},
|
|
625
|
-
"
|
|
626
|
-
"description": "
|
|
627
|
-
"name": "
|
|
616
|
+
"page": {
|
|
617
|
+
"description": "Page number for pagination",
|
|
618
|
+
"name": "page",
|
|
628
619
|
"required": false,
|
|
629
|
-
"
|
|
630
|
-
"
|
|
620
|
+
"default": 1,
|
|
621
|
+
"hasDynamicHelp": false,
|
|
622
|
+
"multiple": false,
|
|
623
|
+
"type": "option"
|
|
631
624
|
},
|
|
632
|
-
"
|
|
633
|
-
"description": "
|
|
634
|
-
"name": "
|
|
625
|
+
"per_page": {
|
|
626
|
+
"description": "Number of results per page",
|
|
627
|
+
"name": "per_page",
|
|
635
628
|
"required": false,
|
|
636
|
-
"
|
|
637
|
-
"
|
|
629
|
+
"default": 50,
|
|
630
|
+
"hasDynamicHelp": false,
|
|
631
|
+
"multiple": false,
|
|
632
|
+
"type": "option"
|
|
638
633
|
}
|
|
639
634
|
},
|
|
640
635
|
"hasDynamicHelp": false,
|
|
641
636
|
"hiddenAliases": [],
|
|
642
|
-
"id": "
|
|
637
|
+
"id": "static_host:list",
|
|
643
638
|
"pluginAlias": "@xano/cli",
|
|
644
639
|
"pluginName": "@xano/cli",
|
|
645
640
|
"pluginType": "core",
|
|
@@ -649,20 +644,21 @@
|
|
|
649
644
|
"relativePath": [
|
|
650
645
|
"dist",
|
|
651
646
|
"commands",
|
|
652
|
-
"
|
|
653
|
-
"
|
|
647
|
+
"static_host",
|
|
648
|
+
"list",
|
|
654
649
|
"index.js"
|
|
655
650
|
]
|
|
656
651
|
},
|
|
657
|
-
"
|
|
652
|
+
"ephemeral:run:service": {
|
|
658
653
|
"aliases": [],
|
|
659
654
|
"args": {},
|
|
660
|
-
"description": "
|
|
655
|
+
"description": "Run an ephemeral service in a workspace",
|
|
661
656
|
"examples": [
|
|
662
|
-
"$ xano
|
|
663
|
-
"$ xano
|
|
664
|
-
"$ xano
|
|
665
|
-
"$ xano
|
|
657
|
+
"$ xano ephemeral:run:service -w 1 -f service.xs\nService created successfully!\n...\n",
|
|
658
|
+
"$ xano ephemeral:run:service -f service.xs\nService created successfully!\n...\n",
|
|
659
|
+
"$ xano ephemeral:run:service -w 1 -f service.xs --edit\n# Opens service.xs in $EDITOR, then creates service with edited content\nService created successfully!\n...\n",
|
|
660
|
+
"$ cat service.xs | xano ephemeral:run:service -w 1 --stdin\nService created successfully!\n...\n",
|
|
661
|
+
"$ xano ephemeral:run:service -w 1 -f service.xs -o json\n{\n \"service\": { \"id\": 1 },\n ...\n}\n"
|
|
666
662
|
],
|
|
667
663
|
"flags": {
|
|
668
664
|
"profile": {
|
|
@@ -684,78 +680,58 @@
|
|
|
684
680
|
"multiple": false,
|
|
685
681
|
"type": "option"
|
|
686
682
|
},
|
|
687
|
-
"
|
|
688
|
-
"char": "
|
|
689
|
-
"description": "
|
|
690
|
-
"
|
|
683
|
+
"file": {
|
|
684
|
+
"char": "f",
|
|
685
|
+
"description": "Path or URL to file containing XanoScript code",
|
|
686
|
+
"exclusive": [
|
|
687
|
+
"stdin"
|
|
688
|
+
],
|
|
689
|
+
"name": "file",
|
|
691
690
|
"required": false,
|
|
692
|
-
"default": "summary",
|
|
693
691
|
"hasDynamicHelp": false,
|
|
694
692
|
"multiple": false,
|
|
695
|
-
"options": [
|
|
696
|
-
"summary",
|
|
697
|
-
"json"
|
|
698
|
-
],
|
|
699
693
|
"type": "option"
|
|
700
694
|
},
|
|
701
|
-
"
|
|
702
|
-
"
|
|
703
|
-
"
|
|
695
|
+
"stdin": {
|
|
696
|
+
"char": "s",
|
|
697
|
+
"description": "Read XanoScript code from stdin",
|
|
698
|
+
"exclusive": [
|
|
699
|
+
"file"
|
|
700
|
+
],
|
|
701
|
+
"name": "stdin",
|
|
704
702
|
"required": false,
|
|
705
703
|
"allowNo": false,
|
|
706
704
|
"type": "boolean"
|
|
707
705
|
},
|
|
708
|
-
"
|
|
709
|
-
"
|
|
710
|
-
"
|
|
706
|
+
"edit": {
|
|
707
|
+
"char": "e",
|
|
708
|
+
"dependsOn": [
|
|
709
|
+
"file"
|
|
710
|
+
],
|
|
711
|
+
"description": "Open file in editor before running service (requires --file)",
|
|
712
|
+
"name": "edit",
|
|
711
713
|
"required": false,
|
|
712
714
|
"allowNo": false,
|
|
713
715
|
"type": "boolean"
|
|
714
716
|
},
|
|
715
|
-
"
|
|
716
|
-
"
|
|
717
|
-
"
|
|
718
|
-
"
|
|
719
|
-
"default": 1,
|
|
720
|
-
"hasDynamicHelp": false,
|
|
721
|
-
"multiple": false,
|
|
722
|
-
"type": "option"
|
|
723
|
-
},
|
|
724
|
-
"per_page": {
|
|
725
|
-
"description": "Number of results per page",
|
|
726
|
-
"name": "per_page",
|
|
727
|
-
"required": false,
|
|
728
|
-
"default": 50,
|
|
729
|
-
"hasDynamicHelp": false,
|
|
730
|
-
"multiple": false,
|
|
731
|
-
"type": "option"
|
|
732
|
-
},
|
|
733
|
-
"sort": {
|
|
734
|
-
"description": "Sort field",
|
|
735
|
-
"name": "sort",
|
|
736
|
-
"required": false,
|
|
737
|
-
"default": "created_at",
|
|
738
|
-
"hasDynamicHelp": false,
|
|
739
|
-
"multiple": false,
|
|
740
|
-
"type": "option"
|
|
741
|
-
},
|
|
742
|
-
"order": {
|
|
743
|
-
"description": "Sort order",
|
|
744
|
-
"name": "order",
|
|
717
|
+
"output": {
|
|
718
|
+
"char": "o",
|
|
719
|
+
"description": "Output format",
|
|
720
|
+
"name": "output",
|
|
745
721
|
"required": false,
|
|
746
|
-
"default": "
|
|
722
|
+
"default": "summary",
|
|
747
723
|
"hasDynamicHelp": false,
|
|
748
724
|
"multiple": false,
|
|
749
725
|
"options": [
|
|
750
|
-
"
|
|
751
|
-
"
|
|
726
|
+
"summary",
|
|
727
|
+
"json"
|
|
752
728
|
],
|
|
753
729
|
"type": "option"
|
|
754
730
|
}
|
|
755
731
|
},
|
|
756
732
|
"hasDynamicHelp": false,
|
|
757
733
|
"hiddenAliases": [],
|
|
758
|
-
"id": "
|
|
734
|
+
"id": "ephemeral:run:service",
|
|
759
735
|
"pluginAlias": "@xano/cli",
|
|
760
736
|
"pluginName": "@xano/cli",
|
|
761
737
|
"pluginType": "core",
|
|
@@ -765,77 +741,185 @@
|
|
|
765
741
|
"relativePath": [
|
|
766
742
|
"dist",
|
|
767
743
|
"commands",
|
|
768
|
-
"
|
|
769
|
-
"
|
|
744
|
+
"ephemeral",
|
|
745
|
+
"run",
|
|
746
|
+
"service",
|
|
770
747
|
"index.js"
|
|
771
748
|
]
|
|
772
749
|
},
|
|
773
|
-
"
|
|
750
|
+
"profile:get-default": {
|
|
774
751
|
"aliases": [],
|
|
775
752
|
"args": {},
|
|
776
|
-
"description": "
|
|
753
|
+
"description": "Get the current default profile name",
|
|
777
754
|
"examples": [
|
|
778
|
-
"$ xano
|
|
779
|
-
"$ xano
|
|
780
|
-
|
|
781
|
-
|
|
755
|
+
"$ xano profile:get-default\nproduction\n",
|
|
756
|
+
"$ xano profile:get-default\nNo default profile set\n"
|
|
757
|
+
],
|
|
758
|
+
"flags": {},
|
|
759
|
+
"hasDynamicHelp": false,
|
|
760
|
+
"hiddenAliases": [],
|
|
761
|
+
"id": "profile:get-default",
|
|
762
|
+
"pluginAlias": "@xano/cli",
|
|
763
|
+
"pluginName": "@xano/cli",
|
|
764
|
+
"pluginType": "core",
|
|
765
|
+
"strict": true,
|
|
766
|
+
"enableJsonFlag": false,
|
|
767
|
+
"isESM": true,
|
|
768
|
+
"relativePath": [
|
|
769
|
+
"dist",
|
|
770
|
+
"commands",
|
|
771
|
+
"profile",
|
|
772
|
+
"get-default",
|
|
773
|
+
"index.js"
|
|
774
|
+
]
|
|
775
|
+
},
|
|
776
|
+
"profile:delete": {
|
|
777
|
+
"aliases": [],
|
|
778
|
+
"args": {
|
|
779
|
+
"name": {
|
|
780
|
+
"description": "Profile name to delete",
|
|
781
|
+
"name": "name",
|
|
782
|
+
"required": true
|
|
783
|
+
}
|
|
784
|
+
},
|
|
785
|
+
"description": "Delete a profile configuration",
|
|
786
|
+
"examples": [
|
|
787
|
+
"$ xano profile:delete old-profile\nAre you sure you want to delete profile 'old-profile'? (y/n): y\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n",
|
|
788
|
+
"$ xano profile:delete old-profile --force\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n",
|
|
789
|
+
"$ xano profile:delete old-profile -f\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n"
|
|
782
790
|
],
|
|
783
791
|
"flags": {
|
|
784
|
-
"
|
|
785
|
-
"char": "
|
|
786
|
-
"description": "
|
|
787
|
-
"
|
|
788
|
-
"
|
|
792
|
+
"force": {
|
|
793
|
+
"char": "f",
|
|
794
|
+
"description": "Skip confirmation prompt",
|
|
795
|
+
"name": "force",
|
|
796
|
+
"required": false,
|
|
797
|
+
"allowNo": false,
|
|
798
|
+
"type": "boolean"
|
|
799
|
+
}
|
|
800
|
+
},
|
|
801
|
+
"hasDynamicHelp": false,
|
|
802
|
+
"hiddenAliases": [],
|
|
803
|
+
"id": "profile:delete",
|
|
804
|
+
"pluginAlias": "@xano/cli",
|
|
805
|
+
"pluginName": "@xano/cli",
|
|
806
|
+
"pluginType": "core",
|
|
807
|
+
"strict": true,
|
|
808
|
+
"enableJsonFlag": false,
|
|
809
|
+
"isESM": true,
|
|
810
|
+
"relativePath": [
|
|
811
|
+
"dist",
|
|
812
|
+
"commands",
|
|
813
|
+
"profile",
|
|
814
|
+
"delete",
|
|
815
|
+
"index.js"
|
|
816
|
+
]
|
|
817
|
+
},
|
|
818
|
+
"profile:create": {
|
|
819
|
+
"aliases": [],
|
|
820
|
+
"args": {
|
|
821
|
+
"name": {
|
|
822
|
+
"description": "Profile name",
|
|
823
|
+
"name": "name",
|
|
824
|
+
"required": true
|
|
825
|
+
}
|
|
826
|
+
},
|
|
827
|
+
"description": "Create a new profile configuration",
|
|
828
|
+
"examples": [
|
|
829
|
+
"$ xano profile:create production --account_origin https://account.xano.com --instance_origin https://instance.xano.com --access_token token123\nProfile 'production' created successfully at ~/.xano/credentials.yaml\n",
|
|
830
|
+
"$ xano profile:create staging -a https://staging-account.xano.com -i https://staging-instance.xano.com -t token456\nProfile 'staging' created successfully at ~/.xano/credentials.yaml\n",
|
|
831
|
+
"$ xano profile:create dev -i https://dev-instance.xano.com -t token789 -w my-workspace -b feature-branch\nProfile 'dev' created successfully at ~/.xano/credentials.yaml\n",
|
|
832
|
+
"$ 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"
|
|
833
|
+
],
|
|
834
|
+
"flags": {
|
|
835
|
+
"account_origin": {
|
|
836
|
+
"char": "a",
|
|
837
|
+
"description": "Account origin URL. Optional for self hosted installs.",
|
|
838
|
+
"name": "account_origin",
|
|
789
839
|
"required": false,
|
|
790
840
|
"hasDynamicHelp": false,
|
|
791
841
|
"multiple": false,
|
|
792
842
|
"type": "option"
|
|
793
843
|
},
|
|
794
|
-
"
|
|
795
|
-
"char": "
|
|
796
|
-
"description": "
|
|
797
|
-
"name": "
|
|
798
|
-
"required":
|
|
844
|
+
"instance_origin": {
|
|
845
|
+
"char": "i",
|
|
846
|
+
"description": "Instance origin URL",
|
|
847
|
+
"name": "instance_origin",
|
|
848
|
+
"required": true,
|
|
799
849
|
"hasDynamicHelp": false,
|
|
800
850
|
"multiple": false,
|
|
801
851
|
"type": "option"
|
|
802
852
|
},
|
|
803
|
-
"
|
|
804
|
-
"char": "
|
|
805
|
-
"description": "
|
|
806
|
-
"name": "
|
|
807
|
-
"required":
|
|
808
|
-
"default": "summary",
|
|
853
|
+
"access_token": {
|
|
854
|
+
"char": "t",
|
|
855
|
+
"description": "Access token for the Xano Metadata API",
|
|
856
|
+
"name": "access_token",
|
|
857
|
+
"required": true,
|
|
809
858
|
"hasDynamicHelp": false,
|
|
810
859
|
"multiple": false,
|
|
811
|
-
"options": [
|
|
812
|
-
"summary",
|
|
813
|
-
"json"
|
|
814
|
-
],
|
|
815
860
|
"type": "option"
|
|
816
861
|
},
|
|
817
|
-
"
|
|
818
|
-
"
|
|
819
|
-
"
|
|
862
|
+
"workspace": {
|
|
863
|
+
"char": "w",
|
|
864
|
+
"description": "Workspace name",
|
|
865
|
+
"name": "workspace",
|
|
820
866
|
"required": false,
|
|
821
|
-
"default": 1,
|
|
822
867
|
"hasDynamicHelp": false,
|
|
823
868
|
"multiple": false,
|
|
824
869
|
"type": "option"
|
|
825
870
|
},
|
|
826
|
-
"
|
|
827
|
-
"
|
|
828
|
-
"
|
|
871
|
+
"branch": {
|
|
872
|
+
"char": "b",
|
|
873
|
+
"description": "Branch name",
|
|
874
|
+
"name": "branch",
|
|
829
875
|
"required": false,
|
|
830
|
-
"default": 50,
|
|
831
876
|
"hasDynamicHelp": false,
|
|
832
877
|
"multiple": false,
|
|
833
878
|
"type": "option"
|
|
879
|
+
},
|
|
880
|
+
"default": {
|
|
881
|
+
"description": "Set this profile as the default",
|
|
882
|
+
"name": "default",
|
|
883
|
+
"required": false,
|
|
884
|
+
"allowNo": false,
|
|
885
|
+
"type": "boolean"
|
|
886
|
+
}
|
|
887
|
+
},
|
|
888
|
+
"hasDynamicHelp": false,
|
|
889
|
+
"hiddenAliases": [],
|
|
890
|
+
"id": "profile:create",
|
|
891
|
+
"pluginAlias": "@xano/cli",
|
|
892
|
+
"pluginName": "@xano/cli",
|
|
893
|
+
"pluginType": "core",
|
|
894
|
+
"strict": true,
|
|
895
|
+
"enableJsonFlag": false,
|
|
896
|
+
"isESM": true,
|
|
897
|
+
"relativePath": [
|
|
898
|
+
"dist",
|
|
899
|
+
"commands",
|
|
900
|
+
"profile",
|
|
901
|
+
"create",
|
|
902
|
+
"index.js"
|
|
903
|
+
]
|
|
904
|
+
},
|
|
905
|
+
"profile:set-default": {
|
|
906
|
+
"aliases": [],
|
|
907
|
+
"args": {
|
|
908
|
+
"name": {
|
|
909
|
+
"description": "Profile name to set as default",
|
|
910
|
+
"name": "name",
|
|
911
|
+
"required": true
|
|
834
912
|
}
|
|
835
913
|
},
|
|
914
|
+
"description": "Set the default profile",
|
|
915
|
+
"examples": [
|
|
916
|
+
"$ xano profile:set-default production\nDefault profile set to 'production'\n",
|
|
917
|
+
"$ xano profile:set-default staging\nDefault profile set to 'staging'\n"
|
|
918
|
+
],
|
|
919
|
+
"flags": {},
|
|
836
920
|
"hasDynamicHelp": false,
|
|
837
921
|
"hiddenAliases": [],
|
|
838
|
-
"id": "
|
|
922
|
+
"id": "profile:set-default",
|
|
839
923
|
"pluginAlias": "@xano/cli",
|
|
840
924
|
"pluginName": "@xano/cli",
|
|
841
925
|
"pluginType": "core",
|
|
@@ -845,50 +929,33 @@
|
|
|
845
929
|
"relativePath": [
|
|
846
930
|
"dist",
|
|
847
931
|
"commands",
|
|
848
|
-
"
|
|
849
|
-
"
|
|
932
|
+
"profile",
|
|
933
|
+
"set-default",
|
|
850
934
|
"index.js"
|
|
851
935
|
]
|
|
852
936
|
},
|
|
853
|
-
"
|
|
937
|
+
"profile:list": {
|
|
854
938
|
"aliases": [],
|
|
855
939
|
"args": {},
|
|
856
|
-
"description": "List all
|
|
940
|
+
"description": "List all available profile configurations",
|
|
857
941
|
"examples": [
|
|
858
|
-
"$ xano
|
|
859
|
-
"$ xano
|
|
860
|
-
"$ xano
|
|
861
|
-
"$ xano workspace:list -p staging -o json\n{\n \"workspaces\": [\n {\n \"id\": 1,\n \"name\": \"my-app\"\n }\n ]\n}\n"
|
|
942
|
+
"$ xano profile:list\nAvailable profiles:\n - default\n - production\n - staging\n - development\n",
|
|
943
|
+
"$ xano profile:list --details\nAvailable profiles:\n\nProfile: default\n Account Origin: https://account.xano.com\n Instance Origin: https://instance.xano.com\n Access Token: ***...***\n Workspace: my-workspace\n Branch: main\n\nProfile: production\n Account Origin: https://account.xano.com\n Instance Origin: https://prod-instance.xano.com\n Access Token: ***...***\n",
|
|
944
|
+
"$ 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"
|
|
862
945
|
],
|
|
863
946
|
"flags": {
|
|
864
|
-
"
|
|
865
|
-
"char": "
|
|
866
|
-
"description": "
|
|
867
|
-
"
|
|
868
|
-
"name": "profile",
|
|
869
|
-
"required": false,
|
|
870
|
-
"hasDynamicHelp": false,
|
|
871
|
-
"multiple": false,
|
|
872
|
-
"type": "option"
|
|
873
|
-
},
|
|
874
|
-
"output": {
|
|
875
|
-
"char": "o",
|
|
876
|
-
"description": "Output format",
|
|
877
|
-
"name": "output",
|
|
947
|
+
"details": {
|
|
948
|
+
"char": "d",
|
|
949
|
+
"description": "Show detailed information for each profile",
|
|
950
|
+
"name": "details",
|
|
878
951
|
"required": false,
|
|
879
|
-
"
|
|
880
|
-
"
|
|
881
|
-
"multiple": false,
|
|
882
|
-
"options": [
|
|
883
|
-
"summary",
|
|
884
|
-
"json"
|
|
885
|
-
],
|
|
886
|
-
"type": "option"
|
|
952
|
+
"allowNo": false,
|
|
953
|
+
"type": "boolean"
|
|
887
954
|
}
|
|
888
955
|
},
|
|
889
956
|
"hasDynamicHelp": false,
|
|
890
957
|
"hiddenAliases": [],
|
|
891
|
-
"id": "
|
|
958
|
+
"id": "profile:list",
|
|
892
959
|
"pluginAlias": "@xano/cli",
|
|
893
960
|
"pluginName": "@xano/cli",
|
|
894
961
|
"pluginType": "core",
|
|
@@ -898,96 +965,34 @@
|
|
|
898
965
|
"relativePath": [
|
|
899
966
|
"dist",
|
|
900
967
|
"commands",
|
|
901
|
-
"
|
|
968
|
+
"profile",
|
|
902
969
|
"list",
|
|
903
970
|
"index.js"
|
|
904
971
|
]
|
|
905
972
|
},
|
|
906
|
-
"
|
|
973
|
+
"profile:wizard": {
|
|
907
974
|
"aliases": [],
|
|
908
975
|
"args": {},
|
|
909
|
-
"description": "
|
|
976
|
+
"description": "Create a new profile configuration using an interactive wizard",
|
|
910
977
|
"examples": [
|
|
911
|
-
"$ xano
|
|
912
|
-
"$ xano ephemeral:run:job -f script.xs\nJob executed successfully!\n...\n",
|
|
913
|
-
"$ xano ephemeral:run:job -w 1 -f script.xs --edit\n# Opens script.xs in $EDITOR, then runs job with edited content\nJob executed successfully!\n...\n",
|
|
914
|
-
"$ cat script.xs | xano ephemeral:run:job -w 1 --stdin\nJob executed successfully!\n...\n",
|
|
915
|
-
"$ xano ephemeral:run:job -w 1 -f script.xs -o json\n{\n \"job\": { \"id\": 1, \"run\": { \"id\": 1 } },\n \"result\": { ... }\n}\n",
|
|
916
|
-
"$ xano ephemeral:run:job -w 1 -f script.xs -a args.json\n# Runs job with input arguments from args.json\nJob executed successfully!\n...\n"
|
|
978
|
+
"$ xano profile:wizard\nWelcome to the Xano Profile Wizard!\n? Enter your access token: ***...***\n? Select an instance:\n > Production (https://app.xano.com)\n Staging (https://staging.xano.com)\n? Profile name: production\nProfile 'production' created successfully at ~/.xano/credentials.yaml\n"
|
|
917
979
|
],
|
|
918
980
|
"flags": {
|
|
919
|
-
"
|
|
920
|
-
"char": "
|
|
921
|
-
"description": "Profile
|
|
922
|
-
"
|
|
923
|
-
"name": "profile",
|
|
924
|
-
"required": false,
|
|
925
|
-
"hasDynamicHelp": false,
|
|
926
|
-
"multiple": false,
|
|
927
|
-
"type": "option"
|
|
928
|
-
},
|
|
929
|
-
"workspace": {
|
|
930
|
-
"char": "w",
|
|
931
|
-
"description": "Workspace ID (optional if set in profile)",
|
|
932
|
-
"name": "workspace",
|
|
933
|
-
"required": false,
|
|
934
|
-
"hasDynamicHelp": false,
|
|
935
|
-
"multiple": false,
|
|
936
|
-
"type": "option"
|
|
937
|
-
},
|
|
938
|
-
"file": {
|
|
939
|
-
"char": "f",
|
|
940
|
-
"description": "Path or URL to file containing XanoScript code",
|
|
941
|
-
"exclusive": [
|
|
942
|
-
"stdin"
|
|
943
|
-
],
|
|
944
|
-
"name": "file",
|
|
981
|
+
"name": {
|
|
982
|
+
"char": "n",
|
|
983
|
+
"description": "Profile name (skip prompt if provided)",
|
|
984
|
+
"name": "name",
|
|
945
985
|
"required": false,
|
|
946
986
|
"hasDynamicHelp": false,
|
|
947
987
|
"multiple": false,
|
|
948
988
|
"type": "option"
|
|
949
989
|
},
|
|
950
|
-
"
|
|
951
|
-
"char": "s",
|
|
952
|
-
"description": "Read XanoScript code from stdin",
|
|
953
|
-
"exclusive": [
|
|
954
|
-
"file"
|
|
955
|
-
],
|
|
956
|
-
"name": "stdin",
|
|
957
|
-
"required": false,
|
|
958
|
-
"allowNo": false,
|
|
959
|
-
"type": "boolean"
|
|
960
|
-
},
|
|
961
|
-
"edit": {
|
|
962
|
-
"char": "e",
|
|
963
|
-
"dependsOn": [
|
|
964
|
-
"file"
|
|
965
|
-
],
|
|
966
|
-
"description": "Open file in editor before running job (requires --file)",
|
|
967
|
-
"name": "edit",
|
|
968
|
-
"required": false,
|
|
969
|
-
"allowNo": false,
|
|
970
|
-
"type": "boolean"
|
|
971
|
-
},
|
|
972
|
-
"output": {
|
|
990
|
+
"origin": {
|
|
973
991
|
"char": "o",
|
|
974
|
-
"description": "
|
|
975
|
-
"name": "
|
|
976
|
-
"required": false,
|
|
977
|
-
"default": "summary",
|
|
978
|
-
"hasDynamicHelp": false,
|
|
979
|
-
"multiple": false,
|
|
980
|
-
"options": [
|
|
981
|
-
"summary",
|
|
982
|
-
"json"
|
|
983
|
-
],
|
|
984
|
-
"type": "option"
|
|
985
|
-
},
|
|
986
|
-
"args": {
|
|
987
|
-
"char": "a",
|
|
988
|
-
"description": "Path or URL to JSON file containing input arguments",
|
|
989
|
-
"name": "args",
|
|
992
|
+
"description": "Xano instance origin URL",
|
|
993
|
+
"name": "origin",
|
|
990
994
|
"required": false,
|
|
995
|
+
"default": "https://app.xano.com",
|
|
991
996
|
"hasDynamicHelp": false,
|
|
992
997
|
"multiple": false,
|
|
993
998
|
"type": "option"
|
|
@@ -995,7 +1000,7 @@
|
|
|
995
1000
|
},
|
|
996
1001
|
"hasDynamicHelp": false,
|
|
997
1002
|
"hiddenAliases": [],
|
|
998
|
-
"id": "
|
|
1003
|
+
"id": "profile:wizard",
|
|
999
1004
|
"pluginAlias": "@xano/cli",
|
|
1000
1005
|
"pluginName": "@xano/cli",
|
|
1001
1006
|
"pluginType": "core",
|
|
@@ -1005,29 +1010,50 @@
|
|
|
1005
1010
|
"relativePath": [
|
|
1006
1011
|
"dist",
|
|
1007
1012
|
"commands",
|
|
1008
|
-
"
|
|
1009
|
-
"
|
|
1010
|
-
"job",
|
|
1013
|
+
"profile",
|
|
1014
|
+
"wizard",
|
|
1011
1015
|
"index.js"
|
|
1012
1016
|
]
|
|
1013
1017
|
},
|
|
1014
|
-
"
|
|
1018
|
+
"profile:edit": {
|
|
1015
1019
|
"aliases": [],
|
|
1016
|
-
"args": {
|
|
1017
|
-
|
|
1020
|
+
"args": {
|
|
1021
|
+
"name": {
|
|
1022
|
+
"description": "Profile name to edit",
|
|
1023
|
+
"name": "name",
|
|
1024
|
+
"required": true
|
|
1025
|
+
}
|
|
1026
|
+
},
|
|
1027
|
+
"description": "Edit an existing profile configuration",
|
|
1018
1028
|
"examples": [
|
|
1019
|
-
"$ xano
|
|
1020
|
-
"$ xano
|
|
1021
|
-
"$ xano
|
|
1022
|
-
"$
|
|
1023
|
-
"$ xano ephemeral:run:service -w 1 -f service.xs -o json\n{\n \"service\": { \"id\": 1 },\n ...\n}\n"
|
|
1029
|
+
"$ xano profile:edit production --access_token new_token123\nProfile 'production' updated successfully at ~/.xano/credentials.yaml\n",
|
|
1030
|
+
"$ xano profile:edit staging -i https://new-staging-instance.xano.com -t new_token456\nProfile 'staging' updated successfully at ~/.xano/credentials.yaml\n",
|
|
1031
|
+
"$ xano profile:edit dev -w new-workspace -b new-branch\nProfile 'dev' updated successfully at ~/.xano/credentials.yaml\n",
|
|
1032
|
+
"$ xano profile:edit dev --remove-workspace\nProfile 'dev' updated successfully at ~/.xano/credentials.yaml\n"
|
|
1024
1033
|
],
|
|
1025
1034
|
"flags": {
|
|
1026
|
-
"
|
|
1027
|
-
"char": "
|
|
1028
|
-
"description": "
|
|
1029
|
-
"
|
|
1030
|
-
"
|
|
1035
|
+
"account_origin": {
|
|
1036
|
+
"char": "a",
|
|
1037
|
+
"description": "Update account origin URL",
|
|
1038
|
+
"name": "account_origin",
|
|
1039
|
+
"required": false,
|
|
1040
|
+
"hasDynamicHelp": false,
|
|
1041
|
+
"multiple": false,
|
|
1042
|
+
"type": "option"
|
|
1043
|
+
},
|
|
1044
|
+
"instance_origin": {
|
|
1045
|
+
"char": "i",
|
|
1046
|
+
"description": "Update instance origin URL",
|
|
1047
|
+
"name": "instance_origin",
|
|
1048
|
+
"required": false,
|
|
1049
|
+
"hasDynamicHelp": false,
|
|
1050
|
+
"multiple": false,
|
|
1051
|
+
"type": "option"
|
|
1052
|
+
},
|
|
1053
|
+
"access_token": {
|
|
1054
|
+
"char": "t",
|
|
1055
|
+
"description": "Update access token for the Xano Metadata API",
|
|
1056
|
+
"name": "access_token",
|
|
1031
1057
|
"required": false,
|
|
1032
1058
|
"hasDynamicHelp": false,
|
|
1033
1059
|
"multiple": false,
|
|
@@ -1035,65 +1061,40 @@
|
|
|
1035
1061
|
},
|
|
1036
1062
|
"workspace": {
|
|
1037
1063
|
"char": "w",
|
|
1038
|
-
"description": "
|
|
1064
|
+
"description": "Update workspace name",
|
|
1039
1065
|
"name": "workspace",
|
|
1040
1066
|
"required": false,
|
|
1041
1067
|
"hasDynamicHelp": false,
|
|
1042
1068
|
"multiple": false,
|
|
1043
1069
|
"type": "option"
|
|
1044
1070
|
},
|
|
1045
|
-
"
|
|
1046
|
-
"char": "
|
|
1047
|
-
"description": "
|
|
1048
|
-
"
|
|
1049
|
-
"stdin"
|
|
1050
|
-
],
|
|
1051
|
-
"name": "file",
|
|
1071
|
+
"branch": {
|
|
1072
|
+
"char": "b",
|
|
1073
|
+
"description": "Update branch name",
|
|
1074
|
+
"name": "branch",
|
|
1052
1075
|
"required": false,
|
|
1053
1076
|
"hasDynamicHelp": false,
|
|
1054
1077
|
"multiple": false,
|
|
1055
1078
|
"type": "option"
|
|
1056
1079
|
},
|
|
1057
|
-
"
|
|
1058
|
-
"
|
|
1059
|
-
"
|
|
1060
|
-
"exclusive": [
|
|
1061
|
-
"file"
|
|
1062
|
-
],
|
|
1063
|
-
"name": "stdin",
|
|
1080
|
+
"remove-workspace": {
|
|
1081
|
+
"description": "Remove workspace from profile",
|
|
1082
|
+
"name": "remove-workspace",
|
|
1064
1083
|
"required": false,
|
|
1065
1084
|
"allowNo": false,
|
|
1066
1085
|
"type": "boolean"
|
|
1067
1086
|
},
|
|
1068
|
-
"
|
|
1069
|
-
"
|
|
1070
|
-
"
|
|
1071
|
-
"file"
|
|
1072
|
-
],
|
|
1073
|
-
"description": "Open file in editor before running service (requires --file)",
|
|
1074
|
-
"name": "edit",
|
|
1087
|
+
"remove-branch": {
|
|
1088
|
+
"description": "Remove branch from profile",
|
|
1089
|
+
"name": "remove-branch",
|
|
1075
1090
|
"required": false,
|
|
1076
1091
|
"allowNo": false,
|
|
1077
1092
|
"type": "boolean"
|
|
1078
|
-
},
|
|
1079
|
-
"output": {
|
|
1080
|
-
"char": "o",
|
|
1081
|
-
"description": "Output format",
|
|
1082
|
-
"name": "output",
|
|
1083
|
-
"required": false,
|
|
1084
|
-
"default": "summary",
|
|
1085
|
-
"hasDynamicHelp": false,
|
|
1086
|
-
"multiple": false,
|
|
1087
|
-
"options": [
|
|
1088
|
-
"summary",
|
|
1089
|
-
"json"
|
|
1090
|
-
],
|
|
1091
|
-
"type": "option"
|
|
1092
1093
|
}
|
|
1093
1094
|
},
|
|
1094
1095
|
"hasDynamicHelp": false,
|
|
1095
1096
|
"hiddenAliases": [],
|
|
1096
|
-
"id": "
|
|
1097
|
+
"id": "profile:edit",
|
|
1097
1098
|
"pluginAlias": "@xano/cli",
|
|
1098
1099
|
"pluginName": "@xano/cli",
|
|
1099
1100
|
"pluginType": "core",
|
|
@@ -1103,9 +1104,8 @@
|
|
|
1103
1104
|
"relativePath": [
|
|
1104
1105
|
"dist",
|
|
1105
1106
|
"commands",
|
|
1106
|
-
"
|
|
1107
|
-
"
|
|
1108
|
-
"service",
|
|
1107
|
+
"profile",
|
|
1108
|
+
"edit",
|
|
1109
1109
|
"index.js"
|
|
1110
1110
|
]
|
|
1111
1111
|
},
|
|
@@ -1366,5 +1366,5 @@
|
|
|
1366
1366
|
]
|
|
1367
1367
|
}
|
|
1368
1368
|
},
|
|
1369
|
-
"version": "0.0.
|
|
1369
|
+
"version": "0.0.11"
|
|
1370
1370
|
}
|