@metabase/cli 0.3.1-alpha.support-worktrees.b634907 → 0.3.1-alpha.transform-tests.c0bc2d1

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 (249) hide show
  1. package/dist/{add-collection-CxzzDG4z.mjs → add-collection-CVDgC7C6.mjs} +5 -6
  2. package/dist/{alert-CQ7Az16h.mjs → alert-Co9m8k5l.mjs} +7 -7
  3. package/dist/{alerts-DmwyyBfW.mjs → alerts-DjZGGxOy.mjs} +6 -7
  4. package/dist/{append-B0avMkvW.mjs → append-BXqeNFzW.mjs} +3 -4
  5. package/dist/{archive-CMTHh4-w.mjs → archive-Bhk1IqGH.mjs} +3 -4
  6. package/dist/archive-CH9osnGq.mjs +32 -0
  7. package/dist/{archive-BQ50OZ7y.mjs → archive-CUGpIXDT.mjs} +3 -4
  8. package/dist/{archive-THcEfy9B.mjs → archive-CXYUkzZo.mjs} +4 -5
  9. package/dist/{archive-Cvrkz8F8.mjs → archive-Cchi-tqq.mjs} +4 -5
  10. package/dist/{archive-BPSNe0Ul.mjs → archive-Csku9zDp.mjs} +3 -4
  11. package/dist/{archive-BZEu6UfT.mjs → archive-CzcjKpUC.mjs} +5 -6
  12. package/dist/archive-D1xZRRRA.mjs +32 -0
  13. package/dist/{archive-DCyeRNfV.mjs → archive-DvV3oLCg.mjs} +3 -4
  14. package/dist/{archive-DFofUIEC.mjs → archive-I61vFPxv.mjs} +3 -4
  15. package/dist/{archive-BVblae-p.mjs → archive-pA5UZn1f.mjs} +3 -4
  16. package/dist/{auth-BEEkuu4J.mjs → auth-BKgMIAKH.mjs} +5 -5
  17. package/dist/{branches-CmWc8NyL.mjs → branches-B96keFsO.mjs} +3 -4
  18. package/dist/{cancel-DrQqmxvn.mjs → cancel-6GPBlUkr.mjs} +3 -4
  19. package/dist/cancel-task-BIGAgcKk.mjs +28 -0
  20. package/dist/{card-CrBGUkGQ.mjs → card-DZxRmver.mjs} +0 -1
  21. package/dist/card-zluRR7xD.mjs +24 -0
  22. package/dist/{card-BEeafd4Y.mjs → card-zyUkr2nS.mjs} +1 -1
  23. package/dist/{cards-M_6X8wCI.mjs → cards-DY6Togtl.mjs} +4 -5
  24. package/dist/cli.mjs +48 -142
  25. package/dist/{client-DYD8WZYy.mjs → client-C9HBWl6A.mjs} +129 -207
  26. package/dist/{collection-CJHqsFKP.mjs → collection-CGoVLvcD.mjs} +1 -1
  27. package/dist/{collection-BxE7OzcQ.mjs → collection-CfulNRBG.mjs} +3 -6
  28. package/dist/collection-CrIkQWUK.mjs +20 -0
  29. package/dist/{content-translation-C8MlXPOF.mjs → content-translation-Cg_VW3kW.mjs} +3 -3
  30. package/dist/{create-BqpkCjx4.mjs → create-BeNQQTPt.mjs} +2 -3
  31. package/dist/{create-BA_tTDEk.mjs → create-BkIoWkzP.mjs} +3 -4
  32. package/dist/{create-CJ7Am4Gc.mjs → create-BpjBffBq.mjs} +3 -4
  33. package/dist/create-BsDJATJM.mjs +34 -0
  34. package/dist/{create-CY-SzM66.mjs → create-BuWV1GpI2.mjs} +9 -14
  35. package/dist/{create-D0anrINz.mjs → create-BxWMTy6i.mjs} +8 -13
  36. package/dist/{create-ldrghMd1.mjs → create-CK5MABYu.mjs} +2 -3
  37. package/dist/{create-ByuJ6T4k.mjs → create-CaDAT54M.mjs} +5 -6
  38. package/dist/{create-z-oMrlfT.mjs → create-D_pNL2X9.mjs} +4 -5
  39. package/dist/{create-BLWwN0uw.mjs → create-DqCdW3tt.mjs} +3 -4
  40. package/dist/{create-BupBEwR2.mjs → create-JZevXtCI.mjs} +6 -11
  41. package/dist/{create-hTc131aX.mjs → create-V2Bdeu8p.mjs} +2 -3
  42. package/dist/{create-CoubLR5o.mjs → create-bH-qAv03.mjs} +3 -4
  43. package/dist/create-branch-DN9PrlRR.mjs +35 -0
  44. package/dist/{create-C7iooS6W.mjs → create-cHltWf0e.mjs} +7 -13
  45. package/dist/{create-myI6doga.mjs → create-cSpqEzKH.mjs} +3 -4
  46. package/dist/{create-C2XFfbjx.mjs → create-mzHtey5k.mjs} +2 -3
  47. package/dist/{csv-DBNzJiWK.mjs → csv-CVKLuIuS.mjs} +3 -4
  48. package/dist/{current-task-YzemU0Ic.mjs → current-task-Dnm3JaWg.mjs} +7 -12
  49. package/dist/{dashboard-B1mpfCq_.mjs → dashboard-SxUrG3Cg.mjs} +10 -10
  50. package/dist/{db-1tLH3nYI.mjs → db-BnhuXAP9.mjs} +7 -7
  51. package/dist/{delete-CpKH5ia4.mjs → delete-6lroLZIE.mjs} +4 -5
  52. package/dist/{delete-DjAUp9mk.mjs → delete-BClvnlBc.mjs} +4 -5
  53. package/dist/delete-C3xeqTzS.mjs +44 -0
  54. package/dist/{delete-eAUB7p-f.mjs → delete-CH0FsDBg.mjs} +5 -10
  55. package/dist/{delete-CD_-B4Kq.mjs → delete-DDVNawxh.mjs} +4 -5
  56. package/dist/{delete-QNgBV6eS.mjs → delete-Dn6VJuyR.mjs} +5 -10
  57. package/dist/{delete-runtime-b2_ZMSjj.mjs → delete-runtime-D74s6vhu.mjs} +1 -1
  58. package/dist/{delete-table-DamlxnSO.mjs → delete-table-C6LPzUDg.mjs} +5 -10
  59. package/dist/dependencies-vr51EFIu.mjs +36 -0
  60. package/dist/dirty-W0PzG3Yt.mjs +31 -0
  61. package/dist/document-B1w9aIq7.mjs +19 -0
  62. package/dist/{download-C4v7u-AV.mjs → download-B-l6ajeo.mjs} +2 -3
  63. package/dist/{eid-CP35PdEF.mjs → eid-BGl_X67N.mjs} +2 -3
  64. package/dist/{events-DmbzKIh_.mjs → events-BRRnroJb.mjs} +4 -5
  65. package/dist/{export-i8D6laBG.mjs → export-DEPLFq_E.mjs} +12 -25
  66. package/dist/{field-BKn9bt7I.mjs → field-BXaUzJvx.mjs} +5 -5
  67. package/dist/{fields-8_p81BqN.mjs → fields-LFMSMV5Z.mjs} +4 -5
  68. package/dist/{get-BvW21ujw.mjs → get-7-OiP8ma.mjs} +3 -4
  69. package/dist/{get-vvs0qzzM.mjs → get-B6lWlGeD.mjs} +3 -4
  70. package/dist/get-BM7MA5-7.mjs +31 -0
  71. package/dist/{get-CNEQK0-9.mjs → get-BUiHdwdU.mjs} +4 -5
  72. package/dist/{get-BHGgXqUq.mjs → get-BempHTsm.mjs} +3 -4
  73. package/dist/{get-CAzSP-7o.mjs → get-Bjvu5GM7.mjs} +3 -4
  74. package/dist/{get-vrccOMBk.mjs → get-BvI5QqjY.mjs} +3 -4
  75. package/dist/{get-BBOfshz1.mjs → get-C2DWxXYb.mjs} +3 -4
  76. package/dist/get-CapP9GiI.mjs +32 -0
  77. package/dist/{get-N4dOaTsp.mjs → get-Cjx_5Zm-.mjs} +4 -5
  78. package/dist/{get-DFkbi5L3.mjs → get-DAsSPKxF.mjs} +2 -3
  79. package/dist/{get-DnCE7K0y.mjs → get-DCHhq5Qv.mjs} +4 -5
  80. package/dist/get-DCf0O3GJ.mjs +31 -0
  81. package/dist/{get-CPTbySa7.mjs → get-DhxE02Ia.mjs} +3 -4
  82. package/dist/get-DiRtfImy.mjs +36 -0
  83. package/dist/{get-Bds6Izxk.mjs → get-DlQHyv4D.mjs} +3 -4
  84. package/dist/{get-DvLuY5Xu.mjs → get-Du11BNRd.mjs} +9 -17
  85. package/dist/{get-B0g6VMBC.mjs → get-DvCgLmPW.mjs} +3 -4
  86. package/dist/{get-BbHPFNqr.mjs → get-M3zgKoZr.mjs} +3 -4
  87. package/dist/{get-CWf46UFu.mjs → get-XcSH5Zyz.mjs} +5 -6
  88. package/dist/{get-run-4Ng8_awa.mjs → get-run-UJmyRo7H.mjs} +5 -6
  89. package/dist/{git-sync-DLzJrdMi.mjs → git-sync-BDnxPrqU.mjs} +3 -22
  90. package/dist/git-sync-DM5Nuv3a.mjs +28 -0
  91. package/dist/{git-sync-LQIVMNxO.mjs → git-sync-DxD_ng48.mjs} +2 -31
  92. package/dist/{group-YN6jj2AN.mjs → group-DBM87IgC.mjs} +2 -3
  93. package/dist/{has-remote-changes-BXPGI9xG.mjs → has-remote-changes-DmhFpgJe.mjs} +6 -14
  94. package/dist/{import-BoxOkA-G.mjs → import-BRC0TzWQ.mjs} +11 -28
  95. package/dist/{is-dirty-Cwxq4_gd.mjs → is-dirty-CT9e5vSd.mjs} +6 -15
  96. package/dist/{items-Cv6iAzrI.mjs → items-BSAEWZlw.mjs} +9 -17
  97. package/dist/{library-Cfw6eF35.mjs → library-ClLgrAXy.mjs} +1 -1
  98. package/dist/{library-fhVn1KDC.mjs → library-DfYAT2Ep.mjs} +1 -1
  99. package/dist/{library-CRaOhJnj.mjs → library-Zxh_MRVL.mjs} +5 -5
  100. package/dist/list-08dyODsP.mjs +36 -0
  101. package/dist/{list-C8J3n8B8.mjs → list-BOUmEn2X.mjs} +3 -4
  102. package/dist/{list--2T-GUEF.mjs → list-BZbC260R.mjs} +4 -5
  103. package/dist/{list-9uvk9dIA.mjs → list-BxCk3QTy.mjs} +3 -4
  104. package/dist/{list-BLJkJp5a.mjs → list-C3IRtLP6.mjs} +3 -4
  105. package/dist/list-CAalCea_.mjs +28 -0
  106. package/dist/{list-DhrapAcy.mjs → list-CleMHJBY.mjs} +3 -4
  107. package/dist/list-D6qH2PUE.mjs +38 -0
  108. package/dist/{list-oAAgU5uE.mjs → list-D9RmPIEJ.mjs} +9 -16
  109. package/dist/{list-DOaWCx8S.mjs → list-DCA0T8bS.mjs} +8 -17
  110. package/dist/{list-L2U1l6R4.mjs → list-DCBLu0KG.mjs} +3 -4
  111. package/dist/list-DDFk1IFP.mjs +35 -0
  112. package/dist/{list-WSJLnunb.mjs → list-DGLK2lso.mjs} +3 -4
  113. package/dist/{list-BwkfWtP2.mjs → list-DYlphSxV.mjs} +3 -4
  114. package/dist/{list-DOZNpX4b.mjs → list-De0ebgzc.mjs} +4 -5
  115. package/dist/{list-tutXEQRW.mjs → list-Dqyd2TZI.mjs} +4 -5
  116. package/dist/list-Drm6l_tt.mjs +28 -0
  117. package/dist/{list-BBp9XjYs.mjs → list-QFieRzSf.mjs} +3 -4
  118. package/dist/{list-CtZAu4im.mjs → list-kIMBSzS-.mjs} +4 -5
  119. package/dist/{login-DqWRF3Og.mjs → login-DDHEyjWz.mjs} +4 -5
  120. package/dist/{logout-ChCz1bkf.mjs → logout-BbB0vvQN.mjs} +2 -3
  121. package/dist/{measure-C5dIdFj1.mjs → measure-CGuwA0KX.mjs} +6 -6
  122. package/dist/{notification-DVrLkjFT.mjs → notification-Fcq1fIPw.mjs} +1 -1
  123. package/dist/{parameter-values-Dy4cBs5y.mjs → parameter-values-CI6-CkB7.mjs} +3 -4
  124. package/dist/{parse-id-DDCn3VXx.mjs → parse-id-CdZ0-1TM.mjs} +1 -1
  125. package/dist/{parse-ref-Wv21Roup.mjs → parse-ref-ibKVB0J4.mjs} +2 -6
  126. package/dist/{path-IYhuzjQV.mjs → path-Df2itv7t.mjs} +4 -5
  127. package/dist/{preflight-HLUVr2Yf.mjs → preflight-CoF1Em99.mjs} +1 -1
  128. package/dist/{publish-CMkCSt8i.mjs → publish-xUBySB1T.mjs} +4 -5
  129. package/dist/{pulse-a-83M4DV.mjs → pulse-DhG6I9mI.mjs} +1 -1
  130. package/dist/{query-tWQAV9pb.mjs → query-BkZvffIM.mjs} +6 -7
  131. package/dist/{query-Bka77J62.mjs → query-CmkC8sfu.mjs} +6 -7
  132. package/dist/{query-result-E4Q-Gra6.mjs → query-result-DBDwk8TS.mjs} +1 -1
  133. package/dist/{remove-collection-BV9wRQZD.mjs → remove-collection-DFfmuTwD.mjs} +5 -6
  134. package/dist/{render-DHjCcUXn.mjs → render-CI93iP0I.mjs} +1 -7
  135. package/dist/{replace-mt47dlRV.mjs → replace-DjoDBCLa.mjs} +3 -4
  136. package/dist/{rescan-values-6cRjcpTs.mjs → rescan-values-Ca2Wa0A2.mjs} +3 -4
  137. package/dist/{run-DI_pDxji.mjs → run-BCYATTjE.mjs} +5 -6
  138. package/dist/run-B_-pMw67.mjs +50 -0
  139. package/dist/{run-BmGmC-GQ.mjs → run-CP-chc5O.mjs} +3 -4
  140. package/dist/{runs-9Fu0mug5.mjs → runs-B0ypYKmn.mjs} +6 -7
  141. package/dist/{runtime-CNAZ_FuR.mjs → runtime-CJUDVwBu.mjs} +8 -103
  142. package/dist/{schema-tables-CLG0mtQb.mjs → schema-tables-Nl83e2Zm.mjs} +4 -5
  143. package/dist/{schemas-Cm5NWy59.mjs → schemas-Cp29qgn0.mjs} +4 -5
  144. package/dist/{search-CljYyf2F.mjs → search-BbktlnDC.mjs} +8 -14
  145. package/dist/{segment-IRzlQggt.mjs → segment-BHBoMpL9.mjs} +6 -6
  146. package/dist/{selectors-D4iOP5uB.mjs → selectors-e_0QdkaG.mjs} +2 -2
  147. package/dist/{send-D7DBnQbu.mjs → send-DEGpBT_7.mjs} +3 -4
  148. package/dist/{set-DKN8fuC6.mjs → set-C3tLEVuY.mjs} +2 -3
  149. package/dist/{set-active-CkE0Eiqh.mjs → set-active-CqvLJysE.mjs} +2 -3
  150. package/dist/{setting-CN4l8N-b.mjs → setting-Dwi-Wifx.mjs} +4 -4
  151. package/dist/{setup-BpTptmdO.mjs → setup-CcSVPnEI.mjs} +2 -3
  152. package/dist/{skills-BSAiLI3Z.mjs → skills-Cxi3fKMZ.mjs} +3 -3
  153. package/dist/{skills-hVKSOCUf.mjs → skills-DTCrMcix.mjs} +1 -1
  154. package/dist/{snippet-BxgvQ09J.mjs → snippet-CyKAgIZl.mjs} +2 -5
  155. package/dist/snippet-hrEAI5Yf.mjs +19 -0
  156. package/dist/{snippet-DecHB4Dn.mjs → snippet-oJLaYW9V.mjs} +1 -1
  157. package/dist/{stash-DJs6A6BA.mjs → stash-CVhkyRIT.mjs} +6 -7
  158. package/dist/{status-N_2EaWb7.mjs → status-B7tYgPVV.mjs} +6 -15
  159. package/dist/{status-DtwBDRtc.mjs → status-C9uhZuip.mjs} +16 -44
  160. package/dist/{subscription-BnGDp1oy.mjs → subscription-Cj9jyFEB.mjs} +6 -6
  161. package/dist/{subscriptions-BfFwV__x.mjs → subscriptions-B5oVkkZk.mjs} +6 -7
  162. package/dist/{summary-CHiq-4mz.mjs → summary-PVERfPr2.mjs} +3 -4
  163. package/dist/{sync-schema-DhnM-rpm.mjs → sync-schema-CtG6r6Pr.mjs} +4 -5
  164. package/dist/{sync-task-G1K47Nvn.mjs → sync-task-BACcrs0i.mjs} +1 -1
  165. package/dist/{table-BQaiCSNS.mjs → table-6IHwQyr6.mjs} +5 -5
  166. package/dist/timeline-BwQIj-le.mjs +21 -0
  167. package/dist/{timeline-event-B7H1y8s8.mjs → timeline-event-ox_Bw9F4.mjs} +6 -6
  168. package/dist/{transform-BvOEn41C.mjs → transform-D3QX0jxA.mjs} +1 -4
  169. package/dist/{transform-CiDOJGBW.mjs → transform-DoTyyXAu.mjs} +2 -2
  170. package/dist/transform-IPKGUzzd.mjs +28 -0
  171. package/dist/transform-job-COwH1ww7.mjs +22 -0
  172. package/dist/{transform-tag-jBVd6wXd.mjs → transform-tag-CcElGp3C.mjs} +4 -9
  173. package/dist/{transform-tag-DiXWRCQG.mjs → transform-tag-Dmb4u3-Q.mjs} +1 -1
  174. package/dist/{transform-tag-Dip51YBa.mjs → transform-tag-La1wmOTP.mjs} +5 -5
  175. package/dist/transform-test-C4VRGmGm.mjs +149 -0
  176. package/dist/transform-test-DGYx6MCT.mjs +16 -0
  177. package/dist/transform-test-w5hDTx_D.mjs +25 -0
  178. package/dist/{transforms-C-jYgS6z.mjs → transforms-DIgACzP-.mjs} +6 -7
  179. package/dist/tree-CQ0FXBnn.mjs +27 -0
  180. package/dist/{unpublish-BokbnLng.mjs → unpublish-Binr4uOG.mjs} +3 -4
  181. package/dist/{update-B9DcRSBQ.mjs → update-B4lIwY0G.mjs} +10 -16
  182. package/dist/update-B5NYEIHU.mjs +41 -0
  183. package/dist/{update-CPEU8ZEu.mjs → update-BKvSfdXu.mjs} +4 -5
  184. package/dist/{update-D9OTkZhw.mjs → update-BZS5m-vx.mjs} +3 -4
  185. package/dist/{update-C4PbAYgW.mjs → update-BbOX6axn.mjs} +3 -4
  186. package/dist/{update-e7lyQPxq.mjs → update-BiG9eLNH.mjs} +7 -13
  187. package/dist/{update-CpLEEbiJ.mjs → update-CIuoW1M9.mjs} +6 -7
  188. package/dist/{update-BBQInyiJ.mjs → update-CWIhy9Ax.mjs} +4 -5
  189. package/dist/{update-Bc8s1TL1.mjs → update-Cb68f4dx.mjs} +3 -4
  190. package/dist/{update-BErxnZrj.mjs → update-DH9CL61y.mjs} +4 -5
  191. package/dist/{update-AZSXMJqu.mjs → update-Db3j44fi.mjs} +7 -13
  192. package/dist/{update-BCGE5UYC.mjs → update-TDaf7Xbt.mjs} +4 -5
  193. package/dist/{update-dashcard-St-dGcE3.mjs → update-dashcard-DbZ8NlLZ.mjs} +3 -4
  194. package/dist/{update-BRXKLeJH.mjs → update-gGZjfZN3.mjs} +3 -4
  195. package/dist/{update-CfQoYVTc.mjs → update-la0K6wAf.mjs} +3 -4
  196. package/dist/{update-CKL2FtoX.mjs → update-lpLLpKhX.mjs} +4 -5
  197. package/dist/{update-rkbpH0lF.mjs → update-mOqedkLk.mjs} +3 -4
  198. package/dist/{upgrade-CUoRHfVg.mjs → upgrade-BCWXgRmG.mjs} +2 -3
  199. package/dist/upload-BVBs2F69.mjs +13 -0
  200. package/dist/{upload-BPd1Uzxc.mjs → upload-DUViVk1x.mjs} +2 -3
  201. package/dist/{uuid-CFN8LIkP.mjs → uuid-D3CGL8wF.mjs} +2 -3
  202. package/dist/{validate-query-Chc43ezW.mjs → validate-query-DaGYSmpQ.mjs} +1 -1
  203. package/dist/{values-BL_U-Zdw.mjs → values-8XUr04w3.mjs} +3 -4
  204. package/dist/{verify-DnBaRmkI.mjs → verify-deF_hThH.mjs} +2 -2
  205. package/dist/{wait-mPoOZxrw.mjs → wait-Ct0weHol.mjs} +7 -12
  206. package/dist/{wait-flags-DzytMEG8.mjs → wait-flags-Cb-bI0RD.mjs} +2 -2
  207. package/dist/{window-DSb1tqSe.mjs → window-BkvrP0gB.mjs} +1 -1
  208. package/package.json +1 -1
  209. package/skill-data/core/SKILL.md +19 -20
  210. package/skill-data/git-sync/SKILL.md +1 -91
  211. package/skill-data/transform/SKILL.md +60 -10
  212. package/skill-data/transform-test-plan/SKILL.md +170 -0
  213. package/skill-data/transform-test-plan/references/checklist.md +81 -0
  214. package/skill-data/transform-test-plan/references/checks.md +259 -0
  215. package/dist/archive-CqOKKrb2.mjs +0 -38
  216. package/dist/archive-DCjdICg7.mjs +0 -38
  217. package/dist/branch-BSeGrtP7.mjs +0 -28
  218. package/dist/cancel-task-BMQXtjW5.mjs +0 -34
  219. package/dist/card-RlzLDB2z.mjs +0 -24
  220. package/dist/collection-Bhe20ckt.mjs +0 -20
  221. package/dist/create-DwrhcI8r2.mjs +0 -144
  222. package/dist/create-branch-B3BMpF1g.mjs +0 -49
  223. package/dist/delete-D_OgiI4v.mjs +0 -86
  224. package/dist/dependencies-DEx0BsZ3.mjs +0 -41
  225. package/dist/dirty-dC1-Ud0G.mjs +0 -40
  226. package/dist/document-DOJbBWLF.mjs +0 -19
  227. package/dist/export-preflight-B5MvYhm3.mjs +0 -67
  228. package/dist/get-Cfagmy1i.mjs +0 -42
  229. package/dist/get-DwdMvWXU.mjs +0 -44
  230. package/dist/get-jV8G90Zy.mjs +0 -42
  231. package/dist/get-mGEv-kag.mjs +0 -33
  232. package/dist/git-sync-DjoaNmRM.mjs +0 -29
  233. package/dist/list-5Iojbr_p.mjs +0 -37
  234. package/dist/list-BD4onDqO.mjs +0 -37
  235. package/dist/list-C2yL7-CH.mjs +0 -45
  236. package/dist/list-CbbKip6U.mjs +0 -32
  237. package/dist/list-Dg2XeDON.mjs +0 -47
  238. package/dist/pin-BuZ_kg-u.mjs +0 -62
  239. package/dist/scope-DsGuWG5w.mjs +0 -11
  240. package/dist/snippet-LlHz3FdJ.mjs +0 -19
  241. package/dist/timeline-C2VW0Ph6.mjs +0 -21
  242. package/dist/transform-DAf0Y02t.mjs +0 -28
  243. package/dist/transform-job-ntiT5Rrh.mjs +0 -22
  244. package/dist/tree-DtyJhD54.mjs +0 -36
  245. package/dist/unpin-DxbXmLtW.mjs +0 -45
  246. package/dist/upload-Dc3QLhZw.mjs +0 -13
  247. package/dist/worktree-ChdDlG3Q.mjs +0 -25
  248. package/dist/worktree-DC0kTxxQ.mjs +0 -20
  249. package/dist/worktree-xAro1xAB.mjs +0 -24
