@metabase/cli 0.1.17 → 0.2.0

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.
Files changed (224) hide show
  1. package/README.md +61 -35
  2. package/dist/{add-collection-C-t9SQBk.mjs → add-collection-BTSGp4f9.mjs} +4 -5
  3. package/dist/add-collection-DlAwt2Z3.mjs +9 -0
  4. package/dist/append-DY1-O789.mjs +42 -0
  5. package/dist/{archive-wNXwIiF0.mjs → archive-BOEEMrYL.mjs} +6 -8
  6. package/dist/{archive-CaoUUTIb.mjs → archive-CJ9rElKn.mjs} +6 -8
  7. package/dist/{archive-DS-KEB4a.mjs → archive-CWtUzlHO.mjs} +5 -7
  8. package/dist/{archive-LG8u7ec5.mjs → archive-DCPw3df6.mjs} +5 -7
  9. package/dist/{archive-D1FX-sbU.mjs → archive-DOa1u1aJ.mjs} +5 -7
  10. package/dist/{archive-C7dnyzVY.mjs → archive-pHsa4dL0.mjs} +8 -9
  11. package/dist/{archive-qSOcACQo.mjs → archive-w6TX-zEk.mjs} +7 -8
  12. package/dist/auth-BrQtY0pO.mjs +22 -0
  13. package/dist/{body-IcJ5kFtk.mjs → body-C1_AaTS4.mjs} +3 -3
  14. package/dist/{branches-BlNCTmFB.mjs → branches-BsBzaGIf.mjs} +5 -7
  15. package/dist/{cancel-BnveTPNw.mjs → cancel-BNM0yyx-.mjs} +4 -6
  16. package/dist/{cancel-task-CSVI8Zgl.mjs → cancel-task-Bggzn4JL.mjs} +5 -7
  17. package/dist/capabilities-DrDJo_ng.mjs +684 -0
  18. package/dist/{card-DEmcRlNO.mjs → card-B8G5jQQT.mjs} +24 -18
  19. package/dist/card-DHCcmpgr.mjs +26 -0
  20. package/dist/{cards-CMgGA8OZ.mjs → cards-D0hvA13L.mjs} +7 -8
  21. package/dist/cli.mjs +175 -29
  22. package/dist/{collection-DrLpA1SO.mjs → collection-CFoLPrY5.mjs} +1 -1
  23. package/dist/collection-D0O9gp3S.mjs +23 -0
  24. package/dist/{collection-namespace-CsaxEqOb.mjs → collection-namespace-DqPNrCdQ.mjs} +2 -2
  25. package/dist/{create-I5Cv-MBa.mjs → create-05rX4oL-.mjs} +11 -12
  26. package/dist/{create-B6LQutd0.mjs → create-BR7x66KW.mjs} +12 -13
  27. package/dist/{create-B79M8YpX.mjs → create-C17Fh1_X.mjs} +9 -10
  28. package/dist/{create-FZOrCw5k.mjs → create-C8ndg3g4.mjs} +28 -21
  29. package/dist/{create-C7u3umLj.mjs → create-CZ9KFnbi.mjs} +8 -9
  30. package/dist/{create-B1xfaZJB.mjs → create-Cii_utzV.mjs} +5 -7
  31. package/dist/{create-SHKlj0z3.mjs → create-Cyv7vHV_.mjs} +8 -9
  32. package/dist/{create-Bg_uMu0p.mjs → create-DKuixGJ2.mjs} +8 -9
  33. package/dist/{create-AeWNv0v-.mjs → create-E6L3WMqV.mjs} +8 -9
  34. package/dist/{create-LHqwcVbS.mjs → create-a3s1S2Dw.mjs} +11 -12
  35. package/dist/{create-branch-CGyT99Ny.mjs → create-branch-Dxn6UnV_.mjs} +5 -7
  36. package/dist/{create-BpkWlgoR.mjs → create-oLb0E-ZP.mjs} +17 -14
  37. package/dist/csv-T6_vlLJS.mjs +58 -0
  38. package/dist/{current-task-C-0hw2Ae.mjs → current-task-DxWbw-bU.mjs} +5 -7
  39. package/dist/{dashboard-DOplbKyQ.mjs → dashboard-B-MTpfeS.mjs} +35 -15
  40. package/dist/dashboard-BpSPoeAn.mjs +35 -0
  41. package/dist/{database-D9fftP-i.mjs → database-CIbVSfua.mjs} +2 -2
  42. package/dist/db-DBRijnh4.mjs +27 -0
  43. package/dist/{delete-tCVrYjKD.mjs → delete--P1xFX37.mjs} +6 -8
  44. package/dist/{delete-Do3nn9sl.mjs → delete-BBOIUl0D.mjs} +6 -8
  45. package/dist/{delete--NYYN6wv.mjs → delete-Ce2EBQYA.mjs} +6 -8
  46. package/dist/{delete-runtime-B0ha5QR4.mjs → delete-runtime-B-8I9V1g.mjs} +2 -3
  47. package/dist/{delete-table-CWSGPw0i.mjs → delete-table-Bj32NsXn.mjs} +6 -8
  48. package/dist/{dependencies-CyFocD8I.mjs → dependencies-ixzjVjUz.mjs} +5 -7
  49. package/dist/{dirty-BXM0YJ_a.mjs → dirty-CH70h5m5.mjs} +5 -7
  50. package/dist/{document-1W7NRaO_.mjs → document-CL4ML5FN.mjs} +20 -4
  51. package/dist/document-dZpuFu3I.mjs +22 -0
  52. package/dist/{eid-p-zn_1RJ.mjs → eid-XjkBbyb_.mjs} +10 -11
  53. package/dist/embedding-CKdw8q7p.mjs +11 -0
  54. package/dist/{export-B_8wghyo.mjs → export-CChMg-mL.mjs} +7 -9
  55. package/dist/field-B1heFeCz.mjs +21 -0
  56. package/dist/{field-CMY_LWUe.mjs → field-DsXTeqBy.mjs} +6 -4
  57. package/dist/{fields-BsufL9kv.mjs → fields-C7h2QwUp.mjs} +6 -8
  58. package/dist/{get-Cl5Ak73C.mjs → get-AvGH_oph.mjs} +8 -9
  59. package/dist/{get-DurjkUKJ.mjs → get-B6ZJCJ8H.mjs} +5 -7
  60. package/dist/{get-68P-L4ja.mjs → get-BWHJDa0B.mjs} +5 -7
  61. package/dist/{get-B67pe00Z.mjs → get-BsyccuCH.mjs} +5 -7
  62. package/dist/{get-C7mq17-2.mjs → get-C98IFgFi.mjs} +5 -7
  63. package/dist/{get-BTKeO4vE.mjs → get-Cj90oyxG.mjs} +5 -7
  64. package/dist/{get-BJoZkATD.mjs → get-D9r2znrn.mjs} +5 -7
  65. package/dist/{get-D3k2JUsa.mjs → get-DRZENkCj.mjs} +5 -7
  66. package/dist/{get-4lufgahL.mjs → get-DWWmpQ87.mjs} +5 -7
  67. package/dist/{get-CPw0ROO4.mjs → get-Dg1J0wxb.mjs} +5 -7
  68. package/dist/{get-B45uYMAs.mjs → get-DrWYvefc.mjs} +7 -8
  69. package/dist/{get-DTqBuIf3.mjs → get-KVN9ANVh.mjs} +4 -6
  70. package/dist/get-RlP_xiUd.mjs +67 -0
  71. package/dist/{get-Df_3LCVC.mjs → get-cyR67Lmq.mjs} +5 -7
  72. package/dist/{get-DeLnNVQE.mjs → get-kqY2lwhO.mjs} +16 -9
  73. package/dist/{get-run-Dq4qfGfD.mjs → get-run-C4C_QQqO.mjs} +5 -7
  74. package/dist/git-sync-JHa7bIyY.mjs +31 -0
  75. package/dist/{group-BNE_RiH5.mjs → group-CILtQqCL.mjs} +2 -1
  76. package/dist/{has-remote-changes-E-4N_O_t.mjs → has-remote-changes-dLUGr0MD.mjs} +5 -7
  77. package/dist/{import-Dg0j3HCP.mjs → import-Byull6jF.mjs} +7 -9
  78. package/dist/{input-7Sj85_K7.mjs → input-m9ctfLxZ.mjs} +6 -3
  79. package/dist/is-dirty-Bb2dfEYs.mjs +8 -0
  80. package/dist/{is-dirty-DWw1yBeR.mjs → is-dirty-CU3ovgdG.mjs} +3 -4
  81. package/dist/{items-CQtt9X4M.mjs → items-CEGDYWuF.mjs} +7 -9
  82. package/dist/{key-bltP32Pm.mjs → key-Ge4VwWvS.mjs} +1 -1
  83. package/dist/{library-B5AvpACG.mjs → library-DHWWa4Tt.mjs} +6 -6
  84. package/dist/{list-BFVuPodI.mjs → list-3z1ZChTG.mjs} +4 -6
  85. package/dist/{list-D3TSAqwl.mjs → list-B9TyELob.mjs} +4 -6
  86. package/dist/{list-BAOTQHst.mjs → list-BFm4iEBt.mjs} +4 -6
  87. package/dist/{list-BKUvhAs4.mjs → list-BliCJAjt.mjs} +4 -6
  88. package/dist/{list-BgUWqZa2.mjs → list-Bpv06V24.mjs} +6 -8
  89. package/dist/{list-DG0FIhTK.mjs → list-Br48kL09.mjs} +4 -6
  90. package/dist/{list-BHAWYZ1z.mjs → list-BtcpNl4-.mjs} +4 -6
  91. package/dist/{list-B1uVWy6A.mjs → list-BuyRG3GB.mjs} +7 -8
  92. package/dist/{list-CvhVYOVl.mjs → list-CMb03cv3.mjs} +5 -7
  93. package/dist/{list-CfqpDTna.mjs → list-CmCJwaGT.mjs} +4 -6
  94. package/dist/{list-C4bALfCs.mjs → list-Cur_72xZ.mjs} +5 -7
  95. package/dist/{list-BF-W4jOZ.mjs → list-D9FY30xH.mjs} +8 -9
  96. package/dist/{list-D5Gdz8hi.mjs → list-DEkPxVZu.mjs} +4 -6
  97. package/dist/{list-C9O2RY5u.mjs → list-O2w5xd1q.mjs} +4 -6
  98. package/dist/{list-KxQNqp4T.mjs → list-th_Ym6Cv.mjs} +6 -8
  99. package/dist/{login-Bt6j6yBM.mjs → login-hKlYsAa1.mjs} +8 -10
  100. package/dist/{logout-ANkL02p0.mjs → logout-DO8GVC6b.mjs} +4 -6
  101. package/dist/measure-R3T20wnB.mjs +25 -0
  102. package/dist/{measure-DoJvtCaA.mjs → measure-S9WszHre.mjs} +5 -4
  103. package/dist/{parameter-values-D4J8Ctu0.mjs → parameter-values-BJb2GuLz.mjs} +7 -9
  104. package/dist/{parse-enum-BL9i_brN.mjs → parse-enum-Cfne2suT.mjs} +1 -1
  105. package/dist/{parse-id-D4LeTUsP.mjs → parse-id-DfY0Lugw.mjs} +1 -1
  106. package/dist/{parse-ref-CB_KvF9h.mjs → parse-ref-C_MsXYI6.mjs} +1 -1
  107. package/dist/{path-5nQgdvrs.mjs → path-DzhQVCH8.mjs} +4 -6
  108. package/dist/{poll-BpAJpvb-.mjs → poll-D1Yg78c3.mjs} +2 -2
  109. package/dist/{poll-task-TilgciQn.mjs → poll-task-DLUZaglY.mjs} +2 -2
  110. package/dist/{preflight-OfHU3Toi.mjs → preflight-Cy2jUSca.mjs} +4 -5
  111. package/dist/{process-j8UHMHc2.mjs → process-D5HN1wpT.mjs} +1 -1
  112. package/dist/{prompt-C85xd9HR.mjs → prompt-ZG9Drin_.mjs} +1 -1
  113. package/dist/{publish-DKiqyDwo.mjs → publish-3hmHoaX-.mjs} +7 -9
  114. package/dist/{query-CQ3xXa9P.mjs → query-DTASj9Zu.mjs} +9 -10
  115. package/dist/{query-BWJ5h1g3.mjs → query-DkZViD_3.mjs} +15 -15
  116. package/dist/{query-result-D6mfoVfQ.mjs → query-result-CbTFdlSf.mjs} +1 -1
  117. package/dist/{remove-collection-CO-aMzTO.mjs → remove-collection-D3wH9H6R.mjs} +7 -9
  118. package/dist/replace-CFzqkZXs.mjs +42 -0
  119. package/dist/requests-KBiY9UYy.mjs +96 -0
  120. package/dist/{rescan-values-DpL6LGAK.mjs → rescan-values-B1WycObS.mjs} +7 -9
  121. package/dist/{resolve-Dj2MTBkn.mjs → resolve-Ct084wx3.mjs} +1 -1
  122. package/dist/{run-DUcdaZs3.mjs → run-B8qEEdC8.mjs} +4 -6
  123. package/dist/{run-QYJ-mAaG.mjs → run-cw0qTEQ7.mjs} +7 -9
  124. package/dist/{runs-DgasTnGd.mjs → runs-BOA4kK_X.mjs} +6 -8
  125. package/dist/{runtime-BJtuxWM8.mjs → runtime-B-c-Fc2i.mjs} +3 -4
  126. package/dist/{schema-tables-ooYjimrV.mjs → schema-tables-DRYzSVcW.mjs} +6 -8
  127. package/dist/{schemas-HjFPzsd-.mjs → schemas-BiMjD25L.mjs} +4 -6
  128. package/dist/{search-vaT5EwhG.mjs → search-DjKxRXO5.mjs} +4 -6
  129. package/dist/{segment-TXktTCfU.mjs → segment-BPb1H6DW.mjs} +6 -5
  130. package/dist/segment-CZkk0g79.mjs +25 -0
  131. package/dist/{selectors-DlmZpo2L.mjs → selectors-B7MJUn3I.mjs} +3 -3
  132. package/dist/{set-active-oZOUe9V7.mjs → set-active-CF868qdW.mjs} +4 -6
  133. package/dist/{set-CLHJauzG.mjs → set-kyoORFG3.mjs} +10 -10
  134. package/dist/setting-BZgjURQ_.mjs +20 -0
  135. package/dist/{setup-D1de5Sbc.mjs → setup-D9joJYPb.mjs} +11 -12
  136. package/dist/{skills-B6gfH0iR.mjs → skills-BqI05u72.mjs} +1 -1
  137. package/dist/{skills-NhgVypJ7.mjs → skills-D8NrJxjp.mjs} +3 -3
  138. package/dist/{snippet-CtA2Pkoa.mjs → snippet-DWiXNy4T.mjs} +7 -4
  139. package/dist/snippet-y_FzKxaQ.mjs +22 -0
  140. package/dist/{stash-DoRwelwY.mjs → stash-BVMerTaF.mjs} +7 -9
  141. package/dist/{status-CmRgHTrV.mjs → status-C-0jFjFn.mjs} +4 -6
  142. package/dist/{status-BpMOlfsA.mjs → status-x8bDOa1i.mjs} +6 -8
  143. package/dist/{summary-BEu7pmpq.mjs → summary-B-R9SdMF.mjs} +5 -7
  144. package/dist/{sync-schema-DTUXubMg.mjs → sync-schema-wne2KXIW.mjs} +9 -11
  145. package/dist/{table-DE3i82T_.mjs → table-C3RIKiYM.mjs} +16 -4
  146. package/dist/table-CS2-2INi.mjs +21 -0
  147. package/dist/transform-6hqM1DXA.mjs +31 -0
  148. package/dist/{transform-DEF38FWe.mjs → transform-JQel7e5H.mjs} +31 -5
  149. package/dist/transform-job-DuERhLaj.mjs +25 -0
  150. package/dist/transform-tag-DaNKreDj.mjs +21 -0
  151. package/dist/{transforms-CWvMpLc9.mjs → transforms-DB2WNP2R.mjs} +5 -7
  152. package/dist/{tree-D18vYSe4.mjs → tree-BIOphGVs.mjs} +4 -6
  153. package/dist/{unpublish-CJbL4ZsC.mjs → unpublish-BWM36ZTg.mjs} +5 -7
  154. package/dist/{update-mr9todHq.mjs → update-6umfSz5t.mjs} +9 -10
  155. package/dist/{update-BjjZIe2W.mjs → update-7Ts7KrB8.mjs} +9 -10
  156. package/dist/{update-Doia9MP_.mjs → update-BCbv880u.mjs} +12 -13
  157. package/dist/{update-CSxwZ2us.mjs → update-BchtHlbH.mjs} +10 -11
  158. package/dist/{update-BvsvyBw9.mjs → update-BiUeEGU-.mjs} +12 -13
  159. package/dist/{update-DhOfrW1j.mjs → update-BlzcZwRQ.mjs} +18 -15
  160. package/dist/{update-Bos8nnv0.mjs → update-CTZg2Lia.mjs} +13 -14
  161. package/dist/{update-DV7IY7IQ.mjs → update-DJDuIhYG.mjs} +9 -10
  162. package/dist/{update-Dxa_6H2A.mjs → update-HxYcvpSq.mjs} +15 -15
  163. package/dist/{update-Ck0Kxv8u.mjs → update-Sz0QRGWB.mjs} +9 -10
  164. package/dist/{update-dashcard-CZUWZhal.mjs → update-dashcard-CfDpy7Lz.mjs} +11 -11
  165. package/dist/{update-7DacwIvi.mjs → update-zfLbmC-H.mjs} +9 -10
  166. package/dist/{upgrade-CBW8V9qZ.mjs → upgrade-BWl0VjMK.mjs} +5 -7
  167. package/dist/upload-CPzOhGeX.mjs +16 -0
  168. package/dist/{uuid-D6JVJ-R1.mjs → uuid-D_YeqDui.mjs} +3 -5
  169. package/dist/{validate-BqNW4Sk1.mjs → validate-clAWO3X-.mjs} +1 -2
  170. package/dist/{validate-query-CcZVKYPV.mjs → validate-query-CsK2_2_u.mjs} +2 -3
  171. package/dist/{values-DBvuGnnA.mjs → values-DSk8ZJ3B.mjs} +5 -7
  172. package/dist/{verify-LIShMNZ2.mjs → verify-DkQdLjf3.mjs} +2 -2
  173. package/dist/{wait-DUHze3_B.mjs → wait-DvSsMjea.mjs} +6 -8
  174. package/dist/{wait-flags-Ybpt98PK.mjs → wait-flags-dXGThljd.mjs} +2 -2
  175. package/package.json +1 -1
  176. package/skill-data/core/SKILL.md +31 -22
  177. package/skill-data/dashboard/SKILL.md +130 -0
  178. package/skill-data/data-workflow/SKILL.md +17 -15
  179. package/skill-data/data-workflow/references/building-clean-tables.md +1 -1
  180. package/skill-data/document/SKILL.md +3 -3
  181. package/skill-data/git-sync/SKILL.md +5 -5
  182. package/skill-data/mbql/SKILL.md +17 -17
  183. package/skill-data/mbql/references/operators.md +4 -3
  184. package/skill-data/metadata/SKILL.md +78 -0
  185. package/skill-data/metadata/references/semantic-types.md +83 -0
  186. package/skill-data/native-sql/SKILL.md +118 -0
  187. package/skill-data/native-sql/references/template-tags.md +178 -0
  188. package/skill-data/transform/SKILL.md +6 -6
  189. package/skill-data/visualization/SKILL.md +3 -3
  190. package/skill-data/visualization/references/settings.md +2 -0
  191. package/dist/add-collection-Dek6kiRI.mjs +0 -11
  192. package/dist/auth-Kv2MRkRk.mjs +0 -22
  193. package/dist/capabilities-N0jo5U7S.mjs +0 -239
  194. package/dist/card-Bp58WEUF.mjs +0 -26
  195. package/dist/collection-D8TI20Ir.mjs +0 -23
  196. package/dist/dashboard-C9pQCnX6.mjs +0 -28
  197. package/dist/db-DWykmBOh.mjs +0 -28
  198. package/dist/document-DNDm8_Py.mjs +0 -22
  199. package/dist/error-5H_tcfL8.mjs +0 -227
  200. package/dist/field-CFt1-KDR.mjs +0 -21
  201. package/dist/get-CDLa6LiC.mjs +0 -50
  202. package/dist/git-sync-ByvjqSiy.mjs +0 -31
  203. package/dist/is-dirty-D7UMN0mt.mjs +0 -10
  204. package/dist/manifest-BVf8P4bl.mjs +0 -126
  205. package/dist/measure-CgFwtL1r.mjs +0 -25
  206. package/dist/metadata-ClehtgZj.mjs +0 -39
  207. package/dist/metadata-DplshwI3.mjs +0 -38
  208. package/dist/notice-DyVl5aYB.mjs +0 -206
  209. package/dist/segment-BPC725mo.mjs +0 -25
  210. package/dist/setting-DHYO-W5g.mjs +0 -20
  211. package/dist/snippet-DtLmHr2J.mjs +0 -22
  212. package/dist/table-B1iBqmNu.mjs +0 -22
  213. package/dist/transform-BuIooRQh.mjs +0 -31
  214. package/dist/transform-job-C3yz0krA.mjs +0 -25
  215. package/dist/transform-tag-CJD6mJUe.mjs +0 -21
  216. /package/dist/{body-flags-DWTTxJpP.mjs → body-flags-CgHgJBRC.mjs} +0 -0
  217. /package/dist/{command-augment-DdZIfx1V.mjs → command-augment-D9pI9Vbh.mjs} +0 -0
  218. /package/dist/{paginate-FVZUxL4J.mjs → paginate-CMqbqhMC.mjs} +0 -0
  219. /package/dist/{parameter-CiJ4CwWE.mjs → parameter-BZ6y-Gfs.mjs} +0 -0
  220. /package/dist/{render-BTKnWL0d.mjs → render-CkuFkWlQ.mjs} +0 -0
  221. /package/dist/{revision-message-flag-CHrJgFFx.mjs → revision-message-flag-CHzX0cqV.mjs} +0 -0
  222. /package/dist/{setting-m46MUtW5.mjs → setting-Cko6bE_w.mjs} +0 -0
  223. /package/dist/{transform-job-CtixL4An.mjs → transform-job-CtVziW85.mjs} +0 -0
  224. /package/dist/{transform-tag-rsIrckCM.mjs → transform-tag-wFiWmiyO.mjs} +0 -0
