@metabase/cli 0.2.0 → 0.2.1

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 (186) hide show
  1. package/README.md +151 -0
  2. package/dist/add-collection-C8ZTPlIE.mjs +9 -0
  3. package/dist/{add-collection-BTSGp4f9.mjs → add-collection-CUBn11d4.mjs} +4 -4
  4. package/dist/{append-DY1-O789.mjs → append-BgDaYJW9.mjs} +5 -5
  5. package/dist/{archive-CJ9rElKn.mjs → archive-BCPA0HhV.mjs} +3 -3
  6. package/dist/{archive-CWtUzlHO.mjs → archive-BM9HjJHQ.mjs} +3 -3
  7. package/dist/{archive-DOa1u1aJ.mjs → archive-BZpXnQSu.mjs} +3 -3
  8. package/dist/{archive-w6TX-zEk.mjs → archive-BncW2dGw.mjs} +3 -3
  9. package/dist/archive-Bv59HYsU.mjs +38 -0
  10. package/dist/{archive-DCPw3df6.mjs → archive-Czzktgho.mjs} +3 -3
  11. package/dist/{archive-BOEEMrYL.mjs → archive-DFCu5hVG.mjs} +3 -3
  12. package/dist/archive-EoYl-lS-.mjs +38 -0
  13. package/dist/{archive-pHsa4dL0.mjs → archive-Oh1iZu2y.mjs} +3 -3
  14. package/dist/{auth-BrQtY0pO.mjs → auth-hgAnMUfi.mjs} +4 -4
  15. package/dist/{body-C1_AaTS4.mjs → body-DKcQw7G5.mjs} +3 -3
  16. package/dist/{branches-BsBzaGIf.mjs → branches-CCmtr3W8.mjs} +4 -4
  17. package/dist/{cancel-BNM0yyx-.mjs → cancel-72y10-Rg.mjs} +3 -3
  18. package/dist/{cancel-task-Bggzn4JL.mjs → cancel-task-CGwdz91O.mjs} +4 -4
  19. package/dist/{capabilities-DrDJo_ng.mjs → capabilities-DOTcPraV.mjs} +1 -1
  20. package/dist/{card-DHCcmpgr.mjs → card-Ct-q_C4S.mjs} +6 -6
  21. package/dist/{cards-D0hvA13L.mjs → cards-CYSyvN7Z.mjs} +3 -3
  22. package/dist/cli.mjs +28 -26
  23. package/dist/{collection-D0O9gp3S.mjs → collection-K82kJWdj.mjs} +6 -6
  24. package/dist/{collection-namespace-DqPNrCdQ.mjs → collection-namespace-C7mr_a8H.mjs} +2 -2
  25. package/dist/{create-oLb0E-ZP.mjs → create-7pbf5Wu0.mjs} +6 -6
  26. package/dist/{create-CZ9KFnbi.mjs → create-BDY38_Kr.mjs} +4 -4
  27. package/dist/create-Brh8WCa3.mjs +45 -0
  28. package/dist/{create-C8ndg3g4.mjs → create-C3DThF9E.mjs} +6 -6
  29. package/dist/{create-E6L3WMqV.mjs → create-CPEOSxIH.mjs} +5 -5
  30. package/dist/{create-DKuixGJ2.mjs → create-C_WqoOf5.mjs} +5 -5
  31. package/dist/{create-BR7x66KW.mjs → create-CaWFrPRU.mjs} +8 -8
  32. package/dist/{create-Cii_utzV.mjs → create-DFyZCXQD.mjs} +2 -2
  33. package/dist/{create-a3s1S2Dw.mjs → create-E7XhC0gJ.mjs} +6 -6
  34. package/dist/{create-05rX4oL-.mjs → create-QYctYGSa.mjs} +6 -6
  35. package/dist/create-U_XDwsIX.mjs +45 -0
  36. package/dist/{create-branch-Dxn6UnV_.mjs → create-branch-DPE6itiS.mjs} +4 -4
  37. package/dist/{create-C17Fh1_X.mjs → create-nXlnVzXl.mjs} +5 -5
  38. package/dist/{create-Cyv7vHV_.mjs → create-pTnveKkm.mjs} +4 -4
  39. package/dist/{csv-T6_vlLJS.mjs → csv-CR2qhmC6.mjs} +5 -5
  40. package/dist/{current-task-DxWbw-bU.mjs → current-task-MUHaiHIg.mjs} +4 -4
  41. package/dist/{dashboard-BpSPoeAn.mjs → dashboard-B1iRSUBI.mjs} +8 -8
  42. package/dist/{db-DBRijnh4.mjs → db-eWy7A-H3.mjs} +6 -6
  43. package/dist/{delete--P1xFX37.mjs → delete-B58Cng0p.mjs} +5 -5
  44. package/dist/{delete-BBOIUl0D.mjs → delete-BKMOtpjs.mjs} +5 -5
  45. package/dist/delete-BMa26SzX.mjs +49 -0
  46. package/dist/delete-CW3dYmuT.mjs +49 -0
  47. package/dist/{delete-Ce2EBQYA.mjs → delete-doa3R-c5.mjs} +5 -5
  48. package/dist/{delete-runtime-B-8I9V1g.mjs → delete-runtime-_YOukDRC.mjs} +2 -2
  49. package/dist/{delete-table-Bj32NsXn.mjs → delete-table-D_tjBZPd.mjs} +5 -5
  50. package/dist/{dependencies-ixzjVjUz.mjs → dependencies-BR_4um7h.mjs} +4 -4
  51. package/dist/{dirty-CH70h5m5.mjs → dirty-BKCg6oVN.mjs} +4 -4
  52. package/dist/{document-dZpuFu3I.mjs → document-CVxhTnUD.mjs} +5 -5
  53. package/dist/{eid-XjkBbyb_.mjs → eid-DSOk7Khb.mjs} +4 -4
  54. package/dist/events-Dxm7me47.mjs +44 -0
  55. package/dist/{export-CChMg-mL.mjs → export-Gb_wfZpt.mjs} +6 -6
  56. package/dist/{field-B1heFeCz.mjs → field-BTCw6voJ.mjs} +4 -4
  57. package/dist/{fields-C7h2QwUp.mjs → fields-hZeq6IF2.mjs} +3 -3
  58. package/dist/{get-cyR67Lmq.mjs → get--rGDVyje.mjs} +3 -3
  59. package/dist/{get-RlP_xiUd.mjs → get-43Smv3RI.mjs} +3 -3
  60. package/dist/{get-BWHJDa0B.mjs → get-7Np_G2je.mjs} +3 -3
  61. package/dist/{get-B6ZJCJ8H.mjs → get-BSdOE5J4.mjs} +3 -3
  62. package/dist/{get-C98IFgFi.mjs → get-CHAH_F37.mjs} +3 -3
  63. package/dist/{get-D9r2znrn.mjs → get-CH_JmPc-.mjs} +4 -4
  64. package/dist/{get-Dg1J0wxb.mjs → get-CP3lrIYi.mjs} +3 -3
  65. package/dist/{get-BsyccuCH.mjs → get-CgZ5qjQx.mjs} +2 -2
  66. package/dist/get-CuPCE_AG.mjs +35 -0
  67. package/dist/{get-DrWYvefc.mjs → get-DB6Y9igl.mjs} +3 -3
  68. package/dist/{get-DWWmpQ87.mjs → get-DRK5-UdU.mjs} +3 -3
  69. package/dist/{get-Cj90oyxG.mjs → get-DT2MOZ8L.mjs} +4 -4
  70. package/dist/{get-DRZENkCj.mjs → get-DWzMR8sn.mjs} +3 -3
  71. package/dist/{get-AvGH_oph.mjs → get-DZatHVdn.mjs} +3 -3
  72. package/dist/{get-KVN9ANVh.mjs → get-DtvzjfjG.mjs} +3 -3
  73. package/dist/get-T85qZgnv.mjs +35 -0
  74. package/dist/{get-kqY2lwhO.mjs → get-nZW0W7Ui.mjs} +3 -3
  75. package/dist/{get-run-C4C_QQqO.mjs → get-run-Cwia6e0d.mjs} +4 -4
  76. package/dist/git-sync-Cjrx2meo.mjs +31 -0
  77. package/dist/{has-remote-changes-dLUGr0MD.mjs → has-remote-changes-CIIib71u.mjs} +4 -4
  78. package/dist/{import-Byull6jF.mjs → import-D9ID9Mz4.mjs} +6 -6
  79. package/dist/{input-m9ctfLxZ.mjs → input-DzbvxKYU.mjs} +1 -1
  80. package/dist/{is-dirty-CU3ovgdG.mjs → is-dirty-CHbUJ-bh.mjs} +3 -3
  81. package/dist/is-dirty-DY5Zhsbk.mjs +8 -0
  82. package/dist/{items-CEGDYWuF.mjs → items-DN63mjpF.mjs} +4 -4
  83. package/dist/{key-Ge4VwWvS.mjs → key-BnGRTX8U.mjs} +1 -1
  84. package/dist/{library-DHWWa4Tt.mjs → library-DF2qx50w.mjs} +4 -4
  85. package/dist/{list-3z1ZChTG.mjs → list-B1sdMz6m.mjs} +3 -3
  86. package/dist/{list-DEkPxVZu.mjs → list-B3HoSfYj.mjs} +3 -3
  87. package/dist/{list-BFm4iEBt.mjs → list-BSxMFDMR.mjs} +3 -3
  88. package/dist/list-BeqcZVSn.mjs +39 -0
  89. package/dist/{list-Cur_72xZ.mjs → list-C0344yqi.mjs} +3 -3
  90. package/dist/{list-BuyRG3GB.mjs → list-C5Ir-96z.mjs} +3 -3
  91. package/dist/{list-th_Ym6Cv.mjs → list-C6YpaUpC.mjs} +3 -3
  92. package/dist/{list-Bpv06V24.mjs → list-C7TqbWG1.mjs} +2 -2
  93. package/dist/{list-Br48kL09.mjs → list-CQN2BpaW.mjs} +2 -2
  94. package/dist/{list-B9TyELob.mjs → list-CY-jpBNE.mjs} +3 -3
  95. package/dist/{list-CmCJwaGT.mjs → list-CkTsOOA7.mjs} +2 -2
  96. package/dist/{list-BliCJAjt.mjs → list-CvS68tLn.mjs} +2 -2
  97. package/dist/{list-CMb03cv3.mjs → list-De82cXvn.mjs} +3 -3
  98. package/dist/{list-O2w5xd1q.mjs → list-KDHLmoUx.mjs} +2 -2
  99. package/dist/{list-BtcpNl4-.mjs → list-MqqHcBvD.mjs} +2 -2
  100. package/dist/{list-D9FY30xH.mjs → list-n2PY3OIx.mjs} +3 -3
  101. package/dist/{login-hKlYsAa1.mjs → login-jy9rbYev.mjs} +6 -6
  102. package/dist/{logout-DO8GVC6b.mjs → logout-CRbk1SuY.mjs} +3 -3
  103. package/dist/{measure-R3T20wnB.mjs → measure-CPqisgyf.mjs} +5 -5
  104. package/dist/{parameter-values-BJb2GuLz.mjs → parameter-values-CcgcG3S5.mjs} +3 -3
  105. package/dist/{parse-enum-Cfne2suT.mjs → parse-enum-C_2lGr3g.mjs} +1 -1
  106. package/dist/{parse-id-DfY0Lugw.mjs → parse-id-CD54Chc5.mjs} +1 -1
  107. package/dist/{parse-ref-C_MsXYI6.mjs → parse-ref-BLgKEEF-.mjs} +1 -1
  108. package/dist/{path-DzhQVCH8.mjs → path-CPMr1RJO.mjs} +3 -3
  109. package/dist/{poll-D1Yg78c3.mjs → poll-DVF9EnEb.mjs} +2 -2
  110. package/dist/{poll-task-DLUZaglY.mjs → poll-task-CpHGQOd5.mjs} +2 -2
  111. package/dist/{preflight-Cy2jUSca.mjs → preflight-xhwEOHAt.mjs} +2 -2
  112. package/dist/{process-D5HN1wpT.mjs → process-HDPKLS_z.mjs} +1 -1
  113. package/dist/{prompt-ZG9Drin_.mjs → prompt-BgkWNgIR.mjs} +1 -1
  114. package/dist/{publish-3hmHoaX-.mjs → publish-xVPABwE8.mjs} +4 -4
  115. package/dist/{query-DkZViD_3.mjs → query-B3HDIsJ-.mjs} +7 -7
  116. package/dist/{query-DTASj9Zu.mjs → query-Cxh9hmrP.mjs} +4 -4
  117. package/dist/{query-result-CbTFdlSf.mjs → query-result-Drvjv7DD.mjs} +1 -1
  118. package/dist/{remove-collection-D3wH9H6R.mjs → remove-collection-_a4uIlLB.mjs} +6 -6
  119. package/dist/{replace-CFzqkZXs.mjs → replace-BwvKDNur.mjs} +5 -5
  120. package/dist/{requests-KBiY9UYy.mjs → requests-qyh002pL.mjs} +2 -2
  121. package/dist/{rescan-values-B1WycObS.mjs → rescan-values-Bd0Joerq.mjs} +3 -3
  122. package/dist/{run-cw0qTEQ7.mjs → run-BfpKUjqL.mjs} +6 -6
  123. package/dist/{run-B8qEEdC8.mjs → run-yrpSF6VL.mjs} +3 -3
  124. package/dist/{runs-BOA4kK_X.mjs → runs-D_08Ma08.mjs} +4 -4
  125. package/dist/{runtime-B-c-Fc2i.mjs → runtime-Ab96yYlM.mjs} +1 -1
  126. package/dist/{schema-tables-DRYzSVcW.mjs → schema-tables-ChBYz4mO.mjs} +3 -3
  127. package/dist/{schemas-BiMjD25L.mjs → schemas-C2crnVML.mjs} +3 -3
  128. package/dist/{search-DjKxRXO5.mjs → search-DnGEh6sZ.mjs} +3 -3
  129. package/dist/{segment-CZkk0g79.mjs → segment-DyVTZSIM.mjs} +5 -5
  130. package/dist/{selectors-B7MJUn3I.mjs → selectors-Ll_TRxl5.mjs} +3 -3
  131. package/dist/{set-active-CF868qdW.mjs → set-active-qqDoBh_Z.mjs} +3 -3
  132. package/dist/{set-kyoORFG3.mjs → set-tHsHXRGV.mjs} +5 -5
  133. package/dist/{setting-BZgjURQ_.mjs → setting-B9xSyMf6.mjs} +3 -3
  134. package/dist/{setup-D9joJYPb.mjs → setup-CXGcyTuv.mjs} +4 -4
  135. package/dist/{skills-BqI05u72.mjs → skills-BKuiGkc1.mjs} +1 -1
  136. package/dist/{skills-D8NrJxjp.mjs → skills-rnvVgau4.mjs} +3 -3
  137. package/dist/{snippet-y_FzKxaQ.mjs → snippet-C4h-GMUf.mjs} +5 -5
  138. package/dist/{stash-BVMerTaF.mjs → stash-DxmpBS7x.mjs} +6 -6
  139. package/dist/{status-C-0jFjFn.mjs → status-B5ar0uXc.mjs} +2 -2
  140. package/dist/{status-x8bDOa1i.mjs → status-D5CR1SrS.mjs} +5 -5
  141. package/dist/{summary-B-R9SdMF.mjs → summary-BEEJl2O1.mjs} +3 -3
  142. package/dist/{sync-schema-wne2KXIW.mjs → sync-schema-B5HDpmrp.mjs} +5 -5
  143. package/dist/{table-CS2-2INi.mjs → table-DHmaW3Ec.mjs} +4 -4
  144. package/dist/timeline-B0R6-dm8.mjs +24 -0
  145. package/dist/timeline-BCTRThc-.mjs +157 -0
  146. package/dist/timeline-event-BVDTt-pM.mjs +22 -0
  147. package/dist/transform-Cq2_muWO.mjs +31 -0
  148. package/dist/transform-job-BpebgMnq.mjs +25 -0
  149. package/dist/{transform-tag-DaNKreDj.mjs → transform-tag-B1xnFa9w.mjs} +4 -4
  150. package/dist/{transforms-DB2WNP2R.mjs → transforms-CLkv3e81.mjs} +4 -4
  151. package/dist/{tree-BIOphGVs.mjs → tree-CB2IURsX.mjs} +2 -2
  152. package/dist/{unpublish-BWM36ZTg.mjs → unpublish-BkZldbkP.mjs} +4 -4
  153. package/dist/update-8bTrglfc.mjs +52 -0
  154. package/dist/{update-CTZg2Lia.mjs → update-B1dkPypu.mjs} +9 -9
  155. package/dist/{update-6umfSz5t.mjs → update-B4atxTx0.mjs} +5 -5
  156. package/dist/{update-DJDuIhYG.mjs → update-BHC3pwzR.mjs} +6 -6
  157. package/dist/{update-zfLbmC-H.mjs → update-BacyVaLu.mjs} +6 -6
  158. package/dist/{update-BlzcZwRQ.mjs → update-BghbOcv6.mjs} +7 -7
  159. package/dist/{update-Sz0QRGWB.mjs → update-CGWTX1Z0.mjs} +5 -5
  160. package/dist/{update-BCbv880u.mjs → update-CO9uCJxV.mjs} +7 -7
  161. package/dist/{update-7Ts7KrB8.mjs → update-Cyxjg496.mjs} +5 -5
  162. package/dist/{update-HxYcvpSq.mjs → update-D7Ia9Qrt.mjs} +7 -7
  163. package/dist/{update-BiUeEGU-.mjs → update-D80GWpWl.mjs} +7 -7
  164. package/dist/update-DajyWtBN.mjs +52 -0
  165. package/dist/{update-dashcard-CfDpy7Lz.mjs → update-dashcard-DLq7ihNO.mjs} +5 -5
  166. package/dist/{update-BchtHlbH.mjs → update-iY9WZqy0.mjs} +5 -5
  167. package/dist/{upgrade-BWl0VjMK.mjs → upgrade-CXoNQ4FH.mjs} +4 -4
  168. package/dist/{upload-CPzOhGeX.mjs → upload-D3eiApa0.mjs} +3 -3
  169. package/dist/{uuid-D_YeqDui.mjs → uuid-D6dao_q4.mjs} +2 -2
  170. package/dist/{validate-clAWO3X-.mjs → validate-Cqa14t7o.mjs} +1 -1
  171. package/dist/{validate-query-CsK2_2_u.mjs → validate-query-D1N30wJ7.mjs} +2 -2
  172. package/dist/{values-DSk8ZJ3B.mjs → values-DIBAgSyz.mjs} +3 -3
  173. package/dist/{verify-DkQdLjf3.mjs → verify-DvhZWmS2.mjs} +2 -2
  174. package/dist/{wait-DvSsMjea.mjs → wait-CW1OawkI.mjs} +5 -5
  175. package/dist/{wait-flags-dXGThljd.mjs → wait-flags-DvNU8ahZ.mjs} +2 -2
  176. package/package.json +1 -1
  177. package/skill-data/core/SKILL.md +4 -2
  178. package/skill-data/visualization/SKILL.md +1 -0
  179. package/dist/add-collection-DlAwt2Z3.mjs +0 -9
  180. package/dist/git-sync-JHa7bIyY.mjs +0 -31
  181. package/dist/is-dirty-Bb2dfEYs.mjs +0 -8
  182. package/dist/transform-6hqM1DXA.mjs +0 -31
  183. package/dist/transform-job-DuERhLaj.mjs +0 -25
  184. /package/dist/{transform-JQel7e5H.mjs → transform-BVHYzWpK.mjs} +0 -0
  185. /package/dist/{transform-job-CtVziW85.mjs → transform-job-CjsAXMej.mjs} +0 -0
  186. /package/dist/{transform-tag-wFiWmiyO.mjs → transform-tag--IBQ-8Ij.mjs} +0 -0
