@metabase/cli 0.5.18 → 0.5.20

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 (289) hide show
  1. package/dist/{add-collection-Bj9NfvnN.mjs → add-collection-DHo-2PJX.mjs} +3 -3
  2. package/dist/{alert-CMshuKkD.mjs → alert-CTiwZkck.mjs} +7 -7
  3. package/dist/{alerts-DNfvRAHF.mjs → alerts-BUOvAwsV.mjs} +4 -4
  4. package/dist/api-key-u_SlwYMa.mjs +13 -0
  5. package/dist/{append-B6NKVXmC.mjs → append-B-rvcQ2D.mjs} +4 -4
  6. package/dist/{archive-CnScSiQl.mjs → archive-BB-_Tun6.mjs} +3 -3
  7. package/dist/{archive-wKfb5LNv.mjs → archive-BHPQjbHM.mjs} +3 -3
  8. package/dist/{archive-CsxKuct2.mjs → archive-BYOlyXQz.mjs} +3 -3
  9. package/dist/{archive-DQL3uq3S.mjs → archive-BtF2XNy-.mjs} +3 -3
  10. package/dist/{archive-DXD8E-tc.mjs → archive-ByERA0UY.mjs} +3 -3
  11. package/dist/{archive-DASCU44R.mjs → archive-C6vm7e4Q.mjs} +3 -3
  12. package/dist/{archive-BHwRFiIp.mjs → archive-CbA5xurF.mjs} +3 -3
  13. package/dist/{archive-BymwF3JK.mjs → archive-CfUbh3Pw.mjs} +5 -5
  14. package/dist/{archive-fDo0iMXZ.mjs → archive-Cp-9Ieqd.mjs} +5 -5
  15. package/dist/{archive-xGLFsqVv.mjs → archive-Cztn8qDy.mjs} +3 -3
  16. package/dist/{archive-DFSuRpQU.mjs → archive-D70WgJxI.mjs} +3 -3
  17. package/dist/{archive-BigVLFhO.mjs → archive-MoW6bzqH.mjs} +3 -3
  18. package/dist/{auth-CNDQbQXF.mjs → auth-Bq_H47Y5.mjs} +5 -5
  19. package/dist/{branches-CcDKZnBq.mjs → branches-CR6NQY-E.mjs} +2 -2
  20. package/dist/{breaking-BEwEGyrk.mjs → breaking-BuKkEef9.mjs} +3 -3
  21. package/dist/{broken-Bx2JFtDZ.mjs → broken-C6axuKTQ.mjs} +4 -4
  22. package/dist/{bulk-discard-values-BQzOIue5.mjs → bulk-discard-values-DO3hNjCV.mjs} +4 -4
  23. package/dist/{bulk-edit-DGx6in-k.mjs → bulk-edit-9httj--f.mjs} +4 -4
  24. package/dist/{bulk-rescan-values-DGlGDhXf.mjs → bulk-rescan-values-DDnlOoOv.mjs} +5 -5
  25. package/dist/{bulk-sync-schema-BttWpXxE.mjs → bulk-sync-schema-Do04cBYA.mjs} +5 -5
  26. package/dist/{cancel-DdhLoGp1.mjs → cancel-BTpgZohp.mjs} +3 -3
  27. package/dist/{cancel-task-D28bHXK_.mjs → cancel-task-D7bkAr--.mjs} +2 -2
  28. package/dist/card-DN-OzuY-.mjs +25 -0
  29. package/dist/{cards-BXiY52Nm.mjs → cards-BUd3PcRk.mjs} +3 -3
  30. package/dist/{ci-D97nJ6-1.mjs → ci-DdC7frdl.mjs} +2 -2
  31. package/dist/cli.mjs +135 -93
  32. package/dist/{client-C3lyoltK.mjs → client-BsXhoWQY.mjs} +96 -129
  33. package/dist/collection-CUmb2YsP.mjs +21 -0
  34. package/dist/{content-translation-C8Z06-vg.mjs → content-translation-BE_ue4X8.mjs} +3 -3
  35. package/dist/{copy-UIDZe3Qc.mjs → copy-Tynl92Bj.mjs} +4 -4
  36. package/dist/{copy-flags-D_lqBhi8.mjs → copy-flags-C9WluDs6.mjs} +2 -2
  37. package/dist/{copy-FIxCe679.mjs → copy-iBQDBls-.mjs} +4 -4
  38. package/dist/{create-DJjRunsw.mjs → create-1NB2rxW0.mjs} +2 -2
  39. package/dist/{create-BI-do2mK.mjs → create-2VcJPzM7.mjs} +2 -2
  40. package/dist/{create-0UemhsxL.mjs → create-Bpy7FWvO.mjs} +2 -2
  41. package/dist/{create-hvtusQEZ.mjs → create-CFCks6dp.mjs} +2 -2
  42. package/dist/{create-D-2RdE2_.mjs → create-CKAYWQt1.mjs} +4 -4
  43. package/dist/{create-Buvd5NBb.mjs → create-CLss5TS6.mjs} +2 -2
  44. package/dist/{create-Bpwl2GQ3.mjs → create-CQlOENB_.mjs} +3 -3
  45. package/dist/{create-bksqNBGg.mjs → create-Caa48fL2.mjs} +2 -2
  46. package/dist/{create-CazoyArr.mjs → create-Cdf-0PhY.mjs} +2 -2
  47. package/dist/{create-DwY140oE.mjs → create-CeGOxnGS.mjs} +2 -2
  48. package/dist/{create-3fsDGV9E.mjs → create-CyPiZJJd.mjs} +2 -2
  49. package/dist/{create-DoVQrBJ4.mjs → create-D7yU-ph0.mjs} +2 -2
  50. package/dist/{create-CUUp0UyT.mjs → create-DDJiCLOd.mjs} +4 -4
  51. package/dist/{create-DaE_oGxs.mjs → create-DGVCtoYm.mjs} +4 -4
  52. package/dist/{create-lu1w-Hbw.mjs → create-DKwhc1bZ.mjs} +2 -2
  53. package/dist/{create-C3JXunBQ.mjs → create-DQZjtgit.mjs} +2 -2
  54. package/dist/{create-BabzAD_X.mjs → create-Dab6mm6f.mjs} +2 -2
  55. package/dist/{create-Au6xqgIO2.mjs → create-QZEAeCRi2.mjs} +2 -2
  56. package/dist/create-ZNS1QEXB.mjs +30 -0
  57. package/dist/{create-branch-Dwdy7irk.mjs → create-branch-D3koLgHk.mjs} +2 -2
  58. package/dist/{create-gMYMUL7t.mjs → create-myV3L5Ke.mjs} +2 -2
  59. package/dist/{csv-DsE_ndhE.mjs → csv-DObCzkQj.mjs} +4 -4
  60. package/dist/{current-task-DRNyn9QX.mjs → current-task-DiELazFH.mjs} +2 -2
  61. package/dist/dashboard-Pw5nYBpQ.mjs +35 -0
  62. package/dist/data-action-DvXMk1sk.mjs +24 -0
  63. package/dist/{data-app-C7LHb5xd.mjs → data-app-C0CqZBQK.mjs} +2 -27
  64. package/dist/{data-app-BMfcgWaI.mjs → data-app-CcSyIiSt.mjs} +9 -9
  65. package/dist/{data-app-project-BBWM7Zdk.mjs → data-app-project-ByBlbNn5.mjs} +2 -2
  66. package/dist/{data-app-s9hkfhiu.mjs → data-app-r4dkVMxt.mjs} +1 -1
  67. package/dist/{database-BSETP2o-.mjs → database-4H_xFe5L.mjs} +2 -2
  68. package/dist/{database-CCUXiXH_.mjs → database-B3OPxRb7.mjs} +1 -1
  69. package/dist/{dataset-a7Q_ocDR.mjs → dataset-CzctaQxh.mjs} +3 -3
  70. package/dist/{db-C-UN7Mw7.mjs → db-88To8N5V.mjs} +8 -8
  71. package/dist/{delete-DOStUKHR.mjs → delete-APTix192.mjs} +3 -3
  72. package/dist/{delete-BycN1h3j.mjs → delete-B8tgY_ZD.mjs} +3 -3
  73. package/dist/{delete-DtZUEUck.mjs → delete-C1bJVo8Z.mjs} +3 -3
  74. package/dist/{delete-BxHxz81i.mjs → delete-C35VT2xt.mjs} +3 -3
  75. package/dist/{delete-B5RQJybZ.mjs → delete-CJeypDjr.mjs} +3 -3
  76. package/dist/{delete-RhO0HMY8.mjs → delete-ClHHgO2a.mjs} +3 -3
  77. package/dist/{delete-woVgrl8z.mjs → delete-DExl8gcy.mjs} +3 -3
  78. package/dist/{delete-CEjfhdrB.mjs → delete-DSyDPRyk.mjs} +3 -3
  79. package/dist/{delete-table-BkrSMJ6s.mjs → delete-table-1wliVg75.mjs} +3 -3
  80. package/dist/delete-tq8zgS1S.mjs +45 -0
  81. package/dist/{delete-Cnv4Bp9r.mjs → delete-yE1QI8AH.mjs} +3 -3
  82. package/dist/{dependencies-DlrwzY_z.mjs → dependencies-C3TRXKij.mjs} +3 -3
  83. package/dist/dependency-DhLRg5eY.mjs +15 -0
  84. package/dist/{dependents-DyiLbk63.mjs → dependents-0f4hzjOi.mjs} +5 -5
  85. package/dist/{dirty-CnlYt6E6.mjs → dirty-CRUaDMcL.mjs} +2 -2
  86. package/dist/{discard-values-4FiVdoR1.mjs → discard-values-DRrNm2sz.mjs} +4 -4
  87. package/dist/document-B7v_alRc.mjs +20 -0
  88. package/dist/{download-CsrJ5AtI.mjs → download-B-GV9lw6.mjs} +2 -2
  89. package/dist/{eid-Da_G_-sZ.mjs → eid-BxpNpwCC.mjs} +2 -2
  90. package/dist/{embedding-sdk-u_7nTdoy.mjs → embedding-sdk-c6GWs-0H.mjs} +1 -1
  91. package/dist/{entry-flags-D7BhJxIr.mjs → entry-flags-Dsc6XopA.mjs} +4 -8
  92. package/dist/{events-CnJ7Rwtn.mjs → events-BA--DCC_.mjs} +3 -3
  93. package/dist/{execute-CWdVreci.mjs → execute-DP168VvA.mjs} +3 -3
  94. package/dist/{export-T7nyfMGZ.mjs → export-CLUtI_-y.mjs} +3 -3
  95. package/dist/{export-preflight-BltqMU8P.mjs → export-preflight-CR4_cih2.mjs} +2 -2
  96. package/dist/field-DgSRx8OM.mjs +21 -0
  97. package/dist/{fields-D6L8qD0M.mjs → fields-CvLJR6JZ.mjs} +3 -3
  98. package/dist/{filter-flags-BEdazLt3.mjs → filter-flags-C5reWgPZ.mjs} +2 -2
  99. package/dist/{fks-B5_IvC2f.mjs → fks-DJIltryK.mjs} +5 -5
  100. package/dist/{generate-actions-CFJ_ghia.mjs → generate-actions-C-oM0Wsg.mjs} +5 -5
  101. package/dist/{generate-queries-DTkjAUEC.mjs → generate-queries-Bp90qXW6.mjs} +5 -5
  102. package/dist/{generate-schema-z8tuKZdY.mjs → generate-schema-CumAPmIz.mjs} +5 -5
  103. package/dist/{get-DZ0Y723i.mjs → get-B5YA35tI.mjs} +3 -3
  104. package/dist/{get-DwMKTdth.mjs → get-B9ymgr2Z.mjs} +3 -3
  105. package/dist/{get-BRjcNZro.mjs → get-BVgL0B5u.mjs} +3 -3
  106. package/dist/{get-DWxbhLGD.mjs → get-Br_BCreN.mjs} +2 -2
  107. package/dist/{get-DRTQCy8i.mjs → get-BumuCn0r.mjs} +3 -3
  108. package/dist/{get-Co_dWeNO.mjs → get-CGPpDiNE.mjs} +3 -3
  109. package/dist/{get-NFhCBU6R.mjs → get-CJK4uvqi.mjs} +3 -3
  110. package/dist/{get-CPJ79uJS.mjs → get-CKHuY2i2.mjs} +3 -3
  111. package/dist/{get-BZpdNUMg.mjs → get-CYjhhcnh.mjs} +5 -5
  112. package/dist/{get-CmAfytZm.mjs → get-C_NC6TFa.mjs} +4 -4
  113. package/dist/{get-BFdBm5Yv.mjs → get-D-evqVte.mjs} +3 -3
  114. package/dist/{get-B4xNfH3p.mjs → get-D8xMoKV_.mjs} +2 -2
  115. package/dist/{get-Ia79m3fd.mjs → get-DRX-gz4I.mjs} +5 -5
  116. package/dist/{get-7aQ6kB1P.mjs → get-DikxTNBd.mjs} +5 -5
  117. package/dist/{get-BQvkMnCE.mjs → get-Dns3hS2J.mjs} +3 -3
  118. package/dist/{get-BzHlTaIt.mjs → get-DoHIlqQx.mjs} +3 -3
  119. package/dist/{get-BoYBPOre.mjs → get-Dsy-U8Hc.mjs} +3 -3
  120. package/dist/{get-rSBE94TP.mjs → get-Dte2_txd.mjs} +5 -5
  121. package/dist/{get-4Polb4EY.mjs → get-U_PSOF25.mjs} +3 -3
  122. package/dist/{get-BGnE-1e0.mjs → get-Za3qNZab.mjs} +5 -5
  123. package/dist/{get-CPTbKAkr.mjs → get-dDqJjKzg.mjs} +3 -3
  124. package/dist/{get-run-DlpRMIC1.mjs → get-run-LWVOVD2J.mjs} +3 -3
  125. package/dist/{get-D83daNye.mjs → get-sCcNbAsI.mjs} +3 -3
  126. package/dist/git-sync-6J5MsFH3.mjs +29 -0
  127. package/dist/glossary-IqJ9guWE.mjs +14 -0
  128. package/dist/{graph-CDzK39x5.mjs → graph-DuGFKEJD.mjs} +3 -3
  129. package/dist/{group-W6sZ0eWr.mjs → group-DgqrMOKr.mjs} +1 -1
  130. package/dist/{has-remote-changes-DAI22ieL.mjs → has-remote-changes-C6CFu0zC.mjs} +2 -2
  131. package/dist/{import-CvBhorpj.mjs → import-CRxOLj48.mjs} +3 -3
  132. package/dist/{is-dirty-C35y7-Gk.mjs → is-dirty-X9wiJ5BK.mjs} +2 -2
  133. package/dist/{items-BPeXkhSe.mjs → items-BBihqkbq.mjs} +2 -2
  134. package/dist/{library-DlJjXXJT.mjs → library-DoI-9rnh.mjs} +1 -1
  135. package/dist/{library-C1RMcmjm.mjs → library-OXMjS_v6.mjs} +5 -5
  136. package/dist/{library-DrbHqj17.mjs → library-j4WMc7ck.mjs} +1 -1
  137. package/dist/{list-BFAc6oZu.mjs → list-B0zzxwgZ.mjs} +2 -2
  138. package/dist/{list-ksxQw-0v.mjs → list-B9bXxOPK.mjs} +4 -4
  139. package/dist/{list-OpPH1899.mjs → list-BKx0pBbP.mjs} +4 -4
  140. package/dist/{list-BYsQb175.mjs → list-BXQHbVJO.mjs} +2 -2
  141. package/dist/{list-h1LmXpNZ.mjs → list-BXZK5HwG.mjs} +4 -4
  142. package/dist/{list-Bjmqnc1r.mjs → list-BkUwHSL3.mjs} +3 -3
  143. package/dist/{list-sdqp8e2x.mjs → list-Bn8tUwgP.mjs} +5 -5
  144. package/dist/{list-BxUbbCRa.mjs → list-BpiZdp0Q.mjs} +4 -4
  145. package/dist/{list-rI68Y9Gz.mjs → list-C4jLl1h5.mjs} +2 -2
  146. package/dist/{list-DuS4ayN2.mjs → list-C6ZPWred.mjs} +2 -2
  147. package/dist/{list-BTbH-TVK.mjs → list-CBZTo3gA.mjs} +2 -2
  148. package/dist/{list-BaM9JWY2.mjs → list-CCVWqwnV.mjs} +2 -2
  149. package/dist/{list-CZnf165W.mjs → list-CEZc23eI.mjs} +4 -4
  150. package/dist/{list-BMOhV_vf.mjs → list-Cmb6ri6S.mjs} +2 -2
  151. package/dist/{list-DCTZ3KMG.mjs → list-CvRdICuC.mjs} +3 -3
  152. package/dist/{list-uQmmcjXD.mjs → list-D-cyku34.mjs} +2 -2
  153. package/dist/{list-BTKVHUkk.mjs → list-D1abfsQv.mjs} +2 -2
  154. package/dist/{list-DeEkR_mM.mjs → list-DWKp0bdg.mjs} +2 -2
  155. package/dist/{list-Dfl-nxFI.mjs → list-DY1_jUVd.mjs} +3 -3
  156. package/dist/{list--qtST6Mu.mjs → list-Dv5xRaN0.mjs} +2 -2
  157. package/dist/list-Gj2UgE8Y.mjs +29 -0
  158. package/dist/{list-hwcNqDVu.mjs → list-k6VVhN20.mjs} +2 -2
  159. package/dist/{list-Du0jDR1s.mjs → list-k6yCFQ3H.mjs} +2 -2
  160. package/dist/{list-Pse7z6Mw.mjs → list-s3vzN0Ub.mjs} +2 -2
  161. package/dist/{login-KFeoZ4cp.mjs → login-C8mzrua7.mjs} +4 -4
  162. package/dist/{logout-ByJEvueB.mjs → logout-CwgiYEU-.mjs} +2 -2
  163. package/dist/{measure-BMWrX1ca.mjs → measure-C-Fcemj7.mjs} +1 -1
  164. package/dist/{measure-BJPVfAaG.mjs → measure-Q0bQSbid.mjs} +6 -6
  165. package/dist/{measure-DqZG65of.mjs → measure-e_BLyz-p.mjs} +1 -1
  166. package/dist/name-flags-Cxwu7ZHU.mjs +27 -0
  167. package/dist/{nano-id-CZiRB0W_.mjs → nano-id-BOK5s7AG.mjs} +2 -2
  168. package/dist/{parameter-values-B5s2INem.mjs → parameter-values-DvoZIgDC.mjs} +3 -3
  169. package/dist/{parse-id-DSHwgzAA.mjs → parse-id-uHxfeU_J.mjs} +1 -1
  170. package/dist/{parse-text-C3VlFRgF.mjs → parse-text-CTtiqn54.mjs} +6 -1
  171. package/dist/{path-DO6KvEqL.mjs → path-DYJGFtQh.mjs} +3 -3
  172. package/dist/permission-CgV2nlva.mjs +57 -0
  173. package/dist/permission-D3jkt-J5.mjs +42 -0
  174. package/dist/{poll-1TEUi8qv.mjs → poll-tNC_Nq3k.mjs} +1 -1
  175. package/dist/{publish-VqKsiioy.mjs → publish-CYI1XMBO.mjs} +3 -3
  176. package/dist/{query-D0iAwWIe.mjs → query-2ICjOOk8.mjs} +3 -3
  177. package/dist/{query-CfOj4dF5.mjs → query-BevDgJoD.mjs} +5 -5
  178. package/dist/{registry-flag-CFPEqyNd.mjs → registry-flag-DnykA7mT.mjs} +2 -2
  179. package/dist/{remapping-CepD_wm5.mjs → remapping-JOjUFD2J.mjs} +4 -4
  180. package/dist/{remove-collection-Dyu-svGv.mjs → remove-collection-Dqhrpz22.mjs} +3 -3
  181. package/dist/{render-Ck41d-L0.mjs → render-dDHvaVMZ.mjs} +1 -1
  182. package/dist/{replace-BSPrhltr.mjs → replace-D_J5PifC.mjs} +4 -4
  183. package/dist/{requirement-check-CoX3mEdF.mjs → requirement-check-Bluw0Mae.mjs} +1 -1
  184. package/dist/{rescan-values-MLAz1ZbW.mjs → rescan-values-BU5FUabO.mjs} +5 -5
  185. package/dist/{rescan-values-Cc952DEH.mjs → rescan-values-DonJroqJ.mjs} +5 -5
  186. package/dist/{run-Cc2HW3ZI.mjs → run-BFI0wXfu.mjs} +4 -4
  187. package/dist/{run-BIpGmnHS.mjs → run-BHIfQXfJ.mjs} +2 -2
  188. package/dist/{run-D4uxDLy7.mjs → run-DWy0QdgN.mjs} +4 -4
  189. package/dist/{run-CHMiJcwC.mjs → run-lr1JSf54.mjs} +3 -3
  190. package/dist/{runs-DUFlS3Z-.mjs → runs-DisWagEu.mjs} +3 -3
  191. package/dist/{runtime-Hl006cLS.mjs → runtime-CG-GPspQ.mjs} +2 -2
  192. package/dist/{scaffold-DtcfaLeA.mjs → scaffold-ePXNd4S8.mjs} +7 -7
  193. package/dist/{schema-6P82WjNJ.mjs → schema-_XNPJpb4.mjs} +2 -2
  194. package/dist/{schema-tables-DkDCq2GB.mjs → schema-tables-K6JtD9dZ.mjs} +5 -5
  195. package/dist/{schemas-BdcK4Qcy.mjs → schemas-BMV5BHnu.mjs} +3 -3
  196. package/dist/{sdk-version-DH2fl10p.mjs → sdk-version-DrHA2P4e.mjs} +4 -4
  197. package/dist/{search-COpkYln7.mjs → search-C8qWyYix.mjs} +4 -4
  198. package/dist/{search-kIoBsgMB.mjs → search-CG9AuTPB.mjs} +4 -4
  199. package/dist/{segment-Cf-DrdjE.mjs → segment-DlxnxpxG.mjs} +1 -1
  200. package/dist/{segment-X6wjQqtj.mjs → segment-NwRfh0sa.mjs} +6 -6
  201. package/dist/{segment-CWVASaM1.mjs → segment-V08iBQ64.mjs} +1 -1
  202. package/dist/{send-B6n4B-Mb.mjs → send-MZszG6ya.mjs} +3 -3
  203. package/dist/{set-CYRe1u4c.mjs → set-Bbgshm-6.mjs} +2 -2
  204. package/dist/{set-active-RoXnJkfD.mjs → set-active-BuiNmjdc.mjs} +2 -2
  205. package/dist/{set-data-actions-CRFOH_li.mjs → set-data-actions-GRPBjYQO.mjs} +5 -5
  206. package/dist/{set-enabled-DfaCOQig.mjs → set-enabled-B6QJOgAt.mjs} +5 -5
  207. package/dist/{set-sensitivity-BRvy0pfV.mjs → set-sensitivity-CsNuxLWo.mjs} +3 -3
  208. package/dist/{setting-DWdtp4lv.mjs → setting-1kfZCLu_.mjs} +4 -4
  209. package/dist/{setup-DpHz8tm9.mjs → setup-_urgwpLb.mjs} +2 -2
  210. package/dist/{skills-313T3aGC.mjs → skills-B2KmpqCS.mjs} +2 -2
  211. package/dist/{skills-Du8a9V9F.mjs → skills-DXn1LYJV.mjs} +3 -3
  212. package/dist/{slug-DhT4O0Aa.mjs → slug-Bx2peHRP.mjs} +1 -1
  213. package/dist/snippet-DbC4pCzB.mjs +19 -0
  214. package/dist/{stash-DJ1nYTJS.mjs → stash-DZ28h55m.mjs} +3 -3
  215. package/dist/{status-HUitbwTc.mjs → status-DTAu-z-w.mjs} +2 -2
  216. package/dist/{status-DuRBpGQa.mjs → status-szpe_2aM.mjs} +3 -3
  217. package/dist/{subscription-C_BRMkcY.mjs → subscription-DvX51iOd.mjs} +6 -6
  218. package/dist/{subscriptions-D2sw0LRD.mjs → subscriptions-weHibh4B.mjs} +4 -4
  219. package/dist/{summary-C4v7PVFE.mjs → summary-CS3u5bJE.mjs} +3 -3
  220. package/dist/{sync-schema-47WF7nm6.mjs → sync-schema-DPDUPd98.mjs} +6 -6
  221. package/dist/{sync-schema-CQS8hn4e.mjs → sync-schema-DZthvDNH.mjs} +5 -5
  222. package/dist/table-B979wYWz.mjs +26 -0
  223. package/dist/{table-hgrX1i-R.mjs → table-CUUcWg9B.mjs} +9 -6
  224. package/dist/{table-CcUdjp8F.mjs → table-J0NrdRFD.mjs} +1 -5
  225. package/dist/{table-selector-flags-BiFCN3f-.mjs → table-selector-flags-nndlcGx7.mjs} +3 -3
  226. package/dist/timeline-D-3OCuUl.mjs +21 -0
  227. package/dist/{timeline-event-Bia426Y4.mjs → timeline-event-DihtRdQo.mjs} +6 -6
  228. package/dist/transform-DvhhXiCr.mjs +28 -0
  229. package/dist/transform-job-DME72ypd.mjs +22 -0
  230. package/dist/{transform-tag-aP0kvj5-.mjs → transform-tag-DzlyLvgk.mjs} +5 -5
  231. package/dist/transform-test-DWih8CGN.mjs +16 -0
  232. package/dist/{transforms-BpykgvzU.mjs → transforms-D4T4iLzV.mjs} +3 -3
  233. package/dist/{transport-I0zuxki5.mjs → transport-Dd86IQUf.mjs} +3 -3
  234. package/dist/{tree-DZ3YLCje.mjs → tree-vRf9PX6s.mjs} +2 -2
  235. package/dist/{unpublish-BH-8N8S9.mjs → unpublish-BK_Ut2Jo.mjs} +3 -3
  236. package/dist/{unreferenced-BGIPLLRG.mjs → unreferenced-DQt_erVw.mjs} +3 -3
  237. package/dist/{update-CnDoasSQ.mjs → update-9ChFS7Ho.mjs} +3 -3
  238. package/dist/{update-Bq22f7Zx.mjs → update-B7IegSph.mjs} +3 -3
  239. package/dist/update-BN_xmj6r.mjs +37 -0
  240. package/dist/{update-BdvA1vcE.mjs → update-BU0PQkA9.mjs} +3 -3
  241. package/dist/{update-DTNccf-s.mjs → update-BcReBqKn.mjs} +3 -3
  242. package/dist/{update-Dnw9fBei.mjs → update-BnZ5ABkw.mjs} +3 -3
  243. package/dist/{update-DTPwJ5xA.mjs → update-CDzKq9Vk.mjs} +4 -4
  244. package/dist/{update-BHAILm8s.mjs → update-CMwtdlNH.mjs} +3 -3
  245. package/dist/{update-DEDzv1mA.mjs → update-CSjqjlgU.mjs} +3 -3
  246. package/dist/{update-ChMYUZQ8.mjs → update-CpqRxV68.mjs} +3 -3
  247. package/dist/{update-BlvNFo81.mjs → update-Cvcixbmb.mjs} +3 -3
  248. package/dist/{update-CFZsL4Ic.mjs → update-DCz0ptOc.mjs} +3 -3
  249. package/dist/{update-Dv4Y0Jyp.mjs → update-DRA8zHtI.mjs} +3 -3
  250. package/dist/{update-DWbleEvw.mjs → update-Dh1VXa2h.mjs} +5 -5
  251. package/dist/{update-Dyqk-Vqe.mjs → update-Dh35r1bg.mjs} +5 -5
  252. package/dist/{update-DSPTxIe4.mjs → update-Dw6dqspX.mjs} +3 -3
  253. package/dist/{update-DFBfTmhv.mjs → update-L5hJR9FF.mjs} +3 -3
  254. package/dist/{update-9WG4Ks__.mjs → update-LK45BSV4.mjs} +3 -3
  255. package/dist/{update-CGJmAKuC2.mjs → update-crwWmba52.mjs} +3 -3
  256. package/dist/{update-dashcard-DJGaybcJ.mjs → update-dashcard-Dr6Mer6n.mjs} +3 -3
  257. package/dist/{update-t5WIAXSK.mjs → update-eY-j_k-F.mjs} +5 -5
  258. package/dist/{upgrade-DGkndHKX.mjs → upgrade-fZljJS4H.mjs} +3 -3
  259. package/dist/{upload-CqTI_tAv.mjs → upload-CH1kp1nf.mjs} +3 -3
  260. package/dist/{upload-CnDHOsWN.mjs → upload-DFImOXjD.mjs} +1 -1
  261. package/dist/upload-DqwGiYam.mjs +13 -0
  262. package/dist/user-group-ZRfH8OpW.mjs +14 -0
  263. package/dist/{uuid-C_Tp0KDF.mjs → uuid-CIiG5AK2.mjs} +2 -2
  264. package/dist/{values-DgFZCjtq.mjs → values-ViRZUe-N.mjs} +3 -3
  265. package/dist/{verify-CpfETbmC.mjs → verify-bRaKGFa7.mjs} +3 -3
  266. package/dist/{verify-DVKZxlxc.mjs → verify-pl1eR_wt.mjs} +2 -2
  267. package/dist/{verify-64UZkL-F.mjs → verify-rgfypb5w.mjs} +3 -3
  268. package/dist/{wait-DwbaWN87.mjs → wait-BdO7onJZ.mjs} +4 -4
  269. package/dist/{wait-flags-BlkgkiZz.mjs → wait-flags-wh7wpAEW.mjs} +2 -2
  270. package/package.json +1 -1
  271. package/skill-data/core/SKILL.md +2 -2
  272. package/skill-data/data-app-migration/SKILL.md +1 -1
  273. package/dist/api-key-AnD8WQtk.mjs +0 -13
  274. package/dist/card-Jy0kBLqO.mjs +0 -25
  275. package/dist/collection-CsWEl350.mjs +0 -21
  276. package/dist/dashboard-DvoGk7ty.mjs +0 -35
  277. package/dist/data-action-KdcOST0y.mjs +0 -24
  278. package/dist/dependency-I9bjDqIy.mjs +0 -15
  279. package/dist/document-CPA4VsKw.mjs +0 -20
  280. package/dist/field-DquBSVH3.mjs +0 -21
  281. package/dist/git-sync-u9IUnjvH.mjs +0 -29
  282. package/dist/glossary-CVhKIwOq.mjs +0 -14
  283. package/dist/snippet-uDlfAY2R.mjs +0 -19
  284. package/dist/table-Bo663yFg.mjs +0 -26
  285. package/dist/timeline-Qg-9RjSW.mjs +0 -21
  286. package/dist/transform-Catz8GdK.mjs +0 -28
  287. package/dist/transform-job-BcaheBK9.mjs +0 -22
  288. package/dist/transform-test-UNNeneMm.mjs +0 -16
  289. package/dist/upload-51B4fVXD.mjs +0 -13
