@xano/cli 0.0.30 → 0.0.31

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.
@@ -35,14 +35,16 @@
35
35
  "index.js"
36
36
  ]
37
37
  },
38
- "branch:create": {
38
+ "function:create": {
39
39
  "aliases": [],
40
40
  "args": {},
41
- "description": "Create a new branch by cloning from an existing branch",
41
+ "description": "Create a new function in a workspace",
42
42
  "examples": [
43
- "$ xano branch create --label dev\nCreated branch: dev\n Cloned from: v1\n",
44
- "$ xano branch create -l feature-auth -s dev -d \"Authentication feature\"\nCreated branch: feature-auth\n Cloned from: dev\n Description: Authentication feature\n",
45
- "$ 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"
43
+ "$ xano function:create -w 40 -f function.xs\nFunction created successfully!\nID: 123\nName: my_function\n",
44
+ "$ xano function:create -f function.xs\nFunction created successfully!\nID: 123\nName: my_function\n",
45
+ "$ 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",
46
+ "$ cat function.xs | xano function:create -w 40 --stdin\nFunction created successfully!\nID: 123\nName: my_function\n",
47
+ "$ xano function:create -w 40 -f function.xs -o json\n{\n \"id\": 123,\n \"name\": \"my_function\",\n ...\n}\n"
46
48
  ],
47
49
  "flags": {
48
50
  "profile": {
@@ -64,33 +66,29 @@
64
66
  "allowNo": false,
65
67
  "type": "boolean"
66
68
  },
67
- "color": {
68
- "char": "c",
69
- "description": "Color hex code for the branch (e.g., \"#ebc346\")",
70
- "name": "color",
69
+ "edit": {
70
+ "char": "e",
71
+ "dependsOn": [
72
+ "file"
73
+ ],
74
+ "description": "Open file in editor before creating function (requires --file)",
75
+ "name": "edit",
71
76
  "required": false,
72
- "hasDynamicHelp": false,
73
- "multiple": false,
74
- "type": "option"
77
+ "allowNo": false,
78
+ "type": "boolean"
75
79
  },
76
- "description": {
77
- "char": "d",
78
- "description": "Description for the new branch",
79
- "name": "description",
80
+ "file": {
81
+ "char": "f",
82
+ "description": "Path to file containing XanoScript code",
83
+ "exclusive": [
84
+ "stdin"
85
+ ],
86
+ "name": "file",
80
87
  "required": false,
81
88
  "hasDynamicHelp": false,
82
89
  "multiple": false,
83
90
  "type": "option"
84
91
  },
85
- "label": {
86
- "char": "l",
87
- "description": "Label for the new branch",
88
- "name": "label",
89
- "required": true,
90
- "hasDynamicHelp": false,
91
- "multiple": false,
92
- "type": "option"
93
- },
94
92
  "output": {
95
93
  "char": "o",
96
94
  "description": "Output format",
@@ -105,19 +103,20 @@
105
103
  ],
106
104
  "type": "option"
107
105
  },
108
- "source": {
106
+ "stdin": {
109
107
  "char": "s",
110
- "description": "Source branch to clone from (defaults to \"v1\")",
111
- "name": "source",
108
+ "description": "Read XanoScript code from stdin",
109
+ "exclusive": [
110
+ "file"
111
+ ],
112
+ "name": "stdin",
112
113
  "required": false,
113
- "default": "v1",
114
- "hasDynamicHelp": false,
115
- "multiple": false,
116
- "type": "option"
114
+ "allowNo": false,
115
+ "type": "boolean"
117
116
  },
118
117
  "workspace": {
119
118
  "char": "w",
120
- "description": "Workspace ID (uses profile workspace if not provided)",
119
+ "description": "Workspace ID (optional if set in profile)",
121
120
  "name": "workspace",
122
121
  "required": false,
123
122
  "hasDynamicHelp": false,
@@ -127,7 +126,7 @@
127
126
  },
128
127
  "hasDynamicHelp": false,
129
128
  "hiddenAliases": [],
130
- "id": "branch:create",
129
+ "id": "function:create",
131
130
  "pluginAlias": "@xano/cli",
132
131
  "pluginName": "@xano/cli",
133
132
  "pluginType": "core",
@@ -137,25 +136,30 @@
137
136
  "relativePath": [
138
137
  "dist",
139
138
  "commands",
140
- "branch",
139
+ "function",
141
140
  "create",
142
141
  "index.js"
143
142
  ]
144
143
  },
145
- "branch:delete": {
144
+ "function:edit": {
146
145
  "aliases": [],
147
146
  "args": {
148
- "branch_label": {
149
- "description": "Branch label to delete (cannot delete \"v1\" or the live branch)",
150
- "name": "branch_label",
151
- "required": true
147
+ "function_id": {
148
+ "description": "Function ID to edit",
149
+ "name": "function_id",
150
+ "required": false
152
151
  }
153
152
  },
154
- "description": "Delete a branch (cannot delete \"v1\" or the live branch)",
153
+ "description": "Edit a function in a workspace",
155
154
  "examples": [
156
- "$ 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",
157
- "$ xano branch delete dev --force\nDeleted branch: dev\n",
158
- "$ xano branch delete staging -f -o json\n{\n \"deleted\": true,\n \"branch_label\": \"staging\"\n}\n"
155
+ "$ 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",
156
+ "$ 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",
157
+ "$ xano function:edit 163 -f function.xs\nFunction updated successfully!\nID: 163\nName: my_function\n",
158
+ "$ xano function:edit 163 -w 40 -f function.xs\nFunction updated successfully!\nID: 163\nName: my_function\n",
159
+ "$ xano function:edit -f function.xs\nSelect a function to edit:\n ❯ my_function (ID: 163) - Sample function\n another-func (ID: 164)\n",
160
+ "$ 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",
161
+ "$ cat function.xs | xano function:edit 163 --stdin\nFunction updated successfully!\nID: 163\nName: my_function\n",
162
+ "$ xano function:edit 163 -f function.xs -o json\n{\n \"id\": 163,\n \"name\": \"my_function\",\n ...\n}\n"
159
163
  ],
160
164
  "flags": {
161
165
  "profile": {
@@ -177,14 +181,26 @@
177
181
  "allowNo": false,
178
182
  "type": "boolean"
179
183
  },
180
- "force": {
181
- "char": "f",
182
- "description": "Skip confirmation prompt",
183
- "name": "force",
184
+ "edit": {
185
+ "char": "e",
186
+ "description": "Open file in editor before updating function (requires --file)",
187
+ "name": "edit",
184
188
  "required": false,
185
189
  "allowNo": false,
186
190
  "type": "boolean"
187
191
  },
192
+ "file": {
193
+ "char": "f",
194
+ "description": "Path to file containing XanoScript code",
195
+ "exclusive": [
196
+ "stdin"
197
+ ],
198
+ "name": "file",
199
+ "required": false,
200
+ "hasDynamicHelp": false,
201
+ "multiple": false,
202
+ "type": "option"
203
+ },
188
204
  "output": {
189
205
  "char": "o",
190
206
  "description": "Output format",
@@ -199,9 +215,27 @@
199
215
  ],
200
216
  "type": "option"
201
217
  },
218
+ "publish": {
219
+ "description": "Publish the function after editing",
220
+ "name": "publish",
221
+ "required": false,
222
+ "allowNo": false,
223
+ "type": "boolean"
224
+ },
225
+ "stdin": {
226
+ "char": "s",
227
+ "description": "Read XanoScript code from stdin",
228
+ "exclusive": [
229
+ "file"
230
+ ],
231
+ "name": "stdin",
232
+ "required": false,
233
+ "allowNo": false,
234
+ "type": "boolean"
235
+ },
202
236
  "workspace": {
203
237
  "char": "w",
204
- "description": "Workspace ID (uses profile workspace if not provided)",
238
+ "description": "Workspace ID (optional if set in profile)",
205
239
  "name": "workspace",
206
240
  "required": false,
207
241
  "hasDynamicHelp": false,
@@ -211,7 +245,7 @@
211
245
  },
212
246
  "hasDynamicHelp": false,
213
247
  "hiddenAliases": [],
214
- "id": "branch:delete",
248
+ "id": "function:edit",
215
249
  "pluginAlias": "@xano/cli",
216
250
  "pluginName": "@xano/cli",
217
251
  "pluginType": "core",
@@ -221,25 +255,28 @@
221
255
  "relativePath": [
222
256
  "dist",
223
257
  "commands",
224
- "branch",
225
- "delete",
258
+ "function",
259
+ "edit",
226
260
  "index.js"
227
261
  ]
228
262
  },
229
- "branch:edit": {
263
+ "function:get": {
230
264
  "aliases": [],
231
265
  "args": {
232
- "branch_label": {
233
- "description": "Branch label to edit (cannot edit \"v1\" label)",
234
- "name": "branch_label",
235
- "required": true
266
+ "function_id": {
267
+ "description": "Function ID",
268
+ "name": "function_id",
269
+ "required": false
236
270
  }
237
271
  },
238
- "description": "Update an existing branch (cannot update \"v1\" label)",
272
+ "description": "Get a specific function from a workspace",
239
273
  "examples": [
240
- "$ xano branch edit dev --label development\nUpdated branch: development\n",
241
- "$ xano branch edit feature-auth -l feature-authentication --color \"#ff5733\"\nUpdated branch: feature-authentication\n Color: #ff5733\n",
242
- "$ 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"
274
+ "$ xano function:get 145 -w 40\nFunction: yo (ID: 145)\nCreated: 2025-10-10 10:30:00\nDescription: Sample function\n",
275
+ "$ xano function:get 145 --profile production\nFunction: yo (ID: 145)\nCreated: 2025-10-10 10:30:00\n",
276
+ "$ xano function:get\nSelect a function:\n ❯ yo (ID: 145) - Sample function\n another-func (ID: 146)\n",
277
+ "$ xano function:get 145 -w 40 --output json\n{\n \"id\": 145,\n \"name\": \"yo\",\n \"description\": \"Sample function\"\n}\n",
278
+ "$ xano function:get 145 -p staging -o json --include_draft\n{\n \"id\": 145,\n \"name\": \"yo\"\n}\n",
279
+ "$ xano function:get 145 -p staging -o xs\nfunction yo {\n input {\n }\n stack {\n }\n response = null\n}\n"
243
280
  ],
244
281
  "flags": {
245
282
  "profile": {
@@ -261,32 +298,19 @@
261
298
  "allowNo": false,
262
299
  "type": "boolean"
263
300
  },
264
- "color": {
265
- "char": "c",
266
- "description": "New color hex code for the branch (e.g., \"#ff5733\")",
267
- "name": "color",
268
- "required": false,
269
- "hasDynamicHelp": false,
270
- "multiple": false,
271
- "type": "option"
272
- },
273
- "description": {
274
- "char": "d",
275
- "description": "New description for the branch",
276
- "name": "description",
301
+ "include_draft": {
302
+ "description": "Include draft version",
303
+ "name": "include_draft",
277
304
  "required": false,
278
- "hasDynamicHelp": false,
279
- "multiple": false,
280
- "type": "option"
305
+ "allowNo": false,
306
+ "type": "boolean"
281
307
  },
282
- "label": {
283
- "char": "l",
284
- "description": "New label for the branch",
285
- "name": "label",
308
+ "include_xanoscript": {
309
+ "description": "Include XanoScript in response",
310
+ "name": "include_xanoscript",
286
311
  "required": false,
287
- "hasDynamicHelp": false,
288
- "multiple": false,
289
- "type": "option"
312
+ "allowNo": false,
313
+ "type": "boolean"
290
314
  },
291
315
  "output": {
292
316
  "char": "o",
@@ -298,13 +322,14 @@
298
322
  "multiple": false,
299
323
  "options": [
300
324
  "summary",
301
- "json"
325
+ "json",
326
+ "xs"
302
327
  ],
303
328
  "type": "option"
304
329
  },
305
330
  "workspace": {
306
331
  "char": "w",
307
- "description": "Workspace ID (uses profile workspace if not provided)",
332
+ "description": "Workspace ID (optional if set in profile)",
308
333
  "name": "workspace",
309
334
  "required": false,
310
335
  "hasDynamicHelp": false,
@@ -314,7 +339,7 @@
314
339
  },
315
340
  "hasDynamicHelp": false,
316
341
  "hiddenAliases": [],
317
- "id": "branch:edit",
342
+ "id": "function:get",
318
343
  "pluginAlias": "@xano/cli",
319
344
  "pluginName": "@xano/cli",
320
345
  "pluginType": "core",
@@ -324,25 +349,19 @@
324
349
  "relativePath": [
325
350
  "dist",
326
351
  "commands",
327
- "branch",
328
- "edit",
352
+ "function",
353
+ "get",
329
354
  "index.js"
330
355
  ]
331
356
  },
332
- "branch:get": {
357
+ "branch:create": {
333
358
  "aliases": [],
334
- "args": {
335
- "branch_label": {
336
- "description": "Branch label (e.g., \"v1\", \"dev\")",
337
- "name": "branch_label",
338
- "required": true
339
- }
340
- },
341
- "description": "Get details for a specific branch",
359
+ "args": {},
360
+ "description": "Create a new branch by cloning from an existing branch",
342
361
  "examples": [
343
- "$ xano branch get v1\nBranch: v1 (live)\n Created: 2024-01-15\n",
344
- "$ xano branch get dev -w 123\nBranch: dev\n Created: 2024-02-01\n",
345
- "$ 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"
362
+ "$ xano branch create --label dev\nCreated branch: dev\n Cloned from: v1\n",
363
+ "$ xano branch create -l feature-auth -s dev -d \"Authentication feature\"\nCreated branch: feature-auth\n Cloned from: dev\n Description: Authentication feature\n",
364
+ "$ 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"
346
365
  ],
347
366
  "flags": {
348
367
  "profile": {
@@ -364,6 +383,33 @@
364
383
  "allowNo": false,
365
384
  "type": "boolean"
366
385
  },
386
+ "color": {
387
+ "char": "c",
388
+ "description": "Color hex code for the branch (e.g., \"#ebc346\")",
389
+ "name": "color",
390
+ "required": false,
391
+ "hasDynamicHelp": false,
392
+ "multiple": false,
393
+ "type": "option"
394
+ },
395
+ "description": {
396
+ "char": "d",
397
+ "description": "Description for the new branch",
398
+ "name": "description",
399
+ "required": false,
400
+ "hasDynamicHelp": false,
401
+ "multiple": false,
402
+ "type": "option"
403
+ },
404
+ "label": {
405
+ "char": "l",
406
+ "description": "Label for the new branch",
407
+ "name": "label",
408
+ "required": true,
409
+ "hasDynamicHelp": false,
410
+ "multiple": false,
411
+ "type": "option"
412
+ },
367
413
  "output": {
368
414
  "char": "o",
369
415
  "description": "Output format",
@@ -378,10 +424,20 @@
378
424
  ],
379
425
  "type": "option"
380
426
  },
381
- "workspace": {
382
- "char": "w",
383
- "description": "Workspace ID (uses profile workspace if not provided)",
384
- "name": "workspace",
427
+ "source": {
428
+ "char": "s",
429
+ "description": "Source branch to clone from (defaults to \"v1\")",
430
+ "name": "source",
431
+ "required": false,
432
+ "default": "v1",
433
+ "hasDynamicHelp": false,
434
+ "multiple": false,
435
+ "type": "option"
436
+ },
437
+ "workspace": {
438
+ "char": "w",
439
+ "description": "Workspace ID (uses profile workspace if not provided)",
440
+ "name": "workspace",
385
441
  "required": false,
386
442
  "hasDynamicHelp": false,
387
443
  "multiple": false,
@@ -390,7 +446,7 @@
390
446
  },
391
447
  "hasDynamicHelp": false,
392
448
  "hiddenAliases": [],
393
- "id": "branch:get",
449
+ "id": "branch:create",
394
450
  "pluginAlias": "@xano/cli",
395
451
  "pluginName": "@xano/cli",
396
452
  "pluginType": "core",
@@ -401,24 +457,24 @@
401
457
  "dist",
402
458
  "commands",
403
459
  "branch",
404
- "get",
460
+ "create",
405
461
  "index.js"
406
462
  ]
407
463
  },
408
- "branch:set-live": {
464
+ "branch:edit": {
409
465
  "aliases": [],
410
466
  "args": {
411
467
  "branch_label": {
412
- "description": "Branch label to set as live (use \"v1\" for default branch)",
468
+ "description": "Branch label to edit (cannot edit \"v1\" label)",
413
469
  "name": "branch_label",
414
470
  "required": true
415
471
  }
416
472
  },
417
- "description": "Set a branch as the live (active) branch for API requests",
473
+ "description": "Update an existing branch (cannot update \"v1\" label)",
418
474
  "examples": [
419
- "$ 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",
420
- "$ xano branch set-live v1 --force\nBranch 'v1' is now live\n",
421
- "$ 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"
475
+ "$ xano branch edit dev --label development\nUpdated branch: development\n",
476
+ "$ xano branch edit feature-auth -l feature-authentication --color \"#ff5733\"\nUpdated branch: feature-authentication\n Color: #ff5733\n",
477
+ "$ 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"
422
478
  ],
423
479
  "flags": {
424
480
  "profile": {
@@ -440,13 +496,32 @@
440
496
  "allowNo": false,
441
497
  "type": "boolean"
442
498
  },
443
- "force": {
444
- "char": "f",
445
- "description": "Skip confirmation prompt",
446
- "name": "force",
499
+ "color": {
500
+ "char": "c",
501
+ "description": "New color hex code for the branch (e.g., \"#ff5733\")",
502
+ "name": "color",
447
503
  "required": false,
448
- "allowNo": false,
449
- "type": "boolean"
504
+ "hasDynamicHelp": false,
505
+ "multiple": false,
506
+ "type": "option"
507
+ },
508
+ "description": {
509
+ "char": "d",
510
+ "description": "New description for the branch",
511
+ "name": "description",
512
+ "required": false,
513
+ "hasDynamicHelp": false,
514
+ "multiple": false,
515
+ "type": "option"
516
+ },
517
+ "label": {
518
+ "char": "l",
519
+ "description": "New label for the branch",
520
+ "name": "label",
521
+ "required": false,
522
+ "hasDynamicHelp": false,
523
+ "multiple": false,
524
+ "type": "option"
450
525
  },
451
526
  "output": {
452
527
  "char": "o",
@@ -474,7 +549,7 @@
474
549
  },
475
550
  "hasDynamicHelp": false,
476
551
  "hiddenAliases": [],
477
- "id": "branch:set-live",
552
+ "id": "branch:edit",
478
553
  "pluginAlias": "@xano/cli",
479
554
  "pluginName": "@xano/cli",
480
555
  "pluginType": "core",
@@ -485,92 +560,146 @@
485
560
  "dist",
486
561
  "commands",
487
562
  "branch",
488
- "set-live",
563
+ "edit",
489
564
  "index.js"
490
565
  ]
491
566
  },
492
- "profile:create": {
567
+ "branch:get": {
493
568
  "aliases": [],
494
569
  "args": {
495
- "name": {
496
- "description": "Profile name",
497
- "name": "name",
570
+ "branch_label": {
571
+ "description": "Branch label (e.g., \"v1\", \"dev\")",
572
+ "name": "branch_label",
498
573
  "required": true
499
574
  }
500
575
  },
501
- "description": "Create a new profile configuration",
576
+ "description": "Get details for a specific branch",
502
577
  "examples": [
503
- "$ 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",
504
- "$ 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",
505
- "$ 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",
506
- "$ xano profile:create dev -i https://dev-instance.xano.com -t token789 -w my-workspace -b feature-branch -j my-project\nProfile 'dev' created successfully at ~/.xano/credentials.yaml\n",
507
- "$ 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"
578
+ "$ xano branch get v1\nBranch: v1 (live)\n Created: 2024-01-15\n",
579
+ "$ xano branch get dev -w 123\nBranch: dev\n Created: 2024-02-01\n",
580
+ "$ 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"
508
581
  ],
509
582
  "flags": {
510
- "access_token": {
511
- "char": "t",
512
- "description": "Access token for the Xano Metadata API",
513
- "name": "access_token",
514
- "required": true,
583
+ "profile": {
584
+ "char": "p",
585
+ "description": "Profile to use for this command",
586
+ "env": "XANO_PROFILE",
587
+ "name": "profile",
588
+ "required": false,
515
589
  "hasDynamicHelp": false,
516
590
  "multiple": false,
517
591
  "type": "option"
518
592
  },
519
- "account_origin": {
520
- "char": "a",
521
- "description": "Account origin URL. Optional for self hosted installs.",
522
- "name": "account_origin",
593
+ "verbose": {
594
+ "char": "v",
595
+ "description": "Show detailed request/response information",
596
+ "env": "XANO_VERBOSE",
597
+ "name": "verbose",
523
598
  "required": false,
524
- "hasDynamicHelp": false,
525
- "multiple": false,
526
- "type": "option"
599
+ "allowNo": false,
600
+ "type": "boolean"
527
601
  },
528
- "branch": {
529
- "char": "b",
530
- "description": "Branch name",
531
- "name": "branch",
602
+ "output": {
603
+ "char": "o",
604
+ "description": "Output format",
605
+ "name": "output",
532
606
  "required": false,
607
+ "default": "summary",
533
608
  "hasDynamicHelp": false,
534
609
  "multiple": false,
610
+ "options": [
611
+ "summary",
612
+ "json"
613
+ ],
535
614
  "type": "option"
536
615
  },
537
- "default": {
538
- "description": "Set this profile as the default",
539
- "name": "default",
616
+ "workspace": {
617
+ "char": "w",
618
+ "description": "Workspace ID (uses profile workspace if not provided)",
619
+ "name": "workspace",
540
620
  "required": false,
541
- "allowNo": false,
542
- "type": "boolean"
543
- },
544
- "instance_origin": {
545
- "char": "i",
546
- "description": "Instance origin URL",
547
- "name": "instance_origin",
548
- "required": true,
549
621
  "hasDynamicHelp": false,
550
622
  "multiple": false,
551
623
  "type": "option"
552
- },
553
- "project": {
554
- "char": "j",
555
- "description": "Project name",
556
- "name": "project",
624
+ }
625
+ },
626
+ "hasDynamicHelp": false,
627
+ "hiddenAliases": [],
628
+ "id": "branch:get",
629
+ "pluginAlias": "@xano/cli",
630
+ "pluginName": "@xano/cli",
631
+ "pluginType": "core",
632
+ "strict": true,
633
+ "enableJsonFlag": false,
634
+ "isESM": true,
635
+ "relativePath": [
636
+ "dist",
637
+ "commands",
638
+ "branch",
639
+ "get",
640
+ "index.js"
641
+ ]
642
+ },
643
+ "branch:set-live": {
644
+ "aliases": [],
645
+ "args": {
646
+ "branch_label": {
647
+ "description": "Branch label to set as live (use \"v1\" for default branch)",
648
+ "name": "branch_label",
649
+ "required": true
650
+ }
651
+ },
652
+ "description": "Set a branch as the live (active) branch for API requests",
653
+ "examples": [
654
+ "$ 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",
655
+ "$ xano branch set-live v1 --force\nBranch 'v1' is now live\n",
656
+ "$ 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"
657
+ ],
658
+ "flags": {
659
+ "profile": {
660
+ "char": "p",
661
+ "description": "Profile to use for this command",
662
+ "env": "XANO_PROFILE",
663
+ "name": "profile",
557
664
  "required": false,
558
665
  "hasDynamicHelp": false,
559
666
  "multiple": false,
560
667
  "type": "option"
561
668
  },
562
- "run_base_url": {
563
- "char": "r",
564
- "description": "Xano Run API base URL (default: https://app.xano.com/)",
565
- "name": "run_base_url",
669
+ "verbose": {
670
+ "char": "v",
671
+ "description": "Show detailed request/response information",
672
+ "env": "XANO_VERBOSE",
673
+ "name": "verbose",
674
+ "required": false,
675
+ "allowNo": false,
676
+ "type": "boolean"
677
+ },
678
+ "force": {
679
+ "char": "f",
680
+ "description": "Skip confirmation prompt",
681
+ "name": "force",
682
+ "required": false,
683
+ "allowNo": false,
684
+ "type": "boolean"
685
+ },
686
+ "output": {
687
+ "char": "o",
688
+ "description": "Output format",
689
+ "name": "output",
566
690
  "required": false,
691
+ "default": "summary",
567
692
  "hasDynamicHelp": false,
568
693
  "multiple": false,
694
+ "options": [
695
+ "summary",
696
+ "json"
697
+ ],
569
698
  "type": "option"
570
699
  },
571
700
  "workspace": {
572
701
  "char": "w",
573
- "description": "Workspace name",
702
+ "description": "Workspace ID (uses profile workspace if not provided)",
574
703
  "name": "workspace",
575
704
  "required": false,
576
705
  "hasDynamicHelp": false,
@@ -580,7 +709,7 @@
580
709
  },
581
710
  "hasDynamicHelp": false,
582
711
  "hiddenAliases": [],
583
- "id": "profile:create",
712
+ "id": "branch:set-live",
584
713
  "pluginAlias": "@xano/cli",
585
714
  "pluginName": "@xano/cli",
586
715
  "pluginType": "core",
@@ -590,8 +719,8 @@
590
719
  "relativePath": [
591
720
  "dist",
592
721
  "commands",
593
- "profile",
594
- "create",
722
+ "branch",
723
+ "set-live",
595
724
  "index.js"
596
725
  ]
597
726
  },
@@ -662,58 +791,37 @@
662
791
  "index.js"
663
792
  ]
664
793
  },
665
- "profile:edit": {
794
+ "profile:create": {
666
795
  "aliases": [],
667
796
  "args": {
668
797
  "name": {
669
- "description": "Profile name to edit (uses default profile if not specified)",
798
+ "description": "Profile name",
670
799
  "name": "name",
671
- "required": false
800
+ "required": true
672
801
  }
673
802
  },
674
- "description": "Edit an existing profile configuration",
803
+ "description": "Create a new profile configuration",
675
804
  "examples": [
676
- "$ xano profile:edit --access_token new_token123\nProfile 'default' updated successfully at ~/.xano/credentials.yaml\n",
677
- "$ xano profile:edit production --access_token new_token123\nProfile 'production' updated successfully at ~/.xano/credentials.yaml\n",
678
- "$ xano profile:edit staging -i https://new-staging-instance.xano.com -t new_token456\nProfile 'staging' updated successfully at ~/.xano/credentials.yaml\n",
679
- "$ xano profile:edit -b new-branch\nProfile 'default' updated successfully at ~/.xano/credentials.yaml\n",
680
- "$ xano profile:edit --remove-branch\nProfile 'default' updated successfully at ~/.xano/credentials.yaml\n",
681
- "$ xano profile:edit -j my-project\nProfile 'default' updated successfully at ~/.xano/credentials.yaml\n",
682
- "$ xano profile:edit --remove-project\nProfile 'default' updated successfully at ~/.xano/credentials.yaml\n"
805
+ "$ 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",
806
+ "$ 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",
807
+ "$ 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",
808
+ "$ xano profile:create dev -i https://dev-instance.xano.com -t token789 -w my-workspace -b feature-branch -j my-project\nProfile 'dev' created successfully at ~/.xano/credentials.yaml\n",
809
+ "$ 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"
683
810
  ],
684
811
  "flags": {
685
- "profile": {
686
- "char": "p",
687
- "description": "Profile to use for this command",
688
- "env": "XANO_PROFILE",
689
- "name": "profile",
690
- "required": false,
812
+ "access_token": {
813
+ "char": "t",
814
+ "description": "Access token for the Xano Metadata API",
815
+ "name": "access_token",
816
+ "required": true,
691
817
  "hasDynamicHelp": false,
692
818
  "multiple": false,
693
819
  "type": "option"
694
820
  },
695
- "verbose": {
696
- "char": "v",
697
- "description": "Show detailed request/response information",
698
- "env": "XANO_VERBOSE",
699
- "name": "verbose",
700
- "required": false,
701
- "allowNo": false,
702
- "type": "boolean"
703
- },
704
- "access_token": {
705
- "char": "t",
706
- "description": "Update access token for the Xano Metadata API",
707
- "name": "access_token",
708
- "required": false,
709
- "hasDynamicHelp": false,
710
- "multiple": false,
711
- "type": "option"
712
- },
713
- "account_origin": {
714
- "char": "a",
715
- "description": "Update account origin URL",
716
- "name": "account_origin",
821
+ "account_origin": {
822
+ "char": "a",
823
+ "description": "Account origin URL. Optional for self hosted installs.",
824
+ "name": "account_origin",
717
825
  "required": false,
718
826
  "hasDynamicHelp": false,
719
827
  "multiple": false,
@@ -721,62 +829,41 @@
721
829
  },
722
830
  "branch": {
723
831
  "char": "b",
724
- "description": "Update branch name",
832
+ "description": "Branch name",
725
833
  "name": "branch",
726
834
  "required": false,
727
835
  "hasDynamicHelp": false,
728
836
  "multiple": false,
729
837
  "type": "option"
730
838
  },
839
+ "default": {
840
+ "description": "Set this profile as the default",
841
+ "name": "default",
842
+ "required": false,
843
+ "allowNo": false,
844
+ "type": "boolean"
845
+ },
731
846
  "instance_origin": {
732
847
  "char": "i",
733
- "description": "Update instance origin URL",
848
+ "description": "Instance origin URL",
734
849
  "name": "instance_origin",
735
- "required": false,
850
+ "required": true,
736
851
  "hasDynamicHelp": false,
737
852
  "multiple": false,
738
853
  "type": "option"
739
854
  },
740
855
  "project": {
741
856
  "char": "j",
742
- "description": "Update project ID",
857
+ "description": "Project name",
743
858
  "name": "project",
744
859
  "required": false,
745
860
  "hasDynamicHelp": false,
746
861
  "multiple": false,
747
862
  "type": "option"
748
863
  },
749
- "remove-branch": {
750
- "description": "Remove branch from profile",
751
- "name": "remove-branch",
752
- "required": false,
753
- "allowNo": false,
754
- "type": "boolean"
755
- },
756
- "remove-project": {
757
- "description": "Remove project from profile",
758
- "name": "remove-project",
759
- "required": false,
760
- "allowNo": false,
761
- "type": "boolean"
762
- },
763
- "remove-run-base-url": {
764
- "description": "Remove run_base_url from profile (use default)",
765
- "name": "remove-run-base-url",
766
- "required": false,
767
- "allowNo": false,
768
- "type": "boolean"
769
- },
770
- "remove-workspace": {
771
- "description": "Remove workspace from profile",
772
- "name": "remove-workspace",
773
- "required": false,
774
- "allowNo": false,
775
- "type": "boolean"
776
- },
777
864
  "run_base_url": {
778
865
  "char": "r",
779
- "description": "Update Xano Run API base URL",
866
+ "description": "Xano Run API base URL (default: https://app.xano.com/)",
780
867
  "name": "run_base_url",
781
868
  "required": false,
782
869
  "hasDynamicHelp": false,
@@ -785,7 +872,7 @@
785
872
  },
786
873
  "workspace": {
787
874
  "char": "w",
788
- "description": "Update workspace name",
875
+ "description": "Workspace name",
789
876
  "name": "workspace",
790
877
  "required": false,
791
878
  "hasDynamicHelp": false,
@@ -795,7 +882,7 @@
795
882
  },
796
883
  "hasDynamicHelp": false,
797
884
  "hiddenAliases": [],
798
- "id": "profile:edit",
885
+ "id": "profile:create",
799
886
  "pluginAlias": "@xano/cli",
800
887
  "pluginName": "@xano/cli",
801
888
  "pluginType": "core",
@@ -806,7 +893,7 @@
806
893
  "dist",
807
894
  "commands",
808
895
  "profile",
809
- "edit",
896
+ "create",
810
897
  "index.js"
811
898
  ]
812
899
  },
@@ -852,54 +939,76 @@
852
939
  "index.js"
853
940
  ]
854
941
  },
855
- "profile:get-default": {
856
- "aliases": [],
857
- "args": {},
858
- "description": "Get the current default profile name",
859
- "examples": [
860
- "$ xano profile:get-default\nproduction\n",
861
- "$ xano profile:get-default\nNo default profile set\n"
862
- ],
863
- "flags": {},
864
- "hasDynamicHelp": false,
865
- "hiddenAliases": [],
866
- "id": "profile:get-default",
867
- "pluginAlias": "@xano/cli",
868
- "pluginName": "@xano/cli",
869
- "pluginType": "core",
870
- "strict": true,
871
- "enableJsonFlag": false,
872
- "isESM": true,
873
- "relativePath": [
874
- "dist",
875
- "commands",
876
- "profile",
877
- "get-default",
878
- "index.js"
879
- ]
880
- },
881
- "profile:list": {
942
+ "branch:delete": {
882
943
  "aliases": [],
883
- "args": {},
884
- "description": "List all available profile configurations",
944
+ "args": {
945
+ "branch_label": {
946
+ "description": "Branch label to delete (cannot delete \"v1\" or the live branch)",
947
+ "name": "branch_label",
948
+ "required": true
949
+ }
950
+ },
951
+ "description": "Delete a branch (cannot delete \"v1\" or the live branch)",
885
952
  "examples": [
886
- "$ xano profile:list\nAvailable profiles:\n - default\n - production\n - staging\n - development\n",
887
- "$ 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",
888
- "$ 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"
953
+ "$ 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",
954
+ "$ xano branch delete dev --force\nDeleted branch: dev\n",
955
+ "$ xano branch delete staging -f -o json\n{\n \"deleted\": true,\n \"branch_label\": \"staging\"\n}\n"
889
956
  ],
890
957
  "flags": {
891
- "details": {
892
- "char": "d",
893
- "description": "Show detailed information for each profile",
894
- "name": "details",
958
+ "profile": {
959
+ "char": "p",
960
+ "description": "Profile to use for this command",
961
+ "env": "XANO_PROFILE",
962
+ "name": "profile",
963
+ "required": false,
964
+ "hasDynamicHelp": false,
965
+ "multiple": false,
966
+ "type": "option"
967
+ },
968
+ "verbose": {
969
+ "char": "v",
970
+ "description": "Show detailed request/response information",
971
+ "env": "XANO_VERBOSE",
972
+ "name": "verbose",
973
+ "required": false,
974
+ "allowNo": false,
975
+ "type": "boolean"
976
+ },
977
+ "force": {
978
+ "char": "f",
979
+ "description": "Skip confirmation prompt",
980
+ "name": "force",
895
981
  "required": false,
896
982
  "allowNo": false,
897
983
  "type": "boolean"
984
+ },
985
+ "output": {
986
+ "char": "o",
987
+ "description": "Output format",
988
+ "name": "output",
989
+ "required": false,
990
+ "default": "summary",
991
+ "hasDynamicHelp": false,
992
+ "multiple": false,
993
+ "options": [
994
+ "summary",
995
+ "json"
996
+ ],
997
+ "type": "option"
998
+ },
999
+ "workspace": {
1000
+ "char": "w",
1001
+ "description": "Workspace ID (uses profile workspace if not provided)",
1002
+ "name": "workspace",
1003
+ "required": false,
1004
+ "hasDynamicHelp": false,
1005
+ "multiple": false,
1006
+ "type": "option"
898
1007
  }
899
1008
  },
900
1009
  "hasDynamicHelp": false,
901
1010
  "hiddenAliases": [],
902
- "id": "profile:list",
1011
+ "id": "branch:delete",
903
1012
  "pluginAlias": "@xano/cli",
904
1013
  "pluginName": "@xano/cli",
905
1014
  "pluginType": "core",
@@ -909,19 +1018,20 @@
909
1018
  "relativePath": [
910
1019
  "dist",
911
1020
  "commands",
912
- "profile",
913
- "list",
1021
+ "branch",
1022
+ "delete",
914
1023
  "index.js"
915
1024
  ]
916
1025
  },
917
- "profile:me": {
1026
+ "function:list": {
918
1027
  "aliases": [],
919
1028
  "args": {},
920
- "description": "Get information about the currently authenticated user",
1029
+ "description": "List all functions in a workspace from the Xano Metadata API",
921
1030
  "examples": [
922
- "$ xano profile:me\nUser Information:\n ID: 1\n Name: John Doe\n Email: john@example.com\n",
923
- "$ xano profile:me --profile production\nUser Information:\n ID: 42\n Name: Admin User\n Email: admin@example.com\n",
924
- "$ xano profile:me --output json\n{\n \"id\": 1,\n \"name\": \"John Doe\",\n \"email\": \"john@example.com\"\n}\n"
1031
+ "$ xano function:list -w 40\nAvailable functions:\n - function-1 (ID: 1)\n - function-2 (ID: 2)\n - function-3 (ID: 3)\n",
1032
+ "$ xano function:list --profile production\nAvailable functions:\n - my-function (ID: 1)\n - another-function (ID: 2)\n",
1033
+ "$ xano function:list -w 40 --output json\n[\n {\n \"id\": 1,\n \"name\": \"function-1\"\n }\n]\n",
1034
+ "$ xano function:list -p staging -o json --include_draft\n[\n {\n \"id\": 1,\n \"name\": \"function-1\"\n }\n]\n"
925
1035
  ],
926
1036
  "flags": {
927
1037
  "profile": {
@@ -943,6 +1053,33 @@
943
1053
  "allowNo": false,
944
1054
  "type": "boolean"
945
1055
  },
1056
+ "include_draft": {
1057
+ "description": "Include draft functions",
1058
+ "name": "include_draft",
1059
+ "required": false,
1060
+ "allowNo": false,
1061
+ "type": "boolean"
1062
+ },
1063
+ "include_xanoscript": {
1064
+ "description": "Include XanoScript in response",
1065
+ "name": "include_xanoscript",
1066
+ "required": false,
1067
+ "allowNo": false,
1068
+ "type": "boolean"
1069
+ },
1070
+ "order": {
1071
+ "description": "Sort order",
1072
+ "name": "order",
1073
+ "required": false,
1074
+ "default": "desc",
1075
+ "hasDynamicHelp": false,
1076
+ "multiple": false,
1077
+ "options": [
1078
+ "asc",
1079
+ "desc"
1080
+ ],
1081
+ "type": "option"
1082
+ },
946
1083
  "output": {
947
1084
  "char": "o",
948
1085
  "description": "Output format",
@@ -956,11 +1093,47 @@
956
1093
  "json"
957
1094
  ],
958
1095
  "type": "option"
1096
+ },
1097
+ "page": {
1098
+ "description": "Page number for pagination",
1099
+ "name": "page",
1100
+ "required": false,
1101
+ "default": 1,
1102
+ "hasDynamicHelp": false,
1103
+ "multiple": false,
1104
+ "type": "option"
1105
+ },
1106
+ "per_page": {
1107
+ "description": "Number of results per page",
1108
+ "name": "per_page",
1109
+ "required": false,
1110
+ "default": 50,
1111
+ "hasDynamicHelp": false,
1112
+ "multiple": false,
1113
+ "type": "option"
1114
+ },
1115
+ "sort": {
1116
+ "description": "Sort field",
1117
+ "name": "sort",
1118
+ "required": false,
1119
+ "default": "created_at",
1120
+ "hasDynamicHelp": false,
1121
+ "multiple": false,
1122
+ "type": "option"
1123
+ },
1124
+ "workspace": {
1125
+ "char": "w",
1126
+ "description": "Workspace ID (optional if set in profile)",
1127
+ "name": "workspace",
1128
+ "required": false,
1129
+ "hasDynamicHelp": false,
1130
+ "multiple": false,
1131
+ "type": "option"
959
1132
  }
960
1133
  },
961
1134
  "hasDynamicHelp": false,
962
1135
  "hiddenAliases": [],
963
- "id": "profile:me",
1136
+ "id": "function:list",
964
1137
  "pluginAlias": "@xano/cli",
965
1138
  "pluginName": "@xano/cli",
966
1139
  "pluginType": "core",
@@ -970,23 +1143,145 @@
970
1143
  "relativePath": [
971
1144
  "dist",
972
1145
  "commands",
973
- "profile",
974
- "me",
1146
+ "function",
1147
+ "list",
975
1148
  "index.js"
976
1149
  ]
977
1150
  },
978
- "profile:project": {
1151
+ "profile:edit": {
979
1152
  "aliases": [],
980
- "args": {},
981
- "description": "Print the project for the default profile",
982
- "examples": [
983
- "$ xano profile:project\nmy-project-id\n",
984
- "$ xano profile:project | pbcopy\n# Copies the project to clipboard on macOS\n"
985
- ],
986
- "flags": {},
1153
+ "args": {
1154
+ "name": {
1155
+ "description": "Profile name to edit (uses default profile if not specified)",
1156
+ "name": "name",
1157
+ "required": false
1158
+ }
1159
+ },
1160
+ "description": "Edit an existing profile configuration",
1161
+ "examples": [
1162
+ "$ xano profile:edit --access_token new_token123\nProfile 'default' updated successfully at ~/.xano/credentials.yaml\n",
1163
+ "$ xano profile:edit production --access_token new_token123\nProfile 'production' updated successfully at ~/.xano/credentials.yaml\n",
1164
+ "$ xano profile:edit staging -i https://new-staging-instance.xano.com -t new_token456\nProfile 'staging' updated successfully at ~/.xano/credentials.yaml\n",
1165
+ "$ xano profile:edit -b new-branch\nProfile 'default' updated successfully at ~/.xano/credentials.yaml\n",
1166
+ "$ xano profile:edit --remove-branch\nProfile 'default' updated successfully at ~/.xano/credentials.yaml\n",
1167
+ "$ xano profile:edit -j my-project\nProfile 'default' updated successfully at ~/.xano/credentials.yaml\n",
1168
+ "$ xano profile:edit --remove-project\nProfile 'default' updated successfully at ~/.xano/credentials.yaml\n"
1169
+ ],
1170
+ "flags": {
1171
+ "profile": {
1172
+ "char": "p",
1173
+ "description": "Profile to use for this command",
1174
+ "env": "XANO_PROFILE",
1175
+ "name": "profile",
1176
+ "required": false,
1177
+ "hasDynamicHelp": false,
1178
+ "multiple": false,
1179
+ "type": "option"
1180
+ },
1181
+ "verbose": {
1182
+ "char": "v",
1183
+ "description": "Show detailed request/response information",
1184
+ "env": "XANO_VERBOSE",
1185
+ "name": "verbose",
1186
+ "required": false,
1187
+ "allowNo": false,
1188
+ "type": "boolean"
1189
+ },
1190
+ "access_token": {
1191
+ "char": "t",
1192
+ "description": "Update access token for the Xano Metadata API",
1193
+ "name": "access_token",
1194
+ "required": false,
1195
+ "hasDynamicHelp": false,
1196
+ "multiple": false,
1197
+ "type": "option"
1198
+ },
1199
+ "account_origin": {
1200
+ "char": "a",
1201
+ "description": "Update account origin URL",
1202
+ "name": "account_origin",
1203
+ "required": false,
1204
+ "hasDynamicHelp": false,
1205
+ "multiple": false,
1206
+ "type": "option"
1207
+ },
1208
+ "branch": {
1209
+ "char": "b",
1210
+ "description": "Update branch name",
1211
+ "name": "branch",
1212
+ "required": false,
1213
+ "hasDynamicHelp": false,
1214
+ "multiple": false,
1215
+ "type": "option"
1216
+ },
1217
+ "instance_origin": {
1218
+ "char": "i",
1219
+ "description": "Update instance origin URL",
1220
+ "name": "instance_origin",
1221
+ "required": false,
1222
+ "hasDynamicHelp": false,
1223
+ "multiple": false,
1224
+ "type": "option"
1225
+ },
1226
+ "project": {
1227
+ "char": "j",
1228
+ "description": "Update project ID",
1229
+ "name": "project",
1230
+ "required": false,
1231
+ "hasDynamicHelp": false,
1232
+ "multiple": false,
1233
+ "type": "option"
1234
+ },
1235
+ "remove-branch": {
1236
+ "description": "Remove branch from profile",
1237
+ "name": "remove-branch",
1238
+ "required": false,
1239
+ "allowNo": false,
1240
+ "type": "boolean"
1241
+ },
1242
+ "remove-project": {
1243
+ "description": "Remove project from profile",
1244
+ "name": "remove-project",
1245
+ "required": false,
1246
+ "allowNo": false,
1247
+ "type": "boolean"
1248
+ },
1249
+ "remove-run-base-url": {
1250
+ "description": "Remove run_base_url from profile (use default)",
1251
+ "name": "remove-run-base-url",
1252
+ "required": false,
1253
+ "allowNo": false,
1254
+ "type": "boolean"
1255
+ },
1256
+ "remove-workspace": {
1257
+ "description": "Remove workspace from profile",
1258
+ "name": "remove-workspace",
1259
+ "required": false,
1260
+ "allowNo": false,
1261
+ "type": "boolean"
1262
+ },
1263
+ "run_base_url": {
1264
+ "char": "r",
1265
+ "description": "Update Xano Run API base URL",
1266
+ "name": "run_base_url",
1267
+ "required": false,
1268
+ "hasDynamicHelp": false,
1269
+ "multiple": false,
1270
+ "type": "option"
1271
+ },
1272
+ "workspace": {
1273
+ "char": "w",
1274
+ "description": "Update workspace name",
1275
+ "name": "workspace",
1276
+ "required": false,
1277
+ "hasDynamicHelp": false,
1278
+ "multiple": false,
1279
+ "type": "option"
1280
+ }
1281
+ },
987
1282
  "hasDynamicHelp": false,
988
1283
  "hiddenAliases": [],
989
- "id": "profile:project",
1284
+ "id": "profile:edit",
990
1285
  "pluginAlias": "@xano/cli",
991
1286
  "pluginName": "@xano/cli",
992
1287
  "pluginType": "core",
@@ -997,28 +1292,22 @@
997
1292
  "dist",
998
1293
  "commands",
999
1294
  "profile",
1000
- "project",
1295
+ "edit",
1001
1296
  "index.js"
1002
1297
  ]
1003
1298
  },
1004
- "profile:set-default": {
1299
+ "profile:get-default": {
1005
1300
  "aliases": [],
1006
- "args": {
1007
- "name": {
1008
- "description": "Profile name to set as default",
1009
- "name": "name",
1010
- "required": true
1011
- }
1012
- },
1013
- "description": "Set the default profile",
1301
+ "args": {},
1302
+ "description": "Get the current default profile name",
1014
1303
  "examples": [
1015
- "$ xano profile:set-default production\nDefault profile set to 'production'\n",
1016
- "$ xano profile:set-default staging\nDefault profile set to 'staging'\n"
1304
+ "$ xano profile:get-default\nproduction\n",
1305
+ "$ xano profile:get-default\nNo default profile set\n"
1017
1306
  ],
1018
1307
  "flags": {},
1019
1308
  "hasDynamicHelp": false,
1020
1309
  "hiddenAliases": [],
1021
- "id": "profile:set-default",
1310
+ "id": "profile:get-default",
1022
1311
  "pluginAlias": "@xano/cli",
1023
1312
  "pluginName": "@xano/cli",
1024
1313
  "pluginType": "core",
@@ -1029,22 +1318,22 @@
1029
1318
  "dist",
1030
1319
  "commands",
1031
1320
  "profile",
1032
- "set-default",
1321
+ "get-default",
1033
1322
  "index.js"
1034
1323
  ]
1035
1324
  },
1036
- "profile:token": {
1325
+ "profile:project": {
1037
1326
  "aliases": [],
1038
1327
  "args": {},
1039
- "description": "Print the access token for the default profile",
1328
+ "description": "Print the project for the default profile",
1040
1329
  "examples": [
1041
- "$ xano profile:token\neyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...\n",
1042
- "$ xano profile:token | pbcopy\n# Copies the token to clipboard on macOS\n"
1330
+ "$ xano profile:project\nmy-project-id\n",
1331
+ "$ xano profile:project | pbcopy\n# Copies the project to clipboard on macOS\n"
1043
1332
  ],
1044
1333
  "flags": {},
1045
1334
  "hasDynamicHelp": false,
1046
1335
  "hiddenAliases": [],
1047
- "id": "profile:token",
1336
+ "id": "profile:project",
1048
1337
  "pluginAlias": "@xano/cli",
1049
1338
  "pluginName": "@xano/cli",
1050
1339
  "pluginType": "core",
@@ -1055,41 +1344,28 @@
1055
1344
  "dist",
1056
1345
  "commands",
1057
1346
  "profile",
1058
- "token",
1347
+ "project",
1059
1348
  "index.js"
1060
1349
  ]
1061
1350
  },
1062
- "profile:wizard": {
1351
+ "profile:set-default": {
1063
1352
  "aliases": [],
1064
- "args": {},
1065
- "description": "Create a new profile configuration using an interactive wizard",
1066
- "examples": [
1067
- "$ 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"
1068
- ],
1069
- "flags": {
1353
+ "args": {
1070
1354
  "name": {
1071
- "char": "n",
1072
- "description": "Profile name (skip prompt if provided)",
1355
+ "description": "Profile name to set as default",
1073
1356
  "name": "name",
1074
- "required": false,
1075
- "hasDynamicHelp": false,
1076
- "multiple": false,
1077
- "type": "option"
1078
- },
1079
- "origin": {
1080
- "char": "o",
1081
- "description": "Xano instance origin URL",
1082
- "name": "origin",
1083
- "required": false,
1084
- "default": "https://app.xano.com",
1085
- "hasDynamicHelp": false,
1086
- "multiple": false,
1087
- "type": "option"
1357
+ "required": true
1088
1358
  }
1089
1359
  },
1360
+ "description": "Set the default profile",
1361
+ "examples": [
1362
+ "$ xano profile:set-default production\nDefault profile set to 'production'\n",
1363
+ "$ xano profile:set-default staging\nDefault profile set to 'staging'\n"
1364
+ ],
1365
+ "flags": {},
1090
1366
  "hasDynamicHelp": false,
1091
1367
  "hiddenAliases": [],
1092
- "id": "profile:wizard",
1368
+ "id": "profile:set-default",
1093
1369
  "pluginAlias": "@xano/cli",
1094
1370
  "pluginName": "@xano/cli",
1095
1371
  "pluginType": "core",
@@ -1100,102 +1376,22 @@
1100
1376
  "dist",
1101
1377
  "commands",
1102
1378
  "profile",
1103
- "wizard",
1379
+ "set-default",
1104
1380
  "index.js"
1105
1381
  ]
1106
1382
  },
1107
- "function:create": {
1383
+ "profile:token": {
1108
1384
  "aliases": [],
1109
1385
  "args": {},
1110
- "description": "Create a new function in a workspace",
1386
+ "description": "Print the access token for the default profile",
1111
1387
  "examples": [
1112
- "$ xano function:create -w 40 -f function.xs\nFunction created successfully!\nID: 123\nName: my_function\n",
1113
- "$ xano function:create -f function.xs\nFunction created successfully!\nID: 123\nName: my_function\n",
1114
- "$ 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",
1115
- "$ cat function.xs | xano function:create -w 40 --stdin\nFunction created successfully!\nID: 123\nName: my_function\n",
1116
- "$ xano function:create -w 40 -f function.xs -o json\n{\n \"id\": 123,\n \"name\": \"my_function\",\n ...\n}\n"
1388
+ "$ xano profile:token\neyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...\n",
1389
+ "$ xano profile:token | pbcopy\n# Copies the token to clipboard on macOS\n"
1117
1390
  ],
1118
- "flags": {
1119
- "profile": {
1120
- "char": "p",
1121
- "description": "Profile to use for this command",
1122
- "env": "XANO_PROFILE",
1123
- "name": "profile",
1124
- "required": false,
1125
- "hasDynamicHelp": false,
1126
- "multiple": false,
1127
- "type": "option"
1128
- },
1129
- "verbose": {
1130
- "char": "v",
1131
- "description": "Show detailed request/response information",
1132
- "env": "XANO_VERBOSE",
1133
- "name": "verbose",
1134
- "required": false,
1135
- "allowNo": false,
1136
- "type": "boolean"
1137
- },
1138
- "edit": {
1139
- "char": "e",
1140
- "dependsOn": [
1141
- "file"
1142
- ],
1143
- "description": "Open file in editor before creating function (requires --file)",
1144
- "name": "edit",
1145
- "required": false,
1146
- "allowNo": false,
1147
- "type": "boolean"
1148
- },
1149
- "file": {
1150
- "char": "f",
1151
- "description": "Path to file containing XanoScript code",
1152
- "exclusive": [
1153
- "stdin"
1154
- ],
1155
- "name": "file",
1156
- "required": false,
1157
- "hasDynamicHelp": false,
1158
- "multiple": false,
1159
- "type": "option"
1160
- },
1161
- "output": {
1162
- "char": "o",
1163
- "description": "Output format",
1164
- "name": "output",
1165
- "required": false,
1166
- "default": "summary",
1167
- "hasDynamicHelp": false,
1168
- "multiple": false,
1169
- "options": [
1170
- "summary",
1171
- "json"
1172
- ],
1173
- "type": "option"
1174
- },
1175
- "stdin": {
1176
- "char": "s",
1177
- "description": "Read XanoScript code from stdin",
1178
- "exclusive": [
1179
- "file"
1180
- ],
1181
- "name": "stdin",
1182
- "required": false,
1183
- "allowNo": false,
1184
- "type": "boolean"
1185
- },
1186
- "workspace": {
1187
- "char": "w",
1188
- "description": "Workspace ID (optional if set in profile)",
1189
- "name": "workspace",
1190
- "required": false,
1191
- "hasDynamicHelp": false,
1192
- "multiple": false,
1193
- "type": "option"
1194
- }
1195
- },
1391
+ "flags": {},
1196
1392
  "hasDynamicHelp": false,
1197
1393
  "hiddenAliases": [],
1198
- "id": "function:create",
1394
+ "id": "profile:token",
1199
1395
  "pluginAlias": "@xano/cli",
1200
1396
  "pluginName": "@xano/cli",
1201
1397
  "pluginType": "core",
@@ -1205,108 +1401,34 @@
1205
1401
  "relativePath": [
1206
1402
  "dist",
1207
1403
  "commands",
1208
- "function",
1209
- "create",
1404
+ "profile",
1405
+ "token",
1210
1406
  "index.js"
1211
1407
  ]
1212
1408
  },
1213
- "function:edit": {
1409
+ "profile:wizard": {
1214
1410
  "aliases": [],
1215
- "args": {
1216
- "function_id": {
1217
- "description": "Function ID to edit",
1218
- "name": "function_id",
1219
- "required": false
1220
- }
1221
- },
1222
- "description": "Edit a function in a workspace",
1411
+ "args": {},
1412
+ "description": "Create a new profile configuration using an interactive wizard",
1223
1413
  "examples": [
1224
- "$ 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",
1225
- "$ 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",
1226
- "$ xano function:edit 163 -f function.xs\nFunction updated successfully!\nID: 163\nName: my_function\n",
1227
- "$ xano function:edit 163 -w 40 -f function.xs\nFunction updated successfully!\nID: 163\nName: my_function\n",
1228
- "$ xano function:edit -f function.xs\nSelect a function to edit:\n ❯ my_function (ID: 163) - Sample function\n another-func (ID: 164)\n",
1229
- "$ 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",
1230
- "$ cat function.xs | xano function:edit 163 --stdin\nFunction updated successfully!\nID: 163\nName: my_function\n",
1231
- "$ xano function:edit 163 -f function.xs -o json\n{\n \"id\": 163,\n \"name\": \"my_function\",\n ...\n}\n"
1414
+ "$ 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"
1232
1415
  ],
1233
1416
  "flags": {
1234
- "profile": {
1235
- "char": "p",
1236
- "description": "Profile to use for this command",
1237
- "env": "XANO_PROFILE",
1238
- "name": "profile",
1239
- "required": false,
1240
- "hasDynamicHelp": false,
1241
- "multiple": false,
1242
- "type": "option"
1243
- },
1244
- "verbose": {
1245
- "char": "v",
1246
- "description": "Show detailed request/response information",
1247
- "env": "XANO_VERBOSE",
1248
- "name": "verbose",
1249
- "required": false,
1250
- "allowNo": false,
1251
- "type": "boolean"
1252
- },
1253
- "edit": {
1254
- "char": "e",
1255
- "description": "Open file in editor before updating function (requires --file)",
1256
- "name": "edit",
1257
- "required": false,
1258
- "allowNo": false,
1259
- "type": "boolean"
1260
- },
1261
- "file": {
1262
- "char": "f",
1263
- "description": "Path to file containing XanoScript code",
1264
- "exclusive": [
1265
- "stdin"
1266
- ],
1267
- "name": "file",
1417
+ "name": {
1418
+ "char": "n",
1419
+ "description": "Profile name (skip prompt if provided)",
1420
+ "name": "name",
1268
1421
  "required": false,
1269
1422
  "hasDynamicHelp": false,
1270
1423
  "multiple": false,
1271
1424
  "type": "option"
1272
1425
  },
1273
- "output": {
1426
+ "origin": {
1274
1427
  "char": "o",
1275
- "description": "Output format",
1276
- "name": "output",
1277
- "required": false,
1278
- "default": "summary",
1279
- "hasDynamicHelp": false,
1280
- "multiple": false,
1281
- "options": [
1282
- "summary",
1283
- "json"
1284
- ],
1285
- "type": "option"
1286
- },
1287
- "publish": {
1288
- "description": "Publish the function after editing",
1289
- "name": "publish",
1290
- "required": false,
1291
- "allowNo": false,
1292
- "type": "boolean"
1293
- },
1294
- "stdin": {
1295
- "char": "s",
1296
- "description": "Read XanoScript code from stdin",
1297
- "exclusive": [
1298
- "file"
1299
- ],
1300
- "name": "stdin",
1301
- "required": false,
1302
- "allowNo": false,
1303
- "type": "boolean"
1304
- },
1305
- "workspace": {
1306
- "char": "w",
1307
- "description": "Workspace ID (optional if set in profile)",
1308
- "name": "workspace",
1428
+ "description": "Xano instance origin URL",
1429
+ "name": "origin",
1309
1430
  "required": false,
1431
+ "default": "https://app.xano.com",
1310
1432
  "hasDynamicHelp": false,
1311
1433
  "multiple": false,
1312
1434
  "type": "option"
@@ -1314,7 +1436,7 @@
1314
1436
  },
1315
1437
  "hasDynamicHelp": false,
1316
1438
  "hiddenAliases": [],
1317
- "id": "function:edit",
1439
+ "id": "profile:wizard",
1318
1440
  "pluginAlias": "@xano/cli",
1319
1441
  "pluginName": "@xano/cli",
1320
1442
  "pluginType": "core",
@@ -1324,91 +1446,33 @@
1324
1446
  "relativePath": [
1325
1447
  "dist",
1326
1448
  "commands",
1327
- "function",
1328
- "edit",
1449
+ "profile",
1450
+ "wizard",
1329
1451
  "index.js"
1330
1452
  ]
1331
- },
1332
- "function:get": {
1333
- "aliases": [],
1334
- "args": {
1335
- "function_id": {
1336
- "description": "Function ID",
1337
- "name": "function_id",
1338
- "required": false
1339
- }
1340
- },
1341
- "description": "Get a specific function from a workspace",
1342
- "examples": [
1343
- "$ xano function:get 145 -w 40\nFunction: yo (ID: 145)\nCreated: 2025-10-10 10:30:00\nDescription: Sample function\n",
1344
- "$ xano function:get 145 --profile production\nFunction: yo (ID: 145)\nCreated: 2025-10-10 10:30:00\n",
1345
- "$ xano function:get\nSelect a function:\n ❯ yo (ID: 145) - Sample function\n another-func (ID: 146)\n",
1346
- "$ xano function:get 145 -w 40 --output json\n{\n \"id\": 145,\n \"name\": \"yo\",\n \"description\": \"Sample function\"\n}\n",
1347
- "$ xano function:get 145 -p staging -o json --include_draft\n{\n \"id\": 145,\n \"name\": \"yo\"\n}\n",
1348
- "$ xano function:get 145 -p staging -o xs\nfunction yo {\n input {\n }\n stack {\n }\n response = null\n}\n"
1349
- ],
1350
- "flags": {
1351
- "profile": {
1352
- "char": "p",
1353
- "description": "Profile to use for this command",
1354
- "env": "XANO_PROFILE",
1355
- "name": "profile",
1356
- "required": false,
1357
- "hasDynamicHelp": false,
1358
- "multiple": false,
1359
- "type": "option"
1360
- },
1361
- "verbose": {
1362
- "char": "v",
1363
- "description": "Show detailed request/response information",
1364
- "env": "XANO_VERBOSE",
1365
- "name": "verbose",
1366
- "required": false,
1367
- "allowNo": false,
1368
- "type": "boolean"
1369
- },
1370
- "include_draft": {
1371
- "description": "Include draft version",
1372
- "name": "include_draft",
1373
- "required": false,
1374
- "allowNo": false,
1375
- "type": "boolean"
1376
- },
1377
- "include_xanoscript": {
1378
- "description": "Include XanoScript in response",
1379
- "name": "include_xanoscript",
1380
- "required": false,
1381
- "allowNo": false,
1382
- "type": "boolean"
1383
- },
1384
- "output": {
1385
- "char": "o",
1386
- "description": "Output format",
1387
- "name": "output",
1388
- "required": false,
1389
- "default": "summary",
1390
- "hasDynamicHelp": false,
1391
- "multiple": false,
1392
- "options": [
1393
- "summary",
1394
- "json",
1395
- "xs"
1396
- ],
1397
- "type": "option"
1398
- },
1399
- "workspace": {
1400
- "char": "w",
1401
- "description": "Workspace ID (optional if set in profile)",
1402
- "name": "workspace",
1453
+ },
1454
+ "profile:list": {
1455
+ "aliases": [],
1456
+ "args": {},
1457
+ "description": "List all available profile configurations",
1458
+ "examples": [
1459
+ "$ xano profile:list\nAvailable profiles:\n - default\n - production\n - staging\n - development\n",
1460
+ "$ 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",
1461
+ "$ 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"
1462
+ ],
1463
+ "flags": {
1464
+ "details": {
1465
+ "char": "d",
1466
+ "description": "Show detailed information for each profile",
1467
+ "name": "details",
1403
1468
  "required": false,
1404
- "hasDynamicHelp": false,
1405
- "multiple": false,
1406
- "type": "option"
1469
+ "allowNo": false,
1470
+ "type": "boolean"
1407
1471
  }
1408
1472
  },
1409
1473
  "hasDynamicHelp": false,
1410
1474
  "hiddenAliases": [],
1411
- "id": "function:get",
1475
+ "id": "profile:list",
1412
1476
  "pluginAlias": "@xano/cli",
1413
1477
  "pluginName": "@xano/cli",
1414
1478
  "pluginType": "core",
@@ -1418,20 +1482,19 @@
1418
1482
  "relativePath": [
1419
1483
  "dist",
1420
1484
  "commands",
1421
- "function",
1422
- "get",
1485
+ "profile",
1486
+ "list",
1423
1487
  "index.js"
1424
1488
  ]
1425
1489
  },
1426
- "function:list": {
1490
+ "profile:me": {
1427
1491
  "aliases": [],
1428
1492
  "args": {},
1429
- "description": "List all functions in a workspace from the Xano Metadata API",
1493
+ "description": "Get information about the currently authenticated user",
1430
1494
  "examples": [
1431
- "$ xano function:list -w 40\nAvailable functions:\n - function-1 (ID: 1)\n - function-2 (ID: 2)\n - function-3 (ID: 3)\n",
1432
- "$ xano function:list --profile production\nAvailable functions:\n - my-function (ID: 1)\n - another-function (ID: 2)\n",
1433
- "$ xano function:list -w 40 --output json\n[\n {\n \"id\": 1,\n \"name\": \"function-1\"\n }\n]\n",
1434
- "$ xano function:list -p staging -o json --include_draft\n[\n {\n \"id\": 1,\n \"name\": \"function-1\"\n }\n]\n"
1495
+ "$ xano profile:me\nUser Information:\n ID: 1\n Name: John Doe\n Email: john@example.com\n",
1496
+ "$ xano profile:me --profile production\nUser Information:\n ID: 42\n Name: Admin User\n Email: admin@example.com\n",
1497
+ "$ xano profile:me --output json\n{\n \"id\": 1,\n \"name\": \"John Doe\",\n \"email\": \"john@example.com\"\n}\n"
1435
1498
  ],
1436
1499
  "flags": {
1437
1500
  "profile": {
@@ -1453,33 +1516,6 @@
1453
1516
  "allowNo": false,
1454
1517
  "type": "boolean"
1455
1518
  },
1456
- "include_draft": {
1457
- "description": "Include draft functions",
1458
- "name": "include_draft",
1459
- "required": false,
1460
- "allowNo": false,
1461
- "type": "boolean"
1462
- },
1463
- "include_xanoscript": {
1464
- "description": "Include XanoScript in response",
1465
- "name": "include_xanoscript",
1466
- "required": false,
1467
- "allowNo": false,
1468
- "type": "boolean"
1469
- },
1470
- "order": {
1471
- "description": "Sort order",
1472
- "name": "order",
1473
- "required": false,
1474
- "default": "desc",
1475
- "hasDynamicHelp": false,
1476
- "multiple": false,
1477
- "options": [
1478
- "asc",
1479
- "desc"
1480
- ],
1481
- "type": "option"
1482
- },
1483
1519
  "output": {
1484
1520
  "char": "o",
1485
1521
  "description": "Output format",
@@ -1493,47 +1529,11 @@
1493
1529
  "json"
1494
1530
  ],
1495
1531
  "type": "option"
1496
- },
1497
- "page": {
1498
- "description": "Page number for pagination",
1499
- "name": "page",
1500
- "required": false,
1501
- "default": 1,
1502
- "hasDynamicHelp": false,
1503
- "multiple": false,
1504
- "type": "option"
1505
- },
1506
- "per_page": {
1507
- "description": "Number of results per page",
1508
- "name": "per_page",
1509
- "required": false,
1510
- "default": 50,
1511
- "hasDynamicHelp": false,
1512
- "multiple": false,
1513
- "type": "option"
1514
- },
1515
- "sort": {
1516
- "description": "Sort field",
1517
- "name": "sort",
1518
- "required": false,
1519
- "default": "created_at",
1520
- "hasDynamicHelp": false,
1521
- "multiple": false,
1522
- "type": "option"
1523
- },
1524
- "workspace": {
1525
- "char": "w",
1526
- "description": "Workspace ID (optional if set in profile)",
1527
- "name": "workspace",
1528
- "required": false,
1529
- "hasDynamicHelp": false,
1530
- "multiple": false,
1531
- "type": "option"
1532
1532
  }
1533
1533
  },
1534
1534
  "hasDynamicHelp": false,
1535
1535
  "hiddenAliases": [],
1536
- "id": "function:list",
1536
+ "id": "profile:me",
1537
1537
  "pluginAlias": "@xano/cli",
1538
1538
  "pluginName": "@xano/cli",
1539
1539
  "pluginType": "core",
@@ -1543,8 +1543,8 @@
1543
1543
  "relativePath": [
1544
1544
  "dist",
1545
1545
  "commands",
1546
- "function",
1547
- "list",
1546
+ "profile",
1547
+ "me",
1548
1548
  "index.js"
1549
1549
  ]
1550
1550
  },
@@ -1838,85 +1838,6 @@
1838
1838
  "index.js"
1839
1839
  ]
1840
1840
  },
1841
- "workspace:create": {
1842
- "aliases": [],
1843
- "args": {},
1844
- "description": "Create a new workspace via the Xano Metadata API",
1845
- "examples": [
1846
- "$ xano workspace create --name \"my-workspace\"\nCreated workspace: my-workspace (ID: 123)\n",
1847
- "$ xano workspace create --name \"my-app\" --description \"My application workspace\"\nCreated workspace: my-app (ID: 456)\n Description: My application workspace\n",
1848
- "$ 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"
1849
- ],
1850
- "flags": {
1851
- "profile": {
1852
- "char": "p",
1853
- "description": "Profile to use for this command",
1854
- "env": "XANO_PROFILE",
1855
- "name": "profile",
1856
- "required": false,
1857
- "hasDynamicHelp": false,
1858
- "multiple": false,
1859
- "type": "option"
1860
- },
1861
- "verbose": {
1862
- "char": "v",
1863
- "description": "Show detailed request/response information",
1864
- "env": "XANO_VERBOSE",
1865
- "name": "verbose",
1866
- "required": false,
1867
- "allowNo": false,
1868
- "type": "boolean"
1869
- },
1870
- "description": {
1871
- "char": "d",
1872
- "description": "Description for the workspace",
1873
- "name": "description",
1874
- "required": false,
1875
- "hasDynamicHelp": false,
1876
- "multiple": false,
1877
- "type": "option"
1878
- },
1879
- "name": {
1880
- "char": "n",
1881
- "description": "Name of the workspace",
1882
- "name": "name",
1883
- "required": true,
1884
- "hasDynamicHelp": false,
1885
- "multiple": false,
1886
- "type": "option"
1887
- },
1888
- "output": {
1889
- "char": "o",
1890
- "description": "Output format",
1891
- "name": "output",
1892
- "required": false,
1893
- "default": "summary",
1894
- "hasDynamicHelp": false,
1895
- "multiple": false,
1896
- "options": [
1897
- "summary",
1898
- "json"
1899
- ],
1900
- "type": "option"
1901
- }
1902
- },
1903
- "hasDynamicHelp": false,
1904
- "hiddenAliases": [],
1905
- "id": "workspace:create",
1906
- "pluginAlias": "@xano/cli",
1907
- "pluginName": "@xano/cli",
1908
- "pluginType": "core",
1909
- "strict": true,
1910
- "enableJsonFlag": false,
1911
- "isESM": true,
1912
- "relativePath": [
1913
- "dist",
1914
- "commands",
1915
- "workspace",
1916
- "create",
1917
- "index.js"
1918
- ]
1919
- },
1920
1841
  "workspace:delete": {
1921
1842
  "aliases": [],
1922
1843
  "args": {
@@ -2069,82 +1990,15 @@
2069
1990
  },
2070
1991
  "swagger": {
2071
1992
  "description": "Enable or disable swagger documentation",
2072
- "name": "swagger",
2073
- "required": false,
2074
- "allowNo": true,
2075
- "type": "boolean"
2076
- }
2077
- },
2078
- "hasDynamicHelp": false,
2079
- "hiddenAliases": [],
2080
- "id": "workspace:edit",
2081
- "pluginAlias": "@xano/cli",
2082
- "pluginName": "@xano/cli",
2083
- "pluginType": "core",
2084
- "strict": true,
2085
- "enableJsonFlag": false,
2086
- "isESM": true,
2087
- "relativePath": [
2088
- "dist",
2089
- "commands",
2090
- "workspace",
2091
- "edit",
2092
- "index.js"
2093
- ]
2094
- },
2095
- "workspace:get": {
2096
- "aliases": [],
2097
- "args": {
2098
- "workspace_id": {
2099
- "description": "Workspace ID to get details for (uses profile workspace if not provided)",
2100
- "name": "workspace_id",
2101
- "required": false
2102
- }
2103
- },
2104
- "description": "Get details of a specific workspace from the Xano Metadata API",
2105
- "examples": [
2106
- "$ xano workspace get 123\nWorkspace: my-workspace (ID: 123)\n Description: My workspace description\n Created: 2024-01-15\n",
2107
- "$ xano workspace get --output json\n{\n \"id\": 123,\n \"name\": \"my-workspace\",\n \"description\": \"My workspace description\"\n}\n",
2108
- "$ xano workspace get 456 -p production -o json\n{\n \"id\": 456,\n \"name\": \"production-workspace\"\n}\n"
2109
- ],
2110
- "flags": {
2111
- "profile": {
2112
- "char": "p",
2113
- "description": "Profile to use for this command",
2114
- "env": "XANO_PROFILE",
2115
- "name": "profile",
2116
- "required": false,
2117
- "hasDynamicHelp": false,
2118
- "multiple": false,
2119
- "type": "option"
2120
- },
2121
- "verbose": {
2122
- "char": "v",
2123
- "description": "Show detailed request/response information",
2124
- "env": "XANO_VERBOSE",
2125
- "name": "verbose",
2126
- "required": false,
2127
- "allowNo": false,
2128
- "type": "boolean"
2129
- },
2130
- "output": {
2131
- "char": "o",
2132
- "description": "Output format",
2133
- "name": "output",
2134
- "required": false,
2135
- "default": "summary",
2136
- "hasDynamicHelp": false,
2137
- "multiple": false,
2138
- "options": [
2139
- "summary",
2140
- "json"
2141
- ],
2142
- "type": "option"
1993
+ "name": "swagger",
1994
+ "required": false,
1995
+ "allowNo": true,
1996
+ "type": "boolean"
2143
1997
  }
2144
1998
  },
2145
1999
  "hasDynamicHelp": false,
2146
2000
  "hiddenAliases": [],
2147
- "id": "workspace:get",
2001
+ "id": "workspace:edit",
2148
2002
  "pluginAlias": "@xano/cli",
2149
2003
  "pluginName": "@xano/cli",
2150
2004
  "pluginType": "core",
@@ -2155,7 +2009,7 @@
2155
2009
  "dist",
2156
2010
  "commands",
2157
2011
  "workspace",
2158
- "get",
2012
+ "edit",
2159
2013
  "index.js"
2160
2014
  ]
2161
2015
  },
@@ -2307,6 +2161,85 @@
2307
2161
  "index.js"
2308
2162
  ]
2309
2163
  },
2164
+ "workspace:create": {
2165
+ "aliases": [],
2166
+ "args": {},
2167
+ "description": "Create a new workspace via the Xano Metadata API",
2168
+ "examples": [
2169
+ "$ xano workspace create --name \"my-workspace\"\nCreated workspace: my-workspace (ID: 123)\n",
2170
+ "$ xano workspace create --name \"my-app\" --description \"My application workspace\"\nCreated workspace: my-app (ID: 456)\n Description: My application workspace\n",
2171
+ "$ 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"
2172
+ ],
2173
+ "flags": {
2174
+ "profile": {
2175
+ "char": "p",
2176
+ "description": "Profile to use for this command",
2177
+ "env": "XANO_PROFILE",
2178
+ "name": "profile",
2179
+ "required": false,
2180
+ "hasDynamicHelp": false,
2181
+ "multiple": false,
2182
+ "type": "option"
2183
+ },
2184
+ "verbose": {
2185
+ "char": "v",
2186
+ "description": "Show detailed request/response information",
2187
+ "env": "XANO_VERBOSE",
2188
+ "name": "verbose",
2189
+ "required": false,
2190
+ "allowNo": false,
2191
+ "type": "boolean"
2192
+ },
2193
+ "description": {
2194
+ "char": "d",
2195
+ "description": "Description for the workspace",
2196
+ "name": "description",
2197
+ "required": false,
2198
+ "hasDynamicHelp": false,
2199
+ "multiple": false,
2200
+ "type": "option"
2201
+ },
2202
+ "name": {
2203
+ "char": "n",
2204
+ "description": "Name of the workspace",
2205
+ "name": "name",
2206
+ "required": true,
2207
+ "hasDynamicHelp": false,
2208
+ "multiple": false,
2209
+ "type": "option"
2210
+ },
2211
+ "output": {
2212
+ "char": "o",
2213
+ "description": "Output format",
2214
+ "name": "output",
2215
+ "required": false,
2216
+ "default": "summary",
2217
+ "hasDynamicHelp": false,
2218
+ "multiple": false,
2219
+ "options": [
2220
+ "summary",
2221
+ "json"
2222
+ ],
2223
+ "type": "option"
2224
+ }
2225
+ },
2226
+ "hasDynamicHelp": false,
2227
+ "hiddenAliases": [],
2228
+ "id": "workspace:create",
2229
+ "pluginAlias": "@xano/cli",
2230
+ "pluginName": "@xano/cli",
2231
+ "pluginType": "core",
2232
+ "strict": true,
2233
+ "enableJsonFlag": false,
2234
+ "isESM": true,
2235
+ "relativePath": [
2236
+ "dist",
2237
+ "commands",
2238
+ "workspace",
2239
+ "create",
2240
+ "index.js"
2241
+ ]
2242
+ },
2310
2243
  "workspace:push": {
2311
2244
  "aliases": [],
2312
2245
  "args": {
@@ -2439,19 +2372,20 @@
2439
2372
  "index.js"
2440
2373
  ]
2441
2374
  },
2442
- "run:env:get": {
2375
+ "workspace:get": {
2443
2376
  "aliases": [],
2444
2377
  "args": {
2445
- "name": {
2446
- "description": "Environment variable name",
2447
- "name": "name",
2448
- "required": true
2378
+ "workspace_id": {
2379
+ "description": "Workspace ID to get details for (uses profile workspace if not provided)",
2380
+ "name": "workspace_id",
2381
+ "required": false
2449
2382
  }
2450
2383
  },
2451
- "description": "Get an environment variable value",
2384
+ "description": "Get details of a specific workspace from the Xano Metadata API",
2452
2385
  "examples": [
2453
- "$ xano run env get API_KEY\nmy-secret-api-key\n",
2454
- "$ xano run env get API_KEY -o json\n{ \"name\": \"API_KEY\", \"value\": \"my-secret-api-key\" }\n"
2386
+ "$ xano workspace get 123\nWorkspace: my-workspace (ID: 123)\n Description: My workspace description\n Created: 2024-01-15\n",
2387
+ "$ xano workspace get --output json\n{\n \"id\": 123,\n \"name\": \"my-workspace\",\n \"description\": \"My workspace description\"\n}\n",
2388
+ "$ xano workspace get 456 -p production -o json\n{\n \"id\": 456,\n \"name\": \"production-workspace\"\n}\n"
2455
2389
  ],
2456
2390
  "flags": {
2457
2391
  "profile": {
@@ -2478,11 +2412,11 @@
2478
2412
  "description": "Output format",
2479
2413
  "name": "output",
2480
2414
  "required": false,
2481
- "default": "value",
2415
+ "default": "summary",
2482
2416
  "hasDynamicHelp": false,
2483
2417
  "multiple": false,
2484
2418
  "options": [
2485
- "value",
2419
+ "summary",
2486
2420
  "json"
2487
2421
  ],
2488
2422
  "type": "option"
@@ -2490,17 +2424,17 @@
2490
2424
  },
2491
2425
  "hasDynamicHelp": false,
2492
2426
  "hiddenAliases": [],
2493
- "id": "run:env:get",
2427
+ "id": "workspace:get",
2494
2428
  "pluginAlias": "@xano/cli",
2495
2429
  "pluginName": "@xano/cli",
2496
2430
  "pluginType": "core",
2497
2431
  "strict": true,
2432
+ "enableJsonFlag": false,
2498
2433
  "isESM": true,
2499
2434
  "relativePath": [
2500
2435
  "dist",
2501
2436
  "commands",
2502
- "run",
2503
- "env",
2437
+ "workspace",
2504
2438
  "get",
2505
2439
  "index.js"
2506
2440
  ]
@@ -2617,158 +2551,24 @@
2617
2551
  "dist",
2618
2552
  "commands",
2619
2553
  "run",
2620
- "env",
2621
- "set",
2622
- "index.js"
2623
- ]
2624
- },
2625
- "run:projects:create": {
2626
- "aliases": [],
2627
- "args": {},
2628
- "description": "Create a new project",
2629
- "examples": [
2630
- "$ xano run projects create -n \"My Project\"\nProject created successfully!\n ID: abc123-def456-ghi789\n Name: My Project\n",
2631
- "$ xano run projects create -n \"My Project\" -d \"Description here\"\nProject created successfully!\n ID: abc123-def456-ghi789\n Name: My Project\n",
2632
- "$ xano run projects create -n \"My Project\" -o json\n{ \"id\": \"abc123-def456-ghi789\", \"name\": \"My Project\", ... }\n"
2633
- ],
2634
- "flags": {
2635
- "profile": {
2636
- "char": "p",
2637
- "description": "Profile to use for this command",
2638
- "env": "XANO_PROFILE",
2639
- "name": "profile",
2640
- "required": false,
2641
- "hasDynamicHelp": false,
2642
- "multiple": false,
2643
- "type": "option"
2644
- },
2645
- "verbose": {
2646
- "char": "v",
2647
- "description": "Show detailed request/response information",
2648
- "env": "XANO_VERBOSE",
2649
- "name": "verbose",
2650
- "required": false,
2651
- "allowNo": false,
2652
- "type": "boolean"
2653
- },
2654
- "description": {
2655
- "char": "d",
2656
- "description": "Project description",
2657
- "name": "description",
2658
- "required": false,
2659
- "default": "",
2660
- "hasDynamicHelp": false,
2661
- "multiple": false,
2662
- "type": "option"
2663
- },
2664
- "name": {
2665
- "char": "n",
2666
- "description": "Project name",
2667
- "name": "name",
2668
- "required": true,
2669
- "hasDynamicHelp": false,
2670
- "multiple": false,
2671
- "type": "option"
2672
- },
2673
- "output": {
2674
- "char": "o",
2675
- "description": "Output format",
2676
- "name": "output",
2677
- "required": false,
2678
- "default": "summary",
2679
- "hasDynamicHelp": false,
2680
- "multiple": false,
2681
- "options": [
2682
- "summary",
2683
- "json"
2684
- ],
2685
- "type": "option"
2686
- }
2687
- },
2688
- "hasDynamicHelp": false,
2689
- "hiddenAliases": [],
2690
- "id": "run:projects:create",
2691
- "pluginAlias": "@xano/cli",
2692
- "pluginName": "@xano/cli",
2693
- "pluginType": "core",
2694
- "strict": true,
2695
- "isESM": true,
2696
- "relativePath": [
2697
- "dist",
2698
- "commands",
2699
- "run",
2700
- "projects",
2701
- "create",
2702
- "index.js"
2703
- ]
2704
- },
2705
- "run:projects:delete": {
2706
- "aliases": [],
2707
- "args": {
2708
- "projectId": {
2709
- "description": "Project ID to delete",
2710
- "name": "projectId",
2711
- "required": true
2712
- }
2713
- },
2714
- "description": "Delete a project",
2715
- "examples": [
2716
- "$ xano run projects delete abc123-def456\nAre you sure you want to delete project 'abc123-def456'? (y/N)\nProject deleted successfully!\n",
2717
- "$ xano run projects delete abc123-def456 --force\nProject deleted successfully!\n"
2718
- ],
2719
- "flags": {
2720
- "profile": {
2721
- "char": "p",
2722
- "description": "Profile to use for this command",
2723
- "env": "XANO_PROFILE",
2724
- "name": "profile",
2725
- "required": false,
2726
- "hasDynamicHelp": false,
2727
- "multiple": false,
2728
- "type": "option"
2729
- },
2730
- "verbose": {
2731
- "char": "v",
2732
- "description": "Show detailed request/response information",
2733
- "env": "XANO_VERBOSE",
2734
- "name": "verbose",
2735
- "required": false,
2736
- "allowNo": false,
2737
- "type": "boolean"
2738
- },
2739
- "force": {
2740
- "char": "f",
2741
- "description": "Skip confirmation prompt",
2742
- "name": "force",
2743
- "required": false,
2744
- "allowNo": false,
2745
- "type": "boolean"
2746
- }
2747
- },
2748
- "hasDynamicHelp": false,
2749
- "hiddenAliases": [],
2750
- "id": "run:projects:delete",
2751
- "pluginAlias": "@xano/cli",
2752
- "pluginName": "@xano/cli",
2753
- "pluginType": "core",
2754
- "strict": true,
2755
- "isESM": true,
2756
- "relativePath": [
2757
- "dist",
2758
- "commands",
2759
- "run",
2760
- "projects",
2761
- "delete",
2554
+ "env",
2555
+ "set",
2762
2556
  "index.js"
2763
2557
  ]
2764
2558
  },
2765
- "run:projects:list": {
2559
+ "run:env:get": {
2766
2560
  "aliases": [],
2767
- "args": {},
2768
- "description": "List all projects",
2561
+ "args": {
2562
+ "name": {
2563
+ "description": "Environment variable name",
2564
+ "name": "name",
2565
+ "required": true
2566
+ }
2567
+ },
2568
+ "description": "Get an environment variable value",
2769
2569
  "examples": [
2770
- "$ xano run projects list\nID NAME ACCESS\nabc123-def456-ghi789 My Project private\nxyz789-uvw456-rst123 Test Project public\n",
2771
- "$ xano run projects list -o json\n[\n { \"id\": \"abc123-def456-ghi789\", \"name\": \"My Project\", ... }\n]\n"
2570
+ "$ xano run env get API_KEY\nmy-secret-api-key\n",
2571
+ "$ xano run env get API_KEY -o json\n{ \"name\": \"API_KEY\", \"value\": \"my-secret-api-key\" }\n"
2772
2572
  ],
2773
2573
  "flags": {
2774
2574
  "profile": {
@@ -2795,11 +2595,11 @@
2795
2595
  "description": "Output format",
2796
2596
  "name": "output",
2797
2597
  "required": false,
2798
- "default": "table",
2598
+ "default": "value",
2799
2599
  "hasDynamicHelp": false,
2800
2600
  "multiple": false,
2801
2601
  "options": [
2802
- "table",
2602
+ "value",
2803
2603
  "json"
2804
2604
  ],
2805
2605
  "type": "option"
@@ -2807,7 +2607,7 @@
2807
2607
  },
2808
2608
  "hasDynamicHelp": false,
2809
2609
  "hiddenAliases": [],
2810
- "id": "run:projects:list",
2610
+ "id": "run:env:get",
2811
2611
  "pluginAlias": "@xano/cli",
2812
2612
  "pluginName": "@xano/cli",
2813
2613
  "pluginType": "core",
@@ -2817,25 +2617,19 @@
2817
2617
  "dist",
2818
2618
  "commands",
2819
2619
  "run",
2820
- "projects",
2821
- "list",
2620
+ "env",
2621
+ "get",
2822
2622
  "index.js"
2823
2623
  ]
2824
2624
  },
2825
- "run:projects:update": {
2625
+ "run:projects:create": {
2826
2626
  "aliases": [],
2827
- "args": {
2828
- "projectId": {
2829
- "description": "Project ID to update",
2830
- "name": "projectId",
2831
- "required": true
2832
- }
2833
- },
2834
- "description": "Update a project",
2627
+ "args": {},
2628
+ "description": "Create a new project",
2835
2629
  "examples": [
2836
- "$ xano run projects update abc123-def456 -n \"New Name\"\nProject updated successfully!\n ID: abc123-def456\n Name: New Name\n",
2837
- "$ xano run projects update abc123-def456 -d \"New description\"\nProject updated successfully!\n ID: abc123-def456\n Description: New description\n",
2838
- "$ xano run projects update abc123-def456 -n \"New Name\" -o json\n{ \"id\": \"abc123-def456\", \"name\": \"New Name\", ... }\n"
2630
+ "$ xano run projects create -n \"My Project\"\nProject created successfully!\n ID: abc123-def456-ghi789\n Name: My Project\n",
2631
+ "$ xano run projects create -n \"My Project\" -d \"Description here\"\nProject created successfully!\n ID: abc123-def456-ghi789\n Name: My Project\n",
2632
+ "$ xano run projects create -n \"My Project\" -o json\n{ \"id\": \"abc123-def456-ghi789\", \"name\": \"My Project\", ... }\n"
2839
2633
  ],
2840
2634
  "flags": {
2841
2635
  "profile": {
@@ -2859,18 +2653,19 @@
2859
2653
  },
2860
2654
  "description": {
2861
2655
  "char": "d",
2862
- "description": "New project description",
2656
+ "description": "Project description",
2863
2657
  "name": "description",
2864
2658
  "required": false,
2659
+ "default": "",
2865
2660
  "hasDynamicHelp": false,
2866
2661
  "multiple": false,
2867
2662
  "type": "option"
2868
2663
  },
2869
2664
  "name": {
2870
2665
  "char": "n",
2871
- "description": "New project name",
2666
+ "description": "Project name",
2872
2667
  "name": "name",
2873
- "required": false,
2668
+ "required": true,
2874
2669
  "hasDynamicHelp": false,
2875
2670
  "multiple": false,
2876
2671
  "type": "option"
@@ -2892,7 +2687,7 @@
2892
2687
  },
2893
2688
  "hasDynamicHelp": false,
2894
2689
  "hiddenAliases": [],
2895
- "id": "run:projects:update",
2690
+ "id": "run:projects:create",
2896
2691
  "pluginAlias": "@xano/cli",
2897
2692
  "pluginName": "@xano/cli",
2898
2693
  "pluginType": "core",
@@ -2903,23 +2698,23 @@
2903
2698
  "commands",
2904
2699
  "run",
2905
2700
  "projects",
2906
- "update",
2701
+ "create",
2907
2702
  "index.js"
2908
2703
  ]
2909
2704
  },
2910
- "run:secrets:delete": {
2705
+ "run:projects:delete": {
2911
2706
  "aliases": [],
2912
2707
  "args": {
2913
- "name": {
2914
- "description": "Secret name",
2915
- "name": "name",
2708
+ "projectId": {
2709
+ "description": "Project ID to delete",
2710
+ "name": "projectId",
2916
2711
  "required": true
2917
2712
  }
2918
2713
  },
2919
- "description": "Delete a secret",
2714
+ "description": "Delete a project",
2920
2715
  "examples": [
2921
- "$ xano run secrets delete docker-registry\nAre you sure you want to delete secret 'docker-registry'? (y/N)\nSecret 'docker-registry' deleted successfully!\n",
2922
- "$ xano run secrets delete docker-registry --force\nSecret 'docker-registry' deleted successfully!\n"
2716
+ "$ xano run projects delete abc123-def456\nAre you sure you want to delete project 'abc123-def456'? (y/N)\nProject deleted successfully!\n",
2717
+ "$ xano run projects delete abc123-def456 --force\nProject deleted successfully!\n"
2923
2718
  ],
2924
2719
  "flags": {
2925
2720
  "profile": {
@@ -2952,7 +2747,7 @@
2952
2747
  },
2953
2748
  "hasDynamicHelp": false,
2954
2749
  "hiddenAliases": [],
2955
- "id": "run:secrets:delete",
2750
+ "id": "run:projects:delete",
2956
2751
  "pluginAlias": "@xano/cli",
2957
2752
  "pluginName": "@xano/cli",
2958
2753
  "pluginType": "core",
@@ -2962,24 +2757,25 @@
2962
2757
  "dist",
2963
2758
  "commands",
2964
2759
  "run",
2965
- "secrets",
2760
+ "projects",
2966
2761
  "delete",
2967
2762
  "index.js"
2968
2763
  ]
2969
2764
  },
2970
- "run:secrets:get": {
2765
+ "run:projects:update": {
2971
2766
  "aliases": [],
2972
2767
  "args": {
2973
- "name": {
2974
- "description": "Secret name",
2975
- "name": "name",
2768
+ "projectId": {
2769
+ "description": "Project ID to update",
2770
+ "name": "projectId",
2976
2771
  "required": true
2977
2772
  }
2978
2773
  },
2979
- "description": "Get a secret value",
2774
+ "description": "Update a project",
2980
2775
  "examples": [
2981
- "$ xano run secrets get docker-registry\n{\"auths\":{\"ghcr.io\":{\"auth\":\"...\"}}}\n",
2982
- "$ xano run secrets get docker-registry -o json\n{ \"name\": \"docker-registry\", \"type\": \"kubernetes.io/dockerconfigjson\", \"value\": \"...\" }\n"
2776
+ "$ xano run projects update abc123-def456 -n \"New Name\"\nProject updated successfully!\n ID: abc123-def456\n Name: New Name\n",
2777
+ "$ xano run projects update abc123-def456 -d \"New description\"\nProject updated successfully!\n ID: abc123-def456\n Description: New description\n",
2778
+ "$ xano run projects update abc123-def456 -n \"New Name\" -o json\n{ \"id\": \"abc123-def456\", \"name\": \"New Name\", ... }\n"
2983
2779
  ],
2984
2780
  "flags": {
2985
2781
  "profile": {
@@ -3001,16 +2797,34 @@
3001
2797
  "allowNo": false,
3002
2798
  "type": "boolean"
3003
2799
  },
2800
+ "description": {
2801
+ "char": "d",
2802
+ "description": "New project description",
2803
+ "name": "description",
2804
+ "required": false,
2805
+ "hasDynamicHelp": false,
2806
+ "multiple": false,
2807
+ "type": "option"
2808
+ },
2809
+ "name": {
2810
+ "char": "n",
2811
+ "description": "New project name",
2812
+ "name": "name",
2813
+ "required": false,
2814
+ "hasDynamicHelp": false,
2815
+ "multiple": false,
2816
+ "type": "option"
2817
+ },
3004
2818
  "output": {
3005
2819
  "char": "o",
3006
2820
  "description": "Output format",
3007
2821
  "name": "output",
3008
2822
  "required": false,
3009
- "default": "value",
2823
+ "default": "summary",
3010
2824
  "hasDynamicHelp": false,
3011
2825
  "multiple": false,
3012
2826
  "options": [
3013
- "value",
2827
+ "summary",
3014
2828
  "json"
3015
2829
  ],
3016
2830
  "type": "option"
@@ -3018,7 +2832,7 @@
3018
2832
  },
3019
2833
  "hasDynamicHelp": false,
3020
2834
  "hiddenAliases": [],
3021
- "id": "run:secrets:get",
2835
+ "id": "run:projects:update",
3022
2836
  "pluginAlias": "@xano/cli",
3023
2837
  "pluginName": "@xano/cli",
3024
2838
  "pluginType": "core",
@@ -3028,18 +2842,18 @@
3028
2842
  "dist",
3029
2843
  "commands",
3030
2844
  "run",
3031
- "secrets",
3032
- "get",
2845
+ "projects",
2846
+ "update",
3033
2847
  "index.js"
3034
2848
  ]
3035
2849
  },
3036
- "run:secrets:list": {
2850
+ "run:projects:list": {
3037
2851
  "aliases": [],
3038
2852
  "args": {},
3039
- "description": "List all secret keys",
2853
+ "description": "List all projects",
3040
2854
  "examples": [
3041
- "$ xano run secrets list\nNAME TYPE REPO\ndocker-registry kubernetes.io/dockerconfigjson ghcr.io\nservice-account kubernetes.io/service-account-token -\n",
3042
- "$ xano run secrets list -o json\n{ \"secrets\": [{ \"name\": \"docker-registry\", \"type\": \"kubernetes.io/dockerconfigjson\", \"repo\": \"ghcr.io\" }] }\n"
2855
+ "$ xano run projects list\nID NAME ACCESS\nabc123-def456-ghi789 My Project private\nxyz789-uvw456-rst123 Test Project public\n",
2856
+ "$ xano run projects list -o json\n[\n { \"id\": \"abc123-def456-ghi789\", \"name\": \"My Project\", ... }\n]\n"
3043
2857
  ],
3044
2858
  "flags": {
3045
2859
  "profile": {
@@ -3078,7 +2892,7 @@
3078
2892
  },
3079
2893
  "hasDynamicHelp": false,
3080
2894
  "hiddenAliases": [],
3081
- "id": "run:secrets:list",
2895
+ "id": "run:projects:list",
3082
2896
  "pluginAlias": "@xano/cli",
3083
2897
  "pluginName": "@xano/cli",
3084
2898
  "pluginType": "core",
@@ -3088,24 +2902,24 @@
3088
2902
  "dist",
3089
2903
  "commands",
3090
2904
  "run",
3091
- "secrets",
2905
+ "projects",
3092
2906
  "list",
3093
2907
  "index.js"
3094
2908
  ]
3095
2909
  },
3096
- "run:secrets:set": {
2910
+ "run:sessions:delete": {
3097
2911
  "aliases": [],
3098
2912
  "args": {
3099
- "name": {
3100
- "description": "Secret name",
3101
- "name": "name",
2913
+ "sessionId": {
2914
+ "description": "Session ID",
2915
+ "name": "sessionId",
3102
2916
  "required": true
3103
2917
  }
3104
2918
  },
3105
- "description": "Set a secret",
2919
+ "description": "Delete a session",
3106
2920
  "examples": [
3107
- "$ xano run secrets set docker-registry -t dockerconfigjson -v '{\"auths\":{\"ghcr.io\":{\"auth\":\"...\"}}}' -r ghcr.io\nSecret 'docker-registry' set successfully!\n",
3108
- "$ xano run secrets set service-key -t service-account-token -v 'token-value-here'\nSecret 'service-key' set successfully!\n"
2921
+ "$ xano run sessions delete abc123-def456\nAre you sure you want to delete session 'abc123-def456'? (y/N)\nSession deleted successfully!\n",
2922
+ "$ xano run sessions delete abc123-def456 --force\nSession deleted successfully!\n"
3109
2923
  ],
3110
2924
  "flags": {
3111
2925
  "profile": {
@@ -3127,41 +2941,18 @@
3127
2941
  "allowNo": false,
3128
2942
  "type": "boolean"
3129
2943
  },
3130
- "repo": {
3131
- "char": "r",
3132
- "description": "Repository (for dockerconfigjson type)",
3133
- "name": "repo",
2944
+ "force": {
2945
+ "char": "f",
2946
+ "description": "Skip confirmation prompt",
2947
+ "name": "force",
3134
2948
  "required": false,
3135
- "hasDynamicHelp": false,
3136
- "multiple": false,
3137
- "type": "option"
3138
- },
3139
- "type": {
3140
- "char": "t",
3141
- "description": "Secret type",
3142
- "name": "type",
3143
- "required": true,
3144
- "hasDynamicHelp": false,
3145
- "multiple": false,
3146
- "options": [
3147
- "dockerconfigjson",
3148
- "service-account-token"
3149
- ],
3150
- "type": "option"
3151
- },
3152
- "value": {
3153
- "char": "v",
3154
- "description": "Secret value",
3155
- "name": "value",
3156
- "required": true,
3157
- "hasDynamicHelp": false,
3158
- "multiple": false,
3159
- "type": "option"
2949
+ "allowNo": false,
2950
+ "type": "boolean"
3160
2951
  }
3161
2952
  },
3162
2953
  "hasDynamicHelp": false,
3163
2954
  "hiddenAliases": [],
3164
- "id": "run:secrets:set",
2955
+ "id": "run:sessions:delete",
3165
2956
  "pluginAlias": "@xano/cli",
3166
2957
  "pluginName": "@xano/cli",
3167
2958
  "pluginType": "core",
@@ -3171,12 +2962,12 @@
3171
2962
  "dist",
3172
2963
  "commands",
3173
2964
  "run",
3174
- "secrets",
3175
- "set",
2965
+ "sessions",
2966
+ "delete",
3176
2967
  "index.js"
3177
2968
  ]
3178
2969
  },
3179
- "run:sessions:delete": {
2970
+ "run:sessions:get": {
3180
2971
  "aliases": [],
3181
2972
  "args": {
3182
2973
  "sessionId": {
@@ -3185,10 +2976,10 @@
3185
2976
  "required": true
3186
2977
  }
3187
2978
  },
3188
- "description": "Delete a session",
2979
+ "description": "Get session details",
3189
2980
  "examples": [
3190
- "$ xano run sessions delete abc123-def456\nAre you sure you want to delete session 'abc123-def456'? (y/N)\nSession deleted successfully!\n",
3191
- "$ xano run sessions delete abc123-def456 --force\nSession deleted successfully!\n"
2981
+ "$ 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",
2982
+ "$ xano run sessions get abc123-def456 -o json\n{ \"id\": \"abc123-def456\", \"name\": \"My Session\", \"status\": \"running\", ... }\n"
3192
2983
  ],
3193
2984
  "flags": {
3194
2985
  "profile": {
@@ -3210,18 +3001,24 @@
3210
3001
  "allowNo": false,
3211
3002
  "type": "boolean"
3212
3003
  },
3213
- "force": {
3214
- "char": "f",
3215
- "description": "Skip confirmation prompt",
3216
- "name": "force",
3004
+ "output": {
3005
+ "char": "o",
3006
+ "description": "Output format",
3007
+ "name": "output",
3217
3008
  "required": false,
3218
- "allowNo": false,
3219
- "type": "boolean"
3009
+ "default": "summary",
3010
+ "hasDynamicHelp": false,
3011
+ "multiple": false,
3012
+ "options": [
3013
+ "summary",
3014
+ "json"
3015
+ ],
3016
+ "type": "option"
3220
3017
  }
3221
3018
  },
3222
3019
  "hasDynamicHelp": false,
3223
3020
  "hiddenAliases": [],
3224
- "id": "run:sessions:delete",
3021
+ "id": "run:sessions:get",
3225
3022
  "pluginAlias": "@xano/cli",
3226
3023
  "pluginName": "@xano/cli",
3227
3024
  "pluginType": "core",
@@ -3232,11 +3029,11 @@
3232
3029
  "commands",
3233
3030
  "run",
3234
3031
  "sessions",
3235
- "delete",
3032
+ "get",
3236
3033
  "index.js"
3237
3034
  ]
3238
3035
  },
3239
- "run:sessions:get": {
3036
+ "run:sink:get": {
3240
3037
  "aliases": [],
3241
3038
  "args": {
3242
3039
  "sessionId": {
@@ -3245,10 +3042,10 @@
3245
3042
  "required": true
3246
3043
  }
3247
3044
  },
3248
- "description": "Get session details",
3045
+ "description": "Get sink data for a completed session",
3249
3046
  "examples": [
3250
- "$ 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",
3251
- "$ xano run sessions get abc123-def456 -o json\n{ \"id\": \"abc123-def456\", \"name\": \"My Session\", \"status\": \"running\", ... }\n"
3047
+ "$ 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",
3048
+ "$ xano run sink get abc123-def456 -o json\n{ \"tables\": [...], \"logs\": [...] }\n"
3252
3049
  ],
3253
3050
  "flags": {
3254
3051
  "profile": {
@@ -3287,7 +3084,7 @@
3287
3084
  },
3288
3085
  "hasDynamicHelp": false,
3289
3086
  "hiddenAliases": [],
3290
- "id": "run:sessions:get",
3087
+ "id": "run:sink:get",
3291
3088
  "pluginAlias": "@xano/cli",
3292
3089
  "pluginName": "@xano/cli",
3293
3090
  "pluginType": "core",
@@ -3297,7 +3094,7 @@
3297
3094
  "dist",
3298
3095
  "commands",
3299
3096
  "run",
3300
- "sessions",
3097
+ "sink",
3301
3098
  "get",
3302
3099
  "index.js"
3303
3100
  ]
@@ -3428,19 +3225,26 @@
3428
3225
  "index.js"
3429
3226
  ]
3430
3227
  },
3431
- "run:sessions:stop": {
3228
+ "static_host:build:get": {
3432
3229
  "aliases": [],
3433
3230
  "args": {
3434
- "sessionId": {
3435
- "description": "Session ID",
3436
- "name": "sessionId",
3231
+ "build_id": {
3232
+ "description": "Build ID",
3233
+ "name": "build_id",
3234
+ "required": true
3235
+ },
3236
+ "static_host": {
3237
+ "description": "Static Host name",
3238
+ "name": "static_host",
3437
3239
  "required": true
3438
3240
  }
3439
3241
  },
3440
- "description": "Stop a session",
3242
+ "description": "Get details of a specific build for a static host",
3441
3243
  "examples": [
3442
- "$ xano run sessions stop abc123-def456\nSession stopped successfully!\n ID: abc123-def456\n State: stopped\n",
3443
- "$ xano run sessions stop abc123-def456 -o json\n{ \"id\": \"abc123-def456\", \"state\": \"stopped\", ... }\n"
3244
+ "$ xano static_host:build:get default 52\nBuild Details:\nID: 52\nName: v1.0.0\nStatus: completed\n",
3245
+ "$ xano static_host:build:get default 52 -w 40\nBuild Details:\nID: 52\nName: v1.0.0\nStatus: completed\n",
3246
+ "$ xano static_host:build:get myhost 123 --profile production\nBuild Details:\nID: 123\nName: production-build\n",
3247
+ "$ xano static_host:build:get default 52 -o json\n{\n \"id\": 52,\n \"name\": \"v1.0.0\",\n \"status\": \"completed\"\n}\n"
3444
3248
  ],
3445
3249
  "flags": {
3446
3250
  "profile": {
@@ -3475,26 +3279,36 @@
3475
3279
  "json"
3476
3280
  ],
3477
3281
  "type": "option"
3282
+ },
3283
+ "workspace": {
3284
+ "char": "w",
3285
+ "description": "Workspace ID (optional if set in profile)",
3286
+ "name": "workspace",
3287
+ "required": false,
3288
+ "hasDynamicHelp": false,
3289
+ "multiple": false,
3290
+ "type": "option"
3478
3291
  }
3479
3292
  },
3480
3293
  "hasDynamicHelp": false,
3481
3294
  "hiddenAliases": [],
3482
- "id": "run:sessions:stop",
3295
+ "id": "static_host:build:get",
3483
3296
  "pluginAlias": "@xano/cli",
3484
3297
  "pluginName": "@xano/cli",
3485
3298
  "pluginType": "core",
3486
3299
  "strict": true,
3300
+ "enableJsonFlag": false,
3487
3301
  "isESM": true,
3488
3302
  "relativePath": [
3489
3303
  "dist",
3490
3304
  "commands",
3491
- "run",
3492
- "sessions",
3493
- "stop",
3305
+ "static_host",
3306
+ "build",
3307
+ "get",
3494
3308
  "index.js"
3495
3309
  ]
3496
3310
  },
3497
- "run:sink:get": {
3311
+ "run:sessions:stop": {
3498
3312
  "aliases": [],
3499
3313
  "args": {
3500
3314
  "sessionId": {
@@ -3503,10 +3317,10 @@
3503
3317
  "required": true
3504
3318
  }
3505
3319
  },
3506
- "description": "Get sink data for a completed session",
3320
+ "description": "Stop a session",
3507
3321
  "examples": [
3508
- "$ 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",
3509
- "$ xano run sink get abc123-def456 -o json\n{ \"tables\": [...], \"logs\": [...] }\n"
3322
+ "$ xano run sessions stop abc123-def456\nSession stopped successfully!\n ID: abc123-def456\n State: stopped\n",
3323
+ "$ xano run sessions stop abc123-def456 -o json\n{ \"id\": \"abc123-def456\", \"state\": \"stopped\", ... }\n"
3510
3324
  ],
3511
3325
  "flags": {
3512
3326
  "profile": {
@@ -3545,7 +3359,7 @@
3545
3359
  },
3546
3360
  "hasDynamicHelp": false,
3547
3361
  "hiddenAliases": [],
3548
- "id": "run:sink:get",
3362
+ "id": "run:sessions:stop",
3549
3363
  "pluginAlias": "@xano/cli",
3550
3364
  "pluginName": "@xano/cli",
3551
3365
  "pluginType": "core",
@@ -3555,8 +3369,8 @@
3555
3369
  "dist",
3556
3370
  "commands",
3557
3371
  "run",
3558
- "sink",
3559
- "get",
3372
+ "sessions",
3373
+ "stop",
3560
3374
  "index.js"
3561
3375
  ]
3562
3376
  },
@@ -3664,26 +3478,79 @@
3664
3478
  "index.js"
3665
3479
  ]
3666
3480
  },
3667
- "static_host:build:get": {
3481
+ "run:secrets:delete": {
3668
3482
  "aliases": [],
3669
3483
  "args": {
3670
- "build_id": {
3671
- "description": "Build ID",
3672
- "name": "build_id",
3484
+ "name": {
3485
+ "description": "Secret name",
3486
+ "name": "name",
3673
3487
  "required": true
3488
+ }
3489
+ },
3490
+ "description": "Delete a secret",
3491
+ "examples": [
3492
+ "$ xano run secrets delete docker-registry\nAre you sure you want to delete secret 'docker-registry'? (y/N)\nSecret 'docker-registry' deleted successfully!\n",
3493
+ "$ xano run secrets delete docker-registry --force\nSecret 'docker-registry' deleted successfully!\n"
3494
+ ],
3495
+ "flags": {
3496
+ "profile": {
3497
+ "char": "p",
3498
+ "description": "Profile to use for this command",
3499
+ "env": "XANO_PROFILE",
3500
+ "name": "profile",
3501
+ "required": false,
3502
+ "hasDynamicHelp": false,
3503
+ "multiple": false,
3504
+ "type": "option"
3674
3505
  },
3675
- "static_host": {
3676
- "description": "Static Host name",
3677
- "name": "static_host",
3506
+ "verbose": {
3507
+ "char": "v",
3508
+ "description": "Show detailed request/response information",
3509
+ "env": "XANO_VERBOSE",
3510
+ "name": "verbose",
3511
+ "required": false,
3512
+ "allowNo": false,
3513
+ "type": "boolean"
3514
+ },
3515
+ "force": {
3516
+ "char": "f",
3517
+ "description": "Skip confirmation prompt",
3518
+ "name": "force",
3519
+ "required": false,
3520
+ "allowNo": false,
3521
+ "type": "boolean"
3522
+ }
3523
+ },
3524
+ "hasDynamicHelp": false,
3525
+ "hiddenAliases": [],
3526
+ "id": "run:secrets:delete",
3527
+ "pluginAlias": "@xano/cli",
3528
+ "pluginName": "@xano/cli",
3529
+ "pluginType": "core",
3530
+ "strict": true,
3531
+ "isESM": true,
3532
+ "relativePath": [
3533
+ "dist",
3534
+ "commands",
3535
+ "run",
3536
+ "secrets",
3537
+ "delete",
3538
+ "index.js"
3539
+ ]
3540
+ },
3541
+ "run:secrets:get": {
3542
+ "aliases": [],
3543
+ "args": {
3544
+ "name": {
3545
+ "description": "Secret name",
3546
+ "name": "name",
3678
3547
  "required": true
3679
3548
  }
3680
3549
  },
3681
- "description": "Get details of a specific build for a static host",
3550
+ "description": "Get a secret value",
3682
3551
  "examples": [
3683
- "$ xano static_host:build:get default 52\nBuild Details:\nID: 52\nName: v1.0.0\nStatus: completed\n",
3684
- "$ xano static_host:build:get default 52 -w 40\nBuild Details:\nID: 52\nName: v1.0.0\nStatus: completed\n",
3685
- "$ xano static_host:build:get myhost 123 --profile production\nBuild Details:\nID: 123\nName: production-build\n",
3686
- "$ xano static_host:build:get default 52 -o json\n{\n \"id\": 52,\n \"name\": \"v1.0.0\",\n \"status\": \"completed\"\n}\n"
3552
+ "$ xano run secrets get docker-registry\n{\"auths\":{\"ghcr.io\":{\"auth\":\"...\"}}}\n",
3553
+ "$ xano run secrets get docker-registry -o json\n{ \"name\": \"docker-registry\", \"type\": \"kubernetes.io/dockerconfigjson\", \"value\": \"...\" }\n"
3687
3554
  ],
3688
3555
  "flags": {
3689
3556
  "profile": {
@@ -3710,40 +3577,113 @@
3710
3577
  "description": "Output format",
3711
3578
  "name": "output",
3712
3579
  "required": false,
3713
- "default": "summary",
3580
+ "default": "value",
3714
3581
  "hasDynamicHelp": false,
3715
3582
  "multiple": false,
3716
3583
  "options": [
3717
- "summary",
3584
+ "value",
3718
3585
  "json"
3719
3586
  ],
3720
3587
  "type": "option"
3588
+ }
3589
+ },
3590
+ "hasDynamicHelp": false,
3591
+ "hiddenAliases": [],
3592
+ "id": "run:secrets:get",
3593
+ "pluginAlias": "@xano/cli",
3594
+ "pluginName": "@xano/cli",
3595
+ "pluginType": "core",
3596
+ "strict": true,
3597
+ "isESM": true,
3598
+ "relativePath": [
3599
+ "dist",
3600
+ "commands",
3601
+ "run",
3602
+ "secrets",
3603
+ "get",
3604
+ "index.js"
3605
+ ]
3606
+ },
3607
+ "run:secrets:set": {
3608
+ "aliases": [],
3609
+ "args": {
3610
+ "name": {
3611
+ "description": "Secret name",
3612
+ "name": "name",
3613
+ "required": true
3614
+ }
3615
+ },
3616
+ "description": "Set a secret",
3617
+ "examples": [
3618
+ "$ xano run secrets set docker-registry -t dockerconfigjson -v '{\"auths\":{\"ghcr.io\":{\"auth\":\"...\"}}}' -r ghcr.io\nSecret 'docker-registry' set successfully!\n",
3619
+ "$ xano run secrets set service-key -t service-account-token -v 'token-value-here'\nSecret 'service-key' set successfully!\n"
3620
+ ],
3621
+ "flags": {
3622
+ "profile": {
3623
+ "char": "p",
3624
+ "description": "Profile to use for this command",
3625
+ "env": "XANO_PROFILE",
3626
+ "name": "profile",
3627
+ "required": false,
3628
+ "hasDynamicHelp": false,
3629
+ "multiple": false,
3630
+ "type": "option"
3721
3631
  },
3722
- "workspace": {
3723
- "char": "w",
3724
- "description": "Workspace ID (optional if set in profile)",
3725
- "name": "workspace",
3632
+ "verbose": {
3633
+ "char": "v",
3634
+ "description": "Show detailed request/response information",
3635
+ "env": "XANO_VERBOSE",
3636
+ "name": "verbose",
3637
+ "required": false,
3638
+ "allowNo": false,
3639
+ "type": "boolean"
3640
+ },
3641
+ "repo": {
3642
+ "char": "r",
3643
+ "description": "Repository (for dockerconfigjson type)",
3644
+ "name": "repo",
3726
3645
  "required": false,
3727
3646
  "hasDynamicHelp": false,
3728
3647
  "multiple": false,
3729
3648
  "type": "option"
3649
+ },
3650
+ "type": {
3651
+ "char": "t",
3652
+ "description": "Secret type",
3653
+ "name": "type",
3654
+ "required": true,
3655
+ "hasDynamicHelp": false,
3656
+ "multiple": false,
3657
+ "options": [
3658
+ "dockerconfigjson",
3659
+ "service-account-token"
3660
+ ],
3661
+ "type": "option"
3662
+ },
3663
+ "value": {
3664
+ "char": "v",
3665
+ "description": "Secret value",
3666
+ "name": "value",
3667
+ "required": true,
3668
+ "hasDynamicHelp": false,
3669
+ "multiple": false,
3670
+ "type": "option"
3730
3671
  }
3731
3672
  },
3732
3673
  "hasDynamicHelp": false,
3733
3674
  "hiddenAliases": [],
3734
- "id": "static_host:build:get",
3675
+ "id": "run:secrets:set",
3735
3676
  "pluginAlias": "@xano/cli",
3736
3677
  "pluginName": "@xano/cli",
3737
3678
  "pluginType": "core",
3738
3679
  "strict": true,
3739
- "enableJsonFlag": false,
3740
3680
  "isESM": true,
3741
3681
  "relativePath": [
3742
3682
  "dist",
3743
3683
  "commands",
3744
- "static_host",
3745
- "build",
3746
- "get",
3684
+ "run",
3685
+ "secrets",
3686
+ "set",
3747
3687
  "index.js"
3748
3688
  ]
3749
3689
  },
@@ -3842,7 +3782,67 @@
3842
3782
  "list",
3843
3783
  "index.js"
3844
3784
  ]
3785
+ },
3786
+ "run:secrets:list": {
3787
+ "aliases": [],
3788
+ "args": {},
3789
+ "description": "List all secret keys",
3790
+ "examples": [
3791
+ "$ xano run secrets list\nNAME TYPE REPO\ndocker-registry kubernetes.io/dockerconfigjson ghcr.io\nservice-account kubernetes.io/service-account-token -\n",
3792
+ "$ xano run secrets list -o json\n{ \"secrets\": [{ \"name\": \"docker-registry\", \"type\": \"kubernetes.io/dockerconfigjson\", \"repo\": \"ghcr.io\" }] }\n"
3793
+ ],
3794
+ "flags": {
3795
+ "profile": {
3796
+ "char": "p",
3797
+ "description": "Profile to use for this command",
3798
+ "env": "XANO_PROFILE",
3799
+ "name": "profile",
3800
+ "required": false,
3801
+ "hasDynamicHelp": false,
3802
+ "multiple": false,
3803
+ "type": "option"
3804
+ },
3805
+ "verbose": {
3806
+ "char": "v",
3807
+ "description": "Show detailed request/response information",
3808
+ "env": "XANO_VERBOSE",
3809
+ "name": "verbose",
3810
+ "required": false,
3811
+ "allowNo": false,
3812
+ "type": "boolean"
3813
+ },
3814
+ "output": {
3815
+ "char": "o",
3816
+ "description": "Output format",
3817
+ "name": "output",
3818
+ "required": false,
3819
+ "default": "table",
3820
+ "hasDynamicHelp": false,
3821
+ "multiple": false,
3822
+ "options": [
3823
+ "table",
3824
+ "json"
3825
+ ],
3826
+ "type": "option"
3827
+ }
3828
+ },
3829
+ "hasDynamicHelp": false,
3830
+ "hiddenAliases": [],
3831
+ "id": "run:secrets:list",
3832
+ "pluginAlias": "@xano/cli",
3833
+ "pluginName": "@xano/cli",
3834
+ "pluginType": "core",
3835
+ "strict": true,
3836
+ "isESM": true,
3837
+ "relativePath": [
3838
+ "dist",
3839
+ "commands",
3840
+ "run",
3841
+ "secrets",
3842
+ "list",
3843
+ "index.js"
3844
+ ]
3845
3845
  }
3846
3846
  },
3847
- "version": "0.0.30"
3847
+ "version": "0.0.31"
3848
3848
  }