package/README.md CHANGED
@@ -919,6 +919,157 @@ mb measure archive 1 --revision-message "deprecated"
919
919
  | --------------------------- | ------------------------------------------- |
920
920
  | `--revision-message <text>` | Audit-log message recorded with the change. |
921
921
 
922
+ ## Timelines
923
+
924
+ CRUD on `/api/timeline`. A timeline is a named collection of dated events rendered as annotations on time-series charts. Timelines live in collections (`collection_id: null` = root) and carry an icon (`star`, `cake`, `mail`, `warning`, `bell`, `cloud`).
925
+
926
+ ### `mb timeline list`
927
+
928
+ ```sh
929
+ mb timeline list
930
+ mb timeline list --json
931
+ mb timeline list --archived --json
932
+ ```
933
+
934
+ | Flag | Description |
935
+ | ------------ | ----------------------------------------------- |
936
+ | `--archived` | Show archived timelines instead of active ones. |
937
+
938
+ ### `mb timeline get <id>`
939
+
940
+ ```sh
941
+ mb timeline get 1
942
+ mb timeline get 1 --json --full
943
+ ```
944
+
945
+ ### `mb timeline events <id>`
946
+
947
+ List the events on a timeline. Archived events are excluded unless `--archived` is passed (which returns both).
948
+
949
+ ```sh
950
+ mb timeline events 1
951
+ mb timeline events 1 --archived --json
952
+ ```
953
+
954
+ | Flag | Description |
955
+ | ------------ | ------------------------ |
956
+ | `--archived` | Include archived events. |
957
+
958
+ ### `mb timeline create`
959
+
960
+ ```sh
961
+ mb timeline create --body '{"name":"Releases"}'
962
+ cat timeline.json | mb timeline create
963
+ mb timeline create --file timeline.json
964
+ ```
965
+
966
+ | Flag | Description |
967
+ | --------------- | ----------------------- |
968
+ | `--body <json>` | Inline JSON body. |
969
+ | `--file <path>` | Path to JSON body file. |
970
+
971
+ Body fields: `name` (required), `description` (optional), `icon` (optional, default `star`), `collection_id` (optional positive integer, omit for the root collection), `default` (optional boolean marking the collection's default timeline).
972
+
973
+ ### `mb timeline update <id>`
974
+
975
+ Patch a timeline. Body is a partial subset of the create shape plus `archived`. Only the keys you send are touched. Changing `archived` cascades to every event on the timeline.
976
+
977
+ ```sh
978
+ mb timeline update 1 --body '{"name":"Product releases"}'
979
+ cat patch.json | mb timeline update 1
980
+ mb timeline update 1 --file patch.json
981
+ ```
982
+
983
+ | Flag | Description |
984
+ | --------------- | ----------------------- |
985
+ | `--body <json>` | Inline JSON body. |
986
+ | `--file <path>` | Path to JSON body file. |
987
+
988
+ ### `mb timeline archive <id>`
989
+
990
+ Soft-delete a timeline (and, by server-side cascade, all its events) by setting `archived: true`. To unarchive use `mb timeline update <id> --body '{"archived":false}'`.
991
+
992
+ ```sh
993
+ mb timeline archive 1
994
+ mb timeline archive 1 --json
995
+ ```
996
+
997
+ ### `mb timeline delete <id>`
998
+
999
+ Permanently delete a timeline and all its events. Irreversible — prefer `mb timeline archive` unless you mean it. Prompts for confirmation on a TTY; requires `--yes` otherwise.
1000
+
1001
+ ```sh
1002
+ mb timeline delete 1 --yes
1003
+ mb timeline delete 1
1004
+ ```
1005
+
1006
+ | Flag | Description |
1007
+ | ------- | ------------------ |
1008
+ | `--yes` | Skip confirmation. |
1009
+
1010
+ ## Timeline events
1011
+
1012
+ CRUD on `/api/timeline-event`. An event is a dated annotation on a timeline. There is no server-side list endpoint — list events with `mb timeline events <id>`.
1013
+
1014
+ ### `mb timeline-event get <id>`
1015
+
1016
+ ```sh
1017
+ mb timeline-event get 1
1018
+ mb timeline-event get 1 --json --full
1019
+ ```
1020
+
1021
+ ### `mb timeline-event create`
1022
+
1023
+ ```sh
1024
+ mb timeline-event create --body '{"name":"v2 launch","timestamp":"2026-07-01T00:00:00Z","timezone":"UTC","time_matters":false,"timeline_id":1}'
1025
+ cat event.json | mb timeline-event create
1026
+ mb timeline-event create --file event.json
1027
+ ```
1028
+
1029
+ | Flag | Description |
1030
+ | --------------- | ----------------------- |
1031
+ | `--body <json>` | Inline JSON body. |
1032
+ | `--file <path>` | Path to JSON body file. |
1033
+
1034
+ Body fields: `name` (required), `timestamp` (required, ISO 8601), `timezone` (required, IANA name like `UTC` or `America/New_York`), `time_matters` (required boolean — `true` when the time of day is significant, `false` when only the date is), `timeline_id` (required positive integer), `description` (optional), `icon` (optional, default: the timeline's icon).
1035
+
1036
+ ### `mb timeline-event update <id>`
1037
+
1038
+ Patch an event. Body is a partial subset of the create shape plus `archived`. Only the keys you send are touched; `timeline_id` moves the event to another timeline.
1039
+
1040
+ ```sh
1041
+ mb timeline-event update 1 --body '{"name":"v2.1 launch"}'
1042
+ cat patch.json | mb timeline-event update 1
1043
+ mb timeline-event update 1 --file patch.json
1044
+ ```
1045
+
1046
+ | Flag | Description |
1047
+ | --------------- | ----------------------- |
1048
+ | `--body <json>` | Inline JSON body. |
1049
+ | `--file <path>` | Path to JSON body file. |
1050
+
1051
+ ### `mb timeline-event archive <id>`
1052
+
1053
+ Soft-delete an event by setting `archived: true`. To unarchive use `mb timeline-event update <id> --body '{"archived":false}'`.
1054
+
1055
+ ```sh
1056
+ mb timeline-event archive 1
1057
+ mb timeline-event archive 1 --json
1058
+ ```
1059
+
1060
+ ### `mb timeline-event delete <id>`
1061
+
1062
+ Permanently delete an event. Prompts for confirmation on a TTY; requires `--yes` otherwise.
1063
+
1064
+ ```sh
1065
+ mb timeline-event delete 1 --yes
1066
+ mb timeline-event delete 1
1067
+ ```
1068
+
1069
+ | Flag | Description |
1070
+ | ------- | ------------------ |
1071
+ | `--yes` | Skip confirmation. |
1072
+
922
1073
  ## Collections
923
1074
 
924
1075
  Read collections on `/api/collection`. Collections are the folders that contain cards, dashboards, and other collections. The list endpoint surfaces a virtual root collection (id `"root"`) alongside regular numeric ids; the get endpoint accepts only the numeric id.
@@ -0,0 +1,9 @@
1
+ import "./capabilities-DOTcPraV.mjs";
2
+ import "./command-augment-D9pI9Vbh.mjs";
3
+ import "./runtime-Ab96yYlM.mjs";
4
+ import "./parse-id-CD54Chc5.mjs";
5
+ import "./poll-DVF9EnEb.mjs";
6
+ import "./poll-task-CpHGQOd5.mjs";
7
+ import { SyncSettingsUpdateResult, add_collection_default, setCollectionRemoteSynced, syncSettingsUpdateView } from "./add-collection-CUBn11d4.mjs";
8
+
9
+ export { add_collection_default as default };
@@ -1,7 +1,7 @@
1
- import { connectionFlags, outputFlags, profileFlag, renderSummary } from "./capabilities-DrDJo_ng.mjs";
2
- import { defineMetabaseCommand } from "./runtime-B-c-Fc2i.mjs";
3
- import { parseId } from "./parse-id-DfY0Lugw.mjs";
4
- import { REMOTE_SYNC_PATHS } from "./poll-task-DLUZaglY.mjs";
1
+ import { connectionFlags, outputFlags, profileFlag, renderSummary } from "./capabilities-DOTcPraV.mjs";
2
+ import { defineMetabaseCommand } from "./runtime-Ab96yYlM.mjs";
3
+ import { parseId } from "./parse-id-CD54Chc5.mjs";
4
+ import { REMOTE_SYNC_PATHS } from "./poll-task-CpHGQOd5.mjs";
5
5
  import { z } from "zod";
6
6
 
7
7
  //#region src/commands/git-sync/add-collection.ts
@@ -1,9 +1,9 @@
1
- import { connectionFlags, outputFlags, profileFlag, renderSummary } from "./capabilities-DrDJo_ng.mjs";
1
+ import { connectionFlags, outputFlags, profileFlag, renderSummary } from "./capabilities-DOTcPraV.mjs";
2
2
  import "./command-augment-D9pI9Vbh.mjs";
3
- import { defineMetabaseCommand } from "./runtime-B-c-Fc2i.mjs";
4
- import "./input-m9ctfLxZ.mjs";
5
- import { parseId } from "./parse-id-DfY0Lugw.mjs";
6
- import { UploadUpdateResult, readCsvFile, requireUploadFilePath, updateTableFromCsv, uploadUpdateResultView } from "./requests-KBiY9UYy.mjs";
3
+ import { defineMetabaseCommand } from "./runtime-Ab96yYlM.mjs";
4
+ import "./input-DzbvxKYU.mjs";
5
+ import { parseId } from "./parse-id-CD54Chc5.mjs";
6
+ import { UploadUpdateResult, readCsvFile, requireUploadFilePath, updateTableFromCsv, uploadUpdateResultView } from "./requests-qyh002pL.mjs";
7
7
 
8
8
  //#region src/commands/upload/append.ts
9
9
  var append_default = defineMetabaseCommand({
@@ -1,7 +1,7 @@
1
- import { connectionFlags, outputFlags, profileFlag, renderSummary } from "./capabilities-DrDJo_ng.mjs";
1
+ import { connectionFlags, outputFlags, profileFlag, renderSummary } from "./capabilities-DOTcPraV.mjs";
2
2
  import "./command-augment-D9pI9Vbh.mjs";
3
- import { defineMetabaseCommand } from "./runtime-B-c-Fc2i.mjs";
4
- import { parseId } from "./parse-id-DfY0Lugw.mjs";
3
+ import { defineMetabaseCommand } from "./runtime-Ab96yYlM.mjs";
4
+ import { parseId } from "./parse-id-CD54Chc5.mjs";
5
5
  import { revisionMessageFlag } from "./revision-message-flag-CHzX0cqV.mjs";
6
6
  import { Segment, segmentView } from "./segment-BPb1H6DW.mjs";
7
7
 
@@ -1,7 +1,7 @@
1
- import { connectionFlags, outputFlags, profileFlag, renderSummary } from "./capabilities-DrDJo_ng.mjs";
1
+ import { connectionFlags, outputFlags, profileFlag, renderSummary } from "./capabilities-DOTcPraV.mjs";
2
2
  import "./command-augment-D9pI9Vbh.mjs";
3
- import { defineMetabaseCommand } from "./runtime-B-c-Fc2i.mjs";
4
- import { parseId } from "./parse-id-DfY0Lugw.mjs";
3
+ import { defineMetabaseCommand } from "./runtime-Ab96yYlM.mjs";
4
+ import { parseId } from "./parse-id-CD54Chc5.mjs";
5
5
  import { Collection, collectionView } from "./collection-CFoLPrY5.mjs";
6
6
 
7
7
  //#region src/commands/collection/archive.ts
@@ -1,7 +1,7 @@
1
- import { connectionFlags, outputFlags, profileFlag, renderSummary } from "./capabilities-DrDJo_ng.mjs";
1
+ import { connectionFlags, outputFlags, profileFlag, renderSummary } from "./capabilities-DOTcPraV.mjs";
2
2
  import "./command-augment-D9pI9Vbh.mjs";
3
- import { defineMetabaseCommand } from "./runtime-B-c-Fc2i.mjs";
4
- import { parseId } from "./parse-id-DfY0Lugw.mjs";
3
+ import { defineMetabaseCommand } from "./runtime-Ab96yYlM.mjs";
4
+ import { parseId } from "./parse-id-CD54Chc5.mjs";
5
5
  import { Snippet, snippetView } from "./snippet-DWiXNy4T.mjs";
6
6
 
7
7
  //#region src/commands/snippet/archive.ts
@@ -1,9 +1,9 @@
1
- import { connectionFlags, outputFlags, profileFlag, renderSummary } from "./capabilities-DrDJo_ng.mjs";
1
+ import { connectionFlags, outputFlags, profileFlag, renderSummary } from "./capabilities-DOTcPraV.mjs";
2
2
  import "./command-augment-D9pI9Vbh.mjs";
3
- import { defineMetabaseCommand } from "./runtime-B-c-Fc2i.mjs";
3
+ import { defineMetabaseCommand } from "./runtime-Ab96yYlM.mjs";
4
4
  import "./embedding-CKdw8q7p.mjs";
5
5
  import "./parameter-BZ6y-Gfs.mjs";
6
- import { parseId } from "./parse-id-DfY0Lugw.mjs";
6
+ import { parseId } from "./parse-id-CD54Chc5.mjs";
7
7
  import { Dashboard, dashboardView } from "./dashboard-B-MTpfeS.mjs";
8
8
 
9
9
  //#region src/commands/dashboard/archive.ts
@@ -0,0 +1,38 @@
1
+ import { connectionFlags, outputFlags, profileFlag, renderSummary } from "./capabilities-DOTcPraV.mjs";
2
+ import "./command-augment-D9pI9Vbh.mjs";
3
+ import { defineMetabaseCommand } from "./runtime-Ab96yYlM.mjs";
4
+ import { parseId } from "./parse-id-CD54Chc5.mjs";
5
+ import { TimelineEvent, timelineEventView } from "./timeline-BCTRThc-.mjs";
6
+
7
+ //#region src/commands/timeline-event/archive.ts
8
+ var archive_default = defineMetabaseCommand({
9
+ meta: {
10
+ name: "archive",
11
+ description: "Archive (soft-delete) a timeline event by id"
12
+ },
13
+ capabilities: { minVersion: 58 },
14
+ args: {
15
+ ...outputFlags,
16
+ ...profileFlag,
17
+ ...connectionFlags,
18
+ id: {
19
+ type: "positional",
20
+ description: "Timeline event id",
21
+ required: true
22
+ }
23
+ },
24
+ outputSchema: TimelineEvent,
25
+ examples: ["mb timeline-event archive 1", "mb timeline-event archive 1 --json"],
26
+ async run({ args, ctx, getClient }) {
27
+ const id = parseId(args.id);
28
+ const client = await getClient();
29
+ const updated = await client.requestParsed(TimelineEvent, `/api/timeline-event/${id}`, {
30
+ method: "PUT",
31
+ body: { archived: true }
32
+ });
33
+ renderSummary(updated, timelineEventView, `Archived timeline event ${updated.id} "${updated.name}".`, ctx);
34
+ }
35
+ });
36
+
37
+ //#endregion
38
+ export { archive_default as default };
@@ -1,7 +1,7 @@
1
- import { connectionFlags, outputFlags, profileFlag, renderSummary } from "./capabilities-DrDJo_ng.mjs";
1
+ import { connectionFlags, outputFlags, profileFlag, renderSummary } from "./capabilities-DOTcPraV.mjs";
2
2
  import "./command-augment-D9pI9Vbh.mjs";
3
- import { defineMetabaseCommand } from "./runtime-B-c-Fc2i.mjs";
4
- import { parseId } from "./parse-id-DfY0Lugw.mjs";
3
+ import { defineMetabaseCommand } from "./runtime-Ab96yYlM.mjs";
4
+ import { parseId } from "./parse-id-CD54Chc5.mjs";
5
5
  import { Document, documentView } from "./document-CL4ML5FN.mjs";
6
6
 
7
7
  //#region src/commands/document/archive.ts
@@ -1,7 +1,7 @@
1
- import { connectionFlags, outputFlags, profileFlag, renderSummary } from "./capabilities-DrDJo_ng.mjs";
1
+ import { connectionFlags, outputFlags, profileFlag, renderSummary } from "./capabilities-DOTcPraV.mjs";
2
2
  import "./command-augment-D9pI9Vbh.mjs";
3
- import { defineMetabaseCommand } from "./runtime-B-c-Fc2i.mjs";
4
- import { parseId } from "./parse-id-DfY0Lugw.mjs";
3
+ import { defineMetabaseCommand } from "./runtime-Ab96yYlM.mjs";
4
+ import { parseId } from "./parse-id-CD54Chc5.mjs";
5
5
  import { Measure, measureView } from "./measure-S9WszHre.mjs";
6
6
  import { revisionMessageFlag } from "./revision-message-flag-CHzX0cqV.mjs";
7
7
 
@@ -0,0 +1,38 @@
1
+ import { connectionFlags, outputFlags, profileFlag, renderSummary } from "./capabilities-DOTcPraV.mjs";
2
+ import "./command-augment-D9pI9Vbh.mjs";
3
+ import { defineMetabaseCommand } from "./runtime-Ab96yYlM.mjs";
4
+ import { parseId } from "./parse-id-CD54Chc5.mjs";
5
+ import { Timeline, timelineView } from "./timeline-BCTRThc-.mjs";
6
+
7
+ //#region src/commands/timeline/archive.ts
8
+ var archive_default = defineMetabaseCommand({
9
+ meta: {
10
+ name: "archive",
11
+ description: "Archive (soft-delete) a timeline and all its events by id"
12
+ },
13
+ capabilities: { minVersion: 58 },
14
+ args: {
15
+ ...outputFlags,
16
+ ...profileFlag,
17
+ ...connectionFlags,
18
+ id: {
19
+ type: "positional",
20
+ description: "Timeline id",
21
+ required: true
22
+ }
23
+ },
24
+ outputSchema: Timeline,
25
+ examples: ["mb timeline archive 1", "mb timeline archive 1 --json"],
26
+ async run({ args, ctx, getClient }) {
27
+ const id = parseId(args.id);
28
+ const client = await getClient();
29
+ const updated = await client.requestParsed(Timeline, `/api/timeline/${id}`, {
30
+ method: "PUT",
31
+ body: { archived: true }
32
+ });
33
+ renderSummary(updated, timelineView, `Archived timeline ${updated.id} "${updated.name}".`, ctx);
34
+ }
35
+ });
36
+
37
+ //#endregion
38
+ export { archive_default as default };
@@ -1,11 +1,11 @@
1
- import { connectionFlags, outputFlags, profileFlag, renderSummary } from "./capabilities-DrDJo_ng.mjs";
1
+ import { connectionFlags, outputFlags, profileFlag, renderSummary } from "./capabilities-DOTcPraV.mjs";
2
2
  import "./command-augment-D9pI9Vbh.mjs";
3
- import { defineMetabaseCommand } from "./runtime-B-c-Fc2i.mjs";
3
+ import { defineMetabaseCommand } from "./runtime-Ab96yYlM.mjs";
4
4
  import "./embedding-CKdw8q7p.mjs";
5
5
  import "./field-DsXTeqBy.mjs";
6
6
  import "./parameter-BZ6y-Gfs.mjs";
7
7
  import { Card, cardView } from "./card-B8G5jQQT.mjs";
8
- import { parseId } from "./parse-id-DfY0Lugw.mjs";
8
+ import { parseId } from "./parse-id-CD54Chc5.mjs";
9
9
 
10
10
  //#region src/commands/card/archive.ts
11
11
  var archive_default = defineMetabaseCommand({
@@ -11,10 +11,10 @@ var auth_default = defineCommandGroup({
11
11
  purpose: "authentication and named profiles"
12
12
  }],
13
13
  subCommands: {
14
- login: () => import("./login-hKlYsAa1.mjs").then((m) => m.default),
15
- status: () => import("./status-C-0jFjFn.mjs").then((m) => m.default),
16
- list: () => import("./list-CMb03cv3.mjs").then((m) => m.default),
17
- logout: () => import("./logout-DO8GVC6b.mjs").then((m) => m.default)
14
+ login: () => import("./login-jy9rbYev.mjs").then((m) => m.default),
15
+ status: () => import("./status-B5ar0uXc.mjs").then((m) => m.default),
16
+ list: () => import("./list-De82cXvn.mjs").then((m) => m.default),
17
+ logout: () => import("./logout-CRbk1SuY.mjs").then((m) => m.default)
18
18
  }
19
19
  });
20
20
 
@@ -1,6 +1,6 @@
1
- import { ConfigError } from "./capabilities-DrDJo_ng.mjs";
2
- import { parseJson } from "./runtime-B-c-Fc2i.mjs";
3
- import { DEFAULT_FLAG_NAME, readInput } from "./input-m9ctfLxZ.mjs";
1
+ import { ConfigError } from "./capabilities-DOTcPraV.mjs";
2
+ import { parseJson } from "./runtime-Ab96yYlM.mjs";
3
+ import { DEFAULT_FLAG_NAME, readInput } from "./input-DzbvxKYU.mjs";
4
4
 
5
5
  //#region src/runtime/body.ts
6
6
  async function readBody(sources, schema) {
@@ -1,8 +1,8 @@
1
- import { connectionFlags, listEnvelopeSchema, outputFlags, profileFlag, renderList, wrapList } from "./capabilities-DrDJo_ng.mjs";
1
+ import { connectionFlags, listEnvelopeSchema, outputFlags, profileFlag, renderList, wrapList } from "./capabilities-DOTcPraV.mjs";
2
2
  import "./command-augment-D9pI9Vbh.mjs";
3
- import { defineMetabaseCommand } from "./runtime-B-c-Fc2i.mjs";
4
- import "./poll-D1Yg78c3.mjs";
5
- import { REMOTE_SYNC_PATHS } from "./poll-task-DLUZaglY.mjs";
3
+ import { defineMetabaseCommand } from "./runtime-Ab96yYlM.mjs";
4
+ import "./poll-DVF9EnEb.mjs";
5
+ import { REMOTE_SYNC_PATHS } from "./poll-task-CpHGQOd5.mjs";
6
6
  import { z } from "zod";
7
7
 
8
8
  //#region src/commands/git-sync/branches.ts
@@ -1,7 +1,7 @@
1
- import { connectionFlags, outputFlags, profileFlag, renderSummary } from "./capabilities-DrDJo_ng.mjs";
1
+ import { connectionFlags, outputFlags, profileFlag, renderSummary } from "./capabilities-DOTcPraV.mjs";
2
2
  import "./command-augment-D9pI9Vbh.mjs";
3
- import { defineMetabaseCommand } from "./runtime-B-c-Fc2i.mjs";
4
- import { parseId } from "./parse-id-DfY0Lugw.mjs";
3
+ import { defineMetabaseCommand } from "./runtime-Ab96yYlM.mjs";
4
+ import { parseId } from "./parse-id-CD54Chc5.mjs";
5
5
  import { z } from "zod";
6
6
 
7
7
  //#region src/commands/transform/cancel.ts
@@ -1,8 +1,8 @@
1
- import { connectionFlags, outputFlags, profileFlag, renderSummary } from "./capabilities-DrDJo_ng.mjs";
1
+ import { connectionFlags, outputFlags, profileFlag, renderSummary } from "./capabilities-DOTcPraV.mjs";
2
2
  import "./command-augment-D9pI9Vbh.mjs";
3
- import { defineMetabaseCommand } from "./runtime-B-c-Fc2i.mjs";
4
- import "./poll-D1Yg78c3.mjs";
5
- import { REMOTE_SYNC_PATHS, SyncTask, syncTaskView } from "./poll-task-DLUZaglY.mjs";
3
+ import { defineMetabaseCommand } from "./runtime-Ab96yYlM.mjs";
4
+ import "./poll-DVF9EnEb.mjs";
5
+ import { REMOTE_SYNC_PATHS, SyncTask, syncTaskView } from "./poll-task-CpHGQOd5.mjs";
6
6
 
7
7
  //#region src/commands/git-sync/cancel-task.ts
8
8
  var cancel_task_default = defineMetabaseCommand({
@@ -266,7 +266,7 @@ function errorMessage(value) {
266
266
  //#endregion
267
267
  //#region package.json
268
268
  var name = "@metabase/cli";
269
- var version = "0.2.0";
269
+ var version = "0.2.1";
270
270
  var description = "Metabase CLI";
271
271
  var license = "AGPL-3.0";
272
272
  var repository = {
@@ -13,12 +13,12 @@ var card_default = defineCommandGroup({
13
13
  purpose: "choose display and visualization_settings"
14
14
  }],
15
15
  subCommands: {
16
- list: () => import("./list-D9FY30xH.mjs").then((mod) => mod.default),
17
- get: () => import("./get-AvGH_oph.mjs").then((mod) => mod.default),
18
- query: () => import("./query-DTASj9Zu.mjs").then((mod) => mod.default),
19
- create: () => import("./create-C8ndg3g4.mjs").then((mod) => mod.default),
20
- update: () => import("./update-HxYcvpSq.mjs").then((mod) => mod.default),
21
- archive: () => import("./archive-pHsa4dL0.mjs").then((mod) => mod.default)
16
+ list: () => import("./list-n2PY3OIx.mjs").then((mod) => mod.default),
17
+ get: () => import("./get-DZatHVdn.mjs").then((mod) => mod.default),
18
+ query: () => import("./query-Cxh9hmrP.mjs").then((mod) => mod.default),
19
+ create: () => import("./create-C3DThF9E.mjs").then((mod) => mod.default),
20
+ update: () => import("./update-D7Ia9Qrt.mjs").then((mod) => mod.default),
21
+ archive: () => import("./archive-Oh1iZu2y.mjs").then((mod) => mod.default)
22
22
  }
23
23
  });
24
24
 
@@ -1,9 +1,9 @@
1
- import { connectionFlags, listEnvelopeSchema, outputFlags, profileFlag, renderList, wrapList } from "./capabilities-DrDJo_ng.mjs";
1
+ import { connectionFlags, listEnvelopeSchema, outputFlags, profileFlag, renderList, wrapList } from "./capabilities-DOTcPraV.mjs";
2
2
  import "./command-augment-D9pI9Vbh.mjs";
3
- import { defineMetabaseCommand } from "./runtime-B-c-Fc2i.mjs";
3
+ import { defineMetabaseCommand } from "./runtime-Ab96yYlM.mjs";
4
4
  import "./embedding-CKdw8q7p.mjs";
5
5
  import "./parameter-BZ6y-Gfs.mjs";
6
- import { parseId } from "./parse-id-DfY0Lugw.mjs";
6
+ import { parseId } from "./parse-id-CD54Chc5.mjs";
7
7
  import { DashboardDetail, DashcardCompact, dashcardView } from "./dashboard-B-MTpfeS.mjs";
8
8
 
9
9
  //#region src/commands/dashboard/cards.ts
package/dist/cli.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { Capabilities, ConfigError, connectionFlags, flagConsumesValue, jsonLine, normalizeFlag, outputFlags, package_default, profileFlag, reportError, resolveCitty, toAliasArray } from "./capabilities-DrDJo_ng.mjs";
2
+ import { Capabilities, ConfigError, connectionFlags, flagConsumesValue, jsonLine, normalizeFlag, outputFlags, package_default, profileFlag, reportError, resolveCitty, toAliasArray } from "./capabilities-DOTcPraV.mjs";
3
3
  import { getMetabaseAugment, setMetabaseAugment } from "./command-augment-D9pI9Vbh.mjs";
4
4
  import { defineCommand, renderUsage, runMain } from "citty";
5
5
  import { z } from "zod";
@@ -59,31 +59,33 @@ const main = defineCommand({
59
59
  description: package_default.description
60
60
  },
61
61
  subCommands: {
62
- auth: () => import("./auth-BrQtY0pO.mjs").then((mod) => mod.default),
63
- db: () => import("./db-DBRijnh4.mjs").then((mod) => mod.default),
64
- table: () => import("./table-CS2-2INi.mjs").then((mod) => mod.default),
65
- field: () => import("./field-B1heFeCz.mjs").then((mod) => mod.default),
66
- upload: () => import("./upload-CPzOhGeX.mjs").then((mod) => mod.default),
67
- card: () => import("./card-DHCcmpgr.mjs").then((mod) => mod.default),
68
- dashboard: () => import("./dashboard-BpSPoeAn.mjs").then((mod) => mod.default),
69
- collection: () => import("./collection-D0O9gp3S.mjs").then((mod) => mod.default),
70
- library: () => import("./library-DHWWa4Tt.mjs").then((mod) => mod.default),
71
- document: () => import("./document-dZpuFu3I.mjs").then((mod) => mod.default),
72
- transform: () => import("./transform-6hqM1DXA.mjs").then((mod) => mod.default),
73
- "transform-job": () => import("./transform-job-DuERhLaj.mjs").then((mod) => mod.default),
74
- "transform-tag": () => import("./transform-tag-DaNKreDj.mjs").then((mod) => mod.default),
75
- setting: () => import("./setting-BZgjURQ_.mjs").then((mod) => mod.default),
76
- search: () => import("./search-DjKxRXO5.mjs").then((mod) => mod.default),
77
- "git-sync": () => import("./git-sync-JHa7bIyY.mjs").then((mod) => mod.default),
78
- setup: () => import("./setup-D9joJYPb.mjs").then((mod) => mod.default),
79
- snippet: () => import("./snippet-y_FzKxaQ.mjs").then((mod) => mod.default),
80
- segment: () => import("./segment-CZkk0g79.mjs").then((mod) => mod.default),
81
- measure: () => import("./measure-R3T20wnB.mjs").then((mod) => mod.default),
82
- eid: () => import("./eid-XjkBbyb_.mjs").then((mod) => mod.default),
83
- query: () => import("./query-DkZViD_3.mjs").then((mod) => mod.default),
84
- uuid: () => import("./uuid-D_YeqDui.mjs").then((mod) => mod.default),
85
- upgrade: () => import("./upgrade-BWl0VjMK.mjs").then((mod) => mod.default),
86
- skills: () => import("./skills-D8NrJxjp.mjs").then((mod) => mod.default)
62
+ auth: () => import("./auth-hgAnMUfi.mjs").then((mod) => mod.default),
63
+ db: () => import("./db-eWy7A-H3.mjs").then((mod) => mod.default),
64
+ table: () => import("./table-DHmaW3Ec.mjs").then((mod) => mod.default),
65
+ field: () => import("./field-BTCw6voJ.mjs").then((mod) => mod.default),
66
+ upload: () => import("./upload-D3eiApa0.mjs").then((mod) => mod.default),
67
+ card: () => import("./card-Ct-q_C4S.mjs").then((mod) => mod.default),
68
+ dashboard: () => import("./dashboard-B1iRSUBI.mjs").then((mod) => mod.default),
69
+ collection: () => import("./collection-K82kJWdj.mjs").then((mod) => mod.default),
70
+ library: () => import("./library-DF2qx50w.mjs").then((mod) => mod.default),
71
+ document: () => import("./document-CVxhTnUD.mjs").then((mod) => mod.default),
72
+ transform: () => import("./transform-Cq2_muWO.mjs").then((mod) => mod.default),
73
+ "transform-job": () => import("./transform-job-BpebgMnq.mjs").then((mod) => mod.default),
74
+ "transform-tag": () => import("./transform-tag-B1xnFa9w.mjs").then((mod) => mod.default),
75
+ setting: () => import("./setting-B9xSyMf6.mjs").then((mod) => mod.default),
76
+ search: () => import("./search-DnGEh6sZ.mjs").then((mod) => mod.default),
77
+ "git-sync": () => import("./git-sync-Cjrx2meo.mjs").then((mod) => mod.default),
78
+ setup: () => import("./setup-CXGcyTuv.mjs").then((mod) => mod.default),
79
+ snippet: () => import("./snippet-C4h-GMUf.mjs").then((mod) => mod.default),
80
+ segment: () => import("./segment-DyVTZSIM.mjs").then((mod) => mod.default),
81
+ measure: () => import("./measure-CPqisgyf.mjs").then((mod) => mod.default),
82
+ timeline: () => import("./timeline-B0R6-dm8.mjs").then((mod) => mod.default),
83
+ "timeline-event": () => import("./timeline-event-BVDTt-pM.mjs").then((mod) => mod.default),
84
+ eid: () => import("./eid-DSOk7Khb.mjs").then((mod) => mod.default),
85
+ query: () => import("./query-B3HDIsJ-.mjs").then((mod) => mod.default),
86
+ uuid: () => import("./uuid-D6dao_q4.mjs").then((mod) => mod.default),
87
+ upgrade: () => import("./upgrade-CXoNQ4FH.mjs").then((mod) => mod.default),
88
+ skills: () => import("./skills-rnvVgau4.mjs").then((mod) => mod.default)
87
89
  }
88
90
  });
89
91
  setMetabaseAugment(main, {
@@ -10,12 +10,12 @@ var collection_default = defineCommandGroup({
10
10
  purpose: "collection ref forms and the transforms namespace"
11
11
  }],
12
12
  subCommands: {
13
- list: () => import("./list-Cur_72xZ.mjs").then((mod) => mod.default),
14
- get: () => import("./get-DWWmpQ87.mjs").then((mod) => mod.default),
15
- items: () => import("./items-CEGDYWuF.mjs").then((mod) => mod.default),
16
- tree: () => import("./tree-BIOphGVs.mjs").then((mod) => mod.default),
17
- create: () => import("./create-C17Fh1_X.mjs").then((mod) => mod.default),
18
- archive: () => import("./archive-CWtUzlHO.mjs").then((mod) => mod.default)
13
+ list: () => import("./list-C0344yqi.mjs").then((mod) => mod.default),
14
+ get: () => import("./get-DRK5-UdU.mjs").then((mod) => mod.default),
15
+ items: () => import("./items-DN63mjpF.mjs").then((mod) => mod.default),
16
+ tree: () => import("./tree-CB2IURsX.mjs").then((mod) => mod.default),
17
+ create: () => import("./create-nXlnVzXl.mjs").then((mod) => mod.default),
18
+ archive: () => import("./archive-BM9HjJHQ.mjs").then((mod) => mod.default)
19
19
  }
20
20
  });
21
21
 
@@ -1,5 +1,5 @@
1
- import { ConfigError } from "./capabilities-DrDJo_ng.mjs";
2
- import { HttpError } from "./runtime-B-c-Fc2i.mjs";
1
+ import { ConfigError } from "./capabilities-DOTcPraV.mjs";
2
+ import { HttpError } from "./runtime-Ab96yYlM.mjs";
3
3
 
4
4
  //#region src/commands/transform/collection-namespace.ts
5
5
  const TRANSFORMS_NAMESPACE_HINT = "transforms can only be filed in a :transforms-namespace collection. Create one with `mb collection create --body '{\"name\":\"…\"}' --namespace transforms` and pass its id as collection_id, or omit collection_id to leave the transform uncollected.";
@@ -1,16 +1,16 @@
1
- import { connectionFlags, outputFlags, profileFlag, renderSummary } from "./capabilities-DrDJo_ng.mjs";
1
+ import { connectionFlags, outputFlags, profileFlag, renderSummary } from "./capabilities-DOTcPraV.mjs";
2
2
  import "./command-augment-D9pI9Vbh.mjs";
3
- import { defineMetabaseCommand } from "./runtime-B-c-Fc2i.mjs";
4
- import "./input-m9ctfLxZ.mjs";
3
+ import { defineMetabaseCommand } from "./runtime-Ab96yYlM.mjs";
4
+ import "./input-DzbvxKYU.mjs";
5
5
  import "./embedding-CKdw8q7p.mjs";
6
6
  import "./field-DsXTeqBy.mjs";
7
7
  import "./parameter-BZ6y-Gfs.mjs";
8
8
  import "./card-B8G5jQQT.mjs";
9
- import { readBody } from "./body-C1_AaTS4.mjs";
9
+ import { readBody } from "./body-DKcQw7G5.mjs";
10
10
  import { bodyInputFlags } from "./body-flags-CgHgJBRC.mjs";
11
- import "./validate-clAWO3X-.mjs";
11
+ import "./validate-Cqa14t7o.mjs";
12
12
  import { Dashboard, DashboardCreateInput, DashboardDetail, dashboardView } from "./dashboard-B-MTpfeS.mjs";
13
- import { preflightDashcardCardReferences, wrapChainedDashboardWriteError } from "./preflight-Cy2jUSca.mjs";
13
+ import { preflightDashcardCardReferences, wrapChainedDashboardWriteError } from "./preflight-xhwEOHAt.mjs";
14
14
 
15
15
  //#region src/commands/dashboard/create.ts
16
16
  var create_default = defineMetabaseCommand({
@@ -1,8 +1,8 @@
1
- import { connectionFlags, outputFlags, profileFlag, renderSummary } from "./capabilities-DrDJo_ng.mjs";
1
+ import { connectionFlags, outputFlags, profileFlag, renderSummary } from "./capabilities-DOTcPraV.mjs";
2
2
  import "./command-augment-D9pI9Vbh.mjs";
3
- import { defineMetabaseCommand } from "./runtime-B-c-Fc2i.mjs";
4
- import "./input-m9ctfLxZ.mjs";
5
- import { readBody } from "./body-C1_AaTS4.mjs";
3
+ import { defineMetabaseCommand } from "./runtime-Ab96yYlM.mjs";
4
+ import "./input-DzbvxKYU.mjs";
5
+ import { readBody } from "./body-DKcQw7G5.mjs";
6
6
  import { bodyInputFlags } from "./body-flags-CgHgJBRC.mjs";
7
7
  import { Document, DocumentCreateInput, documentView } from "./document-CL4ML5FN.mjs";
8
8