@@ -1,6 +1,6 @@
1
- import { _t as profileFlag, dt as connectionFlags, f as renderSummary, gt as outputFlags } from "./cli.mjs";
2
- import { t as parseId } from "./parse-id-DSHwgzAA.mjs";
3
- import { t as defineMetabaseCommand } from "./runtime-Hl006cLS.mjs";
1
+ import { _t as outputFlags, f as renderSummary, ft as connectionFlags, vt as profileFlag } from "./cli.mjs";
2
+ import { t as parseId } from "./parse-id-uHxfeU_J.mjs";
3
+ import { t as defineMetabaseCommand } from "./runtime-CG-GPspQ.mjs";
4
4
  import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
5
5
  import { i as DocumentUpdateInput, t as Document } from "./document-ks1uxhBt.mjs";
6
6
  import { t as documentView } from "./document-PQg8DshK.mjs";
@@ -1,6 +1,6 @@
1
- import { _t as profileFlag, dt as connectionFlags, f as renderSummary, gt as outputFlags } from "./cli.mjs";
2
- import { t as parseId } from "./parse-id-DSHwgzAA.mjs";
3
- import { t as defineMetabaseCommand } from "./runtime-Hl006cLS.mjs";
1
+ import { _t as outputFlags, f as renderSummary, ft as connectionFlags, vt as profileFlag } from "./cli.mjs";
2
+ import { t as parseId } from "./parse-id-uHxfeU_J.mjs";
3
+ import { t as defineMetabaseCommand } from "./runtime-CG-GPspQ.mjs";
4
4
  import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