package/README.md CHANGED
@@ -328,11 +328,11 @@ mb transform-tag delete 5 --yes
328
328
 
329
329
  ## Databases
330
330
 
331
- Read warehouse metadata from `/api/database`. The `db` group exposes the full database list, the per-database record, schema and table inspection, the two manual-sync triggers, and (rarely useful) full-warehouse rollup endpoints.
331
+ Read warehouse metadata from `/api/database`. The `db` group exposes the full database list, the per-database record with optional table/field hydration, schema and table inspection, and the two manual-sync triggers.
332
332
 
333
333
  `db` is aliased to `database`.
334
334
 
335
- > **Agent traversal:** prefer the granular path — `db list` → `db schemas <db-id>` → `db schema-tables <db-id> <schema>` → `table get <table-id> --include fields`. On a real warehouse (dozens of schemas, hundreds of tables, dozens of fields per table) the rollup commands (`db metadata`, `db get --include tables.fields`, `db list --include tables`) return megabytes of JSON and exhaust the agent context. Reach for them only on small/dev warehouses where you know the size up front.
335
+ > **Agent traversal — the hydration ladder:** start with `db get <db-id> --include tables`, the compact table map (id, name, schema, description per table) — one call that fits most databases. Pick the relevant tables, then fetch fields per table with `table fields <table-id>` (bounded: a table has at most a few hundred fields). `--include tables.fields` is the full rollup — small databases only. When output outgrows the `--max-bytes` cap, the error message names the next command down the ladder. On warehouses with hundreds of tables, traverse by schema (`db schemas <db-id>` → `db schema-tables <db-id> <schema>`) or find tables by name (`mb search <term> --models table --db-id <db-id>`).
336
336
 