@@ -0,0 +1,27 @@
1
+ import { i as ConfigError } from "./predicates-Bkm2IoeX.mjs";
2
+ import { F as outputFlags, I as profileFlag, M as connectionFlags, l as writeJson } from "./cli.mjs";
3
+ import { t as defineMetabaseCommand } from "./runtime-CJUDVwBu.mjs";
4
+ import { f as CollectionTreeNode } from "./collection-CfulNRBG.mjs";
5
+ import { z } from "zod";
6
+ //#region src/commands/collection/tree.ts
7
+ const CollectionTreeResponse = z.array(CollectionTreeNode);
8
+ var tree_default = defineMetabaseCommand({
9
+ meta: {
10
+ name: "tree",
11
+ description: "Fetch the collection hierarchy as a nested tree (JSON only)"
12
+ },
13
+ capabilities: { minVersion: 58 },
14
+ args: {
15
+ ...outputFlags,
16
+ ...profileFlag,
17
+ ...connectionFlags
18
+ },
19
+ outputSchema: CollectionTreeResponse,
20
+ examples: ["mb collection tree", "mb collection tree --json"],
21
+ async run({ ctx, getClient }) {
22
+ if (ctx.format === "text") throw new ConfigError("collection tree output is JSON-only; --format text is not supported");
23
+ writeJson((await (await getClient()).collection.tree()).data);
24
+ }
25
+ });
26
+ //#endregion
27
+ export { tree_default as default };
@@ -1,6 +1,6 @@
1
- import { H as profileFlag, R as connectionFlags, V as outputFlags, p as renderSummary } from "./cli.mjs";
2
- import { t as defineMetabaseCommand } from "./runtime-CNAZ_FuR.mjs";
3
- import { n as tableSelectorFlags, t as parseTableSelectors } from "./selectors-D4iOP5uB.mjs";
1
+ import { F as outputFlags, I as profileFlag, M as connectionFlags, c as renderSummary } from "./cli.mjs";
2
+ import { t as defineMetabaseCommand } from "./runtime-CJUDVwBu.mjs";
3
+ import { n as tableSelectorFlags, t as parseTableSelectors } from "./selectors-e_0QdkaG.mjs";
4
4
  import { z } from "zod";
