@metabase/cli 0.1.1 → 0.1.3

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 (177) hide show
  1. package/README.md +58 -12
  2. package/dist/add-collection-BOnW3n0Z.mjs +11 -0
  3. package/dist/{add-collection-B1qe0D1U.mjs → add-collection-CYzLXtm5.mjs} +4 -4
  4. package/dist/{api-key-gzCbKDjL.mjs → api-key-PuKAaQ7V.mjs} +1 -1
  5. package/dist/{archive-CitmlD1e.mjs → archive-BO29HssD.mjs} +5 -5
  6. package/dist/{archive-Ni8-lQ1Y.mjs → archive-TLtE0kDm.mjs} +5 -5
  7. package/dist/{archive-CnhWegtR.mjs → archive-mnPwvARh.mjs} +7 -7
  8. package/dist/{archive-DQjBOXnx.mjs → archive-rMwM-zTz.mjs} +5 -5
  9. package/dist/auth-6xSQV9_O.mjs +19 -0
  10. package/dist/{body-DRBgxS6-.mjs → body-DyJdyUnm.mjs} +3 -3
  11. package/dist/{branches-C5Jcw8wu.mjs → branches-DfmU7c7o.mjs} +6 -6
  12. package/dist/{cancel-Ca3r7Y6v.mjs → cancel-CMZDt-Oq.mjs} +5 -5
  13. package/dist/{cancel-task-C1-8vDKS.mjs → cancel-task-CgZTaU3M.mjs} +6 -6
  14. package/dist/card-BPRuWt1L.mjs +20 -0
  15. package/dist/{card-CAEZWixN.mjs → card-CQxvHeyP.mjs} +1 -1
  16. package/dist/{cards-CILfMPUP.mjs → cards-CHbQGafh.mjs} +5 -5
  17. package/dist/cli.mjs +25 -24
  18. package/dist/collection-ubrm8jOv.mjs +19 -0
  19. package/dist/{create-DE_5NrFy.mjs → create-8Hv7mPeZ.mjs} +8 -8
  20. package/dist/{create-BsY5RrVY.mjs → create-9Eixx15H.mjs} +6 -6
  21. package/dist/{create-CeIi_QLj.mjs → create-BBUS1QQj.mjs} +10 -10
  22. package/dist/{create-C4OCclBD.mjs → create-BCuXOmjv.mjs} +7 -7
  23. package/dist/{create-CP8ou91U.mjs → create-BwTWnEI9.mjs} +8 -8
  24. package/dist/{create-CqNw6PmR.mjs → create-C0rMO9hM.mjs} +10 -10
  25. package/dist/{create-COsD7Vzm.mjs → create-CicN3zvl.mjs} +8 -8
  26. package/dist/{create-QxDmleKJ.mjs → create-DSYimCdi.mjs} +8 -8
  27. package/dist/{create-3Z6rm-4O.mjs → create-DmoCeGvG.mjs} +6 -6
  28. package/dist/{create-MEhhhgMC.mjs → create-DxEFGyTl.mjs} +6 -6
  29. package/dist/{create-branch-CKMYaAHk.mjs → create-branch-CyGWseMj.mjs} +6 -6
  30. package/dist/{credentials-CwRKvdP2.mjs → credentials-BsyxKKpn.mjs} +9 -8
  31. package/dist/{current-task-Dutjys16.mjs → current-task-Cp2TOV2G.mjs} +6 -6
  32. package/dist/dashboard-DMXwndg8.mjs +20 -0
  33. package/dist/{database-BMTb0CzV.mjs → database-u753FytI.mjs} +3 -3
  34. package/dist/{database-Dvkfy3JM.mjs → database-vvig8k4x.mjs} +1 -1
  35. package/dist/db-Br0VA1nL.mjs +22 -0
  36. package/dist/{delete-BMQZuVXZ.mjs → delete-QRsN6npe.mjs} +7 -7
  37. package/dist/{delete-BvcA4jPj.mjs → delete-_9bnRv2O.mjs} +7 -7
  38. package/dist/{delete-runtime-BMzvfj_B.mjs → delete-runtime-BkAdygbs.mjs} +2 -2
  39. package/dist/{delete-table-DUPjHKk4.mjs → delete-table-DTLdSkjp.mjs} +7 -7
  40. package/dist/{deprovision-Bsc1S15j.mjs → deprovision-CRV8Isc3.mjs} +11 -11
  41. package/dist/{dirty-CXcdoUhY.mjs → dirty-CEH3GeaE.mjs} +6 -6
  42. package/dist/{docker-D-ieBsP7.mjs → docker-BYQ0FHrT.mjs} +5 -102
  43. package/dist/{eid-pvOsEMPZ.mjs → eid-C4-Vk0tN.mjs} +1 -1
  44. package/dist/{export-BjGhLEOi.mjs → export-D7sASe7p.mjs} +7 -7
  45. package/dist/{field-DciLbuv-.mjs → field-B3gvaqpK.mjs} +2 -0
  46. package/dist/field-DN3Mtvjy.mjs +18 -0
  47. package/dist/{fields-Do8HHm_T.mjs → fields-BcqomXOj.mjs} +7 -7
  48. package/dist/{flag-pair-DtR1AiBQ.mjs → flag-pair-Fmcdkrfx.mjs} +1 -1
  49. package/dist/{get-DzCVafyO.mjs → get-B3N93OEi.mjs} +5 -5
  50. package/dist/{get-BmE_VHdl.mjs → get-BRwM-_QR.mjs} +5 -5
  51. package/dist/{get-DFrsi77F.mjs → get-BrLtlgsJ.mjs} +5 -5
  52. package/dist/{get-BGFGWkH0.mjs → get-By8D2ZCD.mjs} +5 -5
  53. package/dist/{get-D4GUJBiX.mjs → get-C8mOGKNU.mjs} +5 -5
  54. package/dist/{get-DeQa3ThJ.mjs → get-C9ddaeGp.mjs} +7 -7
  55. package/dist/{get-DhZ_dGUb.mjs → get-Cv5O0Nzp.mjs} +5 -5
  56. package/dist/{get-C7sshmqF.mjs → get-Cw74jQSg.mjs} +6 -6
  57. package/dist/{get-Cq5U_Eep.mjs → get-DGPgyqzM.mjs} +5 -5
  58. package/dist/{get-YCnVqq-z.mjs → get-DNdDX5ON.mjs} +8 -8
  59. package/dist/{get-DczxeETg.mjs → get-DVTJi4o0.mjs} +7 -7
  60. package/dist/{get-CObKBj2J.mjs → get-REcs9xfF.mjs} +5 -5
  61. package/dist/{get-run-CTyW29s3.mjs → get-run-DY8GOsfI.mjs} +5 -5
  62. package/dist/git-sync-C3DyWKLP.mjs +28 -0
  63. package/dist/{has-remote-changes-xX8vMVsX.mjs → has-remote-changes-Bw_X8TI6.mjs} +6 -6
  64. package/dist/{import-CaAUNtXz.mjs → import-QVwrtIFF.mjs} +7 -7
  65. package/dist/{input-ikCiip6x.mjs → input-BQ-BZA8h.mjs} +1 -1
  66. package/dist/{is-dirty-mgxEwEk4.mjs → is-dirty-BHucbgY2.mjs} +3 -3
  67. package/dist/is-dirty-YZTcIZmy.mjs +10 -0
  68. package/dist/{items-Cg67tdto.mjs → items-BrLOFmIa.mjs} +6 -6
  69. package/dist/{key-NDEARu2L.mjs → key-CCJdVWKc.mjs} +1 -1
  70. package/dist/{license-CwKzVMD0.mjs → license-B3KaSSS3.mjs} +3 -3
  71. package/dist/{list-JgRtCzz3.mjs → list-B1_XSq0O.mjs} +4 -4
  72. package/dist/{list-CpyNn1Zn.mjs → list-B8WxxlSA.mjs} +5 -5
  73. package/dist/{list-CwwOoGLK.mjs → list-CYYq46ca.mjs} +4 -4
  74. package/dist/{list-DzTMpoBs.mjs → list-D35m483Y.mjs} +4 -4
  75. package/dist/{list-DdQ4jmUQ.mjs → list-Dgaxc0kI.mjs} +4 -4
  76. package/dist/{list-BwGdD45N.mjs → list-Dygi5MBO.mjs} +4 -4
  77. package/dist/{list-DD8CQx8l.mjs → list-HcYQlqJr.mjs} +7 -7
  78. package/dist/{list-DshbLoqR.mjs → list-ThlZXdtA.mjs} +6 -6
  79. package/dist/{list-CfOVsAZz.mjs → list-W_G0Wupl.mjs} +4 -4
  80. package/dist/{list-DL-RWpIE.mjs → list-YwqpLfkl.mjs} +4 -4
  81. package/dist/{list-BqdNQ1nU.mjs → list-g2xt5jvY.mjs} +4 -4
  82. package/dist/{list-DLlq3FyS.mjs → list-mSYy6xIm.mjs} +7 -7
  83. package/dist/{list-WzgJcwB5.mjs → list-wyaVSZpU.mjs} +4 -4
  84. package/dist/{login-DJnmR2wX.mjs → login-DVBsPahM.mjs} +22 -10
  85. package/dist/{logout-BMe_1Zp8.mjs → logout-CPGsbP2z.mjs} +5 -5
  86. package/dist/{logs-CQxKJ3HG.mjs → logs-CDdM2nW-.mjs} +7 -6
  87. package/dist/{manifest-Dv5B9Blc.mjs → manifest-CGM7XNLC.mjs} +2 -2
  88. package/dist/measure-C-2Zimtc.mjs +19 -0
  89. package/dist/{metadata-T-fNUWg_.mjs → metadata-CpGxasPK.mjs} +8 -8
  90. package/dist/{metadata-CLIALntn.mjs → metadata-Djyv6HKF.mjs} +7 -7
  91. package/dist/{package-DBsS7a5x.mjs → package-BeJ9DFrO.mjs} +3 -1
  92. package/dist/{parse-id-BUOZQqjp.mjs → parse-id-DcoC0Z3o.mjs} +1 -1
  93. package/dist/{parse-ref-DGvh4aDn.mjs → parse-ref-D1yeDOn8.mjs} +1 -1
  94. package/dist/{parse-schemas-BnW4T1_I.mjs → parse-schemas-NgeC8-ba.mjs} +2 -2
  95. package/dist/{poll-DMmmZWvi.mjs → poll-CPn_4eae.mjs} +2 -2
  96. package/dist/{poll-task-2Ckiwp8U.mjs → poll-task-YHJL7Q94.mjs} +2 -2
  97. package/dist/{predicates-DiIiS3k7.mjs → predicates-CGO17Q15.mjs} +1 -1
  98. package/dist/{preflight-CC_g6EWU.mjs → preflight-UP6MOkcY.mjs} +4 -4
  99. package/dist/process-FjsqDwKo.mjs +105 -0
  100. package/dist/{prompt-Bf3DQ-qE.mjs → prompt-DgDNy_Pc.mjs} +1 -1
  101. package/dist/{provision-BUgWJWAV.mjs → provision-Cw4yFtn9.mjs} +12 -12
  102. package/dist/{ps-Yv0JjLVN.mjs → ps-CmGyds34.mjs} +3 -3
  103. package/dist/ps-D7kAMsc0.mjs +11 -0
  104. package/dist/{query-UIebHmbT.mjs → query-CWM06uYl.mjs} +10 -10
  105. package/dist/{query-CzfbuG8a.mjs → query-DXYFK2Dn.mjs} +7 -7
  106. package/dist/{remove-BAUbcwuF.mjs → remove-BJiq8Bna.mjs} +9 -8
  107. package/dist/{remove-CN2PNGTR.mjs → remove-DtSkkvp3.mjs} +5 -5
  108. package/dist/{remove-collection-C6NxEh53.mjs → remove-collection-CfdSGSSW.mjs} +8 -8
  109. package/dist/{render-DXv-D6fU.mjs → render-DuoDUTVL.mjs} +1 -1
  110. package/dist/{rescan-values-CcB4F9qa.mjs → rescan-values-DmZSi8y2.mjs} +8 -8
  111. package/dist/{run-BjXZtu_6.mjs → run-By3Hx4Sv.mjs} +7 -7
  112. package/dist/{runs-CXx7l1NY.mjs → runs-OxCc7uCv.mjs} +5 -5
  113. package/dist/{runtime-D7jihh81.mjs → runtime-CqLG3Q3o.mjs} +7 -4
  114. package/dist/{schema-tables-BCJT2DM_.mjs → schema-tables-gCfMALFX.mjs} +7 -7
  115. package/dist/{schemas-DlNpbn4H.mjs → schemas-CelnP-JJ.mjs} +5 -5
  116. package/dist/{search-Dt-6mdHZ.mjs → search-Ccc2XHFA.mjs} +5 -5
  117. package/dist/segment-ZWbF5Lw8.mjs +19 -0
  118. package/dist/{set-DCESWpi3.mjs → set-CwZkyHao.mjs} +6 -6
  119. package/dist/{set-L7cuHjVZ.mjs → set-DQoW10tq.mjs} +7 -7
  120. package/dist/{setting-DysGAuYS.mjs → setting-DrI9j2k_.mjs} +3 -3
  121. package/dist/{setup-_ypJDPAY.mjs → setup-flXHfxYc.mjs} +6 -6
  122. package/dist/snippet-C7Y7BV-k.mjs +19 -0
  123. package/dist/{start-BokXnb0V.mjs → start-B6jtccng.mjs} +45 -14
  124. package/dist/{stash-CaGX6PfX.mjs → stash-Bhp_hRrV.mjs} +7 -7
  125. package/dist/{status-BaX9vedb.mjs → status-BxWCQzCv.mjs} +7 -7
  126. package/dist/{status-CyecXzN4.mjs → status-DGw7jG9b.mjs} +4 -4
  127. package/dist/{status-RpVyPEty.mjs → status-fw5qhKyj.mjs} +4 -4
  128. package/dist/{stop-BRuF_Cg1.mjs → stop-x6EOdIVT.mjs} +9 -8
  129. package/dist/{summary-CpEOiOlZ.mjs → summary-Da1JIhhv.mjs} +6 -6
  130. package/dist/{sync-schema-4Cl4h8Jn.mjs → sync-schema-Do916yAq.mjs} +8 -8
  131. package/dist/{table-jljEqZ0R.mjs → table-B-PYcgGb.mjs} +1 -1
  132. package/dist/table-BsJDzYMc.mjs +19 -0
  133. package/dist/transform-BFOkT-X-.mjs +24 -0
  134. package/dist/transform-job-CvAq4Qdm.mjs +19 -0
  135. package/dist/{translate-DqLlXXUx.mjs → translate-CEnaytH7.mjs} +7 -7
  136. package/dist/{tree-BT24nkLM.mjs → tree-pWV930zt.mjs} +4 -4
  137. package/dist/{update-mrgvQF4i.mjs → update-Bd-Hk_z8.mjs} +8 -8
  138. package/dist/{update-BXbLmC2b.mjs → update-BncXiS3T.mjs} +7 -7
  139. package/dist/{update-BCXKQi2n.mjs → update-C-VOpeVi.mjs} +9 -9
  140. package/dist/{update-DFR46LsB.mjs → update-CA7f8M_E.mjs} +9 -9
  141. package/dist/{update-D6WVtNV1.mjs → update-CN3LI4St.mjs} +11 -11
  142. package/dist/{update-C5goGhNr.mjs → update-CvujE0sT.mjs} +9 -9
  143. package/dist/{update-C1Frz9GR.mjs → update-DLMn9cXk.mjs} +7 -7
  144. package/dist/{update-D04NMueX.mjs → update-Db0rN6W1.mjs} +11 -11
  145. package/dist/{update-dashcard-av0_PYeg.mjs → update-dashcard-C13FmMd8.mjs} +7 -7
  146. package/dist/{update-CCOyB0iT.mjs → update-jLIPP2pF.mjs} +12 -12
  147. package/dist/{update-DyLItrpV.mjs → update-w3N6O04l.mjs} +9 -9
  148. package/dist/upgrade-Cko0ScCj.mjs +432 -0
  149. package/dist/{url-x4wn_l3k.mjs → url-BKzUneYx.mjs} +8 -7
  150. package/dist/{uuid-BZHbti8B.mjs → uuid-D9TBeO2v.mjs} +4 -4
  151. package/dist/{validate-DCYx6jdL.mjs → validate-CLdliJUz.mjs} +1 -1
  152. package/dist/{validate-query-B07oGG4K.mjs → validate-query-C34T9ZUr.mjs} +3 -3
  153. package/dist/{values-Be6i0Fs9.mjs → values-CFO1KoS0.mjs} +6 -6
  154. package/dist/{wait-CWizX_sR.mjs → wait-CM59nNh3.mjs} +2 -2
  155. package/dist/{wait-flags-DO3ar2tf.mjs → wait-flags-6QBmhHw9.mjs} +2 -2
  156. package/dist/{wait-BMqQD8k_.mjs → wait-h9MABbYJ.mjs} +7 -7
  157. package/dist/workspace-AJjCGa9h.mjs +24 -0
  158. package/dist/{workspace-credentials-B6BL-X0d.mjs → workspace-credentials-Cctumbru.mjs} +1 -1
  159. package/package.json +3 -1
  160. package/dist/add-collection--zwkmE1S.mjs +0 -11
  161. package/dist/auth-BPjsrFxM.mjs +0 -19
  162. package/dist/card-BGAy3eIb.mjs +0 -20
  163. package/dist/collection-D8cnCB98.mjs +0 -19
  164. package/dist/dashboard-B4fVp392.mjs +0 -20
  165. package/dist/db-ACuuaEok.mjs +0 -22
  166. package/dist/field-BI2bt8e9.mjs +0 -18
  167. package/dist/git-sync-BOmT8HEU.mjs +0 -28
  168. package/dist/is-dirty-CPu-xqkW.mjs +0 -10
  169. package/dist/measure-BGyYbtqO.mjs +0 -19
  170. package/dist/ps-BUNHygf-.mjs +0 -10
  171. package/dist/segment-C52QNnSs.mjs +0 -19
  172. package/dist/snippet-vb3G9R8a.mjs +0 -19
  173. package/dist/table-BeMWuvzO.mjs +0 -19
  174. package/dist/transform-DwRc-w6y.mjs +0 -24
  175. package/dist/transform-job-BigWrctt.mjs +0 -19
  176. package/dist/workspace-CG1xyJ86.mjs +0 -24
  177. /package/dist/{workspace-DVuqKJGG.mjs → workspace-C5q4nbpY.mjs} +0 -0