337
337
  ### `mb db list`
338
338
 
@@ -340,34 +340,26 @@ Read warehouse metadata from `/api/database`. The `db` group exposes the full da
340
340
  mb db list
341
341
  mb db list --json
342
342
  mb db list --saved --json
343
- mb db list --include tables --full --json # rollup: every db with its full table list
343
+ mb db list --include tables --json # every db with its compact table map
344
344
  ```
345
345
 
346
- | Flag | Description |
347
- | ------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
348
- | `--include <which>` | Hydrate related entities. Currently only `tables` is supported (each database is returned with its `tables`). On real warehouses this returns hundreds of table records per db — use the granular traversal instead. |
349
- | `--saved` | Include the Saved Questions virtual database in the list. The virtual db has id `-1337` and no `engine`. |
346
+ | Flag | Description |
347
+ | ------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
348
+ | `--include <which>` | Hydrate related entities. Currently only `tables` is supported (each database is returned with its compact `tables`). To map a single warehouse, prefer `db get <id> --include tables`. |
349
+ | `--saved` | Include the Saved Questions virtual database in the list. The virtual db has id `-1337` and no `engine`. |
350
350
 
351
351
  ### `mb db get <id>`
352
352
 
353
353
  ```sh
354
354
  mb db get 1
355
355
  mb db get 1 --json
