@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
@@ -1,8 +1,8 @@
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";
4
- import { c as SyncSettingsUpdateResult } from "./git-sync-DLzJrdMi.mjs";
5
- import { s as syncSettingsUpdateView } from "./git-sync-LQIVMNxO.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
+ import { s as SyncSettingsUpdateResult } from "./git-sync-BDnxPrqU.mjs";
5
+ import { o as syncSettingsUpdateView } from "./git-sync-DxD_ng48.mjs";
6
6
  //#region src/commands/git-sync/add-collection.ts
7
7
  var add_collection_default = defineMetabaseCommand({
8
8
  meta: {
@@ -13,7 +13,6 @@ var add_collection_default = defineMetabaseCommand({
13
13
  minVersion: 60,
14
14
  tokenFeature: "remote_sync"
15
15
  },
16
- worktree: "main-only",
17
16
  args: {
18
17
  ...outputFlags,
19
18
  ...profileFlag,
@@ -1,4 +1,4 @@
1
- import { t as defineCommandGroup } from "./group-YN6jj2AN.mjs";
1
+ import { t as defineCommandGroup } from "./group-DBM87IgC.mjs";
2
2
  //#region src/commands/alert/index.ts
3
3
  var alert_default = defineCommandGroup({
4
4
  name: "alert",
@@ -11,12 +11,12 @@ var alert_default = defineCommandGroup({
11
11
  purpose: "the card an alert watches and how to find its id"
12
12
  }],
13
13
  subCommands: {
14
- list: () => import("./list--2T-GUEF.mjs").then((mod) => mod.default),
15
- get: () => import("./get-DnCE7K0y.mjs").then((mod) => mod.default),
16
- create: () => import("./create-myI6doga.mjs").then((mod) => mod.default),
17
- update: () => import("./update-BBQInyiJ.mjs").then((mod) => mod.default),
18
- send: () => import("./send-D7DBnQbu.mjs").then((mod) => mod.default),
19
- archive: () => import("./archive-THcEfy9B.mjs").then((mod) => mod.default)
14
+ list: () => import("./list-BZbC260R.mjs").then((mod) => mod.default),
15
+ get: () => import("./get-DCHhq5Qv.mjs").then((mod) => mod.default),
16
+ create: () => import("./create-cSpqEzKH.mjs").then((mod) => mod.default),
17
+ update: () => import("./update-CWIhy9Ax.mjs").then((mod) => mod.default),
18
+ send: () => import("./send-DEGpBT_7.mjs").then((mod) => mod.default),
19
+ archive: () => import("./archive-CXYUkzZo.mjs").then((mod) => mod.default)
20
20
  }
21
21
  });
22
22
  //#endregion
@@ -1,9 +1,9 @@
1
- import { H as profileFlag, R as connectionFlags, V as outputFlags, f as renderList, z as listFlags } from "./cli.mjs";
2
- import { t as notificationView } from "./notification-DVrLkjFT.mjs";
3
- import { t as defineMetabaseCommand } from "./runtime-CNAZ_FuR.mjs";
4
- import { t as parseId } from "./parse-id-DDCn3VXx.mjs";
5
- import { n as windowList } from "./window-DSb1tqSe.mjs";
6
- import { AlertListEnvelope } from "./list--2T-GUEF.mjs";
1
+ import { F as outputFlags, I as profileFlag, M as connectionFlags, N as listFlags, s as renderList } from "./cli.mjs";
2
+ import { t as notificationView } from "./notification-Fcq1fIPw.mjs";
3
+ import { t as defineMetabaseCommand } from "./runtime-CJUDVwBu.mjs";
4
+ import { t as parseId } from "./parse-id-CdZ0-1TM.mjs";
5
+ import { n as windowList } from "./window-BkvrP0gB.mjs";
6
+ import { AlertListEnvelope } from "./list-BZbC260R.mjs";
7
7
  //#region src/commands/card/alerts.ts
8
8
  var alerts_default = defineMetabaseCommand({
9
9
  meta: {
@@ -12,7 +12,6 @@ var alerts_default = defineMetabaseCommand({
12
12
  },
13
13
  details: "Manage them with `mb alert create|update|send|archive`, which take the alert id printed here.",
14
14
  capabilities: { minVersion: 58 },
15
- worktree: "any",
16
15
  args: {
17
16
  ...outputFlags,
18
17
  ...listFlags,
@@ -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 { n as UploadUpdateResult } from "./upload-DAtxBBms.mjs";
5
5
  import { n as requireUploadFilePath, t as readCsvFile } from "./upload-CD555ui1.mjs";
6
6
  import { n as uploadUpdateResultView } from "./upload-C3z5ZaXA.mjs";
@@ -12,7 +12,6 @@ var append_default = defineMetabaseCommand({
12
12
  },
13
13
  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.",
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 Document } from "./document-Cd2mmqCp.mjs";
5
5
  import { t as documentView } from "./document-D6OybtP2.mjs";
6
6
  //#region src/commands/document/archive.ts
@@ -10,7 +10,6 @@ var archive_default = defineMetabaseCommand({
10
10
  description: "Archive (soft-delete) a document by id"
11
11
  },
12
12
  capabilities: { minVersion: 58 },
13
- worktree: "main-only",
14
13
  args: {
15
14
  ...outputFlags,
16
15
  ...profileFlag,
@@ -0,0 +1,32 @@
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 Snippet } from "./snippet-CyKAgIZl.mjs";
5
+ import { t as snippetView } from "./snippet-oJLaYW9V.mjs";
6
+ //#region src/commands/snippet/archive.ts
7
+ var archive_default = defineMetabaseCommand({
8
+ meta: {
9
+ name: "archive",
10
+ description: "Archive (soft-delete) a native query snippet by id"
11
+ },
12
+ capabilities: { minVersion: 58 },
13
+ args: {
14
+ ...outputFlags,
15
+ ...profileFlag,
16
+ ...connectionFlags,
17
+ id: {
18
+ type: "positional",
19
+ description: "Snippet id",
20
+ required: true
21
+ }
22
+ },
23
+ outputSchema: Snippet,
24
+ examples: ["mb snippet archive 1", "mb snippet archive 1 --json"],
25
+ async run({ args, ctx, getClient }) {
26
+ const id = parseId(args.id);
27
+ const updated = await (await getClient()).snippet.archive(id);
28
+ renderSummary(updated, snippetView, `Archived snippet ${updated.id} "${updated.name}".`, ctx);
29
+ }
30
+ });
31
+ //#endregion
32
+ export { archive_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 { 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 Dashboard } from "./dashboard-CKUR8ZpQ.mjs";
5
5
  import { t as dashboardView } from "./dashboard-BlbNszi8.mjs";
6
6
  //#region src/commands/dashboard/archive.ts
@@ -10,7 +10,6 @@ var archive_default = defineMetabaseCommand({
10
10
  description: "Archive (soft-delete) a dashboard by id"
11
11
  },
12
12
  capabilities: { minVersion: 58 },
13
- worktree: "main-only",
14
13
  args: {
15
14
  ...outputFlags,
16
15
  ...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 { 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
  //#region src/commands/alert/archive.ts
8
8
  var archive_default = defineMetabaseCommand({
@@ -12,7 +12,6 @@ var archive_default = defineMetabaseCommand({
12
12
  },
13
13
  details: "Deactivates the alert and drops its scheduled trigger. `mb alert list --include-inactive` still shows it, and `mb alert update <id> --body '{\"active\":true}'` brings it back.",
14
14
  capabilities: { minVersion: 58 },
15
- worktree: "main-only",
16
15
  args: {
17
16
  ...outputFlags,
18
17
  ...profileFlag,
@@ -1,8 +1,8 @@
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 Pulse } from "./pulse-BmsDenXm.mjs";
5
- import { t as pulseView } from "./pulse-a-83M4DV.mjs";
5
+ import { t as pulseView } from "./pulse-DhG6I9mI.mjs";
6
6
  //#region src/commands/subscription/archive.ts
7
7
  var archive_default = defineMetabaseCommand({
8
8
  meta: {
@@ -11,7 +11,6 @@ var archive_default = defineMetabaseCommand({
11
11
  },
12
12
  details: "Archiving also disables every channel on the subscription. Restore it with `mb subscription update <id> --body '{\"archived\":false}'`, then re-enable its channels.",
13
13
  capabilities: { minVersion: 58 },
14
- worktree: "main-only",
15
14
  args: {
16
15
  ...outputFlags,
17
16
  ...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 Timeline } from "./timeline-CCSU2qOS.mjs";
5
5
  import { n as timelineView } from "./timeline-uDCmwGFT.mjs";
6
6
  //#region src/commands/timeline/archive.ts
@@ -10,7 +10,6 @@ var archive_default = defineMetabaseCommand({
10
10
  description: "Archive (soft-delete) a timeline and all its events by id"
11
11
  },
12
12
  capabilities: { minVersion: 58 },
13
- worktree: "main-only",
14
13
  args: {
15
14
  ...outputFlags,
16
15
  ...profileFlag,
@@ -1,8 +1,8 @@
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";
4
- import { t as Card } from "./card-CrBGUkGQ.mjs";
5
- import { n as cardView } from "./card-BEeafd4Y.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
+ import { t as Card } from "./card-DZxRmver.mjs";
5
+ import { n as cardView } from "./card-zyUkr2nS.mjs";
6
6
  //#region src/commands/card/archive.ts
7
7
  var archive_default = defineMetabaseCommand({
8
8
  meta: {
@@ -10,7 +10,6 @@ var archive_default = defineMetabaseCommand({
10
10
  description: "Archive (soft-delete) a card by id"
11
11
  },
12
12
  capabilities: { minVersion: 58 },
13
- worktree: "main-only",
14
13
  args: {
15
14
  ...outputFlags,
16
15
  ...profileFlag,
@@ -0,0 +1,32 @@
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 { r as Collection } from "./collection-CfulNRBG.mjs";
5
+ import { n as collectionView } from "./collection-CGoVLvcD.mjs";
6
+ //#region src/commands/collection/archive.ts
7
+ var archive_default = defineMetabaseCommand({
8
+ meta: {
9
+ name: "archive",
10
+ description: "Archive (soft-delete) a collection by id"
11
+ },
12
+ capabilities: { minVersion: 58 },
13
+ args: {
14
+ ...outputFlags,
15
+ ...profileFlag,
16
+ ...connectionFlags,
17
+ id: {
18
+ type: "positional",
19
+ description: "Collection id",
20
+ required: true
21
+ }
22
+ },
23
+ outputSchema: Collection,
24
+ examples: ["mb collection archive 4", "mb collection archive 4 --json"],
25
+ async run({ args, ctx, getClient }) {
26
+ const id = parseId(args.id);
27
+ const updated = await (await getClient()).collection.archive(id);
28
+ renderSummary(updated, collectionView, `Archived collection ${updated.id} "${updated.name}".`, ctx);
29
+ }
30
+ });
31
+ //#endregion
32
+ export { archive_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 { 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 Measure } from "./measure-CtfjqJFP.mjs";
5
5
  import { t as measureView } from "./measure-4P0bOlZ3.mjs";
6
6
  import { t as revisionMessageFlag } from "./revision-message-flag-8TCHYJV6.mjs";
@@ -11,7 +11,6 @@ var archive_default = defineMetabaseCommand({
11
11
  description: "Archive (soft-delete) a measure by id"
12
12
  },
13
13
  capabilities: { minVersion: 59 },
14
- worktree: "main-only",
15
14
  args: {
16
15
  ...outputFlags,
17
16
  ...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 Segment } from "./segment-OsrbUDzw.mjs";
5
5
  import { t as revisionMessageFlag } from "./revision-message-flag-8TCHYJV6.mjs";
6
6
  import { t as segmentView } from "./segment-C_gl5ag6.mjs";
@@ -11,7 +11,6 @@ var archive_default = defineMetabaseCommand({
11
11
  description: "Archive (soft-delete) a segment by id"
12
12
  },
13
13
  capabilities: { minVersion: 58 },
14
- worktree: "main-only",
15
14
  args: {
16
15
  ...outputFlags,
17
16
  ...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 { i as TimelineEvent } from "./timeline-CCSU2qOS.mjs";
5
5
  import { t as timelineEventView } from "./timeline-uDCmwGFT.mjs";
6
6
  //#region src/commands/timeline-event/archive.ts
@@ -10,7 +10,6 @@ var archive_default = defineMetabaseCommand({
10
10
  description: "Archive (soft-delete) a timeline event by id"
11
11
  },
12
12
  capabilities: { minVersion: 58 },
13
- worktree: "main-only",
14
13
  args: {
15
14
  ...outputFlags,
16
15
  ...profileFlag,
@@ -1,4 +1,4 @@
1
- import { t as defineCommandGroup } from "./group-YN6jj2AN.mjs";
1
+ import { t as defineCommandGroup } from "./group-DBM87IgC.mjs";
2
2
  //#region src/commands/auth/index.ts
3
3
  var auth_default = defineCommandGroup({
4
4
  name: "auth",
@@ -9,10 +9,10 @@ var auth_default = defineCommandGroup({
9
9
  purpose: "authentication and named profiles"
10
10
  }],
11
11
  subCommands: {
12
- login: () => import("./login-DqWRF3Og.mjs").then((m) => m.default),
13
- status: () => import("./status-N_2EaWb7.mjs").then((m) => m.default),
14
- list: () => import("./list-DOaWCx8S.mjs").then((m) => m.default),
15
- logout: () => import("./logout-ChCz1bkf.mjs").then((m) => m.default)
12
+ login: () => import("./login-DDHEyjWz.mjs").then((m) => m.default),
13
+ status: () => import("./status-B7tYgPVV.mjs").then((m) => m.default),
14
+ list: () => import("./list-DCA0T8bS.mjs").then((m) => m.default),
15
+ logout: () => import("./logout-BbB0vvQN.mjs").then((m) => m.default)
16
16
  }
17
17
  });
18
18
  //#endregion
@@ -1,6 +1,6 @@
1
- import { G as listEnvelopeSchema, H as profileFlag, R as connectionFlags, V as outputFlags, f as renderList, z as listFlags } from "./cli.mjs";
2
- import { t as defineMetabaseCommand } from "./runtime-CNAZ_FuR.mjs";
3
- import { n as windowList } from "./window-DSb1tqSe.mjs";
1
+ import { F as outputFlags, I as profileFlag, M as connectionFlags, N as listFlags, R as listEnvelopeSchema, s as renderList } from "./cli.mjs";
2
+ import { t as defineMetabaseCommand } from "./runtime-CJUDVwBu.mjs";
3
+ import { n as windowList } from "./window-BkvrP0gB.mjs";
4
4
  import { z } from "zod";
5
5
  //#region src/commands/git-sync/branches.ts
6
6
  const BranchRow = z.object({ name: z.string() });
@@ -21,7 +21,6 @@ var branches_default = defineMetabaseCommand({
21
21
  minVersion: 60,
22
22
  tokenFeature: "remote_sync"
23
23
  },
24
- worktree: "any",
25
24
  args: {
26
25
  ...outputFlags,
27
26
  ...listFlags,
@@ -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 { z } from "zod";
5
5
  //#region src/commands/transform/cancel.ts
6
6
  const TransformCancelResult = z.object({
@@ -23,7 +23,6 @@ var cancel_default = defineMetabaseCommand({
23
23
  description: "Cancel the current run for a transform"
24
24
  },
25
25
  capabilities: { minVersion: 59 },
26
- worktree: "main-only",
27
26
  args: {
28
27
  ...outputFlags,
29
28
  ...profileFlag,
@@ -0,0 +1,28 @@
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 { l as SyncTask } from "./git-sync-BDnxPrqU.mjs";
4
+ import { c as syncTaskView } from "./git-sync-DxD_ng48.mjs";
5
+ //#region src/commands/git-sync/cancel-task.ts
6
+ var cancel_task_default = defineMetabaseCommand({
7
+ meta: {
8
+ name: "cancel-task",
9
+ description: "Cancel the running git-sync task"
10
+ },
11
+ capabilities: {
12
+ minVersion: 60,
13
+ tokenFeature: "remote_sync"
14
+ },
15
+ args: {
16
+ ...outputFlags,
17
+ ...profileFlag,
18
+ ...connectionFlags
19
+ },
20
+ outputSchema: SyncTask,
21
+ examples: ["mb git-sync cancel-task", "mb git-sync cancel-task --json"],
22
+ async run({ ctx, getClient }) {
23
+ const task = await (await getClient()).gitSync.cancelTask();
24
+ renderSummary(task, syncTaskView, `Requested cancellation of ${task.sync_task_type} task #${task.id}.`, ctx);
25
+ }
26
+ });
27
+ //#endregion
28
+ export { cancel_task_default as default };
@@ -36,7 +36,6 @@ const Card = z.object({
36
36
  database_id: z.number().int().nullable(),
37
37
  table_id: z.number().int().nullable(),
38
38
  collection_id: z.number().int().nullable(),
39
- worktree_id: z.number().int().positive().nullable().optional(),
40
39
  dashboard_id: z.number().int().nullable().optional(),
41
40
  entity_id: z.string().nullable(),
42
41
  creator_id: z.number().int(),
@@ -0,0 +1,24 @@
1
+ import { t as defineCommandGroup } from "./group-DBM87IgC.mjs";
2
+ //#region src/commands/card/index.ts
3
+ var card_default = defineCommandGroup({
4
+ name: "card",
5
+ description: "Manage Metabase cards (questions, models, metrics)",
6
+ skills: [{
7
+ skill: "mbql",
8
+ purpose: "author the dataset_query"
9
+ }, {
10
+ skill: "visualization",
11
+ purpose: "choose display and visualization_settings"
12
+ }],
13
+ subCommands: {
14
+ list: () => import("./list-D9RmPIEJ.mjs").then((mod) => mod.default),
15
+ get: () => import("./get-XcSH5Zyz.mjs").then((mod) => mod.default),
16
+ query: () => import("./query-CmkC8sfu.mjs").then((mod) => mod.default),
17
+ alerts: () => import("./alerts-DjZGGxOy.mjs").then((mod) => mod.default),
18
+ create: () => import("./create-CaDAT54M.mjs").then((mod) => mod.default),
19
+ update: () => import("./update-CIuoW1M9.mjs").then((mod) => mod.default),
20
+ archive: () => import("./archive-CzcjKpUC.mjs").then((mod) => mod.default)
21
+ }
22
+ });
23
+ //#endregion
24
+ export { card_default as default };
@@ -1,4 +1,4 @@
1
- import { n as CardCompact, s as CardQueryResultCompact } from "./card-CrBGUkGQ.mjs";
1
+ import { n as CardCompact, s as CardQueryResultCompact } from "./card-DZxRmver.mjs";
2
2
  //#region src/output/views/card.ts
3
3
  const cardView = {
4
4
  compactPick: CardCompact,
@@ -1,7 +1,7 @@
1
- import { G as listEnvelopeSchema, H as profileFlag, R as connectionFlags, V as outputFlags, f as renderList, z as listFlags } from "./cli.mjs";
2
- import { t as defineMetabaseCommand } from "./runtime-CNAZ_FuR.mjs";
3
- import { t as parseId } from "./parse-id-DDCn3VXx.mjs";
4
- import { n as windowList } from "./window-DSb1tqSe.mjs";
1
+ import { F as outputFlags, I as profileFlag, M as connectionFlags, N as listFlags, R as listEnvelopeSchema, s as renderList } 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 { n as windowList } from "./window-BkvrP0gB.mjs";
5
5
  import { c as DashcardCompact } from "./dashboard-CKUR8ZpQ.mjs";
6
6
  import { n as dashcardView } from "./dashboard-BlbNszi8.mjs";
7
7
  //#region src/commands/dashboard/cards.ts
@@ -12,7 +12,6 @@ var cards_default = defineMetabaseCommand({
12
12
  description: "List dashcards on a dashboard"
13
13
  },
14
14
  capabilities: { minVersion: 58 },
15
- worktree: "any",
16
15
  args: {
17
16
  ...outputFlags,
18
17
  ...listFlags,