package/README.md CHANGED
@@ -1202,18 +1202,18 @@ By default `start` returns once the bundle has been consumed by the child (`stat
1202
1202
 
1203
1203
  When `--repo <host-path>` is passed, the CLI bind-mounts the host directory at `/mnt/repo` inside the container and injects three settings into the workspace's `config.yml` so the child boots already wired to the repo: `remote-sync-url=file:///mnt/repo`, `remote-sync-branch=<branch>` (defaults to the current branch of the host repo, read via `git -C <path> symbolic-ref --short HEAD`; override with `--repo-branch`), and `remote-sync-type=<mode>` (defaults to `read-write`; override with `--repo-mode read-only`, which also makes the bind mount read-only). The bind mount is set at container-create time only — to add or change it after the fact, run `start --force` again with the new flags. The host path must be an existing directory; the CLI does not create or `git init` it for you.
1204
1204
 
1205
- | Flag | Description |
1206
- | ---------------------- | ---------------------------------------------------------------------------------------------------------------------------------- |
1207
- | `--port <n>` | Host port (default: 3000; auto-shifts up to 100 ports if taken). |
1208
- | `--image <ref>` | Docker image (default: `metabase/metabase-dev:feature-workspaces-v2`). |
1209
- | `--wait` | Block until `/api/health` is ready. Default: return as soon as consumed. |
1210
- | `--timeout <ms>` | Per-phase readiness deadline (default: 240000). Covers post-create config consumption and (with `--wait`) the `/api/health` probe. |
1211
- | `--no-pull` | Skip `docker pull` (useful if the image is already present). |
1212
- | `--no-metadata` | Skip the warehouse metadata export. |
1213
- | `--force` | If a container for this workspace already exists, remove it before starting. |
1214
- | `--repo <host-path>` | Bind-mount a host directory at `/mnt/repo` and set `remote-sync-url=file:///mnt/repo` in `config.yml`. |
1215
- | `--repo-branch <name>` | `remote-sync-branch` value (default: current branch of the host repo). |
1216
- | `--repo-mode <mode>` | `remote-sync-type`: `read-write` (default) or `read-only`. Read-only also makes the bind mount read-only. |
1205
+ | Flag | Description |
1206
+ | ---------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
1207
+ | `--port <n>` | Host port (default: 3000; auto-shifts up to 100 ports if taken). |
1208
+ | `--image <ref>` | Docker image (default: `metabase/metabase-dev:feature-workspaces-v2`). |
1209
+ | `--wait` | Block until `/api/health` is ready. Default: return as soon as consumed. |
1210
+ | `--timeout <ms>` | Per-phase readiness deadline (default: 240000). Covers post-create config consumption, (with `--wait`) the `/api/health` probe, and (with `--metadata`) the metadata-import status poll. |
1211
+ | `--no-pull` | Skip `docker pull` (useful if the image is already present). |
1212
+ | `--no-metadata` | Skip the warehouse metadata export. |
1213
+ | `--force` | If a container for this workspace already exists, remove it before starting. |
1214
+ | `--repo <host-path>` | Bind-mount a host directory at `/mnt/repo` and set `remote-sync-url=file:///mnt/repo` in `config.yml`. |
1215
+ | `--repo-branch <name>` | `remote-sync-branch` value (default: current branch of the host repo). |
1216
+ | `--repo-mode <mode>` | `remote-sync-type`: `read-write` (default) or `read-only`. Read-only also makes the bind mount read-only. |
1217
1217
 
1218
1218
  ### `metabase workspace stop <id>`
1219
1219
 
@@ -1408,6 +1408,52 @@ Output: text mode prints one UUID per line; JSON mode prints a `string[]`. Defau
1408
1408
 
1409
1409
  Exit codes: `0` success, `2` invalid `--count`.
1410
1410
 
1411
+ ## Upgrade
1412
+
1413
+ ### `metabase upgrade`
1414
+
1415
+ Self-update the CLI. Fetches the latest published version from the npm registry's `/-/package/<pkg>/dist-tags` endpoint, detects how the binary was installed (npm-global / npm-local / npx / dev / unknown — for the global case, also which package manager: npm, pnpm, yarn, or bun), and either runs the matching install command (for npm-style globals, after confirmation) or prints the exact command to run by hand.
1416
+
1417
+ ```sh
1418
+ metabase upgrade # interactive: check + confirm + run for global installs
1419
+ metabase upgrade --check # print status only, never install
1420
+ metabase upgrade --check --json # structured plan for agents
1421
+ metabase upgrade --yes # skip the confirmation prompt
1422
+ metabase upgrade --to 0.1.2 # pin a specific version (also valid for downgrades)
1423
+ ```
1424
+
1425
+ Flags:
1426
+
1427
+ - `--check` — print the upgrade plan without installing.
1428
+ - `--yes` / `-y` — skip the confirmation prompt; only meaningful when the install method is auto-installable.
1429
+ - `--to <version>` — target a specific semver instead of the registry `latest`. Useful for pinning or rolling back.
1430
+ - `--registry <url>` — override the npm registry (default `https://registry.npmjs.org`). The same URL the CLI hits to fetch dist-tags; the actual install always goes through your local `npm` / `pnpm` / `yarn` / `bun` which use their own configured registry.
1431
+
1432
+ JSON output (UpgradeStatus):
1433
+
1434
+ ```json
1435
+ {
1436
+ "packageName": "@metabase/cli",
1437
+ "currentVersion": "0.1.2",
1438
+ "latestVersion": "0.1.3",
1439
+ "targetVersion": "0.1.3",
1440
+ "updateAvailable": true,
1441
+ "changeRequired": true,
1442
+ "installMethod": "npm-global",
1443
+ "packageManager": "npm",
1444
+ "binaryPath": "/usr/local/lib/node_modules/@metabase/cli/dist/cli.mjs",
1445
+ "command": {
1446
+ "argv": ["npm", "install", "-g", "@metabase/cli@0.1.3"],
1447
+ "display": "npm install -g @metabase/cli@0.1.3"
1448
+ },
1449
+ "canAutoInstall": true
1450
+ }
1451
+ ```
1452
+
1453
+ Auto-install happens only when `installMethod === "npm-global"`; everything else (local installs, npx, dev checkouts) prints the upgrade command and exits. In non-TTY runs without `--yes`, the command never prompts.
1454
+
1455
+ Exit codes: `0` success (including up-to-date / printed-instructions), `1` registry or install failure, `2` invalid `--to` value, `130` user cancelled the prompt.
1456
+
1411
1457
  ## Environment variables
1412
1458
 
1413
1459
  | Variable | Effect |
@@ -0,0 +1,11 @@
1
+ import "./package-BeJ9DFrO.mjs";
2
+ import "./command-augment-D9pI9Vbh.mjs";
3
+ import "./render-DuoDUTVL.mjs";
4
+ import "./predicates-CGO17Q15.mjs";
5
+ import "./runtime-CqLG3Q3o.mjs";
6
+ import "./parse-id-DcoC0Z3o.mjs";
7
+ import "./poll-task-YHJL7Q94.mjs";
8
+ import "./poll-CPn_4eae.mjs";
9
+ import { SyncSettingsUpdateResult, add_collection_default, setCollectionRemoteSynced, syncSettingsUpdateView } from "./add-collection-CYzLXtm5.mjs";
10
+
11
+ export { add_collection_default as default };
@@ -1,7 +1,7 @@
1
- import { renderItem } from "./render-DXv-D6fU.mjs";
2
- import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-D7jihh81.mjs";
3
- import { parseId } from "./parse-id-BUOZQqjp.mjs";
4
- import { REMOTE_SYNC_PATHS } from "./poll-task-2Ckiwp8U.mjs";
1
+ import { renderItem } from "./render-DuoDUTVL.mjs";
2
+ import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-CqLG3Q3o.mjs";
3
+ import { parseId } from "./parse-id-DcoC0Z3o.mjs";
4
+ import { REMOTE_SYNC_PATHS } from "./poll-task-YHJL7Q94.mjs";
5
5
  import { z } from "zod";
6
6
 
7
7
  //#region src/commands/git-sync/add-collection.ts
@@ -6,7 +6,7 @@ var api_key_default = defineCommand({
6
6
  name: "api-key",
7
7
  description: "Manage Metabase API keys"
8
8
  },
9
- subCommands: { create: () => import("./create-CP8ou91U.mjs").then((mod) => mod.default) }
9
+ subCommands: { create: () => import("./create-BwTWnEI9.mjs").then((mod) => mod.default) }
10
10
  });