356
- mb db get 1 --include tables --full --json # rollup: db + every table (compact)
357
- mb db get 1 --include tables.fields --full --json # rollup: db + every table + every field
356
+ mb db get 1 --include tables --json # + compact table map (fits most databases)
357
+ mb db get 1 --include tables.fields --json # + every field of every table (small databases only)
358
358
  ```
359
359
 
360
- | Flag | Description |
361
- | ------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
362
- | `--include <which>` | Hydrate related entities. One of `tables` or `tables.fields`. `tables.fields` returns every column of every table in the database in one response — only safe on small/dev warehouses. For a real warehouse use `db schemas` → `db schema-tables` → `table get --include fields`. |
363
-
364
- ### `mb db metadata <id>`
365
-
366
- Equivalent to `GET /api/database/:id/metadata`: a single database with all its tables and fields rolled up in one response. This is the largest read in the `db` group — on a real warehouse the response will exceed the agent context. Use only when you know the database is small (a seeded dev instance, a sample db, a freshly-bootstrapped test fixture). For agent-driven introspection on a real warehouse, walk `db schemas` → `db schema-tables` → `table get --include fields` instead.
367
-
368
- ```sh
369
- mb db metadata 1 --json --full --max-bytes 0
370
- ```
360
+ | Flag | Description |
361
+ | ------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
362
+ | `--include <which>` | Hydrate related entities. `tables` is the compact table map — the recommended first call for schema discovery. `tables.fields` is the full rollup and fits only small databases; on anything larger, take the map and fetch fields per table with `table fields <table-id>`, or traverse by schema (see above). |
371
363
 
372
364
  ### `mb db schemas <id>`
373
365
 
@@ -430,7 +422,7 @@ mb table list --db-id 1 --json
430
422
 
431
423
  ### `mb table get <id>`
432
424
 
433
- Returns the basic table record (no fields). Pass `--include fields` to route through `/api/table/:id/query_metadata` so the response carries the table's columns compact-projected as `fields` — this is the default agent path for field introspection. Use `mb table fields <id>` if you only want the fields as a list envelope, or `mb table metadata <id>` when you also need FKs and dimensions hydrated.
425
+ Returns the basic table record (no fields). Pass `--include fields` to route through `/api/table/:id/query_metadata` so the response carries the table's columns compact-projected as `fields` — this is the default agent path for field introspection (the response also carries FK targets and dimensions under `--full`). Use `mb table fields <id>` if you only want the fields as a list envelope.
434
426
 
435
427
  ```sh