5
5
  //#region src/commands/library/unpublish.ts
6
6
  const LibraryUnpublishResult = z.object({
@@ -40,7 +40,6 @@ var unpublish_default = defineMetabaseCommand({
40
40
  minVersion: 59,
41
41
  tokenFeature: "library"
42
42
  },
43
- worktree: "main-only",
44
43
  args: {
45
44
  ...outputFlags,
46
45
  ...profileFlag,
@@ -1,11 +1,11 @@
1
- import { H as profileFlag, R as connectionFlags, U as worktreeFlag, V as outputFlags, p as renderSummary } from "./cli.mjs";
2
- import { i as assertInWorktree, r as WORKTREE_SCOPE_DETAIL, t as defineMetabaseCommand } from "./runtime-CNAZ_FuR.mjs";
3
- import { t as parseId } from "./parse-id-DDCn3VXx.mjs";
1
+ import { F as outputFlags, I as profileFlag, M as connectionFlags, c as renderSummary } from "./cli.mjs";
2
+ import { t as defineMetabaseCommand } from "./runtime-CJUDVwBu.mjs";
3
+ import { t as parseId } from "./parse-id-CdZ0-1TM.mjs";
4
4
  import { t as readBody } from "./body-DxRSAMNC.mjs";
5
5
  import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
6
- import { c as TransformUpdateInput, t as Transform } from "./transform-BvOEn41C.mjs";
7
- import { a as preflightMbql5Query, i as TRANSFORM_SOURCE_QUERY_LABELS, o as skipValidateFlag } from "./validate-query-Chc43ezW.mjs";
8
- import { n as transformView } from "./transform-CiDOJGBW.mjs";
6
+ import { c as TransformUpdateInput, t as Transform } from "./transform-D3QX0jxA.mjs";
7
+ import { a as preflightMbql5Query, i as TRANSFORM_SOURCE_QUERY_LABELS, o as skipValidateFlag } from "./validate-query-DaGYSmpQ.mjs";
8
+ import { n as transformView } from "./transform-DoTyyXAu.mjs";
9
9
  import { t as enrichTransformCollectionError } from "./collection-namespace-CEoQ7G08.mjs";
10
10
  //#region src/commands/transform/update.ts
11
11
  var update_default = defineMetabaseCommand({
@@ -13,18 +13,16 @@ var update_default = defineMetabaseCommand({
13
13
  name: "update",
14
14
  description: "Update a transform by id (partial)"
15
15
  },
16
- details: "Patches only the fields you send (any of `name`, `source`, `target`, `tag_ids`, …). When a new `source.query` is an MBQL 5 query it is checked against a bundled JSON Schema (print it with `mb query --print-schema`) before sending; pass --skip-validate to bypass. " + WORKTREE_SCOPE_DETAIL,
16
+ details: "Patches only the fields you send (any of `name`, `source`, `target`, `tag_ids`, …). When a new `source.query` is an MBQL 5 query it is checked against a bundled JSON Schema (print it with `mb query --print-schema`) before sending; pass --skip-validate to bypass.",
17
17
  skills: [{
18
18
  skill: "mbql",
19
19
  purpose: "MBQL source.query bodies"
20
20
  }],
21
21
  capabilities: { minVersion: 59 },
22
- worktree: "scoped",
23
22
  args: {
24
23
  ...outputFlags,
25
24
  ...profileFlag,
26
25
  ...connectionFlags,
27
- ...worktreeFlag,
28
26
  ...bodyInputFlags,
29
27
  id: {
30
28
  type: "positional",
@@ -39,20 +37,16 @@ var update_default = defineMetabaseCommand({
39
37
  "cat patch.json | mb transform update 1",
40
38
  "mb transform update 1 --file patch.json",
41
39
  "mb transform update 1 --body '{\"name\":\"renamed\"}'",
42
- "mb transform update 1 --file patch.json --skip-validate",
43
- "mb transform update 1 --body '{\"name\":\"renamed\"}' --worktree feat/transforms"
40
+ "mb transform update 1 --file patch.json --skip-validate"
44
41
  ],
45
- async run({ args, ctx, getClient, getWorktree }) {
42
+ async run({ args, ctx, getClient }) {
46
43
  const id = parseId(args.id);
47
44
  const body = await readBody({
48
45
  flag: args.body,
49
46
  file: args.file
50
47
  }, TransformUpdateInput);
51
48
  if (body.source !== void 0 && body.source.type === "query") preflightMbql5Query(body.source.query, TRANSFORM_SOURCE_QUERY_LABELS, { skip: args["skip-validate"] === true });
52
- const client = await getClient();
53
- const scope = await getWorktree();
54
- if (scope !== null) assertInWorktree("transform", id, (await client.transform.get(id)).worktree_id, scope);
55
- const updated = await client.transform.update(id, body).catch((error) => {
49
+ const updated = await (await getClient()).transform.update(id, body).catch((error) => {
56
50
  throw enrichTransformCollectionError(error);
57
51
  });
58
52
  renderSummary(updated, transformView, `Updated transform ${updated.id} "${updated.name}".`, ctx);
@@ -0,0 +1,41 @@
1
+ import { F as outputFlags, I as profileFlag, M as connectionFlags, c as renderSummary } from "./cli.mjs";
2
+ import { t as defineMetabaseCommand } from "./runtime-CJUDVwBu.mjs";
3
+ import { t as parseId } from "./parse-id-CdZ0-1TM.mjs";
4
+ import { t as readBody } from "./body-DxRSAMNC.mjs";
5
+ import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
6
+ import { a as TransformTestUpdateInput, t as TransformTest } from "./transform-test-C4VRGmGm.mjs";
7
+ import { t as transformTestView } from "./transform-test-w5hDTx_D.mjs";
8
+ //#region src/commands/transform-test/update.ts
9
+ var update_default = defineMetabaseCommand({
10
+ meta: {
11
+ name: "update",
12
+ description: "Update a transform test from JSON"
13
+ },
14
+ details: "Only the fields the body carries are patched. `inputs` and `expectations` replace what is stored rather than merging into it. The body is closed: a test read back with `get --full` has to shed `id`, `entity_id`, `creator_id`, `created_at` and `updated_at` before it can be sent.",
15
+ capabilities: { minVersion: 65 },
16
+ args: {
17
+ ...outputFlags,
18
+ ...profileFlag,
19
+ ...connectionFlags,
20
+ ...bodyInputFlags,
21
+ id: {
22
+ type: "positional",
23
+ description: "Transform test id",
24
+ required: true
25
+ }
26
+ },
27
+ inputSchema: TransformTestUpdateInput,
28
+ outputSchema: TransformTest,
29
+ examples: ["cat patch.json | mb transform-test update 1", "mb transform-test update 1 --file patch.json"],
30
+ async run({ args, ctx, getClient }) {
31
+ const id = parseId(args.id);
32
+ const body = await readBody({
33
+ flag: args.body,
34
+ file: args.file
35
+ }, TransformTestUpdateInput);
36
+ const updated = await (await getClient()).transformTest.update(id, body);
37
+ renderSummary(updated, transformTestView, `Updated transform test ${updated.id}.`, ctx);
38
+ }
39
+ });
40
+ //#endregion
41
+ export { update_default as default };
@@ -1,10 +1,10 @@
1
- import { H as profileFlag, R as connectionFlags, V as outputFlags, p as renderSummary } from "./cli.mjs";
2
- import { t as defineMetabaseCommand } from "./runtime-CNAZ_FuR.mjs";
3
- import { t as parseId } from "./parse-id-DDCn3VXx.mjs";
1
+ import { F as outputFlags, I as profileFlag, M as connectionFlags, c as renderSummary } from "./cli.mjs";
2
+ import { t as defineMetabaseCommand } from "./runtime-CJUDVwBu.mjs";
3
+ import { t as parseId } from "./parse-id-CdZ0-1TM.mjs";
4
4
  import { t as readBody } from "./body-DxRSAMNC.mjs";
5
5
  import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
6
6
  import { i as MeasureUpdateInput, t as Measure } from "./measure-CtfjqJFP.mjs";
7
- import { a as preflightMbql5Query, n as MEASURE_DEFINITION_LABELS, o as skipValidateFlag } from "./validate-query-Chc43ezW.mjs";
7
+ import { a as preflightMbql5Query, n as MEASURE_DEFINITION_LABELS, o as skipValidateFlag } from "./validate-query-DaGYSmpQ.mjs";
8
8
  import { t as measureView } from "./measure-4P0bOlZ3.mjs";
9
9
  //#region src/commands/measure/update.ts
10
10
  var update_default = defineMetabaseCommand({
@@ -18,7 +18,6 @@ var update_default = defineMetabaseCommand({
18
18
  purpose: "the definition aggregation"
19
19
  }],
20
20
  capabilities: { minVersion: 59 },
21
- worktree: "main-only",
22
21
  args: {
23
22
  ...outputFlags,
24
23
  ...profileFlag,
@@ -1,6 +1,6 @@
1
- import { H as profileFlag, R as connectionFlags, V as outputFlags, p as renderSummary } from "./cli.mjs";
2
- import { t as defineMetabaseCommand } from "./runtime-CNAZ_FuR.mjs";
3
- import { t as parseId } from "./parse-id-DDCn3VXx.mjs";
1
+ import { F as outputFlags, I as profileFlag, M as connectionFlags, c as renderSummary } from "./cli.mjs";
2
+ import { t as defineMetabaseCommand } from "./runtime-CJUDVwBu.mjs";
3
+ import { t as parseId } from "./parse-id-CdZ0-1TM.mjs";
4
4
  import { t as readBody } from "./body-DxRSAMNC.mjs";
5
5
  import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
6
6
  import { i as DocumentUpdateInput, t as Document } from "./document-Cd2mmqCp.mjs";
@@ -12,7 +12,6 @@ var update_default = defineMetabaseCommand({
12
12
  description: "Update a document by id"
13
13
  },
14
14
  capabilities: { minVersion: 58 },
15
- worktree: "main-only",
16
15
  args: {
17
16
  ...outputFlags,
18
17
  ...profileFlag,
@@ -1,6 +1,6 @@
1
- import { H as profileFlag, R as connectionFlags, V as outputFlags, p as renderSummary } from "./cli.mjs";
2
- import { t as defineMetabaseCommand } from "./runtime-CNAZ_FuR.mjs";
3
- import { t as parseId } from "./parse-id-DDCn3VXx.mjs";
1
+ import { F as outputFlags, I as profileFlag, M as connectionFlags, c as renderSummary } from "./cli.mjs";
2
+ import { t as defineMetabaseCommand } from "./runtime-CJUDVwBu.mjs";
3
+ import { t as parseId } from "./parse-id-CdZ0-1TM.mjs";
4
4
  import { t as readBody } from "./body-DxRSAMNC.mjs";
5
5
  import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
6
6
  import { i as TimelineEvent, s as TimelineEventUpdateInput } from "./timeline-CCSU2qOS.mjs";
@@ -13,7 +13,6 @@ var update_default = defineMetabaseCommand({
13
13
  },
14
14
  details: "Patches only the fields you send: `name`, `description`, `timestamp`, `timezone`, `time_matters`, `icon`, `timeline_id` (moves the event to another timeline), `archived`.",
15
15
  capabilities: { minVersion: 58 },
16
- worktree: "main-only",
17
16
  args: {
18
17
  ...outputFlags,
19
18
  ...profileFlag,
@@ -1,10 +1,10 @@
1
- import { H as profileFlag, R as connectionFlags, U as worktreeFlag, V as outputFlags, p as renderSummary } from "./cli.mjs";
2
- import { i as assertInWorktree, r as WORKTREE_SCOPE_DETAIL, t as defineMetabaseCommand } from "./runtime-CNAZ_FuR.mjs";
3
- import { t as parseId } from "./parse-id-DDCn3VXx.mjs";
1
+ import { F as outputFlags, I as profileFlag, M as connectionFlags, c as renderSummary } from "./cli.mjs";
2
+ import { t as defineMetabaseCommand } from "./runtime-CJUDVwBu.mjs";
3
+ import { t as parseId } from "./parse-id-CdZ0-1TM.mjs";
4
4
  import { t as readBody } from "./body-DxRSAMNC.mjs";
5
5
  import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
6
- import { i as SnippetUpdateInput, t as Snippet } from "./snippet-BxgvQ09J.mjs";
7
- import { t as snippetView } from "./snippet-DecHB4Dn.mjs";
6
+ import { i as SnippetUpdateInput, t as Snippet } from "./snippet-CyKAgIZl.mjs";
7
+ import { t as snippetView } from "./snippet-oJLaYW9V.mjs";
8
8
  //#region src/commands/snippet/update.ts
9
9
  var update_default = defineMetabaseCommand({
10
10
  meta: {
@@ -12,13 +12,10 @@ var update_default = defineMetabaseCommand({
12
12
  description: "Update a native query snippet by id"
13
13
  },
14
14
  capabilities: { minVersion: 58 },
15
- worktree: "scoped",
16
- details: WORKTREE_SCOPE_DETAIL,
17
15
  args: {
18
16
  ...outputFlags,
19
17
  ...profileFlag,
20
18
  ...connectionFlags,
21
- ...worktreeFlag,
22
19
  ...bodyInputFlags,
23
20
  id: {
24
21
  type: "positional",
@@ -34,16 +31,13 @@ var update_default = defineMetabaseCommand({
34
31
  "mb snippet update 1 --body '{\"name\":\"renamed\"}'",
35
32
  "mb snippet update 1 --body '{\"archived\":true}'"
36
33
  ],
37
- async run({ args, ctx, getClient, getWorktree }) {
34
+ async run({ args, ctx, getClient }) {
38
35
  const id = parseId(args.id);
39
36
  const body = await readBody({
40
37
  flag: args.body,
41
38
  file: args.file
42
39
  }, SnippetUpdateInput);
43
- const client = await getClient();
44
- const scope = await getWorktree();
45
- if (scope !== null) assertInWorktree("snippet", id, (await client.snippet.get(id)).worktree_id, scope);
46
- const updated = await client.snippet.update(id, body);
40
+ const updated = await (await getClient()).snippet.update(id, body);
47
41
  renderSummary(updated, snippetView, `Updated snippet ${updated.id} "${updated.name}".`, ctx);
48
42
  }
49
43
  });
@@ -1,11 +1,11 @@
1
- import { H as profileFlag, R as connectionFlags, V as outputFlags, p as renderSummary } from "./cli.mjs";
2
- import { t as defineMetabaseCommand } from "./runtime-CNAZ_FuR.mjs";
3
- import { t as parseId } from "./parse-id-DDCn3VXx.mjs";
1
+ import { F as outputFlags, I as profileFlag, M as connectionFlags, c as renderSummary } from "./cli.mjs";
2
+ import { t as defineMetabaseCommand } from "./runtime-CJUDVwBu.mjs";
3
+ import { t as parseId } from "./parse-id-CdZ0-1TM.mjs";
4
4
  import { t as readBody } from "./body-DxRSAMNC.mjs";
5
5
  import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
6
- import { c as CardUpdateInput, t as Card } from "./card-CrBGUkGQ.mjs";
7
- import { n as cardView } from "./card-BEeafd4Y.mjs";
8
- import { a as preflightMbql5Query, o as skipValidateFlag, t as CARD_DATASET_QUERY_LABELS } from "./validate-query-Chc43ezW.mjs";
6
+ import { c as CardUpdateInput, t as Card } from "./card-DZxRmver.mjs";
7
+ import { n as cardView } from "./card-zyUkr2nS.mjs";
8
+ import { a as preflightMbql5Query, o as skipValidateFlag, t as CARD_DATASET_QUERY_LABELS } from "./validate-query-DaGYSmpQ.mjs";
9
9
  //#region src/commands/card/update.ts
10
10
  var update_default = defineMetabaseCommand({
11
11
  meta: {
@@ -21,7 +21,6 @@ var update_default = defineMetabaseCommand({
21
21
  purpose: "choose display and visualization_settings"
22
22
  }],
23
23
  capabilities: { minVersion: 58 },
24
- worktree: "main-only",
25
24
  args: {
26
25
  ...outputFlags,
27
26
  ...profileFlag,
@@ -1,8 +1,8 @@
1
- import { H as profileFlag, R as connectionFlags, V as outputFlags, p as renderSummary } from "./cli.mjs";
1
+ import { F as outputFlags, I as profileFlag, M as connectionFlags, c as renderSummary } from "./cli.mjs";
2
2
  import { c as NotificationUpdateInput, n as Notification } from "./notification-DaA4bBHW.mjs";
3
- import { t as notificationView } from "./notification-DVrLkjFT.mjs";
4
- import { t as defineMetabaseCommand } from "./runtime-CNAZ_FuR.mjs";
5
- import { t as parseId } from "./parse-id-DDCn3VXx.mjs";
3
+ import { t as notificationView } from "./notification-Fcq1fIPw.mjs";
4
+ import { t as defineMetabaseCommand } from "./runtime-CJUDVwBu.mjs";
5
+ import { t as parseId } from "./parse-id-CdZ0-1TM.mjs";
6
6
  import { t as describeAlert } from "./summary-BytbDz6e.mjs";
7
7
  import { t as readBody } from "./body-DxRSAMNC.mjs";
8
8
  import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
@@ -19,7 +19,6 @@ var update_default = defineMetabaseCommand({
19
19
  "`mb alert get <id>` prints the current ones. An alert's card cannot be moved to a different card."
20
20
  ].join(" "),
21
21
  capabilities: { minVersion: 58 },
22
- worktree: "main-only",
23
22
  args: {
24
23
  ...outputFlags,
25
24
  ...profileFlag,
@@ -1,6 +1,6 @@
1
- import { H as profileFlag, R as connectionFlags, V as outputFlags, p as renderSummary } from "./cli.mjs";
2
- import { t as defineMetabaseCommand } from "./runtime-CNAZ_FuR.mjs";
3
- import { t as parseId } from "./parse-id-DDCn3VXx.mjs";
1
+ import { F as outputFlags, I as profileFlag, M as connectionFlags, c as renderSummary } from "./cli.mjs";
2
+ import { t as defineMetabaseCommand } from "./runtime-CJUDVwBu.mjs";
3
+ import { t as parseId } from "./parse-id-CdZ0-1TM.mjs";
4
4
  import { t as readBody } from "./body-DxRSAMNC.mjs";
5
5
  import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
6
6
  import { c as TimelineUpdateInput, t as Timeline } from "./timeline-CCSU2qOS.mjs";
@@ -13,7 +13,6 @@ var update_default = defineMetabaseCommand({
13
13
  },
14
14
  details: "Patches only the fields you send: `name`, `description`, `icon`, `collection_id`, `default`, `archived`. Changing `archived` cascades to every event on the timeline.",
15
15
  capabilities: { minVersion: 58 },
16
- worktree: "main-only",
17
16
  args: {
18
17
  ...outputFlags,
19
18
  ...profileFlag,
@@ -1,11 +1,11 @@
1
- import { H as profileFlag, R as connectionFlags, V as outputFlags, p as renderSummary } from "./cli.mjs";
2
- import { t as defineMetabaseCommand } from "./runtime-CNAZ_FuR.mjs";
3
- import { t as parseId } from "./parse-id-DDCn3VXx.mjs";
1
+ import { F as outputFlags, I as profileFlag, M as connectionFlags, c as renderSummary } from "./cli.mjs";
2
+ import { t as defineMetabaseCommand } from "./runtime-CJUDVwBu.mjs";
3
+ import { t as parseId } from "./parse-id-CdZ0-1TM.mjs";
4
4
  import { t as readBody } from "./body-DxRSAMNC.mjs";
5
5
  import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
6
6
  import { i as DashboardDetail, o as DashboardUpdateInput } from "./dashboard-CKUR8ZpQ.mjs";
7
7
  import { t as dashboardView } from "./dashboard-BlbNszi8.mjs";
8
- import { t as preflightDashcardCardReferences } from "./preflight-HLUVr2Yf.mjs";
8
+ import { t as preflightDashcardCardReferences } from "./preflight-CoF1Em99.mjs";
9
9
  //#region src/commands/dashboard/update.ts
10
10
  var update_default = defineMetabaseCommand({
11
11
  meta: {
@@ -21,7 +21,6 @@ var update_default = defineMetabaseCommand({
21
21
  purpose: "dashcard visualization_settings and the 24-column grid"
22
22
  }],
23
23
  capabilities: { minVersion: 58 },
24
- worktree: "main-only",
25
24
  args: {
26
25
  ...outputFlags,
27
26
  ...profileFlag,
@@ -1,11 +1,10 @@
1
- import { H as profileFlag, R as connectionFlags, U as worktreeFlag, V as outputFlags, p as renderSummary } from "./cli.mjs";
2
- import { r as WORKTREE_SCOPE_DETAIL, t as defineMetabaseCommand } from "./runtime-CNAZ_FuR.mjs";
3
- import { t as parseId } from "./parse-id-DDCn3VXx.mjs";
1
+ import { F as outputFlags, I as profileFlag, M as connectionFlags, c as renderSummary } from "./cli.mjs";
2
+ import { t as defineMetabaseCommand } from "./runtime-CJUDVwBu.mjs";
3
+ import { t as parseId } from "./parse-id-CdZ0-1TM.mjs";
4
4
  import { t as readBody } from "./body-DxRSAMNC.mjs";
5
5
  import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
6
- import { i as TransformTagUpdateInput, t as TransformTag } from "./transform-tag-jBVd6wXd.mjs";
7
- import { t as transformTagView } from "./transform-tag-DiXWRCQG.mjs";
8
- import { t as assertTagInWorktree } from "./scope-DsGuWG5w.mjs";
6
+ import { i as TransformTagUpdateInput, t as TransformTag } from "./transform-tag-CcElGp3C.mjs";
7
+ import { t as transformTagView } from "./transform-tag-Dmb4u3-Q.mjs";
9
8
  //#region src/commands/transform-tag/update.ts
10
9
  var update_default = defineMetabaseCommand({
11
10
  meta: {
@@ -13,13 +12,10 @@ var update_default = defineMetabaseCommand({
13
12
  description: "Update a transform tag by id"
14
13
  },
15
14
  capabilities: { minVersion: 59 },
16
- worktree: "scoped",
17
- details: WORKTREE_SCOPE_DETAIL,
18
15
  args: {
19
16
  ...outputFlags,
20
17
  ...profileFlag,
21
18
  ...connectionFlags,
22
- ...worktreeFlag,
23
19
  ...bodyInputFlags,
24
20
  id: {
25
21
  type: "positional",
@@ -34,15 +30,13 @@ var update_default = defineMetabaseCommand({
34
30
  "mb transform-tag update 5 --file tag.json",
35
31
  "echo '{\"name\":\"renamed\"}' | mb transform-tag update 5"
36
32
  ],
37
- async run({ args, ctx, getClient, getWorktree }) {
33
+ async run({ args, ctx, getClient }) {
38
34
  const id = parseId(args.id);
39
35
  const body = await readBody({
40
36
  flag: args.body,
41
37
  file: args.file
42
38
  }, TransformTagUpdateInput);
43
- const client = await getClient();
44
- await assertTagInWorktree(client, id, await getWorktree());
45
- const updated = await client.transformTag.update(id, body);
39
+ const updated = await (await getClient()).transformTag.update(id, body);
46
40
  renderSummary(updated, transformTagView, `Updated transform tag ${updated.id} "${updated.name}".`, ctx);
47
41
  }
48
42
  });
@@ -1,10 +1,10 @@
1
- import { H as profileFlag, R as connectionFlags, V as outputFlags, p as renderSummary } from "./cli.mjs";
2
- import { t as defineMetabaseCommand } from "./runtime-CNAZ_FuR.mjs";
3
- import { t as parseId } from "./parse-id-DDCn3VXx.mjs";
1
+ import { F as outputFlags, I as profileFlag, M as connectionFlags, c as renderSummary } from "./cli.mjs";
2
+ import { t as defineMetabaseCommand } from "./runtime-CJUDVwBu.mjs";
3
+ import { t as parseId } from "./parse-id-CdZ0-1TM.mjs";
4
4
  import { t as readBody } from "./body-DxRSAMNC.mjs";
5
5
  import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
6
6
  import { a as PulseUpdateInput, t as Pulse } from "./pulse-BmsDenXm.mjs";
7
- import { t as pulseView } from "./pulse-a-83M4DV.mjs";
7
+ import { t as pulseView } from "./pulse-DhG6I9mI.mjs";
8
8
  //#region src/commands/subscription/update.ts
9
9
  var update_default = defineMetabaseCommand({
10
10
  meta: {
@@ -18,7 +18,6 @@ var update_default = defineMetabaseCommand({
18
18
  "A subscription's `dashboard_id` and `collection_id` are fixed at creation and cannot be changed."
19
19
  ].join(" "),
20
20
  capabilities: { minVersion: 58 },
21
- worktree: "main-only",
22
21
  args: {
23
22
  ...outputFlags,
24
23
  ...profileFlag,
@@ -1,6 +1,6 @@
1
- import { H as profileFlag, R as connectionFlags, V as outputFlags, p as renderSummary } from "./cli.mjs";
2
- import { t as defineMetabaseCommand } from "./runtime-CNAZ_FuR.mjs";
3
- import { t as parseId } from "./parse-id-DDCn3VXx.mjs";
1
+ import { F as outputFlags, I as profileFlag, M as connectionFlags, c as renderSummary } from "./cli.mjs";
2
+ import { t as defineMetabaseCommand } from "./runtime-CJUDVwBu.mjs";
3
+ import { t as parseId } from "./parse-id-CdZ0-1TM.mjs";
4
4
  import { t as readBody } from "./body-DxRSAMNC.mjs";
5
5
  import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
6
6
  import { l as DashcardPatchInput, s as Dashcard } from "./dashboard-CKUR8ZpQ.mjs";
@@ -12,7 +12,6 @@ var update_dashcard_default = defineMetabaseCommand({
12
12
  description: "Patch a single dashcard's layout or settings on a dashboard"
13
13
  },
14
14
  capabilities: { minVersion: 58 },
15
- worktree: "main-only",
16
15
  args: {
17
16
  ...outputFlags,
18
17
  ...profileFlag,
@@ -1,6 +1,6 @@
1
- import { H as profileFlag, R as connectionFlags, V as outputFlags, p as renderSummary } from "./cli.mjs";
2
- import { t as defineMetabaseCommand } from "./runtime-CNAZ_FuR.mjs";
3
- import { t as parseId } from "./parse-id-DDCn3VXx.mjs";
1
+ import { F as outputFlags, I as profileFlag, M as connectionFlags, c as renderSummary } from "./cli.mjs";
2
+ import { t as defineMetabaseCommand } from "./runtime-CJUDVwBu.mjs";
3
+ import { t as parseId } from "./parse-id-CdZ0-1TM.mjs";
4
4
  import { t as readBody } from "./body-DxRSAMNC.mjs";
5
5
  import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
6
6
  import { o as FieldUpdateInput, t as Field } from "./field-Cr2DPUG9.mjs";
@@ -12,7 +12,6 @@ var update_default = defineMetabaseCommand({
12
12
  description: "Update a field (description, semantic_type, FK target, visibility, etc.)"
13
13
  },
14
14
  capabilities: { minVersion: 58 },
15
- worktree: "main-only",
16
15
  args: {
17
16
  ...outputFlags,
18
17
  ...profileFlag,
@@ -1,6 +1,6 @@
1
- import { H as profileFlag, R as connectionFlags, V as outputFlags, p as renderSummary } from "./cli.mjs";
2
- import { t as defineMetabaseCommand } from "./runtime-CNAZ_FuR.mjs";
3
- import { t as parseId } from "./parse-id-DDCn3VXx.mjs";
1
+ import { F as outputFlags, I as profileFlag, M as connectionFlags, c as renderSummary } from "./cli.mjs";
2
+ import { t as defineMetabaseCommand } from "./runtime-CJUDVwBu.mjs";
3
+ import { t as parseId } from "./parse-id-CdZ0-1TM.mjs";
4
4
  import { t as readBody } from "./body-DxRSAMNC.mjs";
5
5
  import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
6
6
  import { o as TransformJobUpdateInput, t as TransformJob } from "./transform-job-DRrK28IH.mjs";
@@ -12,7 +12,6 @@ var update_default = defineMetabaseCommand({
12
12
  description: "Update a transform job by id"
13
13
  },
14
14
  capabilities: { minVersion: 59 },
15
- worktree: "main-only",
16
15
  args: {
17
16
  ...outputFlags,
18
17
  ...profileFlag,
@@ -1,10 +1,10 @@
1
- import { H as profileFlag, R as connectionFlags, V as outputFlags, p as renderSummary } from "./cli.mjs";
2
- import { t as defineMetabaseCommand } from "./runtime-CNAZ_FuR.mjs";
3
- import { t as parseId } from "./parse-id-DDCn3VXx.mjs";
1
+ import { F as outputFlags, I as profileFlag, M as connectionFlags, c as renderSummary } from "./cli.mjs";
2
+ import { t as defineMetabaseCommand } from "./runtime-CJUDVwBu.mjs";
3
+ import { t as parseId } from "./parse-id-CdZ0-1TM.mjs";
4
4
  import { t as readBody } from "./body-DxRSAMNC.mjs";
5
5
  import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
6
6
  import { i as SegmentUpdateInput, t as Segment } from "./segment-OsrbUDzw.mjs";
7
- import { a as preflightMbql5Query, o as skipValidateFlag, r as SEGMENT_DEFINITION_LABELS } from "./validate-query-Chc43ezW.mjs";
7
+ import { a as preflightMbql5Query, o as skipValidateFlag, r as SEGMENT_DEFINITION_LABELS } from "./validate-query-DaGYSmpQ.mjs";
8
8
  import { t as segmentView } from "./segment-C_gl5ag6.mjs";
9
9
  //#region src/commands/segment/update.ts
10
10
  var update_default = defineMetabaseCommand({
@@ -18,7 +18,6 @@ var update_default = defineMetabaseCommand({
18
18
  purpose: "the definition filter clause"
19
19
  }],
20
20
  capabilities: { minVersion: 58 },
21
- worktree: "main-only",
22
21
  args: {
23
22
  ...outputFlags,
24
23
  ...profileFlag,
@@ -1,6 +1,6 @@
1
- import { H as profileFlag, R as connectionFlags, V as outputFlags, p as renderSummary } from "./cli.mjs";
2
- import { t as defineMetabaseCommand } from "./runtime-CNAZ_FuR.mjs";
3
- import { t as parseId } from "./parse-id-DDCn3VXx.mjs";
1
+ import { F as outputFlags, I as profileFlag, M as connectionFlags, c as renderSummary } from "./cli.mjs";
2
+ import { t as defineMetabaseCommand } from "./runtime-CJUDVwBu.mjs";
3
+ import { t as parseId } from "./parse-id-CdZ0-1TM.mjs";
4
4
  import { t as readBody } from "./body-DxRSAMNC.mjs";
5
5
  import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
6
6
  import { a as TableUpdateInput, t as Table } from "./table-CeeTJgQb.mjs";
@@ -12,7 +12,6 @@ var update_default = defineMetabaseCommand({
12
12
  description: "Update a table (display name, description, visibility, etc.)"
13
13
  },
14
14
  capabilities: { minVersion: 58 },
15
- worktree: "main-only",
16
15
  args: {
17
16
  ...outputFlags,
18
17
  ...profileFlag,
@@ -1,6 +1,6 @@
1
1
  import { f as errorMessage, l as TimeoutError, n as AbortError, s as NetworkError, u as UnknownError } from "./predicates-Bkm2IoeX.mjs";
2
- import { I as name, L as version, V as outputFlags, b as promptConfirm, d as renderItem, h as writeText, n as interruptSignal } from "./cli.mjs";
3
- import { g as USER_AGENT, t as defineMetabaseCommand } from "./runtime-CNAZ_FuR.mjs";
2
+ import { A as name, F as outputFlags, h as promptConfirm, j as version, o as renderItem, t as interruptSignal, u as writeText } from "./cli.mjs";
3
+ import { t as defineMetabaseCommand, u as USER_AGENT } from "./runtime-CJUDVwBu.mjs";
4
4
  import { h as parseJson, r as HttpError } from "./network-error-D6CiOEBw.mjs";
5
5
  import { n as throwIfAborted, t as combineAborts } from "./signal-CMd0EFUa.mjs";
6
6
  import { n as streamProcess } from "./process-DBOOrmET.mjs";
@@ -292,7 +292,6 @@ var upgrade_default = defineMetabaseCommand({
292
292
  description: "Upgrade the Metabase CLI itself to the latest published release"
293
293
  },
294
294
  capabilities: null,
295
- worktree: "any",
296
295
  args: {
297
296
  ...outputFlags,
298
297
  check: {
@@ -0,0 +1,13 @@
1
+ import { t as defineCommandGroup } from "./group-DBM87IgC.mjs";
2
+ //#region src/commands/upload/index.ts
3
+ var upload_default = defineCommandGroup({
4
+ name: "upload",
5
+ description: "Upload CSV files into Metabase",
6
+ subCommands: {
7
+ csv: () => import("./csv-CVKLuIuS.mjs").then((m) => m.default),
8
+ append: () => import("./append-BXqeNFzW.mjs").then((m) => m.default),
9
+ replace: () => import("./replace-DjoDBCLa.mjs").then((m) => m.default)
10
+ }
11
+ });
12
+ //#endregion
13
+ export { upload_default as default };
@@ -1,5 +1,5 @@
1
- import { H as profileFlag, R as connectionFlags, V as outputFlags, p as renderSummary } from "./cli.mjs";
2
- import { t as defineMetabaseCommand } from "./runtime-CNAZ_FuR.mjs";
1
+ import { F as outputFlags, I as profileFlag, M as connectionFlags, c as renderSummary } from "./cli.mjs";
2
+ import { t as defineMetabaseCommand } from "./runtime-CJUDVwBu.mjs";
3
3
  import { t as ContentTranslationUploadResult } from "./content-translation-BrHOrmj9.mjs";
4
4
  import { n as requireUploadFilePath, t as readCsvFile } from "./upload-CD555ui1.mjs";
5
5
  //#region src/output/views/content-translation.ts
@@ -22,7 +22,6 @@ var upload_default = defineMetabaseCommand({
22
22
  minVersion: 58,
23
23
  tokenFeature: "content_translation"
24
24
  },
25
- worktree: "main-only",
26
25
  args: {
27
26
  ...outputFlags,
28
27
  ...profileFlag,
@@ -1,6 +1,6 @@
1
1
  import { i as ConfigError } from "./predicates-Bkm2IoeX.mjs";
2
- import { V as outputFlags, h as writeText, m as writeJson } from "./cli.mjs";
3
- import { K as parseInteger, t as defineMetabaseCommand } from "./runtime-CNAZ_FuR.mjs";
2
+ import { F as outputFlags, l as writeJson, u as writeText } from "./cli.mjs";
3
+ import { R as parseInteger, t as defineMetabaseCommand } from "./runtime-CJUDVwBu.mjs";
4
4
  import { z } from "zod";
5
5
  import { randomUUID } from "node:crypto";
6
6
  //#region src/commands/uuid.ts
@@ -17,7 +17,6 @@ var uuid_default = defineMetabaseCommand({
17
17
  purpose: "where lib/uuid values are used"
18
18
  }],
19
19
  capabilities: null,
20
- worktree: "any",
21
20
  args: {
22
21
  ...outputFlags,
23
22
  count: {
@@ -1,5 +1,5 @@
1
1
  import { i as ConfigError } from "./predicates-Bkm2IoeX.mjs";
2
- import { m as writeJson } from "./cli.mjs";
2
+ import { l as writeJson } from "./cli.mjs";
3
3
  import { i as validateQuery, r as isMbql5Query, t as assertNotLegacyEnvelopeWrappingMbql5 } from "./validate-BWchyW0V.mjs";
4
4
  //#region src/commands/validate-query.ts
5
5
  const skipValidateFlag = { "skip-validate": {
@@ -1,6 +1,6 @@
1
- import { H as profileFlag, R as connectionFlags, V as outputFlags, _ as formatScalar, p as renderSummary } from "./cli.mjs";
2
- import { t as defineMetabaseCommand } from "./runtime-CNAZ_FuR.mjs";
3
- import { t as parseId } from "./parse-id-DDCn3VXx.mjs";
1
+ import { F as outputFlags, I as profileFlag, M as connectionFlags, c as renderSummary, f as formatScalar } from "./cli.mjs";
2
+ import { t as defineMetabaseCommand } from "./runtime-CJUDVwBu.mjs";
3
+ import { t as parseId } from "./parse-id-CdZ0-1TM.mjs";
4
4
  import { s as FieldValues } from "./field-Cr2DPUG9.mjs";
5
5
  import { n as fieldValuesView } from "./field-BPsNa-TO.mjs";
6
6
  //#region src/commands/field/values.ts
@@ -10,7 +10,6 @@ var values_default = defineMetabaseCommand({
10
10
  description: "Fetch the cached distinct values for a field (FieldValues list)"
11
11
  },
12
12
  capabilities: { minVersion: 58 },
13
- worktree: "any",
14
13
  args: {
15
14
  ...outputFlags,
16
15
  ...profileFlag,