5
5
  import { c as DataActionUpdateInput, r as DataAction } from "./data-action-DAw6WRTH.mjs";
6
6
  import { DATA_ACTION_DATASET_QUERY, skipValidateFlag } from "./validate-query-D1LLmD9e.mjs";
@@ -1,6 +1,6 @@
1
- import { _t as profileFlag, dt as connectionFlags, f as renderSummary, gt as outputFlags } from "./cli.mjs";
2
- import { t as parseId } from "./parse-id-DSHwgzAA.mjs";
3
- import { t as defineMetabaseCommand } from "./runtime-Hl006cLS.mjs";
1
+ import { _t as outputFlags, f as renderSummary, ft as connectionFlags, vt as profileFlag } from "./cli.mjs";
2
+ import { t as parseId } from "./parse-id-uHxfeU_J.mjs";
3
+ import { t as defineMetabaseCommand } from "./runtime-CG-GPspQ.mjs";
4
4
  import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
5
5
  import { d as DashboardUpdateInput, o as DashboardDetail } from "./dashboard-D5BJZS3L.mjs";
6
6
  import { n as dashboardView } from "./dashboard-CLvvUUuF.mjs";
@@ -1,6 +1,6 @@
1
- import { _t as profileFlag, dt as connectionFlags, f as renderSummary, gt as outputFlags } from "./cli.mjs";
2
- import { t as parseId } from "./parse-id-DSHwgzAA.mjs";
3
- import { t as defineMetabaseCommand } from "./runtime-Hl006cLS.mjs";
1
+ import { _t as outputFlags, f as renderSummary, ft as connectionFlags, vt as profileFlag } from "./cli.mjs";
2
+ import { t as parseId } from "./parse-id-uHxfeU_J.mjs";
3
+ import { t as defineMetabaseCommand } from "./runtime-CG-GPspQ.mjs";
4
4
  import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