436
428
  mb table get 42
@@ -451,14 +443,6 @@ mb table fields 42
451
443
  mb table fields 42 --json
452
444
  ```
453
445
 
454
- ### `mb table metadata <id>`
455
-
456
- `GET /api/table/:id/query_metadata`: the table with its fields, FKs, dimensions, segments, and measures all hydrated. Heavier than `table get --include fields` — reach for it only when you actually need the FK / dimension / segment / measure data.
457
-
458
- ```sh
459
- mb table metadata 42 --json --full --max-bytes 0
460
- ```
461
-
462
446
  ### `mb table update <id>`
463
447
 
464
448
  Patch a table (`PUT /api/table/:id`). Body fields: `display_name`, `description`, `caveats`, `points_of_interest`, `entity_type`, `visibility_type`, `field_order`, `show_in_getting_started`. Pass the body via `--body`, `--file`, or stdin (exactly one).
@@ -508,6 +492,43 @@ mb field update 100 --body '{"description":"customer email","semantic_type":"typ
508
492
  mb field update 100 --file patch.json
509
493
  ```
510
494
 
495
+ ## Upload
496
+
497
+ Load CSV/TSV data into the warehouse via `/api/upload`. Requires an uploads database configured on the server (Admin → Settings → Uploads); the destination db and schema are set there, not per-command. `append`/`replace` target a table created by a prior upload, and the CSV columns must match.
498
+
499
+ ### `mb upload csv`
500
+
501
+ Create a new table plus a model over it from a CSV file. Prints the new model id and table id.
502
+
503
+ ```sh
504
+ mb upload csv --file data.csv
505
+ mb upload csv --file data.csv --collection 5
506
+ mb upload csv --file data.csv --json
507
+ ```
508
+
509
+ | Flag | Description |
510
+ | ------------------- | ---------------------------------------------------------------------- |
511
+ | `--file <path>` | Path to the CSV/TSV file to upload (required). |
512
+ | `--collection <id>` | Target collection id for the created model, or `root` (default: root). |
513
+
514
+ ### `mb upload append <table-id>`
515
+
516
+ Insert a CSV file's rows into an existing uploaded table.
517
+
518
+ ```sh
519
+ mb upload append 42 --file more-rows.csv
520
+ mb upload append 42 --file more-rows.csv --json
521
+ ```
522
+
523
+ ### `mb upload replace <table-id>`
524
+
525
+ Replace an existing uploaded table's contents with a CSV file's rows.
526
+
527
+ ```sh
528
+ mb upload replace 42 --file rows.csv
529
+ mb upload replace 42 --file rows.csv --json
530
+ ```
531
+
511
532
  ## Cards
512
533
 
513
534
  CRUD plus query execution on `/api/card`. A "card" is a Metabase question, model, or metric. The `query` subcommand runs the card and either returns Metabase's JSON envelope or streams a raw CSV / XLSX export.