11
11
 
12
12
  //#endregion
@@ -1,9 +1,9 @@
1
- import "./package-DBsS7a5x.mjs";
1
+ import "./package-BeJ9DFrO.mjs";
2
2
  import "./command-augment-D9pI9Vbh.mjs";
3
- import { renderItem } from "./render-DXv-D6fU.mjs";
4
- import "./predicates-DiIiS3k7.mjs";
5
- import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-D7jihh81.mjs";
6
- import { parseId } from "./parse-id-BUOZQqjp.mjs";
3
+ import { renderItem } from "./render-DuoDUTVL.mjs";
4
+ import "./predicates-CGO17Q15.mjs";
5
+ import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-CqLG3Q3o.mjs";
6
+ import { parseId } from "./parse-id-DcoC0Z3o.mjs";
7
7
  import { Snippet, snippetView } from "./snippet-Dw0Sjzkr.mjs";
8
8
 
9
9
  //#region src/commands/snippet/archive.ts
@@ -1,9 +1,9 @@
1
- import "./package-DBsS7a5x.mjs";
1
+ import "./package-BeJ9DFrO.mjs";
2
2
  import "./command-augment-D9pI9Vbh.mjs";
3
- import { renderItem } from "./render-DXv-D6fU.mjs";
4
- import "./predicates-DiIiS3k7.mjs";
5
- import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-D7jihh81.mjs";
6
- import { parseId } from "./parse-id-BUOZQqjp.mjs";
3
+ import { renderItem } from "./render-DuoDUTVL.mjs";
4
+ import "./predicates-CGO17Q15.mjs";
5
+ import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-CqLG3Q3o.mjs";
6
+ import { parseId } from "./parse-id-DcoC0Z3o.mjs";
7
7
  import { Measure, measureView } from "./measure-BEQfnLdN.mjs";