5
5
  import { o as TransformJobUpdateInput, t as TransformJob } from "./transform-job-CDIb3B9o.mjs";
6
6
  import { t as transformJobView } from "./transform-job-D18XRLBK.mjs";
@@ -1,6 +1,6 @@
1
- import { _t as profileFlag, dt as connectionFlags, f as renderSummary, gt as outputFlags } from "./cli.mjs";
2
- import { t as parseId } from "./parse-id-DSHwgzAA.mjs";
3
- import { t as defineMetabaseCommand } from "./runtime-Hl006cLS.mjs";
1
+ import { _t as outputFlags, f as renderSummary, ft as connectionFlags, vt as profileFlag } from "./cli.mjs";
2
+ import { t as parseId } from "./parse-id-uHxfeU_J.mjs";
3
+ import { t as defineMetabaseCommand } from "./runtime-CG-GPspQ.mjs";
4
4
  import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
5
5
  import { h as DashcardPatchInput, m as DashcardDetail } from "./dashboard-D5BJZS3L.mjs";
6
6
  import { r as dashcardView } from "./dashboard-CLvvUUuF.mjs";
@@ -1,9 +1,9 @@
1
- import { _t as profileFlag, dt as connectionFlags, f as renderSummary, gt as outputFlags } from "./cli.mjs";
2
- import { t as parseId } from "./parse-id-DSHwgzAA.mjs";
3
- import { t as defineMetabaseCommand } from "./runtime-Hl006cLS.mjs";
1
+ import { _t as outputFlags, f as renderSummary, ft as connectionFlags, vt as profileFlag } from "./cli.mjs";
2
+ import { t as parseId } from "./parse-id-uHxfeU_J.mjs";
3
+ import { t as defineMetabaseCommand } from "./runtime-CG-GPspQ.mjs";
4
4
  import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