@@ -1397,7 +1418,7 @@ When the embedded query (`card.dataset_query`, `transform.source.query` for `sou
1397
1418
 
1398
1419
  Pass `--skip-validate` to bypass the pre-flight on any of `card create`, `card update`, `transform create`, `transform update`, `measure create`, `measure update`, `segment create`, or `segment update` — the body is sent as-is and the server is the authority. Same escape hatch as on `mb query`; use only when the bundled schema disagrees with what the server actually accepts.
1399
1420
 
1400
- Agent discovery path: `mb __manifest` lists every command's args and description; the description for `card create`/`update`, `transform create`/`update`, `measure create`/`update`, and `segment create`/`update` references `mb query --print-schema` so an agent can fetch the validating schema directly.
1421
+ Agent discovery path: `mb <command> --help --json` lists a command's args, JSON-body input schema, and output schema; the description for `card create`/`update`, `transform create`/`update`, `measure create`/`update`, and `segment create`/`update` references `mb query --print-schema` so an agent can fetch the validating schema directly.
1401
1422
 
1402
1423
  The bundled query schema is synced from a pinned `@metabase/representations` release via `bun run sync:representations`; CI guards against drift.
1403
1424
 
@@ -1488,7 +1509,7 @@ mb skills path # absolute paths for direct Read
1488
1509
  mb skills path core # one path
1489
1510
  ```
1490
1511
 
1491
- `mb skills get` honors the shared `--max-bytes` list cap. With the default 65 536 cap, `--all` will return only the first skill and emit a truncation notice — pass `--max-bytes 0` to dump every skill in one envelope.
1512
+ `mb skills get` honors the shared `--max-bytes` list cap. With the default 24 576 cap, `--all` will return only the first skill and emit a truncation notice — pass `--max-bytes 0` to dump every skill in one envelope.
1492
1513
 
1493
1514
  Bundled skills:
1494
1515
 
@@ -1525,15 +1546,20 @@ The former `METABASE_`-prefixed names (`METABASE_URL`, `METABASE_API_KEY`, `META
1525
1546
 
1526
1547
  ## Agent integration
1527
1548
 
1528
- ### `mb __manifest`
1549
+ ### `--help --json`
1550
+
1551
+ Every node of the command tree answers `--help --json` with machine-readable help, mirroring what text help shows at that level:
1529
1552
 
1530
- Hidden command that emits a machine-readable JSON manifest of every leaf command — name, description, examples, citty args, and the output Zod schema rendered as JSON Schema. Intended for agents that need typed capability discovery instead of scraping `--help`.
1553
+ - A leaf command emits its full entry — name, description, `details`, examples, citty args with types/defaults/enums, `capabilities` (min server version / token feature), and the input and output Zod schemas rendered as JSON Schema (`inputSchema` is the exact validator `readBody` enforces on the JSON body, `null` for commands that take none).
1554
+ - A command group (and the root) emits a flat `{ commands: [{ command, description }] }` index of every leaf in its subtree, with full-path names.
1531
1555
 
1532
1556
  ```sh
1533
- mb __manifest | jq '.commands[].command'
1557
+ mb --help --json | jq -r '.commands[].command' # every command
1558
+ mb card query --help --json | jq .outputSchema # one command's output schema
1559
+ mb card create --help --json | jq .inputSchema # the JSON-body contract it validates
1534
1560
  ```
1535
1561
 
1536
- The manifest schema (`Manifest`) is exported from `src/runtime/manifest.ts`.
1562
+ The entry and index schemas (`CommandHelpEntry`, `CommandHelpIndex`) are exported from `src/runtime/command-help.ts`.
1537
1563
 
1538
1564
  ## Exit codes
1539
1565
 
@@ -1,8 +1,7 @@
1
- import { connectionFlags, outputFlags, profileFlag } from "./error-5H_tcfL8.mjs";
2
- import { defineMetabaseCommand } from "./runtime-BJtuxWM8.mjs";
3
- import { renderSummary } from "./capabilities-N0jo5U7S.mjs";
4
- import { parseId } from "./parse-id-D4LeTUsP.mjs";
5
- import { REMOTE_SYNC_PATHS } from "./poll-task-TilgciQn.mjs";
1
+ import { connectionFlags, outputFlags, profileFlag, renderSummary } from "./capabilities-DrDJo_ng.mjs";
2
+ import { defineMetabaseCommand } from "./runtime-B-c-Fc2i.mjs";
3
+ import { parseId } from "./parse-id-DfY0Lugw.mjs";
4
+ import { REMOTE_SYNC_PATHS } from "./poll-task-DLUZaglY.mjs";
6
5
  import { z } from "zod";
7
6
 
8
7
  //#region src/commands/git-sync/add-collection.ts
@@ -0,0 +1,9 @@
1
+ import "./capabilities-DrDJo_ng.mjs";
2
+ import "./command-augment-D9pI9Vbh.mjs";
3
+ import "./runtime-B-c-Fc2i.mjs";
4
+ import "./parse-id-DfY0Lugw.mjs";
5
+ import "./poll-D1Yg78c3.mjs";
6
+ import "./poll-task-DLUZaglY.mjs";
7
+ import { SyncSettingsUpdateResult, add_collection_default, setCollectionRemoteSynced, syncSettingsUpdateView } from "./add-collection-BTSGp4f9.mjs";
8
+
9
+ export { add_collection_default as default };
@@ -0,0 +1,42 @@
1
+ import { connectionFlags, outputFlags, profileFlag, renderSummary } from "./capabilities-DrDJo_ng.mjs";
2
+ import "./command-augment-D9pI9Vbh.mjs";
3
+ import { defineMetabaseCommand } from "./runtime-B-c-Fc2i.mjs";
4
+ import "./input-m9ctfLxZ.mjs";
5
+ import { parseId } from "./parse-id-DfY0Lugw.mjs";
6
+ import { UploadUpdateResult, readCsvFile, requireUploadFilePath, updateTableFromCsv, uploadUpdateResultView } from "./requests-KBiY9UYy.mjs";
7
+
8
+ //#region src/commands/upload/append.ts
9
+ var append_default = defineMetabaseCommand({
10
+ meta: {
11
+ name: "append",
12
+ description: "Append a CSV file's rows to an existing uploaded table"
13
+ },
14
+ details: "Inserts the rows of the CSV into the table with the given id. The table must have been created by a CSV upload and the CSV columns must match.",
15
+ capabilities: { minVersion: 58 },
16
+ args: {
17
+ ...outputFlags,
18
+ ...profileFlag,
19
+ ...connectionFlags,
20
+ file: {
21
+ type: "string",
22
+ description: "Path to the CSV/TSV file to upload"
23
+ },
24
+ id: {
25
+ type: "positional",
26
+ description: "Target table id",
27
+ required: true
28
+ }
29
+ },
30
+ outputSchema: UploadUpdateResult,
31
+ examples: ["mb upload append 42 --file more-rows.csv", "mb upload append 42 --file more-rows.csv --json"],
32
+ async run({ args, ctx, getClient }) {
33
+ const id = parseId(args.id);
34
+ const file = await readCsvFile(requireUploadFilePath(args.file));
35
+ const client = await getClient();
36
+ const result = await updateTableFromCsv(client, id, "append", file);
37
+ renderSummary(result, uploadUpdateResultView, `Appended "${file.filename}" into table ${id}.`, ctx);
38
+ }
39
+ });
40
+
41
+ //#endregion
42
+ export { append_default as default };
@@ -1,11 +1,9 @@
1
- import "./notice-DyVl5aYB.mjs";
2
- import { connectionFlags, outputFlags, profileFlag } from "./error-5H_tcfL8.mjs";
3
- import "./command-augment-DdZIfx1V.mjs";
4
- import { defineMetabaseCommand } from "./runtime-BJtuxWM8.mjs";
5
- import { renderSummary } from "./capabilities-N0jo5U7S.mjs";
6
- import { parseId } from "./parse-id-D4LeTUsP.mjs";
7
- import { Measure, measureView } from "./measure-DoJvtCaA.mjs";
8
- import { revisionMessageFlag } from "./revision-message-flag-CHrJgFFx.mjs";
1
+ import { connectionFlags, outputFlags, profileFlag, renderSummary } from "./capabilities-DrDJo_ng.mjs";
2
+ import "./command-augment-D9pI9Vbh.mjs";
3
+ import { defineMetabaseCommand } from "./runtime-B-c-Fc2i.mjs";
4
+ import { parseId } from "./parse-id-DfY0Lugw.mjs";
5
+ import { Measure, measureView } from "./measure-S9WszHre.mjs";
6
+ import { revisionMessageFlag } from "./revision-message-flag-CHzX0cqV.mjs";
9
7
 
10
8
  //#region src/commands/measure/archive.ts
11
9
  var archive_default = defineMetabaseCommand({
@@ -1,11 +1,9 @@
1
- import "./notice-DyVl5aYB.mjs";
2
- import { connectionFlags, outputFlags, profileFlag } from "./error-5H_tcfL8.mjs";
3
- import "./command-augment-DdZIfx1V.mjs";
4
- import { defineMetabaseCommand } from "./runtime-BJtuxWM8.mjs";
5
- import { renderSummary } from "./capabilities-N0jo5U7S.mjs";
6
- import { parseId } from "./parse-id-D4LeTUsP.mjs";
7
- import { revisionMessageFlag } from "./revision-message-flag-CHrJgFFx.mjs";
8
- import { Segment, segmentView } from "./segment-TXktTCfU.mjs";
1
+ import { connectionFlags, outputFlags, profileFlag, renderSummary } from "./capabilities-DrDJo_ng.mjs";
2
+ import "./command-augment-D9pI9Vbh.mjs";
3
+ import { defineMetabaseCommand } from "./runtime-B-c-Fc2i.mjs";
4
+ import { parseId } from "./parse-id-DfY0Lugw.mjs";
5
+ import { revisionMessageFlag } from "./revision-message-flag-CHzX0cqV.mjs";
6
+ import { Segment, segmentView } from "./segment-BPb1H6DW.mjs";
9
7
 
10
8
  //#region src/commands/segment/archive.ts
11
9
  var archive_default = defineMetabaseCommand({
@@ -1,10 +1,8 @@
1
- import "./notice-DyVl5aYB.mjs";
2
- import { connectionFlags, outputFlags, profileFlag } from "./error-5H_tcfL8.mjs";
3
- import "./command-augment-DdZIfx1V.mjs";
4
- import { defineMetabaseCommand } from "./runtime-BJtuxWM8.mjs";
5
- import { renderSummary } from "./capabilities-N0jo5U7S.mjs";
6
- import { parseId } from "./parse-id-D4LeTUsP.mjs";
7
- import { Collection, collectionView } from "./collection-DrLpA1SO.mjs";
1
+ import { connectionFlags, outputFlags, profileFlag, renderSummary } from "./capabilities-DrDJo_ng.mjs";
2
+ import "./command-augment-D9pI9Vbh.mjs";
3
+ import { defineMetabaseCommand } from "./runtime-B-c-Fc2i.mjs";
4
+ import { parseId } from "./parse-id-DfY0Lugw.mjs";
5
+ import { Collection, collectionView } from "./collection-CFoLPrY5.mjs";
8
6
 
9
7
  //#region src/commands/collection/archive.ts
10
8
  var archive_default = defineMetabaseCommand({
@@ -1,10 +1,8 @@
1
- import "./notice-DyVl5aYB.mjs";
2
- import { connectionFlags, outputFlags, profileFlag } from "./error-5H_tcfL8.mjs";
3
- import "./command-augment-DdZIfx1V.mjs";
4
- import { defineMetabaseCommand } from "./runtime-BJtuxWM8.mjs";
5
- import { renderSummary } from "./capabilities-N0jo5U7S.mjs";
6
- import { parseId } from "./parse-id-D4LeTUsP.mjs";
7
- import { Document, documentView } from "./document-1W7NRaO_.mjs";
1
+ import { connectionFlags, outputFlags, profileFlag, renderSummary } from "./capabilities-DrDJo_ng.mjs";
2
+ import "./command-augment-D9pI9Vbh.mjs";
3
+ import { defineMetabaseCommand } from "./runtime-B-c-Fc2i.mjs";
4
+ import { parseId } from "./parse-id-DfY0Lugw.mjs";
5
+ import { Document, documentView } from "./document-CL4ML5FN.mjs";
8
6
 
9
7
  //#region src/commands/document/archive.ts
10
8
  var archive_default = defineMetabaseCommand({
@@ -1,10 +1,8 @@
1
- import "./notice-DyVl5aYB.mjs";
2
- import { connectionFlags, outputFlags, profileFlag } from "./error-5H_tcfL8.mjs";
3
- import "./command-augment-DdZIfx1V.mjs";
4
- import { defineMetabaseCommand } from "./runtime-BJtuxWM8.mjs";
5
- import { renderSummary } from "./capabilities-N0jo5U7S.mjs";
6
- import { parseId } from "./parse-id-D4LeTUsP.mjs";
7
- import { Snippet, snippetView } from "./snippet-CtA2Pkoa.mjs";
1
+ import { connectionFlags, outputFlags, profileFlag, renderSummary } from "./capabilities-DrDJo_ng.mjs";
2
+ import "./command-augment-D9pI9Vbh.mjs";
3
+ import { defineMetabaseCommand } from "./runtime-B-c-Fc2i.mjs";
4
+ import { parseId } from "./parse-id-DfY0Lugw.mjs";
5
+ import { Snippet, snippetView } from "./snippet-DWiXNy4T.mjs";
8
6
 
9
7
  //#region src/commands/snippet/archive.ts
10
8
  var archive_default = defineMetabaseCommand({
@@ -1,12 +1,11 @@
1
- import "./notice-DyVl5aYB.mjs";
2
- import { connectionFlags, outputFlags, profileFlag } from "./error-5H_tcfL8.mjs";
3
- import "./command-augment-DdZIfx1V.mjs";
4
- import { defineMetabaseCommand } from "./runtime-BJtuxWM8.mjs";
5
- import { renderSummary } from "./capabilities-N0jo5U7S.mjs";
6
- import "./field-CMY_LWUe.mjs";
7
- import "./parameter-CiJ4CwWE.mjs";
8
- import { Card, cardView } from "./card-DEmcRlNO.mjs";
9
- import { parseId } from "./parse-id-D4LeTUsP.mjs";
1
+ import { connectionFlags, outputFlags, profileFlag, renderSummary } from "./capabilities-DrDJo_ng.mjs";
2
+ import "./command-augment-D9pI9Vbh.mjs";
3
+ import { defineMetabaseCommand } from "./runtime-B-c-Fc2i.mjs";
4
+ import "./embedding-CKdw8q7p.mjs";
5
+ import "./field-DsXTeqBy.mjs";
6
+ import "./parameter-BZ6y-Gfs.mjs";
7
+ import { Card, cardView } from "./card-B8G5jQQT.mjs";
8
+ import { parseId } from "./parse-id-DfY0Lugw.mjs";
10
9
 
11
10
  //#region src/commands/card/archive.ts
12
11
  var archive_default = defineMetabaseCommand({
@@ -1,11 +1,10 @@
1
- import "./notice-DyVl5aYB.mjs";
2
- import { connectionFlags, outputFlags, profileFlag } from "./error-5H_tcfL8.mjs";
3
- import "./command-augment-DdZIfx1V.mjs";
4
- import { defineMetabaseCommand } from "./runtime-BJtuxWM8.mjs";
5
- import { renderSummary } from "./capabilities-N0jo5U7S.mjs";
6
- import "./parameter-CiJ4CwWE.mjs";
7
- import { parseId } from "./parse-id-D4LeTUsP.mjs";
8
- import { Dashboard, dashboardView } from "./dashboard-DOplbKyQ.mjs";
1
+ import { connectionFlags, outputFlags, profileFlag, renderSummary } from "./capabilities-DrDJo_ng.mjs";
2
+ import "./command-augment-D9pI9Vbh.mjs";
3
+ import { defineMetabaseCommand } from "./runtime-B-c-Fc2i.mjs";
4
+ import "./embedding-CKdw8q7p.mjs";
5
+ import "./parameter-BZ6y-Gfs.mjs";
6
+ import { parseId } from "./parse-id-DfY0Lugw.mjs";
7
+ import { Dashboard, dashboardView } from "./dashboard-B-MTpfeS.mjs";
9
8
 
10
9
  //#region src/commands/dashboard/archive.ts
11
10
  var archive_default = defineMetabaseCommand({
@@ -0,0 +1,22 @@
1
+ import "./command-augment-D9pI9Vbh.mjs";
2
+ import { defineCommandGroup } from "./group-CILtQqCL.mjs";
3
+
4
+ //#region src/commands/auth/index.ts
5
+ var auth_default = defineCommandGroup({
6
+ name: "auth",
7
+ description: "Authenticate against a Metabase instance",
8
+ defaultCommand: "login",
9
+ skills: [{
10
+ skill: "core",
11
+ purpose: "authentication and named profiles"
12
+ }],
13
+ subCommands: {
14
+ login: () => import("./login-hKlYsAa1.mjs").then((m) => m.default),
15
+ status: () => import("./status-C-0jFjFn.mjs").then((m) => m.default),
16
+ list: () => import("./list-CMb03cv3.mjs").then((m) => m.default),
17
+ logout: () => import("./logout-DO8GVC6b.mjs").then((m) => m.default)
18
+ }
19
+ });
20
+
21
+ //#endregion
22
+ export { auth_default as default };
@@ -1,6 +1,6 @@
1
- import { ConfigError } from "./notice-DyVl5aYB.mjs";
2
- import { parseJson } from "./runtime-BJtuxWM8.mjs";
3
- import { DEFAULT_FLAG_NAME, readInput } from "./input-7Sj85_K7.mjs";
1
+ import { ConfigError } from "./capabilities-DrDJo_ng.mjs";
2
+ import { parseJson } from "./runtime-B-c-Fc2i.mjs";
3
+ import { DEFAULT_FLAG_NAME, readInput } from "./input-m9ctfLxZ.mjs";
4
4
 
5
5
  //#region src/runtime/body.ts
6
6
  async function readBody(sources, schema) {
@@ -1,10 +1,8 @@
1
- import "./notice-DyVl5aYB.mjs";
2
- import { connectionFlags, listEnvelopeSchema, outputFlags, profileFlag, wrapList } from "./error-5H_tcfL8.mjs";
3
- import "./command-augment-DdZIfx1V.mjs";
4
- import { defineMetabaseCommand } from "./runtime-BJtuxWM8.mjs";
5
- import { renderList } from "./capabilities-N0jo5U7S.mjs";
6
- import "./poll-BpAJpvb-.mjs";
7
- import { REMOTE_SYNC_PATHS } from "./poll-task-TilgciQn.mjs";
1
+ import { connectionFlags, listEnvelopeSchema, outputFlags, profileFlag, renderList, wrapList } from "./capabilities-DrDJo_ng.mjs";
2
+ import "./command-augment-D9pI9Vbh.mjs";
3
+ import { defineMetabaseCommand } from "./runtime-B-c-Fc2i.mjs";
4
+ import "./poll-D1Yg78c3.mjs";
5
+ import { REMOTE_SYNC_PATHS } from "./poll-task-DLUZaglY.mjs";
8
6
  import { z } from "zod";
9
7
 
10
8
  //#region src/commands/git-sync/branches.ts
@@ -1,9 +1,7 @@
1
- import "./notice-DyVl5aYB.mjs";
2
- import { connectionFlags, outputFlags, profileFlag } from "./error-5H_tcfL8.mjs";
3
- import "./command-augment-DdZIfx1V.mjs";
4
- import { defineMetabaseCommand } from "./runtime-BJtuxWM8.mjs";
5
- import { renderSummary } from "./capabilities-N0jo5U7S.mjs";
6
- import { parseId } from "./parse-id-D4LeTUsP.mjs";
1
+ import { connectionFlags, outputFlags, profileFlag, renderSummary } from "./capabilities-DrDJo_ng.mjs";
2
+ import "./command-augment-D9pI9Vbh.mjs";
3
+ import { defineMetabaseCommand } from "./runtime-B-c-Fc2i.mjs";
4
+ import { parseId } from "./parse-id-DfY0Lugw.mjs";
7
5
  import { z } from "zod";
8
6
 
9
7
  //#region src/commands/transform/cancel.ts
@@ -1,10 +1,8 @@
1
- import "./notice-DyVl5aYB.mjs";
2
- import { connectionFlags, outputFlags, profileFlag } from "./error-5H_tcfL8.mjs";
3
- import "./command-augment-DdZIfx1V.mjs";
4
- import { defineMetabaseCommand } from "./runtime-BJtuxWM8.mjs";
5
- import { renderSummary } from "./capabilities-N0jo5U7S.mjs";
6
- import "./poll-BpAJpvb-.mjs";
7
- import { REMOTE_SYNC_PATHS, SyncTask, syncTaskView } from "./poll-task-TilgciQn.mjs";
1
+ import { connectionFlags, outputFlags, profileFlag, renderSummary } from "./capabilities-DrDJo_ng.mjs";
2
+ import "./command-augment-D9pI9Vbh.mjs";
3
+ import { defineMetabaseCommand } from "./runtime-B-c-Fc2i.mjs";
4
+ import "./poll-D1Yg78c3.mjs";
5
+ import { REMOTE_SYNC_PATHS, SyncTask, syncTaskView } from "./poll-task-DLUZaglY.mjs";
8
6
 
9
7
  //#region src/commands/git-sync/cancel-task.ts
10
8
  var cancel_task_default = defineMetabaseCommand({