@metabase/cli 0.1.18 → 0.2.0
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.
- package/README.md +61 -35
- package/dist/{add-collection-CRZAFCZy.mjs → add-collection-BTSGp4f9.mjs} +4 -5
- package/dist/add-collection-DlAwt2Z3.mjs +9 -0
- package/dist/append-DY1-O789.mjs +42 -0
- package/dist/{archive-errg-EKw.mjs → archive-BOEEMrYL.mjs} +6 -8
- package/dist/{archive-3mEhK9_H.mjs → archive-CJ9rElKn.mjs} +6 -8
- package/dist/{archive-De4yVEV8.mjs → archive-CWtUzlHO.mjs} +5 -7
- package/dist/{archive-d74nDcp4.mjs → archive-DCPw3df6.mjs} +5 -7
- package/dist/{archive-CFHYRF65.mjs → archive-DOa1u1aJ.mjs} +5 -7
- package/dist/{archive-Z8ZM-ilB.mjs → archive-pHsa4dL0.mjs} +8 -9
- package/dist/{archive-C3RWdM-2.mjs → archive-w6TX-zEk.mjs} +7 -8
- package/dist/auth-BrQtY0pO.mjs +22 -0
- package/dist/{body-BS2s2zDl.mjs → body-C1_AaTS4.mjs} +3 -3
- package/dist/{branches-mcyT7wI-.mjs → branches-BsBzaGIf.mjs} +5 -7
- package/dist/{cancel-B2l-i2NS.mjs → cancel-BNM0yyx-.mjs} +4 -6
- package/dist/{cancel-task-CugcIeIi.mjs → cancel-task-Bggzn4JL.mjs} +5 -7
- package/dist/capabilities-DrDJo_ng.mjs +684 -0
- package/dist/{card-DEmcRlNO.mjs → card-B8G5jQQT.mjs} +24 -18
- package/dist/card-DHCcmpgr.mjs +26 -0
- package/dist/{cards-BGkz5BeZ.mjs → cards-D0hvA13L.mjs} +7 -8
- package/dist/cli.mjs +175 -29
- package/dist/{collection-DrLpA1SO.mjs → collection-CFoLPrY5.mjs} +1 -1
- package/dist/collection-D0O9gp3S.mjs +23 -0
- package/dist/{collection-namespace-BP_LJrAD.mjs → collection-namespace-DqPNrCdQ.mjs} +2 -2
- package/dist/{create-kWzqvTGR.mjs → create-05rX4oL-.mjs} +11 -12
- package/dist/{create-wpvDXSSY.mjs → create-BR7x66KW.mjs} +12 -13
- package/dist/{create-D8KA4zJA.mjs → create-C17Fh1_X.mjs} +9 -10
- package/dist/{create-DhrftYre.mjs → create-C8ndg3g4.mjs} +14 -14
- package/dist/{create-DzyMvAVy.mjs → create-CZ9KFnbi.mjs} +8 -9
- package/dist/{create-Cztp5kES.mjs → create-Cii_utzV.mjs} +5 -7
- package/dist/{create-CkRFKtFG.mjs → create-Cyv7vHV_.mjs} +8 -9
- package/dist/{create-YfGzANNB.mjs → create-DKuixGJ2.mjs} +8 -9
- package/dist/{create-B4HAEEE0.mjs → create-E6L3WMqV.mjs} +8 -9
- package/dist/{create-BOmmMSjF.mjs → create-a3s1S2Dw.mjs} +11 -12
- package/dist/{create-branch-DsoMfx_2.mjs → create-branch-Dxn6UnV_.mjs} +5 -7
- package/dist/{create-CD9Rp8qs.mjs → create-oLb0E-ZP.mjs} +14 -14
- package/dist/csv-T6_vlLJS.mjs +58 -0
- package/dist/{current-task-WuKPZpZ6.mjs → current-task-DxWbw-bU.mjs} +5 -7
- package/dist/{dashboard-DOplbKyQ.mjs → dashboard-B-MTpfeS.mjs} +35 -15
- package/dist/dashboard-BpSPoeAn.mjs +35 -0
- package/dist/{database-D9fftP-i.mjs → database-CIbVSfua.mjs} +2 -2
- package/dist/db-DBRijnh4.mjs +27 -0
- package/dist/{delete-Buai0_e_.mjs → delete--P1xFX37.mjs} +6 -8
- package/dist/{delete-CmGh0jo1.mjs → delete-BBOIUl0D.mjs} +6 -8
- package/dist/{delete-BCitmugk.mjs → delete-Ce2EBQYA.mjs} +6 -8
- package/dist/{delete-runtime-B0ha5QR4.mjs → delete-runtime-B-8I9V1g.mjs} +2 -3
- package/dist/{delete-table-BOkYxdjA.mjs → delete-table-Bj32NsXn.mjs} +6 -8
- package/dist/{dependencies-XZrEvHUA.mjs → dependencies-ixzjVjUz.mjs} +5 -7
- package/dist/{dirty-B-5NDbG9.mjs → dirty-CH70h5m5.mjs} +5 -7
- package/dist/{document-1W7NRaO_.mjs → document-CL4ML5FN.mjs} +20 -4
- package/dist/document-dZpuFu3I.mjs +22 -0
- package/dist/{eid-BCuJRv7a.mjs → eid-XjkBbyb_.mjs} +10 -11
- package/dist/embedding-CKdw8q7p.mjs +11 -0
- package/dist/{export-Dod2gdyE.mjs → export-CChMg-mL.mjs} +7 -9
- package/dist/field-B1heFeCz.mjs +21 -0
- package/dist/{field-CMY_LWUe.mjs → field-DsXTeqBy.mjs} +6 -4
- package/dist/{fields-B0yttrzR.mjs → fields-C7h2QwUp.mjs} +6 -8
- package/dist/{get-Dz7fcqoG.mjs → get-AvGH_oph.mjs} +8 -9
- package/dist/{get-BkGh9BPd.mjs → get-B6ZJCJ8H.mjs} +5 -7
- package/dist/{get-k6M5nGMC.mjs → get-BWHJDa0B.mjs} +5 -7
- package/dist/{get-CfeYa0v5.mjs → get-BsyccuCH.mjs} +5 -7
- package/dist/{get-B0OsW6jk.mjs → get-C98IFgFi.mjs} +5 -7
- package/dist/{get-D-pNrQGA.mjs → get-Cj90oyxG.mjs} +5 -7
- package/dist/{get-DBY5esTW.mjs → get-D9r2znrn.mjs} +5 -7
- package/dist/{get-BpZ81hX8.mjs → get-DRZENkCj.mjs} +5 -7
- package/dist/{get-D7QMqPOK.mjs → get-DWWmpQ87.mjs} +5 -7
- package/dist/{get-CbpHt4Hs.mjs → get-Dg1J0wxb.mjs} +5 -7
- package/dist/{get-DJ8huA8y.mjs → get-DrWYvefc.mjs} +7 -8
- package/dist/{get-u5Uq9vms.mjs → get-KVN9ANVh.mjs} +4 -6
- package/dist/get-RlP_xiUd.mjs +67 -0
- package/dist/{get-9p0Gt1c7.mjs → get-cyR67Lmq.mjs} +5 -7
- package/dist/{get-DISgP66L.mjs → get-kqY2lwhO.mjs} +16 -9
- package/dist/{get-run-DQJVpDw1.mjs → get-run-C4C_QQqO.mjs} +5 -7
- package/dist/git-sync-JHa7bIyY.mjs +31 -0
- package/dist/{group-BNE_RiH5.mjs → group-CILtQqCL.mjs} +2 -1
- package/dist/{has-remote-changes-DvQBXudi.mjs → has-remote-changes-dLUGr0MD.mjs} +5 -7
- package/dist/{import-PGS8-DwE.mjs → import-Byull6jF.mjs} +7 -9
- package/dist/{input-7Sj85_K7.mjs → input-m9ctfLxZ.mjs} +6 -3
- package/dist/is-dirty-Bb2dfEYs.mjs +8 -0
- package/dist/{is-dirty-DyEVFQVJ.mjs → is-dirty-CU3ovgdG.mjs} +3 -4
- package/dist/{items-CkFEy2Du.mjs → items-CEGDYWuF.mjs} +7 -9
- package/dist/{key-bltP32Pm.mjs → key-Ge4VwWvS.mjs} +1 -1
- package/dist/{library-1AAVbk-K.mjs → library-DHWWa4Tt.mjs} +6 -6
- package/dist/{list-Bb8YRON_.mjs → list-3z1ZChTG.mjs} +4 -6
- package/dist/{list-BY4S32Lg.mjs → list-B9TyELob.mjs} +4 -6
- package/dist/{list-Sgo3RfDY.mjs → list-BFm4iEBt.mjs} +4 -6
- package/dist/{list-BVzu2RIZ.mjs → list-BliCJAjt.mjs} +4 -6
- package/dist/{list-CKzpoTgP.mjs → list-Bpv06V24.mjs} +6 -8
- package/dist/{list-BWAYDSbQ.mjs → list-Br48kL09.mjs} +4 -6
- package/dist/{list-pQ22nXhQ.mjs → list-BtcpNl4-.mjs} +4 -6
- package/dist/{list-82NkvRpI.mjs → list-BuyRG3GB.mjs} +7 -8
- package/dist/{list-CjF12k1G.mjs → list-CMb03cv3.mjs} +5 -7
- package/dist/{list-BCYTTCFD.mjs → list-CmCJwaGT.mjs} +4 -6
- package/dist/{list-CK0p7vvK.mjs → list-Cur_72xZ.mjs} +5 -7
- package/dist/{list-D-rgDFa5.mjs → list-D9FY30xH.mjs} +8 -9
- package/dist/{list-BBxRjuMn.mjs → list-DEkPxVZu.mjs} +4 -6
- package/dist/{list-B9wXg3qi.mjs → list-O2w5xd1q.mjs} +4 -6
- package/dist/{list-CJx5q-Yn.mjs → list-th_Ym6Cv.mjs} +6 -8
- package/dist/{login-C6ZAnGHz.mjs → login-hKlYsAa1.mjs} +8 -10
- package/dist/{logout-CWjyY3Y8.mjs → logout-DO8GVC6b.mjs} +4 -6
- package/dist/measure-R3T20wnB.mjs +25 -0
- package/dist/{measure-DoJvtCaA.mjs → measure-S9WszHre.mjs} +5 -4
- package/dist/{parameter-values-DmDOuE-j.mjs → parameter-values-BJb2GuLz.mjs} +5 -7
- package/dist/{parse-enum-BL9i_brN.mjs → parse-enum-Cfne2suT.mjs} +1 -1
- package/dist/{parse-id-DlXnOcmP.mjs → parse-id-DfY0Lugw.mjs} +1 -1
- package/dist/{parse-ref-CB_KvF9h.mjs → parse-ref-C_MsXYI6.mjs} +1 -1
- package/dist/{path-D8IJ4YrW.mjs → path-DzhQVCH8.mjs} +4 -6
- package/dist/{poll-hgnrHBoh.mjs → poll-D1Yg78c3.mjs} +2 -2
- package/dist/{poll-task-NQNLT_aA.mjs → poll-task-DLUZaglY.mjs} +2 -2
- package/dist/{preflight-DvaPQHHf.mjs → preflight-Cy2jUSca.mjs} +4 -5
- package/dist/{process-j8UHMHc2.mjs → process-D5HN1wpT.mjs} +1 -1
- package/dist/{prompt-C85xd9HR.mjs → prompt-ZG9Drin_.mjs} +1 -1
- package/dist/{publish-BntmFR6g.mjs → publish-3hmHoaX-.mjs} +7 -9
- package/dist/{query-BQfgKV68.mjs → query-DTASj9Zu.mjs} +9 -10
- package/dist/{query-DSKQZu91.mjs → query-DkZViD_3.mjs} +15 -15
- package/dist/{query-result-D6mfoVfQ.mjs → query-result-CbTFdlSf.mjs} +1 -1
- package/dist/{remove-collection-BguaI3-6.mjs → remove-collection-D3wH9H6R.mjs} +7 -9
- package/dist/replace-CFzqkZXs.mjs +42 -0
- package/dist/requests-KBiY9UYy.mjs +96 -0
- package/dist/{rescan-values-DjD6IW3J.mjs → rescan-values-B1WycObS.mjs} +7 -9
- package/dist/{resolve-Dj2MTBkn.mjs → resolve-Ct084wx3.mjs} +1 -1
- package/dist/{run-Bp1yxkBN.mjs → run-B8qEEdC8.mjs} +4 -6
- package/dist/{run-RQfQj7Rk.mjs → run-cw0qTEQ7.mjs} +7 -9
- package/dist/{runs-CSsatfWb.mjs → runs-BOA4kK_X.mjs} +6 -8
- package/dist/{runtime-oxjmrYoP.mjs → runtime-B-c-Fc2i.mjs} +3 -4
- package/dist/{schema-tables-5I5pCxHl.mjs → schema-tables-DRYzSVcW.mjs} +6 -8
- package/dist/{schemas-CfzFCfBt.mjs → schemas-BiMjD25L.mjs} +4 -6
- package/dist/{search-Vo-BqliA.mjs → search-DjKxRXO5.mjs} +4 -6
- package/dist/{segment-TXktTCfU.mjs → segment-BPb1H6DW.mjs} +6 -5
- package/dist/segment-CZkk0g79.mjs +25 -0
- package/dist/{selectors-DBnJsKlW.mjs → selectors-B7MJUn3I.mjs} +3 -3
- package/dist/{set-active-C0mUZlNN.mjs → set-active-CF868qdW.mjs} +4 -6
- package/dist/{set-1Vh0AF-T.mjs → set-kyoORFG3.mjs} +10 -10
- package/dist/setting-BZgjURQ_.mjs +20 -0
- package/dist/{setup-CzYFvFK5.mjs → setup-D9joJYPb.mjs} +11 -12
- package/dist/{skills-B6gfH0iR.mjs → skills-BqI05u72.mjs} +1 -1
- package/dist/{skills-CR2xyV33.mjs → skills-D8NrJxjp.mjs} +3 -3
- package/dist/{snippet-CtA2Pkoa.mjs → snippet-DWiXNy4T.mjs} +7 -4
- package/dist/snippet-y_FzKxaQ.mjs +22 -0
- package/dist/{stash-CQHXwBu_.mjs → stash-BVMerTaF.mjs} +7 -9
- package/dist/{status-C_7aqTvB.mjs → status-C-0jFjFn.mjs} +4 -6
- package/dist/{status-DXQkM18v.mjs → status-x8bDOa1i.mjs} +6 -8
- package/dist/{summary-1aNpQc8j.mjs → summary-B-R9SdMF.mjs} +5 -7
- package/dist/{sync-schema-BqLp5uTS.mjs → sync-schema-wne2KXIW.mjs} +9 -11
- package/dist/{table-DE3i82T_.mjs → table-C3RIKiYM.mjs} +16 -4
- package/dist/table-CS2-2INi.mjs +21 -0
- package/dist/transform-6hqM1DXA.mjs +31 -0
- package/dist/{transform-DEF38FWe.mjs → transform-JQel7e5H.mjs} +31 -5
- package/dist/transform-job-DuERhLaj.mjs +25 -0
- package/dist/transform-tag-DaNKreDj.mjs +21 -0
- package/dist/{transforms-BelyllUL.mjs → transforms-DB2WNP2R.mjs} +5 -7
- package/dist/{tree-YvmwGql7.mjs → tree-BIOphGVs.mjs} +4 -6
- package/dist/{unpublish-CHjGLMu9.mjs → unpublish-BWM36ZTg.mjs} +5 -7
- package/dist/{update-BACl_bJS.mjs → update-6umfSz5t.mjs} +9 -10
- package/dist/{update-txUfAJxy.mjs → update-7Ts7KrB8.mjs} +9 -10
- package/dist/{update-D7vc8GBF.mjs → update-BCbv880u.mjs} +12 -13
- package/dist/{update-K-jjQ0Aw.mjs → update-BchtHlbH.mjs} +10 -11
- package/dist/{update-BGMJTpA6.mjs → update-BiUeEGU-.mjs} +12 -13
- package/dist/{update-BKhekuqr.mjs → update-BlzcZwRQ.mjs} +15 -15
- package/dist/{update-BnHYSu96.mjs → update-CTZg2Lia.mjs} +13 -14
- package/dist/{update-C9fndCqb.mjs → update-DJDuIhYG.mjs} +9 -10
- package/dist/{update-CrRz47aj.mjs → update-HxYcvpSq.mjs} +15 -15
- package/dist/{update-Zz01Woxj.mjs → update-Sz0QRGWB.mjs} +9 -10
- package/dist/{update-dashcard-Dvth-yLC.mjs → update-dashcard-CfDpy7Lz.mjs} +11 -11
- package/dist/{update-BWlN3QDo.mjs → update-zfLbmC-H.mjs} +9 -10
- package/dist/{upgrade-DsXlfPef.mjs → upgrade-BWl0VjMK.mjs} +5 -7
- package/dist/upload-CPzOhGeX.mjs +16 -0
- package/dist/{uuid-ByJmWV7b.mjs → uuid-D_YeqDui.mjs} +3 -5
- package/dist/{validate-BqNW4Sk1.mjs → validate-clAWO3X-.mjs} +1 -2
- package/dist/{validate-query-CcZVKYPV.mjs → validate-query-CsK2_2_u.mjs} +2 -3
- package/dist/{values-CIjJI4sz.mjs → values-DSk8ZJ3B.mjs} +5 -7
- package/dist/{verify-Jsuc2dat.mjs → verify-DkQdLjf3.mjs} +2 -2
- package/dist/{wait-5ltTFvSa.mjs → wait-DvSsMjea.mjs} +6 -8
- package/dist/{wait-flags-D6kd_G7c.mjs → wait-flags-dXGThljd.mjs} +2 -2
- package/package.json +1 -1
- package/skill-data/core/SKILL.md +27 -21
- package/skill-data/dashboard/SKILL.md +26 -3
- package/skill-data/data-workflow/SKILL.md +17 -15
- package/dist/add-collection-DbalcC3_.mjs +0 -11
- package/dist/auth--PWX0oj5.mjs +0 -22
- package/dist/capabilities-N0jo5U7S.mjs +0 -239
- package/dist/card-D07WYCQY.mjs +0 -26
- package/dist/collection-Dss2qSEF.mjs +0 -23
- package/dist/dashboard-Crh4v6Fq.mjs +0 -35
- package/dist/db-BCAURQei.mjs +0 -28
- package/dist/document-upxL2nKH.mjs +0 -22
- package/dist/error-BaBm-UrT.mjs +0 -227
- package/dist/field-CloFa1oe.mjs +0 -21
- package/dist/get-B8tugTku.mjs +0 -50
- package/dist/git-sync-C9m-OHac.mjs +0 -31
- package/dist/is-dirty-DpyKeGAJ.mjs +0 -10
- package/dist/manifest-BVf8P4bl.mjs +0 -126
- package/dist/measure-Cbly1r0E.mjs +0 -25
- package/dist/metadata-CW5Lfw5d.mjs +0 -39
- package/dist/metadata-aQAqseCm.mjs +0 -38
- package/dist/notice-DyVl5aYB.mjs +0 -206
- package/dist/segment-BuN_IoM8.mjs +0 -25
- package/dist/setting-BbdKR-lO.mjs +0 -20
- package/dist/snippet-Bzo2U9Fv.mjs +0 -22
- package/dist/table-BwGOz97O.mjs +0 -22
- package/dist/transform-B65ZD9-e.mjs +0 -31
- package/dist/transform-job-BWVKXSV6.mjs +0 -25
- package/dist/transform-tag-C4qvmicL.mjs +0 -21
- /package/dist/{body-flags-DWTTxJpP.mjs → body-flags-CgHgJBRC.mjs} +0 -0
- /package/dist/{command-augment-DdZIfx1V.mjs → command-augment-D9pI9Vbh.mjs} +0 -0
- /package/dist/{paginate-FVZUxL4J.mjs → paginate-CMqbqhMC.mjs} +0 -0
- /package/dist/{parameter-CiJ4CwWE.mjs → parameter-BZ6y-Gfs.mjs} +0 -0
- /package/dist/{render-BTKnWL0d.mjs → render-CkuFkWlQ.mjs} +0 -0
- /package/dist/{revision-message-flag-CHrJgFFx.mjs → revision-message-flag-CHzX0cqV.mjs} +0 -0
- /package/dist/{setting-m46MUtW5.mjs → setting-Cko6bE_w.mjs} +0 -0
- /package/dist/{transform-job-CtixL4An.mjs → transform-job-CtVziW85.mjs} +0 -0
- /package/dist/{transform-tag-rsIrckCM.mjs → transform-tag-wFiWmiyO.mjs} +0 -0
package/README.md
CHANGED
|
@@ -328,11 +328,11 @@ mb transform-tag delete 5 --yes
|
|
|
328
328
|
|
|
329
329
|
## Databases
|
|
330
330
|
|
|
331
|
-
Read warehouse metadata from `/api/database`. The `db` group exposes the full database list, the per-database record, schema and table inspection, the two manual-sync triggers
|
|
331
|
+
Read warehouse metadata from `/api/database`. The `db` group exposes the full database list, the per-database record with optional table/field hydration, schema and table inspection, and the two manual-sync triggers.
|
|
332
332
|
|
|
333
333
|
`db` is aliased to `database`.
|
|
334
334
|
|
|
335
|
-
> **Agent traversal
|
|
335
|
+
> **Agent traversal — the hydration ladder:** start with `db get <db-id> --include tables`, the compact table map (id, name, schema, description per table) — one call that fits most databases. Pick the relevant tables, then fetch fields per table with `table fields <table-id>` (bounded: a table has at most a few hundred fields). `--include tables.fields` is the full rollup — small databases only. When output outgrows the `--max-bytes` cap, the error message names the next command down the ladder. On warehouses with hundreds of tables, traverse by schema (`db schemas <db-id>` → `db schema-tables <db-id> <schema>`) or find tables by name (`mb search <term> --models table --db-id <db-id>`).
|
|
336
336
|
|
|
337
337
|
### `mb db list`
|
|
338
338
|
|
|
@@ -340,34 +340,26 @@ Read warehouse metadata from `/api/database`. The `db` group exposes the full da
|
|
|
340
340
|
mb db list
|
|
341
341
|
mb db list --json
|
|
342
342
|
mb db list --saved --json
|
|
343
|
-
mb db list --include tables --
|
|
343
|
+
mb db list --include tables --json # every db with its compact table map
|
|
344
344
|
```
|
|
345
345
|
|
|
346
|
-
| Flag | Description
|
|
347
|
-
| ------------------- |
|
|
348
|
-
| `--include <which>` | Hydrate related entities. Currently only `tables` is supported (each database is returned with its `tables`).
|
|
349
|
-
| `--saved` | Include the Saved Questions virtual database in the list. The virtual db has id `-1337` and no `engine`.
|
|
346
|
+
| Flag | Description |
|
|
347
|
+
| ------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
348
|
+
| `--include <which>` | Hydrate related entities. Currently only `tables` is supported (each database is returned with its compact `tables`). To map a single warehouse, prefer `db get <id> --include tables`. |
|
|
349
|
+
| `--saved` | Include the Saved Questions virtual database in the list. The virtual db has id `-1337` and no `engine`. |
|
|
350
350
|
|
|
351
351
|
### `mb db get <id>`
|
|
352
352
|
|
|
353
353
|
```sh
|
|
354
354
|
mb db get 1
|
|
355
355
|
mb db get 1 --json
|
|
356
|
-
mb db get 1 --include tables --
|
|
357
|
-
mb db get 1 --include tables.fields --
|
|
356
|
+
mb db get 1 --include tables --json # + compact table map (fits most databases)
|
|
357
|
+
mb db get 1 --include tables.fields --json # + every field of every table (small databases only)
|
|
358
358
|
```
|
|
359
359
|
|
|
360
|
-
| Flag | Description
|
|
361
|
-
| ------------------- |
|
|
362
|
-
| `--include <which>` | Hydrate related entities.
|
|
363
|
-
|
|
364
|
-
### `mb db metadata <id>`
|
|
365
|
-
|
|
366
|
-
Equivalent to `GET /api/database/:id/metadata`: a single database with all its tables and fields rolled up in one response. This is the largest read in the `db` group — on a real warehouse the response will exceed the agent context. Use only when you know the database is small (a seeded dev instance, a sample db, a freshly-bootstrapped test fixture). For agent-driven introspection on a real warehouse, walk `db schemas` → `db schema-tables` → `table get --include fields` instead.
|
|
367
|
-
|
|
368
|
-
```sh
|
|
369
|
-
mb db metadata 1 --json --full --max-bytes 0
|
|
370
|
-
```
|
|
360
|
+
| Flag | Description |
|
|
361
|
+
| ------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
362
|
+
| `--include <which>` | Hydrate related entities. `tables` is the compact table map — the recommended first call for schema discovery. `tables.fields` is the full rollup and fits only small databases; on anything larger, take the map and fetch fields per table with `table fields <table-id>`, or traverse by schema (see above). |
|
|
371
363
|
|
|
372
364
|
### `mb db schemas <id>`
|
|
373
365
|
|
|
@@ -430,7 +422,7 @@ mb table list --db-id 1 --json
|
|
|
430
422
|
|
|
431
423
|
### `mb table get <id>`
|
|
432
424
|
|
|
433
|
-
Returns the basic table record (no fields). Pass `--include fields` to route through `/api/table/:id/query_metadata` so the response carries the table's columns compact-projected as `fields` — this is the default agent path for field introspection. Use `mb table fields <id>` if you only want the fields as a list envelope
|
|
425
|
+
Returns the basic table record (no fields). Pass `--include fields` to route through `/api/table/:id/query_metadata` so the response carries the table's columns compact-projected as `fields` — this is the default agent path for field introspection (the response also carries FK targets and dimensions under `--full`). Use `mb table fields <id>` if you only want the fields as a list envelope.
|
|
434
426
|
|
|
435
427
|
```sh
|
|
436
428
|
mb table get 42
|
|
@@ -451,14 +443,6 @@ mb table fields 42
|
|
|
451
443
|
mb table fields 42 --json
|
|
452
444
|
```
|
|
453
445
|
|
|
454
|
-
### `mb table metadata <id>`
|
|
455
|
-
|
|
456
|
-
`GET /api/table/:id/query_metadata`: the table with its fields, FKs, dimensions, segments, and measures all hydrated. Heavier than `table get --include fields` — reach for it only when you actually need the FK / dimension / segment / measure data.
|
|
457
|
-
|
|
458
|
-
```sh
|
|
459
|
-
mb table metadata 42 --json --full --max-bytes 0
|
|
460
|
-
```
|
|
461
|
-
|
|
462
446
|
### `mb table update <id>`
|
|
463
447
|
|
|
464
448
|
Patch a table (`PUT /api/table/:id`). Body fields: `display_name`, `description`, `caveats`, `points_of_interest`, `entity_type`, `visibility_type`, `field_order`, `show_in_getting_started`. Pass the body via `--body`, `--file`, or stdin (exactly one).
|
|
@@ -508,6 +492,43 @@ mb field update 100 --body '{"description":"customer email","semantic_type":"typ
|
|
|
508
492
|
mb field update 100 --file patch.json
|
|
509
493
|
```
|
|
510
494
|
|
|
495
|
+
## Upload
|
|
496
|
+
|
|
497
|
+
Load CSV/TSV data into the warehouse via `/api/upload`. Requires an uploads database configured on the server (Admin → Settings → Uploads); the destination db and schema are set there, not per-command. `append`/`replace` target a table created by a prior upload, and the CSV columns must match.
|
|
498
|
+
|
|
499
|
+
### `mb upload csv`
|
|
500
|
+
|
|
501
|
+
Create a new table plus a model over it from a CSV file. Prints the new model id and table id.
|
|
502
|
+
|
|
503
|
+
```sh
|
|
504
|
+
mb upload csv --file data.csv
|
|
505
|
+
mb upload csv --file data.csv --collection 5
|
|
506
|
+
mb upload csv --file data.csv --json
|
|
507
|
+
```
|
|
508
|
+
|
|
509
|
+
| Flag | Description |
|
|
510
|
+
| ------------------- | ---------------------------------------------------------------------- |
|
|
511
|
+
| `--file <path>` | Path to the CSV/TSV file to upload (required). |
|
|
512
|
+
| `--collection <id>` | Target collection id for the created model, or `root` (default: root). |
|
|
513
|
+
|
|
514
|
+
### `mb upload append <table-id>`
|
|
515
|
+
|
|
516
|
+
Insert a CSV file's rows into an existing uploaded table.
|
|
517
|
+
|
|
518
|
+
```sh
|
|
519
|
+
mb upload append 42 --file more-rows.csv
|
|
520
|
+
mb upload append 42 --file more-rows.csv --json
|
|
521
|
+
```
|
|
522
|
+
|
|
523
|
+
### `mb upload replace <table-id>`
|
|
524
|
+
|
|
525
|
+
Replace an existing uploaded table's contents with a CSV file's rows.
|
|
526
|
+
|
|
527
|
+
```sh
|
|
528
|
+
mb upload replace 42 --file rows.csv
|
|
529
|
+
mb upload replace 42 --file rows.csv --json
|
|
530
|
+
```
|
|
531
|
+
|
|
511
532
|
## Cards
|
|
512
533
|
|
|
513
534
|
CRUD plus query execution on `/api/card`. A "card" is a Metabase question, model, or metric. The `query` subcommand runs the card and either returns Metabase's JSON envelope or streams a raw CSV / XLSX export.
|
|
@@ -1397,7 +1418,7 @@ When the embedded query (`card.dataset_query`, `transform.source.query` for `sou
|
|
|
1397
1418
|
|
|
1398
1419
|
Pass `--skip-validate` to bypass the pre-flight on any of `card create`, `card update`, `transform create`, `transform update`, `measure create`, `measure update`, `segment create`, or `segment update` — the body is sent as-is and the server is the authority. Same escape hatch as on `mb query`; use only when the bundled schema disagrees with what the server actually accepts.
|
|
1399
1420
|
|
|
1400
|
-
Agent discovery path: `mb
|
|
1421
|
+
Agent discovery path: `mb <command> --help --json` lists a command's args, JSON-body input schema, and output schema; the description for `card create`/`update`, `transform create`/`update`, `measure create`/`update`, and `segment create`/`update` references `mb query --print-schema` so an agent can fetch the validating schema directly.
|
|
1401
1422
|
|
|
1402
1423
|
The bundled query schema is synced from a pinned `@metabase/representations` release via `bun run sync:representations`; CI guards against drift.
|
|
1403
1424
|
|
|
@@ -1488,7 +1509,7 @@ mb skills path # absolute paths for direct Read
|
|
|
1488
1509
|
mb skills path core # one path
|
|
1489
1510
|
```
|
|
1490
1511
|
|
|
1491
|
-
`mb skills get` honors the shared `--max-bytes` list cap. With the default
|
|
1512
|
+
`mb skills get` honors the shared `--max-bytes` list cap. With the default 24 576 cap, `--all` will return only the first skill and emit a truncation notice — pass `--max-bytes 0` to dump every skill in one envelope.
|
|
1492
1513
|
|
|
1493
1514
|
Bundled skills:
|
|
1494
1515
|
|
|
@@ -1525,15 +1546,20 @@ The former `METABASE_`-prefixed names (`METABASE_URL`, `METABASE_API_KEY`, `META
|
|
|
1525
1546
|
|
|
1526
1547
|
## Agent integration
|
|
1527
1548
|
|
|
1528
|
-
###
|
|
1549
|
+
### `--help --json`
|
|
1550
|
+
|
|
1551
|
+
Every node of the command tree answers `--help --json` with machine-readable help, mirroring what text help shows at that level:
|
|
1529
1552
|
|
|
1530
|
-
|
|
1553
|
+
- A leaf command emits its full entry — name, description, `details`, examples, citty args with types/defaults/enums, `capabilities` (min server version / token feature), and the input and output Zod schemas rendered as JSON Schema (`inputSchema` is the exact validator `readBody` enforces on the JSON body, `null` for commands that take none).
|
|
1554
|
+
- A command group (and the root) emits a flat `{ commands: [{ command, description }] }` index of every leaf in its subtree, with full-path names.
|
|
1531
1555
|
|
|
1532
1556
|
```sh
|
|
1533
|
-
mb
|
|
1557
|
+
mb --help --json | jq -r '.commands[].command' # every command
|
|
1558
|
+
mb card query --help --json | jq .outputSchema # one command's output schema
|
|
1559
|
+
mb card create --help --json | jq .inputSchema # the JSON-body contract it validates
|
|
1534
1560
|
```
|
|
1535
1561
|
|
|
1536
|
-
The
|
|
1562
|
+
The entry and index schemas (`CommandHelpEntry`, `CommandHelpIndex`) are exported from `src/runtime/command-help.ts`.
|
|
1537
1563
|
|
|
1538
1564
|
## Exit codes
|
|
1539
1565
|
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { connectionFlags, outputFlags, profileFlag } from "./
|
|
2
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { REMOTE_SYNC_PATHS } from "./poll-task-NQNLT_aA.mjs";
|
|
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";
|
|
6
5
|
import { z } from "zod";
|
|
7
6
|
|
|
8
7
|
//#region src/commands/git-sync/add-collection.ts
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import "./capabilities-DrDJo_ng.mjs";
|
|
2
|
+
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
+
import "./runtime-B-c-Fc2i.mjs";
|
|
4
|
+
import "./parse-id-DfY0Lugw.mjs";
|
|
5
|
+
import "./poll-D1Yg78c3.mjs";
|
|
6
|
+
import "./poll-task-DLUZaglY.mjs";
|
|
7
|
+
import { SyncSettingsUpdateResult, add_collection_default, setCollectionRemoteSynced, syncSettingsUpdateView } from "./add-collection-BTSGp4f9.mjs";
|
|
8
|
+
|
|
9
|
+
export { add_collection_default as default };
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { connectionFlags, outputFlags, profileFlag, renderSummary } from "./capabilities-DrDJo_ng.mjs";
|
|
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";
|
|
7
|
+
|
|
8
|
+
//#region src/commands/upload/append.ts
|
|
9
|
+
var append_default = defineMetabaseCommand({
|
|
10
|
+
meta: {
|
|
11
|
+
name: "append",
|
|
12
|
+
description: "Append a CSV file's rows to an existing uploaded table"
|
|
13
|
+
},
|
|
14
|
+
details: "Inserts the rows of the CSV into the table with the given id. The table must have been created by a CSV upload and the CSV columns must match.",
|
|
15
|
+
capabilities: { minVersion: 58 },
|
|
16
|
+
args: {
|
|
17
|
+
...outputFlags,
|
|
18
|
+
...profileFlag,
|
|
19
|
+
...connectionFlags,
|
|
20
|
+
file: {
|
|
21
|
+
type: "string",
|
|
22
|
+
description: "Path to the CSV/TSV file to upload"
|
|
23
|
+
},
|
|
24
|
+
id: {
|
|
25
|
+
type: "positional",
|
|
26
|
+
description: "Target table id",
|
|
27
|
+
required: true
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
outputSchema: UploadUpdateResult,
|
|
31
|
+
examples: ["mb upload append 42 --file more-rows.csv", "mb upload append 42 --file more-rows.csv --json"],
|
|
32
|
+
async run({ args, ctx, getClient }) {
|
|
33
|
+
const id = parseId(args.id);
|
|
34
|
+
const file = await readCsvFile(requireUploadFilePath(args.file));
|
|
35
|
+
const client = await getClient();
|
|
36
|
+
const result = await updateTableFromCsv(client, id, "append", file);
|
|
37
|
+
renderSummary(result, uploadUpdateResultView, `Appended "${file.filename}" into table ${id}.`, ctx);
|
|
38
|
+
}
|
|
39
|
+
});
|
|
40
|
+
|
|
41
|
+
//#endregion
|
|
42
|
+
export { append_default as default };
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import
|
|
3
|
-
import "./
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { Measure, measureView } from "./measure-DoJvtCaA.mjs";
|
|
8
|
-
import { revisionMessageFlag } from "./revision-message-flag-CHrJgFFx.mjs";
|
|
1
|
+
import { connectionFlags, outputFlags, profileFlag, renderSummary } from "./capabilities-DrDJo_ng.mjs";
|
|
2
|
+
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-B-c-Fc2i.mjs";
|
|
4
|
+
import { parseId } from "./parse-id-DfY0Lugw.mjs";
|
|
5
|
+
import { Measure, measureView } from "./measure-S9WszHre.mjs";
|
|
6
|
+
import { revisionMessageFlag } from "./revision-message-flag-CHzX0cqV.mjs";
|
|
9
7
|
|
|
10
8
|
//#region src/commands/measure/archive.ts
|
|
11
9
|
var archive_default = defineMetabaseCommand({
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import
|
|
3
|
-
import "./
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { revisionMessageFlag } from "./revision-message-flag-CHrJgFFx.mjs";
|
|
8
|
-
import { Segment, segmentView } from "./segment-TXktTCfU.mjs";
|
|
1
|
+
import { connectionFlags, outputFlags, profileFlag, renderSummary } from "./capabilities-DrDJo_ng.mjs";
|
|
2
|
+
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-B-c-Fc2i.mjs";
|
|
4
|
+
import { parseId } from "./parse-id-DfY0Lugw.mjs";
|
|
5
|
+
import { revisionMessageFlag } from "./revision-message-flag-CHzX0cqV.mjs";
|
|
6
|
+
import { Segment, segmentView } from "./segment-BPb1H6DW.mjs";
|
|
9
7
|
|
|
10
8
|
//#region src/commands/segment/archive.ts
|
|
11
9
|
var archive_default = defineMetabaseCommand({
|
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import
|
|
3
|
-
import "./
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { parseId } from "./parse-id-DlXnOcmP.mjs";
|
|
7
|
-
import { Collection, collectionView } from "./collection-DrLpA1SO.mjs";
|
|
1
|
+
import { connectionFlags, outputFlags, profileFlag, renderSummary } from "./capabilities-DrDJo_ng.mjs";
|
|
2
|
+
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-B-c-Fc2i.mjs";
|
|
4
|
+
import { parseId } from "./parse-id-DfY0Lugw.mjs";
|
|
5
|
+
import { Collection, collectionView } from "./collection-CFoLPrY5.mjs";
|
|
8
6
|
|
|
9
7
|
//#region src/commands/collection/archive.ts
|
|
10
8
|
var archive_default = defineMetabaseCommand({
|
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import
|
|
3
|
-
import "./
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { parseId } from "./parse-id-DlXnOcmP.mjs";
|
|
7
|
-
import { Document, documentView } from "./document-1W7NRaO_.mjs";
|
|
1
|
+
import { connectionFlags, outputFlags, profileFlag, renderSummary } from "./capabilities-DrDJo_ng.mjs";
|
|
2
|
+
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-B-c-Fc2i.mjs";
|
|
4
|
+
import { parseId } from "./parse-id-DfY0Lugw.mjs";
|
|
5
|
+
import { Document, documentView } from "./document-CL4ML5FN.mjs";
|
|
8
6
|
|
|
9
7
|
//#region src/commands/document/archive.ts
|
|
10
8
|
var archive_default = defineMetabaseCommand({
|
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import
|
|
3
|
-
import "./
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { parseId } from "./parse-id-DlXnOcmP.mjs";
|
|
7
|
-
import { Snippet, snippetView } from "./snippet-CtA2Pkoa.mjs";
|
|
1
|
+
import { connectionFlags, outputFlags, profileFlag, renderSummary } from "./capabilities-DrDJo_ng.mjs";
|
|
2
|
+
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-B-c-Fc2i.mjs";
|
|
4
|
+
import { parseId } from "./parse-id-DfY0Lugw.mjs";
|
|
5
|
+
import { Snippet, snippetView } from "./snippet-DWiXNy4T.mjs";
|
|
8
6
|
|
|
9
7
|
//#region src/commands/snippet/archive.ts
|
|
10
8
|
var archive_default = defineMetabaseCommand({
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import
|
|
3
|
-
import "./
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import "./
|
|
7
|
-
import "./
|
|
8
|
-
import {
|
|
9
|
-
import { parseId } from "./parse-id-DlXnOcmP.mjs";
|
|
1
|
+
import { connectionFlags, outputFlags, profileFlag, renderSummary } from "./capabilities-DrDJo_ng.mjs";
|
|
2
|
+
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-B-c-Fc2i.mjs";
|
|
4
|
+
import "./embedding-CKdw8q7p.mjs";
|
|
5
|
+
import "./field-DsXTeqBy.mjs";
|
|
6
|
+
import "./parameter-BZ6y-Gfs.mjs";
|
|
7
|
+
import { Card, cardView } from "./card-B8G5jQQT.mjs";
|
|
8
|
+
import { parseId } from "./parse-id-DfY0Lugw.mjs";
|
|
10
9
|
|
|
11
10
|
//#region src/commands/card/archive.ts
|
|
12
11
|
var archive_default = defineMetabaseCommand({
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import
|
|
3
|
-
import "./
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import "./
|
|
7
|
-
import {
|
|
8
|
-
import { Dashboard, dashboardView } from "./dashboard-DOplbKyQ.mjs";
|
|
1
|
+
import { connectionFlags, outputFlags, profileFlag, renderSummary } from "./capabilities-DrDJo_ng.mjs";
|
|
2
|
+
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-B-c-Fc2i.mjs";
|
|
4
|
+
import "./embedding-CKdw8q7p.mjs";
|
|
5
|
+
import "./parameter-BZ6y-Gfs.mjs";
|
|
6
|
+
import { parseId } from "./parse-id-DfY0Lugw.mjs";
|
|
7
|
+
import { Dashboard, dashboardView } from "./dashboard-B-MTpfeS.mjs";
|
|
9
8
|
|
|
10
9
|
//#region src/commands/dashboard/archive.ts
|
|
11
10
|
var archive_default = defineMetabaseCommand({
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import "./command-augment-D9pI9Vbh.mjs";
|
|
2
|
+
import { defineCommandGroup } from "./group-CILtQqCL.mjs";
|
|
3
|
+
|
|
4
|
+
//#region src/commands/auth/index.ts
|
|
5
|
+
var auth_default = defineCommandGroup({
|
|
6
|
+
name: "auth",
|
|
7
|
+
description: "Authenticate against a Metabase instance",
|
|
8
|
+
defaultCommand: "login",
|
|
9
|
+
skills: [{
|
|
10
|
+
skill: "core",
|
|
11
|
+
purpose: "authentication and named profiles"
|
|
12
|
+
}],
|
|
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)
|
|
18
|
+
}
|
|
19
|
+
});
|
|
20
|
+
|
|
21
|
+
//#endregion
|
|
22
|
+
export { auth_default as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ConfigError } from "./
|
|
2
|
-
import { parseJson } from "./runtime-
|
|
3
|
-
import { DEFAULT_FLAG_NAME, readInput } from "./input-
|
|
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";
|
|
4
4
|
|
|
5
5
|
//#region src/runtime/body.ts
|
|
6
6
|
async function readBody(sources, schema) {
|
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import
|
|
3
|
-
import "./
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
6
|
-
import "./poll-hgnrHBoh.mjs";
|
|
7
|
-
import { REMOTE_SYNC_PATHS } from "./poll-task-NQNLT_aA.mjs";
|
|
1
|
+
import { connectionFlags, listEnvelopeSchema, outputFlags, profileFlag, renderList, wrapList } from "./capabilities-DrDJo_ng.mjs";
|
|
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";
|
|
8
6
|
import { z } from "zod";
|
|
9
7
|
|
|
10
8
|
//#region src/commands/git-sync/branches.ts
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import
|
|
3
|
-
import "./
|
|
4
|
-
import {
|
|
5
|
-
import { renderSummary } from "./capabilities-N0jo5U7S.mjs";
|
|
6
|
-
import { parseId } from "./parse-id-DlXnOcmP.mjs";
|
|
1
|
+
import { connectionFlags, outputFlags, profileFlag, renderSummary } from "./capabilities-DrDJo_ng.mjs";
|
|
2
|
+
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-B-c-Fc2i.mjs";
|
|
4
|
+
import { parseId } from "./parse-id-DfY0Lugw.mjs";
|
|
7
5
|
import { z } from "zod";
|
|
8
6
|
|
|
9
7
|
//#region src/commands/transform/cancel.ts
|
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import
|
|
3
|
-
import "./
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
6
|
-
import "./poll-hgnrHBoh.mjs";
|
|
7
|
-
import { REMOTE_SYNC_PATHS, SyncTask, syncTaskView } from "./poll-task-NQNLT_aA.mjs";
|
|
1
|
+
import { connectionFlags, outputFlags, profileFlag, renderSummary } from "./capabilities-DrDJo_ng.mjs";
|
|
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";
|
|
8
6
|
|
|
9
7
|
//#region src/commands/git-sync/cancel-task.ts
|
|
10
8
|
var cancel_task_default = defineMetabaseCommand({
|