5
- import { C as TableUpdateInput, a as Table } from "./table-hgrX1i-R.mjs";
6
- import { u as tableView } from "./table-CcUdjp8F.mjs";
5
+ import { C as TableUpdateInput, a as Table } from "./table-CUUcWg9B.mjs";
6
+ import { u as tableView } from "./table-J0NrdRFD.mjs";
7
7
  //#region src/commands/table/update.ts
8
8
  var update_default = defineMetabaseCommand({
9
9
  meta: {
@@ -1,9 +1,9 @@
1
1
  import { a as AbortError, h as UnknownError } from "./predicates-DQA0AsBx.mjs";
2
- import { g as writeText, gt as outputFlags, l as renderItem, lt as name, ut as version, x as promptConfirm } from "./cli.mjs";
3
- import { t as defineMetabaseCommand } from "./runtime-Hl006cLS.mjs";
2
+ import { _t as outputFlags, dt as version, g as writeText, l as renderItem, ut as name, x as promptConfirm } from "./cli.mjs";
3
+ import { t as defineMetabaseCommand } from "./runtime-CG-GPspQ.mjs";
4
4
  import { s as streamProcess } from "./process-DZcS6SKr.mjs";
5
5
  import { n as compareSemver, t as SemverString } from "./semver-T6ZMOJpf.mjs";
6
- import { n as registryFlag, r as fetchNpmDistTags, t as distTagsOptions } from "./registry-flag-CFPEqyNd.mjs";
6
+ import { n as registryFlag, r as fetchNpmDistTags, t as distTagsOptions } from "./registry-flag-DnykA7mT.mjs";
7
7
  import { z } from "zod";
8
8
  import { realpathSync } from "node:fs";
9
9
  //#region src/core/install-method.ts
@@ -1,7 +1,7 @@
1
- import { _t as profileFlag, dt as connectionFlags, f as renderSummary, gt as outputFlags } from "./cli.mjs";
2
- import { t as defineMetabaseCommand } from "./runtime-Hl006cLS.mjs";
1
+ import { _t as outputFlags, f as renderSummary, ft as connectionFlags, vt as profileFlag } from "./cli.mjs";
2
+ import { t as defineMetabaseCommand } from "./runtime-CG-GPspQ.mjs";
3
3
  import { t as ContentTranslationUploadResult } from "./content-translation-BrHOrmj9.mjs";
4
- import { n as requireUploadFilePath, t as readCsvFile } from "./upload-CnDHOsWN.mjs";
4
+ import { n as requireUploadFilePath, t as readCsvFile } from "./upload-DFImOXjD.mjs";
5
5
  //#region src/output/views/content-translation.ts
6
6
  const contentTranslationUploadView = {
7
7
  compactPick: ContentTranslationUploadResult,
@@ -1,5 +1,5 @@
1
1
  import { s as ConfigError, y as isFileNotFoundError } from "./predicates-DQA0AsBx.mjs";
2
- import { O as fileNotFoundError } from "./runtime-Hl006cLS.mjs";
2
+ import { O as fileNotFoundError } from "./runtime-CG-GPspQ.mjs";
3
3
  import { readFile } from "node:fs/promises";
4
4
  import { basename } from "node:path";
5
5
  //#region src/runtime/upload.ts
@@ -0,0 +1,13 @@
1
+ import { t as defineCommandGroup } from "./group-DgqrMOKr.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-DObCzkQj.mjs").then((m) => m.default),
8
+ append: () => import("./append-B-rvcQ2D.mjs").then((m) => m.default),
9
+ replace: () => import("./replace-D_J5PifC.mjs").then((m) => m.default)
10
+ }
11
+ });
12
+ //#endregion
13
+ export { upload_default as default };
@@ -0,0 +1,14 @@
1
+ import { t as defineCommandGroup } from "./group-DgqrMOKr.mjs";
2
+ //#region src/commands/user-group/index.ts
3
+ var user_group_default = defineCommandGroup({
4
+ name: "group",
5
+ description: "Manage permission groups (user groups)",
6
+ subCommands: {
7
+ list: () => import("./list-Gj2UgE8Y.mjs").then((mod) => mod.default),
8
+ create: () => import("./create-ZNS1QEXB.mjs").then((mod) => mod.default),
9
+ update: () => import("./update-BN_xmj6r.mjs").then((mod) => mod.default),
10
+ delete: () => import("./delete-tq8zgS1S.mjs").then((mod) => mod.default)
11
+ }
12
+ });
13
+ //#endregion
14
+ export { user_group_default as default };
@@ -1,6 +1,6 @@
1
1
  import { s as ConfigError } from "./predicates-DQA0AsBx.mjs";
2
- import { g as writeText, gt as outputFlags, h as writeJson, xt as parseInteger } from "./cli.mjs";
3
- import { t as defineMetabaseCommand } from "./runtime-Hl006cLS.mjs";
2
+ import { St as parseInteger, _t as outputFlags, g as writeText, h as writeJson } from "./cli.mjs";
3
+ import { t as defineMetabaseCommand } from "./runtime-CG-GPspQ.mjs";
4
4
  import { z } from "zod";
5
5
  import { randomUUID } from "node:crypto";
6
6
  //#region src/commands/uuid.ts
@@ -1,6 +1,6 @@
1
- import { _t as profileFlag, dt as connectionFlags, f as renderSummary, gt as outputFlags, v as formatScalar } from "./cli.mjs";
2
- import { t as parseId } from "./parse-id-DSHwgzAA.mjs";
3
- import { t as defineMetabaseCommand } from "./runtime-Hl006cLS.mjs";
1
+ import { _t as outputFlags, f as renderSummary, ft as connectionFlags, v as formatScalar, vt as profileFlag } from "./cli.mjs";
2
+ import { t as parseId } from "./parse-id-uHxfeU_J.mjs";
3
+ import { t as defineMetabaseCommand } from "./runtime-CG-GPspQ.mjs";
4
4
  import { d as FieldValues } from "./field-C2qOViFZ.mjs";
5
5
  import { s as fieldValuesView } from "./field-CT4r6b92.mjs";
6
6
  //#region src/commands/field/values.ts
@@ -1,6 +1,6 @@
1
- import { _t as profileFlag, dt as connectionFlags, f as renderSummary, gt as outputFlags } from "./cli.mjs";
2
- import { t as parseId } from "./parse-id-DSHwgzAA.mjs";
3
- import { t as defineMetabaseCommand } from "./runtime-Hl006cLS.mjs";
1
+ import { _t as outputFlags, f as renderSummary, ft as connectionFlags, vt as profileFlag } from "./cli.mjs";
2
+ import { t as parseId } from "./parse-id-uHxfeU_J.mjs";
3
+ import { t as defineMetabaseCommand } from "./runtime-CG-GPspQ.mjs";
4
4
  import { t as ModerationReview } from "./moderation-review-Bf9bPNQI.mjs";
5
5
  import { i as moderationReviewView, n as verifyFlags, r as describeReview, t as reviewInput } from "./verify-flags-DEVMB9w0.mjs";
6
6
  //#region src/commands/dashboard/verify.ts
@@ -1,7 +1,7 @@
1
- import { n as createClient } from "./client-C3lyoltK.mjs";
1
+ import { n as createClient } from "./client-BsXhoWQY.mjs";
2
2
  import { _ as errorMessage, d as NetworkError, m as TimeoutError, u as MetabaseError } from "./predicates-DQA0AsBx.mjs";
3
3
  import { X as HttpError } from "./cli.mjs";
4
- import { D as USER_AGENT, V as probeServer } from "./runtime-Hl006cLS.mjs";
4
+ import { D as USER_AGENT, V as probeServer } from "./runtime-CG-GPspQ.mjs";
5
5
  //#region src/core/auth/verify.ts
6
6
  const VERIFY_TIMEOUT_MS = 15e3;
