@metabase/cli 0.3.1-alpha.support-worktrees.b634907 → 0.3.1-alpha.versioning.9ac5f50
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/dist/{add-collection-CxzzDG4z.mjs → add-collection-Dmd-uNeU.mjs} +6 -10
- package/dist/{alert-CQ7Az16h.mjs → alert-D1u2MVZj.mjs} +7 -7
- package/dist/{alerts-DmwyyBfW.mjs → alerts-DcBjcfEE.mjs} +7 -8
- package/dist/{append-B0avMkvW.mjs → append-B9Htvmab.mjs} +5 -6
- package/dist/{archive-CMTHh4-w.mjs → archive-B660RguB.mjs} +4 -5
- package/dist/{archive-THcEfy9B.mjs → archive-BNivAYGr.mjs} +5 -6
- package/dist/{archive-DCyeRNfV.mjs → archive-BUoYMkxO.mjs} +4 -5
- package/dist/{archive-BZEu6UfT.mjs → archive-BVmFGFwG.mjs} +6 -7
- package/dist/archive-Bf014rFm.mjs +32 -0
- package/dist/{archive-DFofUIEC.mjs → archive-BmsZFOZY.mjs} +4 -5
- package/dist/archive-CNif6BKy.mjs +32 -0
- package/dist/{archive-BPSNe0Ul.mjs → archive-CgmidYZV.mjs} +4 -5
- package/dist/{archive-Cvrkz8F8.mjs → archive-CvU2z5192.mjs} +5 -6
- package/dist/{archive-BQ50OZ7y.mjs → archive-DhDQIKR_.mjs} +4 -5
- package/dist/{archive-BVblae-p.mjs → archive-bPdDITuY.mjs} +4 -5
- package/dist/{auth-BEEkuu4J.mjs → auth-CefYEPP5.mjs} +5 -5
- package/dist/{body-DxRSAMNC.mjs → body-C7m9q4cm.mjs} +3 -3
- package/dist/{branches-CmWc8NyL.mjs → branches-pz04OjF2.mjs} +4 -8
- package/dist/{cancel-DrQqmxvn.mjs → cancel-CNLnv19e.mjs} +4 -5
- package/dist/cancel-task-DbnxSh7U.mjs +25 -0
- package/dist/card-BRarvKYX.mjs +24 -0
- package/dist/{card-CrBGUkGQ.mjs → card-DZxRmver.mjs} +0 -1
- package/dist/{card-BEeafd4Y.mjs → card-zyUkr2nS.mjs} +1 -1
- package/dist/{cards-M_6X8wCI.mjs → cards-DtYlVoGP.mjs} +5 -6
- package/dist/cli.mjs +566 -170
- package/dist/{client-DYD8WZYy.mjs → client-Bv7Iwdvh.mjs} +285 -269
- package/dist/collection-CKeO8X7U.mjs +20 -0
- package/dist/{collection-CJHqsFKP.mjs → collection-DALwHnbz.mjs} +1 -1
- package/dist/{collection-BxE7OzcQ.mjs → collection-WFdBeyqa.mjs} +4 -7
- package/dist/{collection-namespace-CEoQ7G08.mjs → collection-namespace-CvT0TIZA.mjs} +2 -2
- package/dist/{content-translation-C8MlXPOF.mjs → content-translation-D7POzJJ6.mjs} +3 -3
- package/dist/{create-CoubLR5o.mjs → create-BEE8uvz2.mjs} +9 -6
- package/dist/{create-D0anrINz.mjs → create-Bh2j733n.mjs} +11 -16
- package/dist/{create-BupBEwR2.mjs → create-Bwg-5p08.mjs} +8 -13
- package/dist/{create-ByuJ6T4k.mjs → create-CGPle4nE.mjs} +7 -8
- package/dist/{create-hTc131aX.mjs → create-CGgPnb7L.mjs} +4 -5
- package/dist/{create-CY-SzM66.mjs → create-CLgalJUe.mjs} +12 -17
- package/dist/{create-C2XFfbjx.mjs → create-CN24yp_W.mjs} +6 -7
- package/dist/{create-BLWwN0uw.mjs → create-CuYGZ4gu2.mjs} +5 -6
- package/dist/{create-CJ7Am4Gc.mjs → create-DGHILnnk.mjs} +5 -6
- package/dist/{create-z-oMrlfT.mjs → create-DYd_o9BD.mjs} +5 -9
- package/dist/{create-BqpkCjx4.mjs → create-DhDREiiy.mjs} +4 -5
- package/dist/{create-myI6doga.mjs → create-Di4YvIbK.mjs} +5 -6
- package/dist/{create-ldrghMd1.mjs → create-DnqnjGGf.mjs} +4 -5
- package/dist/{create-C7iooS6W.mjs → create-Ds-DnSBe.mjs} +9 -15
- package/dist/{create-BA_tTDEk.mjs → create-JOXq0ULN.mjs} +5 -6
- package/dist/create-branch-DWcxC30N.mjs +31 -0
- package/dist/{csv-DBNzJiWK.mjs → csv-CUQvcCEk.mjs} +5 -6
- package/dist/{current-task-YzemU0Ic.mjs → current-task-D6P0eL21.mjs} +8 -16
- package/dist/{dashboard-B1mpfCq_.mjs → dashboard-BudI952R.mjs} +10 -10
- package/dist/{db-1tLH3nYI.mjs → db-C7UTd-6P.mjs} +7 -7
- package/dist/{delete-CD_-B4Kq.mjs → delete-DSxqbcFE.mjs} +5 -6
- package/dist/{delete-QNgBV6eS.mjs → delete-DbZZKcYj.mjs} +6 -11
- package/dist/{delete-DjAUp9mk.mjs → delete-Ds-zGh9C.mjs} +5 -6
- package/dist/{delete-eAUB7p-f.mjs → delete-Ud6iliGM.mjs} +6 -11
- package/dist/{delete-CpKH5ia4.mjs → delete-_IHffP-A.mjs} +5 -6
- package/dist/{delete-runtime-b2_ZMSjj.mjs → delete-runtime-BjHL1ryM.mjs} +1 -2
- package/dist/{delete-table-DamlxnSO.mjs → delete-table-DtXH6IN5.mjs} +6 -11
- package/dist/dependencies-CR1dlq-A.mjs +36 -0
- package/dist/dirty-CYxnOnh0.mjs +28 -0
- package/dist/document-BoILnE_1.mjs +19 -0
- package/dist/{download-C4v7u-AV.mjs → download-DPpmmYQe.mjs} +3 -7
- package/dist/{eid-CP35PdEF.mjs → eid-D-BbtWjt.mjs} +4 -6
- package/dist/{events-DmbzKIh_.mjs → events-CJEnn8WE.mjs} +5 -6
- package/dist/{export-i8D6laBG.mjs → export-BOgyuIOQ.mjs} +13 -29
- package/dist/{field-BKn9bt7I.mjs → field-CzHBOPER.mjs} +5 -5
- package/dist/{fields-8_p81BqN.mjs → fields-Bwgkrvus.mjs} +5 -6
- package/dist/get-B89DUSvw.mjs +31 -0
- package/dist/get-BL90QC64.mjs +36 -0
- package/dist/get-BLJSCw53.mjs +31 -0
- package/dist/{get-BBOfshz1.mjs → get-BOLwso0V.mjs} +6 -7
- package/dist/{get-BvW21ujw.mjs → get-BaPadzdM.mjs} +4 -5
- package/dist/{get-vvs0qzzM.mjs → get-BfVCLBqc.mjs} +4 -5
- package/dist/{get-B0g6VMBC.mjs → get-C1ZdOvMm.mjs} +4 -5
- package/dist/{get-N4dOaTsp.mjs → get-CLu4yzMp2.mjs} +5 -6
- package/dist/get-COwdtskS.mjs +27 -0
- package/dist/{get-CPTbySa7.mjs → get-CWfIiXwL.mjs} +4 -5
- package/dist/get-CqQ-pf0q.mjs +89 -0
- package/dist/{get-DnCE7K0y.mjs → get-CvIgxPXV.mjs} +5 -6
- package/dist/{get-vrccOMBk.mjs → get-D4OTJblo.mjs} +4 -5
- package/dist/{get-BbHPFNqr.mjs → get-D8lHwu4-.mjs} +4 -5
- package/dist/{get-CWf46UFu.mjs → get-DVi3a2nm.mjs} +6 -7
- package/dist/{get-DFkbi5L3.mjs → get-DgnYF7LR.mjs} +4 -5
- package/dist/{get-BHGgXqUq.mjs → get-DsKmZfM2.mjs} +4 -5
- package/dist/{get-CAzSP-7o.mjs → get-DyyPiiaB.mjs} +4 -5
- package/dist/{get-Bds6Izxk.mjs → get-Eqq13YY-.mjs} +4 -5
- package/dist/{get-run-4Ng8_awa.mjs → get-run-Iya0Yw9s.mjs} +6 -7
- package/dist/{git-sync-DLzJrdMi.mjs → git-sync-BDnxPrqU.mjs} +3 -22
- package/dist/git-sync-CdN0Maun.mjs +28 -0
- package/dist/{git-sync-LQIVMNxO.mjs → git-sync-DxD_ng48.mjs} +2 -31
- package/dist/{group-YN6jj2AN.mjs → group-CmVCLBDz.mjs} +3 -3
- package/dist/{has-remote-changes-BXPGI9xG.mjs → has-remote-changes-DfJUMP8F.mjs} +7 -18
- package/dist/{import-BoxOkA-G.mjs → import-FEAx-Y5A.mjs} +12 -32
- package/dist/{input-DH9i67x_.mjs → input-DFZ_qGW_.mjs} +1 -1
- package/dist/is-dirty-BsYjBSXG.mjs +32 -0
- package/dist/{items-Cv6iAzrI.mjs → items-D4rstE12.mjs} +10 -18
- package/dist/{key-BEhqIzIQ.mjs → key-BmWundO3.mjs} +1 -1
- package/dist/{library-fhVn1KDC.mjs → library-CmctxHjv.mjs} +1 -1
- package/dist/library-DXB8sm4r.mjs +81 -0
- package/dist/{library-CRaOhJnj.mjs → library-uzyHWBap.mjs} +5 -5
- package/dist/{list-DOaWCx8S.mjs → list-1DkkU82x.mjs} +17 -25
- package/dist/{list-BLJkJp5a.mjs → list-B7tqNV8B.mjs} +4 -5
- package/dist/{list-WSJLnunb.mjs → list-BRpPbvyS.mjs} +4 -5
- package/dist/{list-BBp9XjYs.mjs → list-BXL8HFr_.mjs} +4 -5
- package/dist/{list-L2U1l6R4.mjs → list-Bjj0z5BS.mjs} +6 -7
- package/dist/{list-DhrapAcy.mjs → list-BmMi_wPD.mjs} +5 -6
- package/dist/list-CC1M_n6Z.mjs +28 -0
- package/dist/list-CQy0z7f9.mjs +28 -0
- package/dist/{list-BwkfWtP2.mjs → list-D_zvX0ms.mjs} +4 -5
- package/dist/{list--2T-GUEF.mjs → list-DeNGm9G4.mjs} +5 -6
- package/dist/list-Dgm6TkqR.mjs +38 -0
- package/dist/list-DoTiQc3D.mjs +36 -0
- package/dist/{list-C8J3n8B8.mjs → list-DrS3ePsv.mjs} +4 -5
- package/dist/list-bN0RC14-.mjs +59 -0
- package/dist/{list-oAAgU5uE.mjs → list-ndIl9XqV.mjs} +11 -18
- package/dist/{list-tutXEQRW.mjs → list-sQcA4g05.mjs} +5 -6
- package/dist/{list-9uvk9dIA.mjs → list-squb_ioH.mjs} +4 -5
- package/dist/{list-DOZNpX4b.mjs → list-xMfCeuZc.mjs} +5 -6
- package/dist/{login-DqWRF3Og.mjs → login-D_1-zE4A.mjs} +15 -13
- package/dist/{logout-ChCz1bkf.mjs → logout-DPi2q1Wu.mjs} +3 -5
- package/dist/{measure-C5dIdFj1.mjs → measure-CdA8Nl3Z.mjs} +6 -6
- package/dist/{notification-DVrLkjFT.mjs → notification-Fcq1fIPw.mjs} +1 -1
- package/dist/{parameter-values-Dy4cBs5y.mjs → parameter-values-C6dj6I4g.mjs} +4 -6
- package/dist/{parse-enum-D0Jfm_Bz.mjs → parse-enum-B1t8S194.mjs} +1 -1
- package/dist/{parse-id-DDCn3VXx.mjs → parse-id-DR8aUSdL.mjs} +1 -1
- package/dist/{parse-ref-Wv21Roup.mjs → parse-ref-BJ_Q0tNW.mjs} +3 -7
- package/dist/{path-IYhuzjQV.mjs → path-B96DI8u2.mjs} +5 -6
- package/dist/{poll-75SvT7Zv.mjs → poll-By46YQ5J.mjs} +2 -2
- package/dist/{preflight-HLUVr2Yf.mjs → preflight-Bl1oitm8.mjs} +3 -4
- package/dist/{process-DBOOrmET.mjs → process-CcQM4qPv.mjs} +1 -1
- package/dist/{publish-CMkCSt8i.mjs → publish-BKJYvxif.mjs} +9 -10
- package/dist/{pulse-a-83M4DV.mjs → pulse-DhG6I9mI.mjs} +1 -1
- package/dist/{query-tWQAV9pb.mjs → query-BKSM-pbi.mjs} +9 -11
- package/dist/{query-Bka77J62.mjs → query-qBHjZQc_.mjs} +7 -10
- package/dist/{query-result-E4Q-Gra6.mjs → query-result-DBDwk8TS.mjs} +1 -1
- package/dist/{remove-collection-BV9wRQZD.mjs → remove-collection-BWFW7Rn6.mjs} +6 -10
- package/dist/{render-DHjCcUXn.mjs → render-DmykmrFB.mjs} +11 -8
- package/dist/{replace-mt47dlRV.mjs → replace-BmAqD3zY.mjs} +5 -6
- package/dist/{rescan-values-6cRjcpTs.mjs → rescan-values-BrCLrihF.mjs} +4 -5
- package/dist/{run-DI_pDxji.mjs → run-CtbzjDKY.mjs} +6 -7
- package/dist/{run-BmGmC-GQ.mjs → run-q5Y44Fxj.mjs} +26 -15
- package/dist/{runs-9Fu0mug5.mjs → runs-JFlbezkQ.mjs} +7 -8
- package/dist/{runtime-CNAZ_FuR.mjs → runtime-BQiGgbgZ.mjs} +851 -361
- package/dist/{schema-tables-CLG0mtQb.mjs → schema-tables-Bzx2ShyE.mjs} +5 -6
- package/dist/{schemas-Cm5NWy59.mjs → schemas-ww5mU2AS.mjs} +5 -6
- package/dist/{search-CljYyf2F.mjs → search-J4RwCof-.mjs} +9 -15
- package/dist/{segment-IRzlQggt.mjs → segment-XXTjU0eG.mjs} +6 -6
- package/dist/{selectors-D4iOP5uB.mjs → selectors-BAAZMi43.mjs} +3 -3
- package/dist/{send-D7DBnQbu.mjs → send-BmpDlw9O.mjs} +4 -5
- package/dist/{set-DKN8fuC6.mjs → set-DUWrSza9.mjs} +5 -6
- package/dist/{set-active-CkE0Eiqh.mjs → set-active-BiUlbNI5.mjs} +5 -6
- package/dist/{setting-CN4l8N-b.mjs → setting-B1KBQN3M.mjs} +4 -4
- package/dist/{setup-BpTptmdO.mjs → setup-CVaNVwOd.mjs} +4 -5
- package/dist/{signal-CMd0EFUa.mjs → signal-GhGmuHfx.mjs} +11 -2
- package/dist/{list-CtZAu4im.mjs → skill-list-DTnDhnL5.mjs} +17 -47
- package/dist/{skills-BSAiLI3Z.mjs → skills-BWrAlj9l.mjs} +3 -3
- package/dist/{skills-hVKSOCUf.mjs → skills-DkDsSH5F.mjs} +102 -14
- package/dist/snippet-CG75L2DS.mjs +19 -0
- package/dist/{snippet-BxgvQ09J.mjs → snippet-CyKAgIZl.mjs} +2 -5
- package/dist/{snippet-DecHB4Dn.mjs → snippet-oJLaYW9V.mjs} +1 -1
- package/dist/{stash-DJs6A6BA.mjs → stash-DMm8YF8V.mjs} +7 -12
- package/dist/{status-N_2EaWb7.mjs → status-BzEQjQ_t.mjs} +15 -23
- package/dist/{status-DtwBDRtc.mjs → status-ClWsQD6v.mjs} +22 -48
- package/dist/{subscription-BnGDp1oy.mjs → subscription-CdFn2hre.mjs} +6 -6
- package/dist/{subscriptions-BfFwV__x.mjs → subscriptions-DBda1pE5.mjs} +7 -8
- package/dist/{summary-CHiq-4mz.mjs → summary-B4GPiuqD.mjs} +4 -5
- package/dist/{sync-schema-DhnM-rpm.mjs → sync-schema-DsIM5g2U.mjs} +5 -6
- package/dist/{sync-task-G1K47Nvn.mjs → sync-task-BACcrs0i.mjs} +1 -1
- package/dist/{table-BQaiCSNS.mjs → table-D4Alrrwh.mjs} +5 -5
- package/dist/timeline-DmM0BuX8.mjs +21 -0
- package/dist/{timeline-event-B7H1y8s8.mjs → timeline-event-DWIh3Tdt.mjs} +6 -6
- package/dist/transform-BcV_XlSX.mjs +28 -0
- package/dist/{transform-CiDOJGBW.mjs → transform-Bk0D0nIs.mjs} +2 -2
- package/dist/{transform-BvOEn41C.mjs → transform-DpuG-ON3.mjs} +25 -7
- package/dist/{transform-job-50GZHhKH.mjs → transform-job-AaMZRxAq.mjs} +1 -1
- package/dist/{transform-job-DRrK28IH.mjs → transform-job-CCguL6LP.mjs} +41 -4
- package/dist/transform-job-CjtwBGoM.mjs +22 -0
- package/dist/{transform-tag-jBVd6wXd.mjs → transform-tag-CcElGp3C.mjs} +4 -9
- package/dist/{transform-tag-Dip51YBa.mjs → transform-tag-DJ3_bksm.mjs} +5 -5
- package/dist/{transform-tag-DiXWRCQG.mjs → transform-tag-Dmb4u3-Q.mjs} +1 -1
- package/dist/{transforms-C-jYgS6z.mjs → transforms-Dg2MfB2a.mjs} +7 -8
- package/dist/tree-BQL0f7YX.mjs +26 -0
- package/dist/{unpublish-BokbnLng.mjs → unpublish-DfSvb_Rs.mjs} +4 -8
- package/dist/{update-D9OTkZhw.mjs → update-B-hRR8gW.mjs} +5 -6
- package/dist/{update-CpLEEbiJ.mjs → update-BCgAyfj_.mjs} +8 -9
- package/dist/{update-BCGE5UYC.mjs → update-Bhmli02m.mjs} +6 -7
- package/dist/{update-rkbpH0lF.mjs → update-BxIyFtrX.mjs} +5 -6
- package/dist/{update-AZSXMJqu.mjs → update-CDo0Orvu.mjs} +9 -15
- package/dist/{update-B9DcRSBQ.mjs → update-CKoBDTL7.mjs} +13 -19
- package/dist/{update-CfQoYVTc.mjs → update-CiYxcf8M.mjs} +7 -8
- package/dist/{update-e7lyQPxq.mjs → update-Cr5zHb0D.mjs} +9 -15
- package/dist/{update-CPEU8ZEu.mjs → update-CtDHMxW8.mjs} +6 -7
- package/dist/{update-BBQInyiJ.mjs → update-D1QdfpKR.mjs} +6 -7
- package/dist/{update-C4PbAYgW.mjs → update-D4qdTlLF.mjs} +5 -6
- package/dist/{update-BRXKLeJH.mjs → update-DBGaJDsj.mjs} +5 -6
- package/dist/{update-BErxnZrj.mjs → update-Izqip6jY.mjs} +6 -7
- package/dist/{update-Bc8s1TL1.mjs → update-NZhIjTCf.mjs} +5 -6
- package/dist/{update-dashcard-St-dGcE3.mjs → update-dashcard-D5b971AO.mjs} +5 -6
- package/dist/{update-CKL2FtoX.mjs → update-sYLQIUgh.mjs} +6 -7
- package/dist/{upgrade-CUoRHfVg.mjs → upgrade-CD1xtsIv.mjs} +6 -9
- package/dist/{upload-CD555ui1.mjs → upload-BUd3MG90.mjs} +2 -2
- package/dist/upload-DzGTlldn.mjs +13 -0
- package/dist/{upload-BPd1Uzxc.mjs → upload-akKFxpVA.mjs} +4 -8
- package/dist/{uuid-CFN8LIkP.mjs → uuid-oVdJ62eA.mjs} +3 -5
- package/dist/{validate-BWchyW0V.mjs → validate-CWd6l6KZ.mjs} +1 -1
- package/dist/{validate-query-Chc43ezW.mjs → validate-query-Boi8-cAP.mjs} +2 -3
- package/dist/{values-BL_U-Zdw.mjs → values-DLwZl-P8.mjs} +4 -5
- package/dist/{verify-DnBaRmkI.mjs → verify-CH9Tw8yv.mjs} +3 -18
- package/dist/{wait-flags-DzytMEG8.mjs → wait-flags-DiQ_kRjZ.mjs} +3 -3
- package/dist/{wait-mPoOZxrw.mjs → wait-rfTdQWdi.mjs} +9 -17
- package/dist/{window-DSb1tqSe.mjs → window-BkvrP0gB.mjs} +1 -1
- package/package.json +1 -1
- package/skill-data/core/SKILL.md +24 -16
- package/skill-data/data-workflow/references/building-clean-tables.md +6 -2
- package/skill-data/data-workflow/references/reusable-definitions.md +11 -3
- package/skill-data/document/SKILL.md +4 -1
- package/skill-data/git-sync/SKILL.md +6 -91
- package/skill-data/mbql/SKILL.md +1 -1
- package/skill-data/mbql/references/operators.md +20 -15
- package/skill-data/metadata/SKILL.md +1 -1
- package/skill-data/metadata/references/semantic-types.md +7 -1
- package/skill-data/native-sql/references/template-tags.md +6 -2
- package/skill-data/notification/SKILL.md +7 -1
- package/skill-data/transform/SKILL.md +13 -11
- package/skill-data/visualization/SKILL.md +11 -3
- package/skill-data/visualization/references/settings.md +6 -4
- package/skills/metabase-cli/SKILL.md +1 -1
- package/dist/archive-CqOKKrb2.mjs +0 -38
- package/dist/archive-DCjdICg7.mjs +0 -38
- package/dist/branch-BSeGrtP7.mjs +0 -28
- package/dist/cancel-task-BMQXtjW5.mjs +0 -34
- package/dist/card-RlzLDB2z.mjs +0 -24
- package/dist/collection-Bhe20ckt.mjs +0 -20
- package/dist/create-DwrhcI8r2.mjs +0 -144
- package/dist/create-branch-B3BMpF1g.mjs +0 -49
- package/dist/delete-D_OgiI4v.mjs +0 -86
- package/dist/dependencies-DEx0BsZ3.mjs +0 -41
- package/dist/dirty-dC1-Ud0G.mjs +0 -40
- package/dist/document-DOJbBWLF.mjs +0 -19
- package/dist/export-preflight-B5MvYhm3.mjs +0 -67
- package/dist/get-CNEQK0-9.mjs +0 -81
- package/dist/get-Cfagmy1i.mjs +0 -42
- package/dist/get-DvLuY5Xu.mjs +0 -38
- package/dist/get-DwdMvWXU.mjs +0 -44
- package/dist/get-jV8G90Zy.mjs +0 -42
- package/dist/get-mGEv-kag.mjs +0 -33
- package/dist/git-sync-DjoaNmRM.mjs +0 -29
- package/dist/is-dirty-Cwxq4_gd.mjs +0 -44
- package/dist/library-Cfw6eF35.mjs +0 -19
- package/dist/list-5Iojbr_p.mjs +0 -37
- package/dist/list-BD4onDqO.mjs +0 -37
- package/dist/list-C2yL7-CH.mjs +0 -45
- package/dist/list-CbbKip6U.mjs +0 -32
- package/dist/list-Dg2XeDON.mjs +0 -47
- package/dist/network-error-D6CiOEBw.mjs +0 -431
- package/dist/pin-BuZ_kg-u.mjs +0 -62
- package/dist/predicates-Bkm2IoeX.mjs +0 -170
- package/dist/scope-DsGuWG5w.mjs +0 -11
- package/dist/snippet-LlHz3FdJ.mjs +0 -19
- package/dist/timeline-C2VW0Ph6.mjs +0 -21
- package/dist/transform-DAf0Y02t.mjs +0 -28
- package/dist/transform-job-ntiT5Rrh.mjs +0 -22
- package/dist/tree-DtyJhD54.mjs +0 -36
- package/dist/unpin-DxbXmLtW.mjs +0 -45
- package/dist/upload-Dc3QLhZw.mjs +0 -13
- package/dist/worktree-ChdDlG3Q.mjs +0 -25
- package/dist/worktree-DC0kTxxQ.mjs +0 -20
- package/dist/worktree-xAro1xAB.mjs +0 -24
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { I as outputFlags, L as profileFlag, N as connectionFlags, a as renderItem } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-BQiGgbgZ.mjs";
|
|
3
|
+
import { r as Collection } from "./collection-WFdBeyqa.mjs";
|
|
4
|
+
import { n as collectionView } from "./collection-DALwHnbz.mjs";
|
|
5
|
+
import { t as parseCollectionRef } from "./parse-ref-BJ_Q0tNW.mjs";
|
|
6
|
+
//#region src/commands/collection/get.ts
|
|
7
|
+
var get_default = defineMetabaseCommand({
|
|
8
|
+
meta: {
|
|
9
|
+
name: "get",
|
|
10
|
+
description: "Get a collection by id, 21-char entity id, or \"root\"/\"trash\""
|
|
11
|
+
},
|
|
12
|
+
requires: ["collection.get"],
|
|
13
|
+
args: {
|
|
14
|
+
...outputFlags,
|
|
15
|
+
...profileFlag,
|
|
16
|
+
...connectionFlags,
|
|
17
|
+
id: {
|
|
18
|
+
type: "positional",
|
|
19
|
+
description: "Collection id, 21-char entity id, or one of: \"root\", \"trash\"",
|
|
20
|
+
required: true
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
outputSchema: Collection,
|
|
24
|
+
examples: [
|
|
25
|
+
"mb collection get 4",
|
|
26
|
+
"mb collection get root --json",
|
|
27
|
+
"mb collection get trash --json",
|
|
28
|
+
"mb collection get voo1If9y8Sld0lXej6xl0 --json"
|
|
29
|
+
],
|
|
30
|
+
async run({ args, ctx, getClient }) {
|
|
31
|
+
const ref = parseCollectionRef(args.id);
|
|
32
|
+
renderItem(await (await getClient()).collection.get(ref), collectionView, ctx);
|
|
33
|
+
}
|
|
34
|
+
});
|
|
35
|
+
//#endregion
|
|
36
|
+
export { get_default as default };
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { I as outputFlags, L as profileFlag, N as connectionFlags, a as renderItem } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-BQiGgbgZ.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-DR8aUSdL.mjs";
|
|
4
|
+
import { t as Transform } from "./transform-DpuG-ON3.mjs";
|
|
5
|
+
import { n as transformView } from "./transform-Bk0D0nIs.mjs";
|
|
6
|
+
//#region src/commands/transform/get.ts
|
|
7
|
+
var get_default = defineMetabaseCommand({
|
|
8
|
+
meta: {
|
|
9
|
+
name: "get",
|
|
10
|
+
description: "Get a transform by id"
|
|
11
|
+
},
|
|
12
|
+
requires: ["transform.get"],
|
|
13
|
+
args: {
|
|
14
|
+
...outputFlags,
|
|
15
|
+
...profileFlag,
|
|
16
|
+
...connectionFlags,
|
|
17
|
+
id: {
|
|
18
|
+
type: "positional",
|
|
19
|
+
description: "Transform id",
|
|
20
|
+
required: true
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
outputSchema: Transform,
|
|
24
|
+
examples: ["mb transform get 1", "mb transform get 1 --json"],
|
|
25
|
+
async run({ args, ctx, getClient }) {
|
|
26
|
+
const id = parseId(args.id);
|
|
27
|
+
renderItem(await (await getClient()).transform.get(id), transformView, ctx);
|
|
28
|
+
}
|
|
29
|
+
});
|
|
30
|
+
//#endregion
|
|
31
|
+
export { get_default as default };
|
|
@@ -1,16 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { t as parseId } from "./parse-id-
|
|
4
|
-
import { t as TransformJob } from "./transform-job-
|
|
5
|
-
import { t as transformJobView } from "./transform-job-
|
|
1
|
+
import { I as outputFlags, L as profileFlag, N as connectionFlags, a as renderItem } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-BQiGgbgZ.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-DR8aUSdL.mjs";
|
|
4
|
+
import { t as TransformJob } from "./transform-job-CCguL6LP.mjs";
|
|
5
|
+
import { t as transformJobView } from "./transform-job-AaMZRxAq.mjs";
|
|
6
6
|
//#region src/commands/transform-job/get.ts
|
|
7
7
|
var get_default = defineMetabaseCommand({
|
|
8
8
|
meta: {
|
|
9
9
|
name: "get",
|
|
10
10
|
description: "Get a transform job by id"
|
|
11
11
|
},
|
|
12
|
-
|
|
13
|
-
worktree: "any",
|
|
12
|
+
requires: ["transformJob.get"],
|
|
14
13
|
args: {
|
|
15
14
|
...outputFlags,
|
|
16
15
|
...profileFlag,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { t as parseId } from "./parse-id-
|
|
1
|
+
import { I as outputFlags, L as profileFlag, N as connectionFlags, a as renderItem } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-BQiGgbgZ.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-DR8aUSdL.mjs";
|
|
4
4
|
import { i as TimelineEvent } from "./timeline-CCSU2qOS.mjs";
|
|
5
5
|
import { t as timelineEventView } from "./timeline-uDCmwGFT.mjs";
|
|
6
6
|
//#region src/commands/timeline-event/get.ts
|
|
@@ -9,8 +9,7 @@ var get_default = defineMetabaseCommand({
|
|
|
9
9
|
name: "get",
|
|
10
10
|
description: "Get a timeline event by id"
|
|
11
11
|
},
|
|
12
|
-
|
|
13
|
-
worktree: "any",
|
|
12
|
+
requires: ["timelineEvent.get"],
|
|
14
13
|
args: {
|
|
15
14
|
...outputFlags,
|
|
16
15
|
...profileFlag,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { t as parseId } from "./parse-id-
|
|
1
|
+
import { I as outputFlags, L as profileFlag, N as connectionFlags, a as renderItem } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-BQiGgbgZ.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-DR8aUSdL.mjs";
|
|
4
4
|
import { t as Field } from "./field-Cr2DPUG9.mjs";
|
|
5
5
|
import { r as fieldView } from "./field-BPsNa-TO.mjs";
|
|
6
6
|
//#region src/commands/field/get.ts
|
|
@@ -9,8 +9,7 @@ var get_default = defineMetabaseCommand({
|
|
|
9
9
|
name: "get",
|
|
10
10
|
description: "Get a field by id"
|
|
11
11
|
},
|
|
12
|
-
|
|
13
|
-
worktree: "any",
|
|
12
|
+
requires: ["field.get"],
|
|
14
13
|
args: {
|
|
15
14
|
...outputFlags,
|
|
16
15
|
...profileFlag,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { t as parseId } from "./parse-id-
|
|
1
|
+
import { I as outputFlags, L as profileFlag, N as connectionFlags, a as renderItem } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-BQiGgbgZ.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-DR8aUSdL.mjs";
|
|
4
4
|
import { t as Segment } from "./segment-OsrbUDzw.mjs";
|
|
5
5
|
import { t as segmentView } from "./segment-C_gl5ag6.mjs";
|
|
6
6
|
//#region src/commands/segment/get.ts
|
|
@@ -9,8 +9,7 @@ var get_default = defineMetabaseCommand({
|
|
|
9
9
|
name: "get",
|
|
10
10
|
description: "Get a segment by id"
|
|
11
11
|
},
|
|
12
|
-
|
|
13
|
-
worktree: "any",
|
|
12
|
+
requires: ["segment.get"],
|
|
14
13
|
args: {
|
|
15
14
|
...outputFlags,
|
|
16
15
|
...profileFlag,
|
|
@@ -1,16 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { t as parseId } from "./parse-id-
|
|
1
|
+
import { I as outputFlags, L as profileFlag, N as connectionFlags, a as renderItem } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-BQiGgbgZ.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-DR8aUSdL.mjs";
|
|
4
4
|
import { t as Pulse } from "./pulse-BmsDenXm.mjs";
|
|
5
|
-
import { t as pulseView } from "./pulse-
|
|
5
|
+
import { t as pulseView } from "./pulse-DhG6I9mI.mjs";
|
|
6
6
|
//#region src/commands/subscription/get.ts
|
|
7
7
|
var get_default = defineMetabaseCommand({
|
|
8
8
|
meta: {
|
|
9
9
|
name: "get",
|
|
10
10
|
description: "Get a dashboard subscription by id"
|
|
11
11
|
},
|
|
12
|
-
|
|
13
|
-
worktree: "any",
|
|
12
|
+
requires: ["pulse.get"],
|
|
14
13
|
args: {
|
|
15
14
|
...outputFlags,
|
|
16
15
|
...profileFlag,
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { I as outputFlags, L as profileFlag, N as connectionFlags, a as renderItem } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-BQiGgbgZ.mjs";
|
|
3
|
+
import { t as Library } from "./library-DXB8sm4r.mjs";
|
|
4
|
+
import { t as libraryView } from "./library-CmctxHjv.mjs";
|
|
5
|
+
//#region src/commands/library/get.ts
|
|
6
|
+
var get_default = defineMetabaseCommand({
|
|
7
|
+
meta: {
|
|
8
|
+
name: "get",
|
|
9
|
+
description: "Show the Library and its Data / Metrics collection ids"
|
|
10
|
+
},
|
|
11
|
+
details: "Reads the Library root and its child collections. Use the `library-data` child's id as the target for publishing tables (or just run `mb library publish`, which resolves it for you).",
|
|
12
|
+
requires: ["library.get"],
|
|
13
|
+
args: {
|
|
14
|
+
...outputFlags,
|
|
15
|
+
...profileFlag,
|
|
16
|
+
...connectionFlags
|
|
17
|
+
},
|
|
18
|
+
outputSchema: Library,
|
|
19
|
+
examples: ["mb library get", "mb library get --json"],
|
|
20
|
+
async run({ ctx, getClient }) {
|
|
21
|
+
const library = await (await getClient()).library.get();
|
|
22
|
+
if (library === null) throw new Error("The Library has not been created yet — run `mb library create` (or publish a table with `mb library publish`).");
|
|
23
|
+
renderItem(library, libraryView, ctx);
|
|
24
|
+
}
|
|
25
|
+
});
|
|
26
|
+
//#endregion
|
|
27
|
+
export { get_default as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { t as parseId } from "./parse-id-
|
|
1
|
+
import { I as outputFlags, L as profileFlag, N as connectionFlags, a as renderItem } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-BQiGgbgZ.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-DR8aUSdL.mjs";
|
|
4
4
|
import { t as Document } from "./document-Cd2mmqCp.mjs";
|
|
5
5
|
import { t as documentView } from "./document-D6OybtP2.mjs";
|
|
6
6
|
//#region src/commands/document/get.ts
|
|
@@ -9,8 +9,7 @@ var get_default = defineMetabaseCommand({
|
|
|
9
9
|
name: "get",
|
|
10
10
|
description: "Get a document by id"
|
|
11
11
|
},
|
|
12
|
-
|
|
13
|
-
worktree: "any",
|
|
12
|
+
requires: ["document.get"],
|
|
14
13
|
args: {
|
|
15
14
|
...outputFlags,
|
|
16
15
|
...profileFlag,
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import { B as listEnvelopeSchemaWithExtras, I as outputFlags, K as ConfigError, L as profileFlag, P as listFlags, s as renderListWithExtras, u as writeText, x as warn } from "./cli.mjs";
|
|
2
|
+
import { a as readCachedServerProfile, l as resolveProfileName, n as parseCsv, t as defineMetabaseCommand } from "./runtime-BQiGgbgZ.mjs";
|
|
3
|
+
import { n as windowList } from "./window-BkvrP0gB.mjs";
|
|
4
|
+
import { a as readSkillContent, i as loadVisibleSkills, o as selectForProfile, r as loadAllSkills, s as selectSkillsByNames, t as SkillContent } from "./skills-DkDsSH5F.mjs";
|
|
5
|
+
import { i as unavailableSkillsFlag, r as skillFilterNotices, t as UnavailableSkills } from "./skill-list-DTnDhnL5.mjs";
|
|
6
|
+
//#region src/commands/skills/get.ts
|
|
7
|
+
const SkillGetEnvelope = listEnvelopeSchemaWithExtras(SkillContent, { unavailable: UnavailableSkills });
|
|
8
|
+
const SKILL_OVERSIZE_HINT = "a skill body is indivisible — pass --max-bytes 0 to print it whole, or `mb skills path <name>` to read it from disk";
|
|
9
|
+
const skillContentView = {
|
|
10
|
+
compactPick: SkillContent,
|
|
11
|
+
tableColumns: [{
|
|
12
|
+
key: "name",
|
|
13
|
+
label: "Name"
|
|
14
|
+
}, {
|
|
15
|
+
key: "description",
|
|
16
|
+
label: "Description"
|
|
17
|
+
}]
|
|
18
|
+
};
|
|
19
|
+
var get_default = defineMetabaseCommand({
|
|
20
|
+
meta: {
|
|
21
|
+
name: "get",
|
|
22
|
+
description: "Print one or more skills' SKILL.md content, as the profile's server can use it: a skill it lacks the features for is reported under `unavailable`, and a section it cannot use is left out. Pass comma-separated names, or --all for every non-hidden skill; --all also prints everything regardless of the server. --full includes references and templates."
|
|
23
|
+
},
|
|
24
|
+
requires: null,
|
|
25
|
+
args: {
|
|
26
|
+
...outputFlags,
|
|
27
|
+
...listFlags,
|
|
28
|
+
...profileFlag,
|
|
29
|
+
names: {
|
|
30
|
+
type: "positional",
|
|
31
|
+
description: "Skill name (or comma-separated list). Omit to combine with --all for every non-hidden skill.",
|
|
32
|
+
required: false
|
|
33
|
+
},
|
|
34
|
+
...unavailableSkillsFlag
|
|
35
|
+
},
|
|
36
|
+
outputSchema: SkillGetEnvelope,
|
|
37
|
+
examples: [
|
|
38
|
+
"mb skills get core",
|
|
39
|
+
"mb skills get core --full",
|
|
40
|
+
"mb skills get git-sync,transform --json",
|
|
41
|
+
"mb skills get --all --json",
|
|
42
|
+
"mb skills get transform --all"
|
|
43
|
+
],
|
|
44
|
+
async run({ args, ctx }) {
|
|
45
|
+
const profileName = resolveProfileName(args.profile);
|
|
46
|
+
const bypassed = args.all === true;
|
|
47
|
+
const profile = bypassed ? null : await readCachedServerProfile(profileName);
|
|
48
|
+
const selection = selectForProfile(pickSkills({
|
|
49
|
+
names: args.names,
|
|
50
|
+
all: bypassed
|
|
51
|
+
}), profile);
|
|
52
|
+
const envelope = windowList(selection.skills.map((info) => readSkillContent(info, {
|
|
53
|
+
includeExtras: ctx.full,
|
|
54
|
+
profile
|
|
55
|
+
})), ctx.range);
|
|
56
|
+
if (ctx.format === "json") {
|
|
57
|
+
renderListWithExtras(envelope, { unavailable: selection.unavailable }, skillContentView, {
|
|
58
|
+
...ctx,
|
|
59
|
+
oversizeHint: SKILL_OVERSIZE_HINT
|
|
60
|
+
});
|
|
61
|
+
return;
|
|
62
|
+
}
|
|
63
|
+
if (envelope.data.length > 0) writeText(renderText(envelope.data, ctx.full));
|
|
64
|
+
for (const notice of skillFilterNotices(selection.unavailable, {
|
|
65
|
+
profileName,
|
|
66
|
+
bypassed
|
|
67
|
+
})) warn(notice);
|
|
68
|
+
}
|
|
69
|
+
});
|
|
70
|
+
function pickSkills({ names, all }) {
|
|
71
|
+
if (names !== void 0) return selectSkillsByNames(loadAllSkills(), parseCsv(names));
|
|
72
|
+
if (all) return loadVisibleSkills();
|
|
73
|
+
throw new ConfigError("provide a skill name (comma-separated for multiple) or --all");
|
|
74
|
+
}
|
|
75
|
+
function renderText(payloads, includeExtras) {
|
|
76
|
+
return payloads.map((payload) => renderTextSection(payload, includeExtras)).join("\n\n");
|
|
77
|
+
}
|
|
78
|
+
function renderTextSection(payload, includeExtras) {
|
|
79
|
+
const parts = [payload.body.trimEnd()];
|
|
80
|
+
if (!includeExtras) return parts.join("\n\n");
|
|
81
|
+
for (const ref of payload.references) parts.push(extraFileHeader(payload.name, ref.path), ref.content.trimEnd());
|
|
82
|
+
for (const tpl of payload.templates) parts.push(extraFileHeader(payload.name, tpl.path), tpl.content.trimEnd());
|
|
83
|
+
return parts.join("\n\n");
|
|
84
|
+
}
|
|
85
|
+
function extraFileHeader(skillName, relPath) {
|
|
86
|
+
return `=== ${skillName}/${relPath} ===`;
|
|
87
|
+
}
|
|
88
|
+
//#endregion
|
|
89
|
+
export { get_default as default };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { I as outputFlags, L as profileFlag, N as connectionFlags, a as renderItem } from "./cli.mjs";
|
|
2
2
|
import { n as Notification } from "./notification-DaA4bBHW.mjs";
|
|
3
|
-
import { t as notificationView } from "./notification-
|
|
4
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
5
|
-
import { t as parseId } from "./parse-id-
|
|
3
|
+
import { t as notificationView } from "./notification-Fcq1fIPw.mjs";
|
|
4
|
+
import { t as defineMetabaseCommand } from "./runtime-BQiGgbgZ.mjs";
|
|
5
|
+
import { t as parseId } from "./parse-id-DR8aUSdL.mjs";
|
|
6
6
|
//#region src/commands/alert/get.ts
|
|
7
7
|
var get_default = defineMetabaseCommand({
|
|
8
8
|
meta: {
|
|
@@ -10,8 +10,7 @@ var get_default = defineMetabaseCommand({
|
|
|
10
10
|
description: "Get a question alert by id"
|
|
11
11
|
},
|
|
12
12
|
details: "`--full` includes the hydrated card the alert watches, alongside its schedules and handlers.",
|
|
13
|
-
|
|
14
|
-
worktree: "any",
|
|
13
|
+
requires: ["notification.get"],
|
|
15
14
|
args: {
|
|
16
15
|
...outputFlags,
|
|
17
16
|
...profileFlag,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { t as parseId } from "./parse-id-
|
|
1
|
+
import { I as outputFlags, L as profileFlag, N as connectionFlags, a as renderItem } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-BQiGgbgZ.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-DR8aUSdL.mjs";
|
|
4
4
|
import { i as DashboardDetail } from "./dashboard-CKUR8ZpQ.mjs";
|
|
5
5
|
import { t as dashboardView } from "./dashboard-BlbNszi8.mjs";
|
|
6
6
|
//#region src/commands/dashboard/get.ts
|
|
@@ -9,8 +9,7 @@ var get_default = defineMetabaseCommand({
|
|
|
9
9
|
name: "get",
|
|
10
10
|
description: "Get a dashboard by id"
|
|
11
11
|
},
|
|
12
|
-
|
|
13
|
-
worktree: "any",
|
|
12
|
+
requires: ["dashboard.get"],
|
|
14
13
|
args: {
|
|
15
14
|
...outputFlags,
|
|
16
15
|
...profileFlag,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { t as parseId } from "./parse-id-
|
|
1
|
+
import { I as outputFlags, L as profileFlag, N as connectionFlags, a as renderItem } from "./cli.mjs";
|
|
2
|
+
import { r as parseEnum, t as defineMetabaseCommand } from "./runtime-BQiGgbgZ.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-DR8aUSdL.mjs";
|
|
4
4
|
import { r as TableGetInclude, t as Table } from "./table-CeeTJgQb.mjs";
|
|
5
5
|
import { t as tableView } from "./table-CsIJNPFf.mjs";
|
|
6
6
|
//#region src/commands/table/hints.ts
|
|
@@ -14,8 +14,7 @@ var get_default = defineMetabaseCommand({
|
|
|
14
14
|
name: "get",
|
|
15
15
|
description: "Get a table by id; pass --include fields to bundle hydrated fields"
|
|
16
16
|
},
|
|
17
|
-
|
|
18
|
-
worktree: "any",
|
|
17
|
+
requires: ["table.queryMetadata", "table.get"],
|
|
19
18
|
args: {
|
|
20
19
|
...outputFlags,
|
|
21
20
|
...profileFlag,
|
|
@@ -1,16 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { t as parseId } from "./parse-id-
|
|
4
|
-
import { t as Card } from "./card-
|
|
5
|
-
import { n as cardView } from "./card-
|
|
1
|
+
import { I as outputFlags, L as profileFlag, N as connectionFlags, a as renderItem } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-BQiGgbgZ.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-DR8aUSdL.mjs";
|
|
4
|
+
import { t as Card } from "./card-DZxRmver.mjs";
|
|
5
|
+
import { n as cardView } from "./card-zyUkr2nS.mjs";
|
|
6
6
|
//#region src/commands/card/get.ts
|
|
7
7
|
var get_default = defineMetabaseCommand({
|
|
8
8
|
meta: {
|
|
9
9
|
name: "get",
|
|
10
10
|
description: "Get a card by id"
|
|
11
11
|
},
|
|
12
|
-
|
|
13
|
-
worktree: "any",
|
|
12
|
+
requires: ["card.get"],
|
|
14
13
|
args: {
|
|
15
14
|
...outputFlags,
|
|
16
15
|
...profileFlag,
|
|
@@ -1,16 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
1
|
+
import { I as outputFlags, L as profileFlag, N as connectionFlags, c as renderSummary, f as formatScalar } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-BQiGgbgZ.mjs";
|
|
3
3
|
import { r as SettingValue } from "./setting-DTiLCW8g.mjs";
|
|
4
4
|
import { t as settingValueView } from "./setting-CwRYgHYN.mjs";
|
|
5
|
-
import { t as parseSettingKey } from "./key-
|
|
5
|
+
import { t as parseSettingKey } from "./key-BmWundO3.mjs";
|
|
6
6
|
//#region src/commands/setting/get.ts
|
|
7
7
|
var get_default = defineMetabaseCommand({
|
|
8
8
|
meta: {
|
|
9
9
|
name: "get",
|
|
10
10
|
description: "Get a setting value by key"
|
|
11
11
|
},
|
|
12
|
-
|
|
13
|
-
worktree: "any",
|
|
12
|
+
requires: ["setting.get"],
|
|
14
13
|
args: {
|
|
15
14
|
...outputFlags,
|
|
16
15
|
...profileFlag,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { t as parseId } from "./parse-id-
|
|
1
|
+
import { I as outputFlags, L as profileFlag, N as connectionFlags, a as renderItem } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-BQiGgbgZ.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-DR8aUSdL.mjs";
|
|
4
4
|
import { t as Measure } from "./measure-CtfjqJFP.mjs";
|
|
5
5
|
import { t as measureView } from "./measure-4P0bOlZ3.mjs";
|
|
6
6
|
//#region src/commands/measure/get.ts
|
|
@@ -9,8 +9,7 @@ var get_default = defineMetabaseCommand({
|
|
|
9
9
|
name: "get",
|
|
10
10
|
description: "Get a measure by id"
|
|
11
11
|
},
|
|
12
|
-
|
|
13
|
-
worktree: "any",
|
|
12
|
+
requires: ["measure.get"],
|
|
14
13
|
args: {
|
|
15
14
|
...outputFlags,
|
|
16
15
|
...profileFlag,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { t as parseId } from "./parse-id-
|
|
1
|
+
import { I as outputFlags, L as profileFlag, N as connectionFlags, a as renderItem } from "./cli.mjs";
|
|
2
|
+
import { r as parseEnum, t as defineMetabaseCommand } from "./runtime-BQiGgbgZ.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-DR8aUSdL.mjs";
|
|
4
4
|
import { r as DatabaseGetInclude, t as Database } from "./database-C8G6ZKG0.mjs";
|
|
5
5
|
import { n as databaseView } from "./database-B19qlLKZ.mjs";
|
|
6
6
|
//#region src/commands/db/hints.ts
|
|
@@ -22,8 +22,7 @@ var get_default = defineMetabaseCommand({
|
|
|
22
22
|
description: "Get a database by id"
|
|
23
23
|
},
|
|
24
24
|
details: "`--include tables` returns the table map (id, name, schema, description per table) — one call that fits most databases. `--include tables.fields` is the full rollup; on all but small databases prefer the map plus `mb table fields <table-id>` per table of interest.",
|
|
25
|
-
|
|
26
|
-
worktree: "any",
|
|
25
|
+
requires: ["database.get"],
|
|
27
26
|
args: {
|
|
28
27
|
...outputFlags,
|
|
29
28
|
...profileFlag,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { t as parseId } from "./parse-id-
|
|
1
|
+
import { I as outputFlags, L as profileFlag, N as connectionFlags, a as renderItem } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-BQiGgbgZ.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-DR8aUSdL.mjs";
|
|
4
4
|
import { t as Timeline } from "./timeline-CCSU2qOS.mjs";
|
|
5
5
|
import { n as timelineView } from "./timeline-uDCmwGFT.mjs";
|
|
6
6
|
//#region src/commands/timeline/get.ts
|
|
@@ -9,8 +9,7 @@ var get_default = defineMetabaseCommand({
|
|
|
9
9
|
name: "get",
|
|
10
10
|
description: "Get a timeline by id"
|
|
11
11
|
},
|
|
12
|
-
|
|
13
|
-
worktree: "any",
|
|
12
|
+
requires: ["timeline.get"],
|
|
14
13
|
args: {
|
|
15
14
|
...outputFlags,
|
|
16
15
|
...profileFlag,
|
|
@@ -1,16 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { t as parseId } from "./parse-id-
|
|
4
|
-
import { i as TransformRun } from "./transform-
|
|
5
|
-
import { t as transformRunView } from "./transform-
|
|
1
|
+
import { I as outputFlags, L as profileFlag, N as connectionFlags, a as renderItem } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-BQiGgbgZ.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-DR8aUSdL.mjs";
|
|
4
|
+
import { i as TransformRun } from "./transform-DpuG-ON3.mjs";
|
|
5
|
+
import { t as transformRunView } from "./transform-Bk0D0nIs.mjs";
|
|
6
6
|
//#region src/commands/transform/get-run.ts
|
|
7
7
|
var get_run_default = defineMetabaseCommand({
|
|
8
8
|
meta: {
|
|
9
9
|
name: "get-run",
|
|
10
10
|
description: "Get a transform run by run id (not the transform id)"
|
|
11
11
|
},
|
|
12
|
-
|
|
13
|
-
worktree: "any",
|
|
12
|
+
requires: ["transform.getRun"],
|
|
14
13
|
details: "The positional id is a RUN id (from `transform runs`), not a transform id. To fetch a transform itself, use `transform get <id>`.",
|
|
15
14
|
args: {
|
|
16
15
|
...outputFlags,
|
|
@@ -41,8 +41,7 @@ const SyncTask = z.object({
|
|
|
41
41
|
initiated_by: z.number().int().positive().nullable().optional(),
|
|
42
42
|
cancelled: z.boolean().nullable().optional(),
|
|
43
43
|
error_message: z.string().nullable().optional(),
|
|
44
|
-
conflicts: z.array(z.string()).nullable().optional()
|
|
45
|
-
worktree_id: z.number().int().positive().nullable().optional()
|
|
44
|
+
conflicts: z.array(z.string()).nullable().optional()
|
|
46
45
|
}).loose();
|
|
47
46
|
const SyncTaskCompact = SyncTask.pick({
|
|
48
47
|
id: true,
|
|
@@ -75,25 +74,7 @@ const SyncRemoteChanges = z.object({
|
|
|
75
74
|
has_changes: z.boolean(),
|
|
76
75
|
remote_version: z.string().nullable(),
|
|
77
76
|
local_version: z.string().nullable(),
|
|
78
|
-
cached: z.boolean()
|
|
79
|
-
branch_missing: z.boolean().optional()
|
|
80
|
-
});
|
|
81
|
-
const SyncMergeSummary = z.object({
|
|
82
|
-
added: z.number().int(),
|
|
83
|
-
updated: z.number().int(),
|
|
84
|
-
removed: z.number().int()
|
|
85
|
-
});
|
|
86
|
-
const SyncForcePushCasualties = z.object({
|
|
87
|
-
deleted: z.array(z.string()),
|
|
88
|
-
overwritten: z.array(z.string())
|
|
89
|
-
});
|
|
90
|
-
const SyncExportPreflight = z.object({
|
|
91
|
-
has_changes: z.boolean(),
|
|
92
|
-
clean: z.boolean(),
|
|
93
|
-
conflicts: z.array(z.string()),
|
|
94
|
-
summary: SyncMergeSummary,
|
|
95
|
-
force_push_casualties: SyncForcePushCasualties,
|
|
96
|
-
reason: z.string().nullable()
|
|
77
|
+
cached: z.boolean()
|
|
97
78
|
});
|
|
98
79
|
const SyncBranchCreated = z.object({
|
|
99
80
|
status: z.literal("success"),
|
|
@@ -120,4 +101,4 @@ const SyncStashResult = z.object({
|
|
|
120
101
|
final: SyncTask.nullable().optional()
|
|
121
102
|
});
|
|
122
103
|
//#endregion
|
|
123
|
-
export {
|
|
104
|
+
export { SyncImportResult as a, SyncStashResult as c, isSyncTaskFailed as d, isSyncTaskTerminal as f, SyncExportResult as i, SyncTask as l, SyncDirtyItem as n, SyncRemoteChanges as o, SyncDirtyItemCompact as r, SyncSettingsUpdateResult as s, SyncBranchCreated as t, SyncTaskCompact as u };
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { t as defineCommandGroup } from "./group-CmVCLBDz.mjs";
|
|
2
|
+
//#region src/commands/git-sync/index.ts
|
|
3
|
+
var git_sync_default = defineCommandGroup({
|
|
4
|
+
name: "git-sync",
|
|
5
|
+
description: "Sync Metabase content with a git remote",
|
|
6
|
+
skills: [{
|
|
7
|
+
skill: "git-sync",
|
|
8
|
+
purpose: "import/export round-trip and dirty checks"
|
|
9
|
+
}],
|
|
10
|
+
subCommands: {
|
|
11
|
+
status: () => import("./status-ClWsQD6v.mjs").then((mod) => mod.default),
|
|
12
|
+
"is-dirty": () => import("./is-dirty-BsYjBSXG.mjs").then((mod) => mod.default),
|
|
13
|
+
"has-remote-changes": () => import("./has-remote-changes-DfJUMP8F.mjs").then((mod) => mod.default),
|
|
14
|
+
dirty: () => import("./dirty-CYxnOnh0.mjs").then((mod) => mod.default),
|
|
15
|
+
"current-task": () => import("./current-task-D6P0eL21.mjs").then((mod) => mod.default),
|
|
16
|
+
"cancel-task": () => import("./cancel-task-DbnxSh7U.mjs").then((mod) => mod.default),
|
|
17
|
+
wait: () => import("./wait-rfTdQWdi.mjs").then((mod) => mod.default),
|
|
18
|
+
import: () => import("./import-FEAx-Y5A.mjs").then((mod) => mod.default),
|
|
19
|
+
export: () => import("./export-BOgyuIOQ.mjs").then((mod) => mod.default),
|
|
20
|
+
stash: () => import("./stash-DMm8YF8V.mjs").then((mod) => mod.default),
|
|
21
|
+
branches: () => import("./branches-pz04OjF2.mjs").then((mod) => mod.default),
|
|
22
|
+
"create-branch": () => import("./create-branch-DWcxC30N.mjs").then((mod) => mod.default),
|
|
23
|
+
"add-collection": () => import("./add-collection-Dmd-uNeU.mjs").then((mod) => mod.default),
|
|
24
|
+
"remove-collection": () => import("./remove-collection-BWFW7Rn6.mjs").then((mod) => mod.default)
|
|
25
|
+
}
|
|
26
|
+
});
|
|
27
|
+
//#endregion
|
|
28
|
+
export { git_sync_default as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as
|
|
1
|
+
import { a as SyncImportResult, c as SyncStashResult, i as SyncExportResult, o as SyncRemoteChanges, r as SyncDirtyItemCompact, s as SyncSettingsUpdateResult, t as SyncBranchCreated, u as SyncTaskCompact } from "./git-sync-BDnxPrqU.mjs";
|
|
2
2
|
//#region src/output/views/git-sync.ts
|
|
3
3
|
const syncTaskView = {
|
|
4
4
|
compactPick: SyncTaskCompact,
|
|
@@ -115,35 +115,6 @@ const syncExportView = {
|
|
|
115
115
|
label: "Message"
|
|
116
116
|
}]
|
|
117
117
|
};
|
|
118
|
-
const syncExportPreflightView = {
|
|
119
|
-
compactPick: SyncExportPreflight,
|
|
120
|
-
tableColumns: [
|
|
121
|
-
{
|
|
122
|
-
key: "has_changes",
|
|
123
|
-
label: "Has changes"
|
|
124
|
-
},
|
|
125
|
-
{
|
|
126
|
-
key: "clean",
|
|
127
|
-
label: "Clean"
|
|
128
|
-
},
|
|
129
|
-
{
|
|
130
|
-
key: "summary",
|
|
131
|
-
label: "Summary"
|
|
132
|
-
},
|
|
133
|
-
{
|
|
134
|
-
key: "conflicts",
|
|
135
|
-
label: "Conflicts"
|
|
136
|
-
},
|
|
137
|
-
{
|
|
138
|
-
key: "force_push_casualties",
|
|
139
|
-
label: "Force-push casualties"
|
|
140
|
-
},
|
|
141
|
-
{
|
|
142
|
-
key: "reason",
|
|
143
|
-
label: "Reason"
|
|
144
|
-
}
|
|
145
|
-
]
|
|
146
|
-
};
|
|
147
118
|
const syncStashView = {
|
|
148
119
|
compactPick: SyncStashResult,
|
|
149
120
|
tableColumns: [
|
|
@@ -162,4 +133,4 @@ const syncStashView = {
|
|
|
162
133
|
]
|
|
163
134
|
};
|
|
164
135
|
//#endregion
|
|
165
|
-
export {
|
|
136
|
+
export { syncRemoteChangesView as a, syncTaskView as c, syncImportView as i, syncDirtyItemView as n, syncSettingsUpdateView as o, syncExportView as r, syncStashView as s, syncBranchCreatedView as t };
|