8
8
  import { revisionMessageFlag } from "./revision-message-flag-CWQbKhdl.mjs";
9
9
 
@@ -1,11 +1,11 @@
1
- import "./package-DBsS7a5x.mjs";
1
+ import "./package-BeJ9DFrO.mjs";
2
2
  import "./command-augment-D9pI9Vbh.mjs";
3
- import { renderItem } from "./render-DXv-D6fU.mjs";
4
- import "./predicates-DiIiS3k7.mjs";
5
- import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-D7jihh81.mjs";
6
- import { parseId } from "./parse-id-BUOZQqjp.mjs";
7
- import "./field-DciLbuv-.mjs";
8
- import { Card, cardView } from "./card-CAEZWixN.mjs";
3
+ import { renderItem } from "./render-DuoDUTVL.mjs";
4
+ import "./predicates-CGO17Q15.mjs";
5
+ import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-CqLG3Q3o.mjs";
6
+ import { parseId } from "./parse-id-DcoC0Z3o.mjs";
7
+ import "./field-B3gvaqpK.mjs";
8
+ import { Card, cardView } from "./card-CQxvHeyP.mjs";
9
9
 
10
10
  //#region src/commands/card/archive.ts
11
11
  var archive_default = defineMetabaseCommand({
@@ -1,9 +1,9 @@
1
- import "./package-DBsS7a5x.mjs";
1
+ import "./package-BeJ9DFrO.mjs";
2
2
  import "./command-augment-D9pI9Vbh.mjs";
3
- import { renderItem } from "./render-DXv-D6fU.mjs";
4
- import "./predicates-DiIiS3k7.mjs";
5
- import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-D7jihh81.mjs";
6
- import { parseId } from "./parse-id-BUOZQqjp.mjs";
3
+ import { renderItem } from "./render-DuoDUTVL.mjs";
4
+ import "./predicates-CGO17Q15.mjs";
5
+ import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-CqLG3Q3o.mjs";
6
+ import { parseId } from "./parse-id-DcoC0Z3o.mjs";
7
7
  import { revisionMessageFlag } from "./revision-message-flag-CWQbKhdl.mjs";
8
8
  import { Segment, segmentView } from "./segment-BMrUBz94.mjs";
9
9
 
@@ -0,0 +1,19 @@
1
+ import { defineCommand } from "citty";
2
+
3
+ //#region src/commands/auth/index.ts
4
+ var auth_default = defineCommand({
5
+ meta: {
6
+ name: "auth",
7
+ description: "Authenticate against a Metabase instance"
8
+ },
9
+ default: "login",
10
+ subCommands: {
11
+ login: () => import("./login-DVBsPahM.mjs").then((m) => m.default),
12
+ status: () => import("./status-DGw7jG9b.mjs").then((m) => m.default),
13
+ list: () => import("./list-W_G0Wupl.mjs").then((m) => m.default),
14
+ logout: () => import("./logout-CPGsbP2z.mjs").then((m) => m.default)
15
+ }
16
+ });
17
+
18
+ //#endregion
19
+ export { auth_default as default };
@@ -1,6 +1,6 @@
1
- import { ConfigError } from "./predicates-DiIiS3k7.mjs";
2
- import { readInput } from "./input-ikCiip6x.mjs";
3
- import { parseJson } from "./runtime-D7jihh81.mjs";
1
+ import { ConfigError } from "./predicates-CGO17Q15.mjs";
2
+ import { readInput } from "./input-BQ-BZA8h.mjs";
3
+ import { parseJson } from "./runtime-CqLG3Q3o.mjs";
4
4
 
5
5
  //#region src/runtime/body.ts
6
6
  async function readBody(sources, schema) {
@@ -1,10 +1,10 @@
1
- import "./package-DBsS7a5x.mjs";
1
+ import "./package-BeJ9DFrO.mjs";
2
2
  import "./command-augment-D9pI9Vbh.mjs";
3
- import { renderList } from "./render-DXv-D6fU.mjs";
4
- import "./predicates-DiIiS3k7.mjs";
5
- import { connectionFlags, defineMetabaseCommand, listEnvelopeSchema, outputFlags, profileFlag, wrapList } from "./runtime-D7jihh81.mjs";
6
- import { REMOTE_SYNC_PATHS } from "./poll-task-2Ckiwp8U.mjs";
7
- import "./poll-DMmmZWvi.mjs";
3
+ import { renderList } from "./render-DuoDUTVL.mjs";
4
+ import "./predicates-CGO17Q15.mjs";
5
+ import { connectionFlags, defineMetabaseCommand, listEnvelopeSchema, outputFlags, profileFlag, wrapList } from "./runtime-CqLG3Q3o.mjs";
6
+ import { REMOTE_SYNC_PATHS } from "./poll-task-YHJL7Q94.mjs";
7
+ import "./poll-CPn_4eae.mjs";
8
8
  import { z } from "zod";
9
9
 
10
10
  //#region src/commands/git-sync/branches.ts
@@ -1,9 +1,9 @@
1
- import "./package-DBsS7a5x.mjs";
1
+ import "./package-BeJ9DFrO.mjs";
2
2
  import "./command-augment-D9pI9Vbh.mjs";
3
- import { renderItem } from "./render-DXv-D6fU.mjs";
4
- import "./predicates-DiIiS3k7.mjs";
5
- import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-D7jihh81.mjs";
6
- import { parseId } from "./parse-id-BUOZQqjp.mjs";
3
+ import { renderItem } from "./render-DuoDUTVL.mjs";
4
+ import "./predicates-CGO17Q15.mjs";
5
+ import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-CqLG3Q3o.mjs";
6
+ import { parseId } from "./parse-id-DcoC0Z3o.mjs";
7
7
  import { z } from "zod";
8
8
 
9
9
  //#region src/commands/transform/cancel.ts
@@ -1,10 +1,10 @@
1
- import "./package-DBsS7a5x.mjs";
1
+ import "./package-BeJ9DFrO.mjs";
2
2
  import "./command-augment-D9pI9Vbh.mjs";
3
- import { renderItem } from "./render-DXv-D6fU.mjs";
4
- import "./predicates-DiIiS3k7.mjs";
5
- import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-D7jihh81.mjs";
6
- import { REMOTE_SYNC_PATHS, SyncTask, syncTaskView } from "./poll-task-2Ckiwp8U.mjs";
7
- import "./poll-DMmmZWvi.mjs";
3
+ import { renderItem } from "./render-DuoDUTVL.mjs";
4
+ import "./predicates-CGO17Q15.mjs";
5
+ import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-CqLG3Q3o.mjs";
6
+ import { REMOTE_SYNC_PATHS, SyncTask, syncTaskView } from "./poll-task-YHJL7Q94.mjs";
7
+ import "./poll-CPn_4eae.mjs";
8
8
 
9
9
  //#region src/commands/git-sync/cancel-task.ts
10
10
  var cancel_task_default = defineMetabaseCommand({
@@ -0,0 +1,20 @@
1
+ import { defineCommand } from "citty";
2
+
3
+ //#region src/commands/card/index.ts
4
+ var card_default = defineCommand({
5
+ meta: {
6
+ name: "card",
7
+ description: "Manage Metabase cards (questions, models, metrics)"
8
+ },
9
+ subCommands: {
10
+ list: () => import("./list-ThlZXdtA.mjs").then((mod) => mod.default),
11
+ get: () => import("./get-C9ddaeGp.mjs").then((mod) => mod.default),
12
+ query: () => import("./query-DXYFK2Dn.mjs").then((mod) => mod.default),
13
+ create: () => import("./create-C0rMO9hM.mjs").then((mod) => mod.default),
14
+ update: () => import("./update-Db0rN6W1.mjs").then((mod) => mod.default),
15
+ archive: () => import("./archive-mnPwvARh.mjs").then((mod) => mod.default)
16
+ }
17
+ });
18
+
19
+ //#endregion
20
+ export { card_default as default };
@@ -1,4 +1,4 @@
1
- import { FieldBaseType, FieldSemanticType } from "./field-DciLbuv-.mjs";
1
+ import { FieldBaseType, FieldSemanticType } from "./field-B3gvaqpK.mjs";
2
2
  import { z } from "zod";
3
3
 
4
4
  //#region src/domain/card.ts
@@ -1,9 +1,9 @@
1
- import "./package-DBsS7a5x.mjs";
1
+ import "./package-BeJ9DFrO.mjs";
2
2
  import "./command-augment-D9pI9Vbh.mjs";
3
- import { renderList } from "./render-DXv-D6fU.mjs";
4
- import "./predicates-DiIiS3k7.mjs";
5
- import { connectionFlags, defineMetabaseCommand, listEnvelopeSchema, outputFlags, profileFlag, wrapList } from "./runtime-D7jihh81.mjs";
6
- import { parseId } from "./parse-id-BUOZQqjp.mjs";
3
+ import { renderList } from "./render-DuoDUTVL.mjs";
4
+ import "./predicates-CGO17Q15.mjs";
5
+ import { connectionFlags, defineMetabaseCommand, listEnvelopeSchema, outputFlags, profileFlag, wrapList } from "./runtime-CqLG3Q3o.mjs";
6
+ import { parseId } from "./parse-id-DcoC0Z3o.mjs";
7
7
  import { DashboardDetail, DashcardCompact, dashcardView } from "./dashboard-CnMD04PQ.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 { package_default } from "./package-DBsS7a5x.mjs";
2
+ import { package_default } from "./package-BeJ9DFrO.mjs";
3
3
  import { getMetabaseAugment } from "./command-augment-D9pI9Vbh.mjs";
4
4
  import { defineCommand, renderUsage, runMain } from "citty";
5
5
 
@@ -11,29 +11,30 @@ const main = defineCommand({
11
11
  description: package_default.description
12
12
  },
13
13
  subCommands: {
14
- auth: () => import("./auth-BPjsrFxM.mjs").then((mod) => mod.default),
15
- license: () => import("./license-CwKzVMD0.mjs").then((mod) => mod.default),
16
- db: () => import("./db-ACuuaEok.mjs").then((mod) => mod.default),
17
- table: () => import("./table-BeMWuvzO.mjs").then((mod) => mod.default),
18
- field: () => import("./field-BI2bt8e9.mjs").then((mod) => mod.default),
19
- card: () => import("./card-BGAy3eIb.mjs").then((mod) => mod.default),
20
- dashboard: () => import("./dashboard-B4fVp392.mjs").then((mod) => mod.default),
21
- collection: () => import("./collection-D8cnCB98.mjs").then((mod) => mod.default),
22
- transform: () => import("./transform-DwRc-w6y.mjs").then((mod) => mod.default),
23
- "transform-job": () => import("./transform-job-BigWrctt.mjs").then((mod) => mod.default),
24
- setting: () => import("./setting-DysGAuYS.mjs").then((mod) => mod.default),
25
- search: () => import("./search-Dt-6mdHZ.mjs").then((mod) => mod.default),
26
- "git-sync": () => import("./git-sync-BOmT8HEU.mjs").then((mod) => mod.default),
27
- workspace: () => import("./workspace-CG1xyJ86.mjs").then((mod) => mod.default),
28
- setup: () => import("./setup-_ypJDPAY.mjs").then((mod) => mod.default),
29
- "api-key": () => import("./api-key-gzCbKDjL.mjs").then((mod) => mod.default),
30
- snippet: () => import("./snippet-vb3G9R8a.mjs").then((mod) => mod.default),
31
- segment: () => import("./segment-C52QNnSs.mjs").then((mod) => mod.default),
32
- measure: () => import("./measure-BGyYbtqO.mjs").then((mod) => mod.default),
33
- eid: () => import("./eid-pvOsEMPZ.mjs").then((mod) => mod.default),
34
- query: () => import("./query-UIebHmbT.mjs").then((mod) => mod.default),
35
- uuid: () => import("./uuid-BZHbti8B.mjs").then((mod) => mod.default),
36
- __manifest: () => import("./manifest-Dv5B9Blc.mjs").then((mod) => mod.createManifestCommand(main))
14
+ auth: () => import("./auth-6xSQV9_O.mjs").then((mod) => mod.default),
15
+ license: () => import("./license-B3KaSSS3.mjs").then((mod) => mod.default),
16
+ db: () => import("./db-Br0VA1nL.mjs").then((mod) => mod.default),
17
+ table: () => import("./table-BsJDzYMc.mjs").then((mod) => mod.default),
18
+ field: () => import("./field-DN3Mtvjy.mjs").then((mod) => mod.default),
19
+ card: () => import("./card-BPRuWt1L.mjs").then((mod) => mod.default),
20
+ dashboard: () => import("./dashboard-DMXwndg8.mjs").then((mod) => mod.default),
21
+ collection: () => import("./collection-ubrm8jOv.mjs").then((mod) => mod.default),
22
+ transform: () => import("./transform-BFOkT-X-.mjs").then((mod) => mod.default),
23
+ "transform-job": () => import("./transform-job-CvAq4Qdm.mjs").then((mod) => mod.default),
24
+ setting: () => import("./setting-DrI9j2k_.mjs").then((mod) => mod.default),
25
+ search: () => import("./search-Ccc2XHFA.mjs").then((mod) => mod.default),
26
+ "git-sync": () => import("./git-sync-C3DyWKLP.mjs").then((mod) => mod.default),
27
+ workspace: () => import("./workspace-AJjCGa9h.mjs").then((mod) => mod.default),
28
+ setup: () => import("./setup-flXHfxYc.mjs").then((mod) => mod.default),
29
+ "api-key": () => import("./api-key-PuKAaQ7V.mjs").then((mod) => mod.default),
30
+ snippet: () => import("./snippet-C7Y7BV-k.mjs").then((mod) => mod.default),
31
+ segment: () => import("./segment-ZWbF5Lw8.mjs").then((mod) => mod.default),
32
+ measure: () => import("./measure-C-2Zimtc.mjs").then((mod) => mod.default),
33
+ eid: () => import("./eid-C4-Vk0tN.mjs").then((mod) => mod.default),
34
+ query: () => import("./query-CWM06uYl.mjs").then((mod) => mod.default),
35
+ uuid: () => import("./uuid-D9TBeO2v.mjs").then((mod) => mod.default),
36
+ upgrade: () => import("./upgrade-Cko0ScCj.mjs").then((mod) => mod.default),
37
+ __manifest: () => import("./manifest-CGM7XNLC.mjs").then((mod) => mod.createManifestCommand(main))
37
38
  }
38
39
  });
39
40
  var main_default = main;
@@ -0,0 +1,19 @@
1
+ import { defineCommand } from "citty";
2
+
3
+ //#region src/commands/collection/index.ts
4
+ var collection_default = defineCommand({
5
+ meta: {
6
+ name: "collection",
7
+ description: "Browse Metabase collections"
8
+ },
9
+ subCommands: {
10
+ list: () => import("./list-Dgaxc0kI.mjs").then((mod) => mod.default),
11
+ get: () => import("./get-C8mOGKNU.mjs").then((mod) => mod.default),
12
+ items: () => import("./items-BrLOFmIa.mjs").then((mod) => mod.default),
13
+ tree: () => import("./tree-pWV930zt.mjs").then((mod) => mod.default),
14
+ create: () => import("./create-DmoCeGvG.mjs").then((mod) => mod.default)
15
+ }
16
+ });
17
+
18
+ //#endregion
19
+ export { collection_default as default };
@@ -1,13 +1,13 @@
1
- import "./package-DBsS7a5x.mjs";
1
+ import "./package-BeJ9DFrO.mjs";
2
2
  import "./command-augment-D9pI9Vbh.mjs";
3
- import { renderItem } from "./render-DXv-D6fU.mjs";
4
- import "./predicates-DiIiS3k7.mjs";
5
- import "./input-ikCiip6x.mjs";
6
- import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-D7jihh81.mjs";
7
- import { readBody } from "./body-DRBgxS6-.mjs";
3
+ import { renderItem } from "./render-DuoDUTVL.mjs";
4
+ import "./predicates-CGO17Q15.mjs";
5
+ import "./input-BQ-BZA8h.mjs";
6
+ import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-CqLG3Q3o.mjs";
7
+ import { readBody } from "./body-DyJdyUnm.mjs";
8
8
  import { bodyInputFlags } from "./body-flags-BK7J6Daz.mjs";
9
- import "./validate-DCYx6jdL.mjs";
10
- import { SEGMENT_DEFINITION_LABELS, preflightMbql5Query, skipValidateFlag } from "./validate-query-B07oGG4K.mjs";
9
+ import "./validate-CLdliJUz.mjs";
10
+ import { SEGMENT_DEFINITION_LABELS, preflightMbql5Query, skipValidateFlag } from "./validate-query-C34T9ZUr.mjs";
11
11
  import { Segment, SegmentCreateInput, segmentView } from "./segment-BMrUBz94.mjs";
12
12
 
13
13
  //#region src/commands/segment/create.ts
@@ -1,10 +1,10 @@
1
- import "./package-DBsS7a5x.mjs";
1
+ import "./package-BeJ9DFrO.mjs";
2
2
  import "./command-augment-D9pI9Vbh.mjs";
3
- import { renderItem } from "./render-DXv-D6fU.mjs";
4
- import "./predicates-DiIiS3k7.mjs";
5
- import "./input-ikCiip6x.mjs";
6
- import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-D7jihh81.mjs";
7
- import { readBody } from "./body-DRBgxS6-.mjs";
3
+ import { renderItem } from "./render-DuoDUTVL.mjs";
4
+ import "./predicates-CGO17Q15.mjs";
5
+ import "./input-BQ-BZA8h.mjs";
6
+ import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-CqLG3Q3o.mjs";
7
+ import { readBody } from "./body-DyJdyUnm.mjs";
8
8
  import { bodyInputFlags } from "./body-flags-BK7J6Daz.mjs";
9
9
  import { Snippet, SnippetCreateInput, snippetView } from "./snippet-Dw0Sjzkr.mjs";
10
10
 
@@ -1,16 +1,16 @@
1
- import "./package-DBsS7a5x.mjs";
1
+ import "./package-BeJ9DFrO.mjs";
2
2
  import "./command-augment-D9pI9Vbh.mjs";
3
- import { renderItem } from "./render-DXv-D6fU.mjs";
4
- import "./predicates-DiIiS3k7.mjs";
5
- import "./input-ikCiip6x.mjs";
6
- import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-D7jihh81.mjs";
7
- import { readBody } from "./body-DRBgxS6-.mjs";
3
+ import { renderItem } from "./render-DuoDUTVL.mjs";
4
+ import "./predicates-CGO17Q15.mjs";
5
+ import "./input-BQ-BZA8h.mjs";
6
+ import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-CqLG3Q3o.mjs";
7
+ import { readBody } from "./body-DyJdyUnm.mjs";
8
8
  import { bodyInputFlags } from "./body-flags-BK7J6Daz.mjs";
9
- import "./field-DciLbuv-.mjs";
10
- import "./card-CAEZWixN.mjs";
11
- import "./validate-DCYx6jdL.mjs";
9
+ import "./field-B3gvaqpK.mjs";
10
+ import "./card-CQxvHeyP.mjs";
11
+ import "./validate-CLdliJUz.mjs";
12
12
  import { Dashboard, DashboardCreateInput, DashboardDetail, dashboardView } from "./dashboard-CnMD04PQ.mjs";
13
- import { preflightDashcardCardReferences, wrapChainedDashboardWriteError } from "./preflight-CC_g6EWU.mjs";
13
+ import { preflightDashcardCardReferences, wrapChainedDashboardWriteError } from "./preflight-UP6MOkcY.mjs";
14
14
 
15
15
  //#region src/commands/dashboard/create.ts
16
16
  var create_default = defineMetabaseCommand({
@@ -1,12 +1,12 @@
1
- import "./package-DBsS7a5x.mjs";
1
+ import "./package-BeJ9DFrO.mjs";
2
2
  import "./command-augment-D9pI9Vbh.mjs";
3
- import { renderItem } from "./render-DXv-D6fU.mjs";
4
- import "./predicates-DiIiS3k7.mjs";
5
- import "./input-ikCiip6x.mjs";
6
- import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-D7jihh81.mjs";
7
- import { readBody } from "./body-DRBgxS6-.mjs";
3
+ import { renderItem } from "./render-DuoDUTVL.mjs";
4
+ import "./predicates-CGO17Q15.mjs";
5
+ import "./input-BQ-BZA8h.mjs";
6
+ import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-CqLG3Q3o.mjs";
7
+ import { readBody } from "./body-DyJdyUnm.mjs";
8
8
  import { bodyInputFlags } from "./body-flags-BK7J6Daz.mjs";
9
- import { Workspace, WorkspaceCreateInput, workspaceView } from "./workspace-DVuqKJGG.mjs";
9
+ import { Workspace, WorkspaceCreateInput, workspaceView } from "./workspace-C5q4nbpY.mjs";
10
10
 
11
11
  //#region src/commands/workspace/create.ts
12
12
  var create_default = defineMetabaseCommand({
@@ -1,13 +1,13 @@
1
- import "./package-DBsS7a5x.mjs";
1
+ import "./package-BeJ9DFrO.mjs";
2
2
  import "./command-augment-D9pI9Vbh.mjs";
3
- import { renderItem } from "./render-DXv-D6fU.mjs";
4
- import "./predicates-DiIiS3k7.mjs";
5
- import "./input-ikCiip6x.mjs";
6
- import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-D7jihh81.mjs";
7
- import { readBody } from "./body-DRBgxS6-.mjs";
3
+ import { renderItem } from "./render-DuoDUTVL.mjs";
4
+ import "./predicates-CGO17Q15.mjs";
5
+ import "./input-BQ-BZA8h.mjs";
6
+ import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-CqLG3Q3o.mjs";
7
+ import { readBody } from "./body-DyJdyUnm.mjs";
8
8
  import { bodyInputFlags } from "./body-flags-BK7J6Daz.mjs";
9
- import { requireBothOrNeither } from "./flag-pair-DtR1AiBQ.mjs";
10
- import { parseId } from "./parse-id-BUOZQqjp.mjs";
9
+ import { requireBothOrNeither } from "./flag-pair-Fmcdkrfx.mjs";
10
+ import { parseId } from "./parse-id-DcoC0Z3o.mjs";
11
11
  import { z } from "zod";
12
12
 
13
13
  //#region src/domain/api-key.ts
@@ -1,15 +1,15 @@
1
- import "./package-DBsS7a5x.mjs";
1
+ import "./package-BeJ9DFrO.mjs";
2
2
  import "./command-augment-D9pI9Vbh.mjs";
3
- import { renderItem } from "./render-DXv-D6fU.mjs";
4
- import "./predicates-DiIiS3k7.mjs";
5
- import "./input-ikCiip6x.mjs";
6
- import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-D7jihh81.mjs";
7
- import { readBody } from "./body-DRBgxS6-.mjs";
3
+ import { renderItem } from "./render-DuoDUTVL.mjs";
4
+ import "./predicates-CGO17Q15.mjs";
5
+ import "./input-BQ-BZA8h.mjs";
6
+ import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-CqLG3Q3o.mjs";
7
+ import { readBody } from "./body-DyJdyUnm.mjs";
8
8
  import { bodyInputFlags } from "./body-flags-BK7J6Daz.mjs";
9
- import "./field-DciLbuv-.mjs";
10
- import { Card, CardCreateInput, cardView } from "./card-CAEZWixN.mjs";
11
- import "./validate-DCYx6jdL.mjs";
12
- import { CARD_DATASET_QUERY_LABELS, preflightMbql5Query, skipValidateFlag } from "./validate-query-B07oGG4K.mjs";
9
+ import "./field-B3gvaqpK.mjs";
10
+ import { Card, CardCreateInput, cardView } from "./card-CQxvHeyP.mjs";
11
+ import "./validate-CLdliJUz.mjs";
12
+ import { CARD_DATASET_QUERY_LABELS, preflightMbql5Query, skipValidateFlag } from "./validate-query-C34T9ZUr.mjs";
13
13
 
14
14
  //#region src/commands/card/create.ts
15
15
  var create_default = defineMetabaseCommand({
@@ -1,13 +1,13 @@
1
- import "./package-DBsS7a5x.mjs";
1
+ import "./package-BeJ9DFrO.mjs";
2
2
  import "./command-augment-D9pI9Vbh.mjs";
3
- import { renderItem } from "./render-DXv-D6fU.mjs";
4
- import "./predicates-DiIiS3k7.mjs";
5
- import "./input-ikCiip6x.mjs";
6
- import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-D7jihh81.mjs";
7
- import { readBody } from "./body-DRBgxS6-.mjs";
3
+ import { renderItem } from "./render-DuoDUTVL.mjs";
4
+ import "./predicates-CGO17Q15.mjs";
5
+ import "./input-BQ-BZA8h.mjs";
6
+ import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-CqLG3Q3o.mjs";
7
+ import { readBody } from "./body-DyJdyUnm.mjs";
8
8
  import { bodyInputFlags } from "./body-flags-BK7J6Daz.mjs";
9
- import "./validate-DCYx6jdL.mjs";
10
- import { MEASURE_DEFINITION_LABELS, preflightMbql5Query, skipValidateFlag } from "./validate-query-B07oGG4K.mjs";
9
+ import "./validate-CLdliJUz.mjs";
10
+ import { MEASURE_DEFINITION_LABELS, preflightMbql5Query, skipValidateFlag } from "./validate-query-C34T9ZUr.mjs";
11
11
  import { Measure, MeasureCreateInput, measureView } from "./measure-BEQfnLdN.mjs";
12
12
 
13
13
  //#region src/commands/measure/create.ts
@@ -1,13 +1,13 @@
1
- import "./package-DBsS7a5x.mjs";
1
+ import "./package-BeJ9DFrO.mjs";
2
2
  import "./command-augment-D9pI9Vbh.mjs";
3
- import { renderItem } from "./render-DXv-D6fU.mjs";
4
- import "./predicates-DiIiS3k7.mjs";
5
- import "./input-ikCiip6x.mjs";
6
- import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-D7jihh81.mjs";
7
- import { readBody } from "./body-DRBgxS6-.mjs";
3
+ import { renderItem } from "./render-DuoDUTVL.mjs";
4
+ import "./predicates-CGO17Q15.mjs";
5
+ import "./input-BQ-BZA8h.mjs";
6
+ import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-CqLG3Q3o.mjs";
7
+ import { readBody } from "./body-DyJdyUnm.mjs";
8
8
  import { bodyInputFlags } from "./body-flags-BK7J6Daz.mjs";
9
- import "./validate-DCYx6jdL.mjs";
10
- import { TRANSFORM_SOURCE_QUERY_LABELS, preflightMbql5Query, skipValidateFlag } from "./validate-query-B07oGG4K.mjs";
9
+ import "./validate-CLdliJUz.mjs";
10
+ import { TRANSFORM_SOURCE_QUERY_LABELS, preflightMbql5Query, skipValidateFlag } from "./validate-query-C34T9ZUr.mjs";
11
11
  import { Transform, TransformCreateInput, transformView } from "./transform-IEX4Mx3X.mjs";
12
12
 
13
13
  //#region src/commands/transform/create.ts
@@ -1,10 +1,10 @@
1
- import "./package-DBsS7a5x.mjs";
1
+ import "./package-BeJ9DFrO.mjs";
2
2
  import "./command-augment-D9pI9Vbh.mjs";
3
- import { renderItem } from "./render-DXv-D6fU.mjs";
4
- import "./predicates-DiIiS3k7.mjs";
5
- import "./input-ikCiip6x.mjs";
6
- import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-D7jihh81.mjs";
7
- import { readBody } from "./body-DRBgxS6-.mjs";
3
+ import { renderItem } from "./render-DuoDUTVL.mjs";
4
+ import "./predicates-CGO17Q15.mjs";
5
+ import "./input-BQ-BZA8h.mjs";
6
+ import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-CqLG3Q3o.mjs";
7
+ import { readBody } from "./body-DyJdyUnm.mjs";
8
8
  import { bodyInputFlags } from "./body-flags-BK7J6Daz.mjs";
9
9
  import { Collection, CollectionCreateInput, collectionView } from "./collection-B3sPXRLs.mjs";
10
10