7
7
  async function verifyAndProbe(url, credential, options = {}) {
@@ -1,6 +1,6 @@
1
- import { _t as profileFlag, dt as connectionFlags, f as renderSummary, gt as outputFlags } from "./cli.mjs";
2
- import { t as parseId } from "./parse-id-DSHwgzAA.mjs";
3
- import { t as defineMetabaseCommand } from "./runtime-Hl006cLS.mjs";
1
+ import { _t as outputFlags, f as renderSummary, ft as connectionFlags, vt as profileFlag } from "./cli.mjs";
2
+ import { t as parseId } from "./parse-id-uHxfeU_J.mjs";
3
+ import { t as defineMetabaseCommand } from "./runtime-CG-GPspQ.mjs";
4
4
  import { t as ModerationReview } from "./moderation-review-Bf9bPNQI.mjs";
5
5
  import { i as moderationReviewView, n as verifyFlags, r as describeReview, t as reviewInput } from "./verify-flags-DEVMB9w0.mjs";
6
6
  //#region src/commands/card/verify.ts
@@ -1,7 +1,7 @@
1
- import { _t as profileFlag, dt as connectionFlags, f as renderSummary, gt as outputFlags } from "./cli.mjs";
2
- import { t as defineMetabaseCommand } from "./runtime-Hl006cLS.mjs";
3
- import { n as DEFAULT_TIMEOUT_MS, t as DEFAULT_INTERVAL_MS } from "./poll-1TEUi8qv.mjs";
4
- import { r as parseWaitSchedule } from "./wait-flags-BlkgkiZz.mjs";
1
+ import { _t as outputFlags, f as renderSummary, ft as connectionFlags, vt as profileFlag } from "./cli.mjs";
2
+ import { t as defineMetabaseCommand } from "./runtime-CG-GPspQ.mjs";
3
+ import { n as DEFAULT_TIMEOUT_MS, t as DEFAULT_INTERVAL_MS } from "./poll-tNC_Nq3k.mjs";
4
+ import { r as parseWaitSchedule } from "./wait-flags-wh7wpAEW.mjs";
5
5
  import { u as syncTaskView } from "./git-sync-C0yHY3bG.mjs";
6
6
  import { a as throwIfFailedTask, i as taskPollOptions, n as formatSyncTask, r as syncTaskIdleView, t as SyncTaskOrIdle } from "./sync-task-DPFDTvEe.mjs";
7
7
  //#region src/commands/git-sync/wait.ts
@@ -1,6 +1,6 @@
1
1
  import { t as interruptSignal } from "./cli.mjs";
2
- import { t as parseId } from "./parse-id-DSHwgzAA.mjs";
3
- import { n as DEFAULT_TIMEOUT_MS, t as DEFAULT_INTERVAL_MS } from "./poll-1TEUi8qv.mjs";
2
+ import { t as parseId } from "./parse-id-uHxfeU_J.mjs";
3
+ import { n as DEFAULT_TIMEOUT_MS, t as DEFAULT_INTERVAL_MS } from "./poll-tNC_Nq3k.mjs";
4
4
  //#region src/commands/wait-flags.ts
5
5
  const waitScheduleFlags = {
6
6
  timeout: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@metabase/cli",
3
- "version": "0.5.18",
3
+ "version": "0.5.20",
4
4
  "description": "Metabase CLI",
5
5
  "license": "AGPL-3.0",
6
6
  "repository": {
@@ -12,7 +12,7 @@ Top-level command groups (run `mb <group> --help` to discover verbs):
12
12
 
13
13
  ```
14
14
  auth | db | table | field | upload | content-translation | query | card | dashboard | snippet | segment | measure | collection | library
15
- document | glossary | timeline | timeline-event | transform | transform-job | transform-tag | transform-test | alert | subscription | setting
15
+ document | glossary | group | timeline | timeline-event | transform | transform-job | transform-tag | transform-test | alert | subscription | setting
16
16
  search | dependency | git-sync | data-action | data-app | api-key | nano-id | setup | eid | uuid | upgrade | skills | schema
17
17
  ```
18
18
 
@@ -156,7 +156,7 @@ What `--help` doesn't say: footguns and non-obvious behaviors.
156
156
  - **setup is one-shot.** `mb setup` walks `/api/setup` for a **fresh** instance only and errors on a configured one; mostly for bootstrapping local / e2e instances.
157
157
  - **eid** translates a string entity id → numeric id: `mb eid --model <model> <eid1,eid2> --json`. Entity ids are NanoIDs that can start with `-`, which the positional form misreads as a flag (shell quotes don't help) — for those, use `--body '{"entity_ids":{"card":["-…"]}}'` (the id is a JSON string value, immune to flag parsing).
158
158
  <!-- requires: library -->
159
- - **library.** The Library is a curated subtree (`library-data` "Data" + `library-metrics` "Metrics" under a `library` root): tables in **Data** lead data pickers and rank up in search; metrics in **Metrics** lead nav, search, and the query builder. `library get` shows its Data/Metrics collection ids; `library create` provisions it (idempotent). `library publish --table-ids/--db-ids/--schemas` publishes tables into Data, **resolving the Data collection and creating the Library if absent**; each `--schemas` entry is `<db-id>:<schema>` (`1:public`), not a bare name. `publish` cascades to upstream FK dependencies, `unpublish` to downstream dependents; both need **admin or data-analyst** (Curate alone won't publish) and exit **403** without write **and** query permission on every affected table. `table get`/`table list` carry `is_published` (`collection_id` under `--full`). On a remote-sync instance, `mb git-sync add-collection <library-id>` (the root) makes exports carry published tables' metadata (see `git-sync`).
159
+ - **library.** The Library is a curated subtree (`library-data` "Data" + `library-metrics` "Metrics" under a `library` root): tables in **Data** lead data pickers and rank up in search; metrics in **Metrics** lead nav, search, and the query builder. `library get` shows its Data/Metrics collection ids; `library create` provisions it (idempotent). `library publish --table-ids/--db-ids/--schemas` publishes tables into Data, **resolving the Data collection and creating the Library if absent**; each `--schemas` entry is `<db-id>:<schema>` (`1:public`), not a bare name. `publish` cascades to upstream FK dependencies, `unpublish` to downstream dependents; both need **admin or data-analyst** (Curate alone won't publish) and exit **403** without write **and** query permission on every affected table. `table list --published-only` lists the published tables. On a remote-sync instance, `mb git-sync add-collection <library-id>` (the root) makes exports carry published tables' metadata (see `git-sync`).
160
160
  <!-- /requires -->
161
161
  - **query / uuid.** `mb query` runs MBQL (`--dry-run` → run; `mbql`). `mb uuid --count <n>` mints an aggregation's `lib/uuid` (`mbql`) and document node `_id`s (`document`).
162
162
  <!-- requires: library, tableListPublishedFilter -->
@@ -94,7 +94,7 @@ The filter follows the profile's last probe, so run `mb auth list` first, which
94
94
  5. **Plan** → `plan.md`. Read `references/mapping.md`. Each kept widget's data path and Library objects, and each app's brief. A checkpoint on the plan (`references/checkpoints.md`), which also asks, once, for the branch, the exports, the push, the import and the preview's API key the plan needs.
95
95
  6. **Data side.** Build by `references/mapping.md`. First record the build instance's tracked branch (`mb git-sync status --json`, `branch`) in `plan.md`. When the target is another instance, move the work onto one migration branch, so the Library content and the app are reviewed together: `mb git-sync create-branch agent/<slug>-migration` (where the server refuses it, `mb git-sync stash --new-branch`, which on a clean instance creates the branch and tracks it, `git-sync`), which switches the build instance's tracked branch; `mb git-sync status --json` showing it as the tracked branch; then `git fetch` and `git switch agent/<slug>-migration` in the repository. With one instance, the export goes to the tracked branch, or, when that is `main` or `master`, to a new branch the plan checkpoint names, made as above; for that branch too, `git fetch` and `git switch` to it in the repository. Record in `plan.md` the branch the work goes to, so the pull and the release push go there. Then build what `plan.md` names, in its order:
96
96
  - transforms (`transform`), created without a tag. Build the first whole, its test and its run, before any other: they are the first writes to the database, and a refusal stops phase 6 there, naming the database user and the schema. Where transform tests are available (`inventory.md`), each is pinned by its fixture test, then run, its test kept beside it (`references/parity.md`, _Transform fixture tests_). Transforms that don't read each other's tables run at once: start each with `mb transform run <id> --sync`, which also waits until Metabase registers its table, in the background and wait for all;
97
- - every table a question reaches, published by id. Record the database's published tables first (`mb table list --db-id <id> --fields id,name,is_published --json`), and compare after each batch and after the metadata step (`references/mapping.md`, _What gets published_): a table that became published and isn't in the plan is a stop: unpublish the planned table at once, which takes the extra one with it, then ask;
97
+ - every table a question reaches, published by id. Record the database's published tables first (`mb table list --db-id <id> --published-only --fields id,name --json`), and compare after each batch and after the metadata step (`references/mapping.md`, _What gets published_): a table that became published and isn't in the plan is a stop: unpublish the planned table at once, which takes the extra one with it, then ask;
98
98
  - metadata and foreign keys (`metadata`);
99
99
  - segments and measures: the commands are in `core` and `mbql`. Check each by its compiled SQL (`references/parity.md`, _Compiled SQL_): a segment's filter and a measure's aggregation are the rule `spec.md` states;
100
100
  - once every transform has run and every check above passes, the tag `decisions.md` chose on each transform. Where build and target are one instance and that tag's job is off, turn it on (`transform`, _Transform jobs_), as choosing the tag in phase 4 agreed.
@@ -1,13 +0,0 @@
1
- import { t as defineCommandGroup } from "./group-W6sZ0eWr.mjs";
2
- //#region src/commands/api-key/index.ts
3
- var api_key_default = defineCommandGroup({
4
- name: "api-key",
5
- description: "Manage Metabase API keys",
6
- subCommands: {
7
- list: () => import("./list-rI68Y9Gz.mjs").then((mod) => mod.default),
8
- create: () => import("./create-DwY140oE.mjs").then((mod) => mod.default),
9
- delete: () => import("./delete-DtZUEUck.mjs").then((mod) => mod.default)
10
- }
11
- });
12
- //#endregion
13
- export { api_key_default as default };
@@ -1,25 +0,0 @@
1
- import { t as defineCommandGroup } from "./group-W6sZ0eWr.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-BaM9JWY2.mjs").then((mod) => mod.default),
15
- get: () => import("./get-BoYBPOre.mjs").then((mod) => mod.default),
16
- query: () => import("./query-D0iAwWIe.mjs").then((mod) => mod.default),
17
- alerts: () => import("./alerts-DNfvRAHF.mjs").then((mod) => mod.default),
18
- create: () => import("./create-DJjRunsw.mjs").then((mod) => mod.default),
19
- update: () => import("./update-CFZsL4Ic.mjs").then((mod) => mod.default),
20
- verify: () => import("./verify-64UZkL-F.mjs").then((mod) => mod.default),
21
- archive: () => import("./archive-DASCU44R.mjs").then((mod) => mod.default)
22
- }
23
- });
24
- //#endregion
25
- export { card_default as default };
@@ -1,21 +0,0 @@
1
- import { t as defineCommandGroup } from "./group-W6sZ0eWr.mjs";
2
- //#region src/commands/collection/index.ts
3
- var collection_default = defineCommandGroup({
4
- name: "collection",
5
- description: "Manage Metabase collections",
6
- skills: [{
7
- skill: "core",
8
- purpose: "collection ref forms and the transforms namespace"
9
- }],
10
- subCommands: {
11
- list: () => import("./list-BTKVHUkk.mjs").then((mod) => mod.default),
12
- get: () => import("./get-B4xNfH3p.mjs").then((mod) => mod.default),
13
- items: () => import("./items-BPeXkhSe.mjs").then((mod) => mod.default),
14
- tree: () => import("./tree-DZ3YLCje.mjs").then((mod) => mod.default),
15
- create: () => import("./create-gMYMUL7t.mjs").then((mod) => mod.default),
16
- update: () => import("./update-DEDzv1mA.mjs").then((mod) => mod.default),
17
- archive: () => import("./archive-BigVLFhO.mjs").then((mod) => mod.default)
18
- }
19
- });
20
- //#endregion
21
- export { collection_default as default };
@@ -1,35 +0,0 @@
1
- import { t as defineCommandGroup } from "./group-W6sZ0eWr.mjs";
2
- //#region src/commands/dashboard/index.ts
3
- var dashboard_default = defineCommandGroup({
4
- name: "dashboard",
5
- description: "Manage Metabase dashboards",
6
- skills: [
7
- {
8
- skill: "dashboard",
9
- purpose: "wiring filters, linked filters, cross-filtering, click behavior, tabs"
10
- },
11
- {
12
- skill: "visualization",
13
- purpose: "dashcard display and visualization_settings"
14
- },
15
- {
16
- skill: "core",
17
- purpose: "the 24-column dashcard grid layout"
18
- }
19
- ],
20
- subCommands: {
21
- list: () => import("./list-BTbH-TVK.mjs").then((mod) => mod.default),
22
- get: () => import("./get-BQvkMnCE.mjs").then((mod) => mod.default),
23
- cards: () => import("./cards-BXiY52Nm.mjs").then((mod) => mod.default),
24
- "parameter-values": () => import("./parameter-values-B5s2INem.mjs").then((mod) => mod.default),
25
- subscriptions: () => import("./subscriptions-D2sw0LRD.mjs").then((mod) => mod.default),
26
- create: () => import("./create-hvtusQEZ.mjs").then((mod) => mod.default),
27
- update: () => import("./update-9WG4Ks__.mjs").then((mod) => mod.default),
28
- "update-dashcard": () => import("./update-dashcard-DJGaybcJ.mjs").then((mod) => mod.default),
29
- copy: () => import("./copy-FIxCe679.mjs").then((mod) => mod.default),
30
- verify: () => import("./verify-CpfETbmC.mjs").then((mod) => mod.default),
31
- archive: () => import("./archive-DFSuRpQU.mjs").then((mod) => mod.default)
32
- }
33
- });
34
- //#endregion
35
- export { dashboard_default as default };
@@ -1,24 +0,0 @@
1
- import { t as defineCommandGroup } from "./group-W6sZ0eWr.mjs";
2
- //#region src/commands/data-action/index.ts
3
- var data_action_default = defineCommandGroup({
4
- name: "data-action",
5
- description: "Manage Metabase data actions",
6
- skills: [{
7
- skill: "data-action",
8
- purpose: "author and run data actions"
9
- }, {
10
- skill: "native-sql",
11
- purpose: "the data action's native query and its template tags"
12
- }],
13
- subCommands: {
14
- list: () => import("./list-Pse7z6Mw.mjs").then((mod) => mod.default),
15
- get: () => import("./get-DZ0Y723i.mjs").then((mod) => mod.default),
16
- create: () => import("./create-CazoyArr.mjs").then((mod) => mod.default),
17
- update: () => import("./update-DFBfTmhv.mjs").then((mod) => mod.default),
18
- archive: () => import("./archive-BHwRFiIp.mjs").then((mod) => mod.default),
19
- delete: () => import("./delete-DOStUKHR.mjs").then((mod) => mod.default),
20
- execute: () => import("./execute-CWdVreci.mjs").then((mod) => mod.default)
21
- }
22
- });
23
- //#endregion
24
- export { data_action_default as default };
@@ -1,15 +0,0 @@
1
- import { t as defineCommandGroup } from "./group-W6sZ0eWr.mjs";
2
- //#region src/commands/dependency/index.ts
3
- var dependency_default = defineCommandGroup({
4
- name: "dependency",
5
- description: "Trace what Metabase content depends on and what depends on it",
6
- subCommands: {
7
- graph: () => import("./graph-CDzK39x5.mjs").then((m) => m.default),
8
- dependents: () => import("./dependents-DyiLbk63.mjs").then((m) => m.default),
9
- broken: () => import("./broken-Bx2JFtDZ.mjs").then((m) => m.default),
10
- unreferenced: () => import("./unreferenced-BGIPLLRG.mjs").then((m) => m.default),
11
- breaking: () => import("./breaking-BEwEGyrk.mjs").then((m) => m.default)
12
- }
13
- });
14
- //#endregion
15
- export { dependency_default as default };
@@ -1,20 +0,0 @@
1
- import { t as defineCommandGroup } from "./group-W6sZ0eWr.mjs";
2
- //#region src/commands/document/index.ts
3
- var document_default = defineCommandGroup({
4
- name: "document",
5
- description: "Manage Metabase documents",
6
- skills: [{
7
- skill: "document",
8
- purpose: "author the ProseMirror document body"
9
- }],
10
- subCommands: {
11
- list: () => import("./list-Du0jDR1s.mjs").then((mod) => mod.default),
12
- get: () => import("./get-BRjcNZro.mjs").then((mod) => mod.default),
13
- create: () => import("./create-lu1w-Hbw.mjs").then((mod) => mod.default),
14
- update: () => import("./update-DSPTxIe4.mjs").then((mod) => mod.default),
15
- copy: () => import("./copy-UIDZe3Qc.mjs").then((mod) => mod.default),
16
- archive: () => import("./archive-DXD8E-tc.mjs").then((mod) => mod.default)
17
- }
18
- });
19
- //#endregion
20
- export { document_default as default };
@@ -1,21 +0,0 @@
1
- import { t as defineCommandGroup } from "./group-W6sZ0eWr.mjs";
2
- //#region src/commands/field/index.ts
3
- var field_default = defineCommandGroup({
4
- name: "field",
5
- description: "Manage Metabase fields",
6
- skills: [{
7
- skill: "metadata",
8
- purpose: "semantic types, FK targets, visibility, dropdown behavior"
9
- }],
10
- subCommands: {
11
- get: () => import("./get-Co_dWeNO.mjs").then((m) => m.default),
12
- values: () => import("./values-DgFZCjtq.mjs").then((m) => m.default),
13
- summary: () => import("./summary-C4v7PVFE.mjs").then((m) => m.default),
14
- update: () => import("./update-BdvA1vcE.mjs").then((m) => m.default),
15
- search: () => import("./search-COpkYln7.mjs").then((m) => m.default),
16
- remapping: () => import("./remapping-CepD_wm5.mjs").then((m) => m.default),
17
- "set-sensitivity": () => import("./set-sensitivity-BRvy0pfV.mjs").then((m) => m.default)
18
- }
19
- });
20
- //#endregion
21
- export { field_default as default };
@@ -1,29 +0,0 @@
1
- import { t as defineCommandGroup } from "./group-W6sZ0eWr.mjs";
2
- //#region src/commands/git-sync/index.ts
3
- var git_sync_default = defineCommandGroup({
4
- name: "git-sync",
5
- description: "Sync Metabase content with a git remote",
6
- skills: [{
7
- skill: "git-sync",
8
- purpose: "import/export round-trip and dirty checks"
9
- }],
10
- subCommands: {
11
- status: () => import("./status-HUitbwTc.mjs").then((mod) => mod.default),
12
- "is-dirty": () => import("./is-dirty-C35y7-Gk.mjs").then((mod) => mod.default),
13
- "has-remote-changes": () => import("./has-remote-changes-DAI22ieL.mjs").then((mod) => mod.default),
14
- dirty: () => import("./dirty-CnlYt6E6.mjs").then((mod) => mod.default),
15
- "current-task": () => import("./current-task-DRNyn9QX.mjs").then((mod) => mod.default),
16
- "cancel-task": () => import("./cancel-task-D28bHXK_.mjs").then((mod) => mod.default),
17
- wait: () => import("./wait-DwbaWN87.mjs").then((mod) => mod.default),
18
- import: () => import("./import-CvBhorpj.mjs").then((mod) => mod.default),
19
- export: () => import("./export-T7nyfMGZ.mjs").then((mod) => mod.default),
20
- "export-preflight": () => import("./export-preflight-BltqMU8P.mjs").then((mod) => mod.default),
21
- stash: () => import("./stash-DJ1nYTJS.mjs").then((mod) => mod.default),
22
- branches: () => import("./branches-CcDKZnBq.mjs").then((mod) => mod.default),
23
- "create-branch": () => import("./create-branch-Dwdy7irk.mjs").then((mod) => mod.default),
24
- "add-collection": () => import("./add-collection-Bj9NfvnN.mjs").then((mod) => mod.default),
25
- "remove-collection": () => import("./remove-collection-Dyu-svGv.mjs").then((mod) => mod.default)
26
- }
27
- });
28
- //#endregion
29
- export { git_sync_default as default };
@@ -1,14 +0,0 @@
1
- import { t as defineCommandGroup } from "./group-W6sZ0eWr.mjs";
2
- //#region src/commands/glossary/index.ts
3
- var glossary_default = defineCommandGroup({
4
- name: "glossary",
5
- description: "Manage the Metabase glossary of business terms",
6
- subCommands: {
7
- list: () => import("./list-Bjmqnc1r.mjs").then((mod) => mod.default),
8
- create: () => import("./create-Bpwl2GQ3.mjs").then((mod) => mod.default),
9
- update: () => import("./update-DTPwJ5xA.mjs").then((mod) => mod.default),
10
- delete: () => import("./delete-BxHxz81i.mjs").then((mod) => mod.default)
11
- }
12
- });
13
- //#endregion
14
- export { glossary_default as default };
@@ -1,19 +0,0 @@
1
- import { t as defineCommandGroup } from "./group-W6sZ0eWr.mjs";
2
- //#region src/commands/snippet/index.ts
3
- var snippet_default = defineCommandGroup({
4
- name: "snippet",
5
- description: "Manage Metabase native query snippets",
6
- skills: [{
7
- skill: "core",
8
- purpose: "native-SQL snippets and body input"
9
- }],
10
- subCommands: {
11
- list: () => import("./list-uQmmcjXD.mjs").then((mod) => mod.default),
12
- get: () => import("./get-CPTbKAkr.mjs").then((mod) => mod.default),
13
- create: () => import("./create-Buvd5NBb.mjs").then((mod) => mod.default),
14
- update: () => import("./update-Dnw9fBei.mjs").then((mod) => mod.default),
15
- archive: () => import("./archive-xGLFsqVv.mjs").then((mod) => mod.default)
16
- }
17
- });
18
- //#endregion
19
- export { snippet_default as default };
@@ -1,26 +0,0 @@
1
- import { t as defineCommandGroup } from "./group-W6sZ0eWr.mjs";
2
- //#region src/commands/table/index.ts
3
- var table_default = defineCommandGroup({
4
- name: "table",
5
- description: "Manage Metabase tables",
6
- skills: [{
7
- skill: "metadata",
8
- purpose: "table and column metadata, semantic types, visibility"
9
- }],
10
- subCommands: {
11
- list: () => import("./list-sdqp8e2x.mjs").then((m) => m.default),
12
- get: () => import("./get-BGnE-1e0.mjs").then((m) => m.default),
13
- fields: () => import("./fields-D6L8qD0M.mjs").then((m) => m.default),
14
- fks: () => import("./fks-B5_IvC2f.mjs").then((m) => m.default),
15
- update: () => import("./update-t5WIAXSK.mjs").then((m) => m.default),
16
- "sync-schema": () => import("./sync-schema-CQS8hn4e.mjs").then((m) => m.default),
17
- "rescan-values": () => import("./rescan-values-Cc952DEH.mjs").then((m) => m.default),
18
- "discard-values": () => import("./discard-values-4FiVdoR1.mjs").then((m) => m.default),
19
- "bulk-edit": () => import("./bulk-edit-DGx6in-k.mjs").then((m) => m.default),
20
- "bulk-sync-schema": () => import("./bulk-sync-schema-BttWpXxE.mjs").then((m) => m.default),
21
- "bulk-rescan-values": () => import("./bulk-rescan-values-DGlGDhXf.mjs").then((m) => m.default),
22
- "bulk-discard-values": () => import("./bulk-discard-values-BQzOIue5.mjs").then((m) => m.default)
23
- }
24
- });
25
- //#endregion
26
- export { table_default as default };
@@ -1,21 +0,0 @@
1
- import { t as defineCommandGroup } from "./group-W6sZ0eWr.mjs";
2
- //#region src/commands/timeline/index.ts
3
- var timeline_default = defineCommandGroup({
4
- name: "timeline",
5
- description: "Manage Metabase timelines (event annotations for time-series charts)",
6
- skills: [{
7
- skill: "core",
8
- purpose: "collection scoping — events render only on questions in the timeline's collection"
9
- }],
10
- subCommands: {
11
- list: () => import("./list-DeEkR_mM.mjs").then((mod) => mod.default),
12
- get: () => import("./get-CPJ79uJS.mjs").then((mod) => mod.default),
13
- events: () => import("./events-CnJ7Rwtn.mjs").then((mod) => mod.default),
14
- create: () => import("./create-DoVQrBJ4.mjs").then((mod) => mod.default),
15
- update: () => import("./update-Dv4Y0Jyp.mjs").then((mod) => mod.default),
16
- archive: () => import("./archive-DQL3uq3S.mjs").then((mod) => mod.default),
17
- delete: () => import("./delete-Cnv4Bp9r.mjs").then((mod) => mod.default)
18
- }
19
- });
20
- //#endregion
21
- export { timeline_default as default };
@@ -1,28 +0,0 @@
1
- import { t as defineCommandGroup } from "./group-W6sZ0eWr.mjs";
2
- //#region src/commands/transform/index.ts
3
- var transform_default = defineCommandGroup({
4
- name: "transform",
5
- description: "Manage Metabase transforms",
6
- skills: [{
7
- skill: "transform",
8
- purpose: "body shape, run-with-wait, iterate"
9
- }, {
10
- skill: "mbql",
11
- purpose: "MBQL source.query bodies"
12
- }],
13
- subCommands: {
14
- list: () => import("./list--qtST6Mu.mjs").then((mod) => mod.default),
15
- get: () => import("./get-BFdBm5Yv.mjs").then((mod) => mod.default),
16
- dependencies: () => import("./dependencies-DlrwzY_z.mjs").then((mod) => mod.default),
17
- create: () => import("./create-Au6xqgIO2.mjs").then((mod) => mod.default),
18
- update: () => import("./update-CnDoasSQ.mjs").then((mod) => mod.default),
19
- delete: () => import("./delete-woVgrl8z.mjs").then((mod) => mod.default),
20
- "delete-table": () => import("./delete-table-BkrSMJ6s.mjs").then((mod) => mod.default),
21
- run: () => import("./run-Cc2HW3ZI.mjs").then((mod) => mod.default),
22
- cancel: () => import("./cancel-DdhLoGp1.mjs").then((mod) => mod.default),
23
- "get-run": () => import("./get-run-DlpRMIC1.mjs").then((mod) => mod.default),
24
- runs: () => import("./runs-DUFlS3Z-.mjs").then((mod) => mod.default)
25
- }
26
- });
27
- //#endregion
28
- export { transform_default as default };