@metabase/cli 0.1.18 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +212 -35
- package/dist/add-collection-C8ZTPlIE.mjs +9 -0
- package/dist/{add-collection-CRZAFCZy.mjs → add-collection-CUBn11d4.mjs} +4 -5
- package/dist/append-BgDaYJW9.mjs +42 -0
- package/dist/{archive-3mEhK9_H.mjs → archive-BCPA0HhV.mjs} +6 -8
- package/dist/{archive-De4yVEV8.mjs → archive-BM9HjJHQ.mjs} +5 -7
- package/dist/{archive-CFHYRF65.mjs → archive-BZpXnQSu.mjs} +5 -7
- package/dist/{archive-C3RWdM-2.mjs → archive-BncW2dGw.mjs} +7 -8
- package/dist/archive-Bv59HYsU.mjs +38 -0
- package/dist/{archive-d74nDcp4.mjs → archive-Czzktgho.mjs} +5 -7
- package/dist/{archive-errg-EKw.mjs → archive-DFCu5hVG.mjs} +6 -8
- package/dist/archive-EoYl-lS-.mjs +38 -0
- package/dist/{archive-Z8ZM-ilB.mjs → archive-Oh1iZu2y.mjs} +8 -9
- package/dist/auth-hgAnMUfi.mjs +22 -0
- package/dist/{body-BS2s2zDl.mjs → body-DKcQw7G5.mjs} +3 -3
- package/dist/{branches-mcyT7wI-.mjs → branches-CCmtr3W8.mjs} +5 -7
- package/dist/{cancel-B2l-i2NS.mjs → cancel-72y10-Rg.mjs} +4 -6
- package/dist/{cancel-task-CugcIeIi.mjs → cancel-task-CGwdz91O.mjs} +5 -7
- package/dist/capabilities-DOTcPraV.mjs +684 -0
- package/dist/{card-DEmcRlNO.mjs → card-B8G5jQQT.mjs} +24 -18
- package/dist/card-Ct-q_C4S.mjs +26 -0
- package/dist/{cards-BGkz5BeZ.mjs → cards-CYSyvN7Z.mjs} +7 -8
- package/dist/cli.mjs +177 -29
- package/dist/{collection-DrLpA1SO.mjs → collection-CFoLPrY5.mjs} +1 -1
- package/dist/collection-K82kJWdj.mjs +23 -0
- package/dist/{collection-namespace-BP_LJrAD.mjs → collection-namespace-C7mr_a8H.mjs} +2 -2
- package/dist/{create-CD9Rp8qs.mjs → create-7pbf5Wu0.mjs} +14 -14
- package/dist/{create-DzyMvAVy.mjs → create-BDY38_Kr.mjs} +8 -9
- package/dist/create-Brh8WCa3.mjs +45 -0
- package/dist/{create-DhrftYre.mjs → create-C3DThF9E.mjs} +14 -14
- package/dist/{create-B4HAEEE0.mjs → create-CPEOSxIH.mjs} +8 -9
- package/dist/{create-YfGzANNB.mjs → create-C_WqoOf5.mjs} +8 -9
- package/dist/{create-wpvDXSSY.mjs → create-CaWFrPRU.mjs} +12 -13
- package/dist/{create-Cztp5kES.mjs → create-DFyZCXQD.mjs} +5 -7
- package/dist/{create-BOmmMSjF.mjs → create-E7XhC0gJ.mjs} +11 -12
- package/dist/{create-kWzqvTGR.mjs → create-QYctYGSa.mjs} +11 -12
- package/dist/create-U_XDwsIX.mjs +45 -0
- package/dist/{create-branch-DsoMfx_2.mjs → create-branch-DPE6itiS.mjs} +5 -7
- package/dist/{create-D8KA4zJA.mjs → create-nXlnVzXl.mjs} +9 -10
- package/dist/{create-CkRFKtFG.mjs → create-pTnveKkm.mjs} +8 -9
- package/dist/csv-CR2qhmC6.mjs +58 -0
- package/dist/{current-task-WuKPZpZ6.mjs → current-task-MUHaiHIg.mjs} +5 -7
- package/dist/{dashboard-DOplbKyQ.mjs → dashboard-B-MTpfeS.mjs} +35 -15
- package/dist/dashboard-B1iRSUBI.mjs +35 -0
- package/dist/{database-D9fftP-i.mjs → database-CIbVSfua.mjs} +2 -2
- package/dist/db-eWy7A-H3.mjs +27 -0
- package/dist/{delete-Buai0_e_.mjs → delete-B58Cng0p.mjs} +6 -8
- package/dist/{delete-CmGh0jo1.mjs → delete-BKMOtpjs.mjs} +6 -8
- package/dist/delete-BMa26SzX.mjs +49 -0
- package/dist/delete-CW3dYmuT.mjs +49 -0
- package/dist/{delete-BCitmugk.mjs → delete-doa3R-c5.mjs} +6 -8
- package/dist/{delete-runtime-B0ha5QR4.mjs → delete-runtime-_YOukDRC.mjs} +2 -3
- package/dist/{delete-table-BOkYxdjA.mjs → delete-table-D_tjBZPd.mjs} +6 -8
- package/dist/{dependencies-XZrEvHUA.mjs → dependencies-BR_4um7h.mjs} +5 -7
- package/dist/{dirty-B-5NDbG9.mjs → dirty-BKCg6oVN.mjs} +5 -7
- package/dist/{document-1W7NRaO_.mjs → document-CL4ML5FN.mjs} +20 -4
- package/dist/document-CVxhTnUD.mjs +22 -0
- package/dist/{eid-BCuJRv7a.mjs → eid-DSOk7Khb.mjs} +10 -11
- package/dist/embedding-CKdw8q7p.mjs +11 -0
- package/dist/events-Dxm7me47.mjs +44 -0
- package/dist/{export-Dod2gdyE.mjs → export-Gb_wfZpt.mjs} +7 -9
- package/dist/field-BTCw6voJ.mjs +21 -0
- package/dist/{field-CMY_LWUe.mjs → field-DsXTeqBy.mjs} +6 -4
- package/dist/{fields-B0yttrzR.mjs → fields-hZeq6IF2.mjs} +6 -8
- package/dist/{get-9p0Gt1c7.mjs → get--rGDVyje.mjs} +5 -7
- package/dist/get-43Smv3RI.mjs +67 -0
- package/dist/{get-k6M5nGMC.mjs → get-7Np_G2je.mjs} +5 -7
- package/dist/{get-BkGh9BPd.mjs → get-BSdOE5J4.mjs} +5 -7
- package/dist/{get-B0OsW6jk.mjs → get-CHAH_F37.mjs} +5 -7
- package/dist/{get-DBY5esTW.mjs → get-CH_JmPc-.mjs} +5 -7
- package/dist/{get-CbpHt4Hs.mjs → get-CP3lrIYi.mjs} +5 -7
- package/dist/{get-CfeYa0v5.mjs → get-CgZ5qjQx.mjs} +5 -7
- package/dist/get-CuPCE_AG.mjs +35 -0
- package/dist/{get-DJ8huA8y.mjs → get-DB6Y9igl.mjs} +7 -8
- package/dist/{get-D7QMqPOK.mjs → get-DRK5-UdU.mjs} +5 -7
- package/dist/{get-D-pNrQGA.mjs → get-DT2MOZ8L.mjs} +5 -7
- package/dist/{get-BpZ81hX8.mjs → get-DWzMR8sn.mjs} +5 -7
- package/dist/{get-Dz7fcqoG.mjs → get-DZatHVdn.mjs} +8 -9
- package/dist/{get-u5Uq9vms.mjs → get-DtvzjfjG.mjs} +4 -6
- package/dist/get-T85qZgnv.mjs +35 -0
- package/dist/{get-DISgP66L.mjs → get-nZW0W7Ui.mjs} +16 -9
- package/dist/{get-run-DQJVpDw1.mjs → get-run-Cwia6e0d.mjs} +5 -7
- package/dist/git-sync-Cjrx2meo.mjs +31 -0
- package/dist/{group-BNE_RiH5.mjs → group-CILtQqCL.mjs} +2 -1
- package/dist/{has-remote-changes-DvQBXudi.mjs → has-remote-changes-CIIib71u.mjs} +5 -7
- package/dist/{import-PGS8-DwE.mjs → import-D9ID9Mz4.mjs} +7 -9
- package/dist/{input-7Sj85_K7.mjs → input-DzbvxKYU.mjs} +6 -3
- package/dist/{is-dirty-DyEVFQVJ.mjs → is-dirty-CHbUJ-bh.mjs} +3 -4
- package/dist/is-dirty-DY5Zhsbk.mjs +8 -0
- package/dist/{items-CkFEy2Du.mjs → items-DN63mjpF.mjs} +7 -9
- package/dist/{key-bltP32Pm.mjs → key-BnGRTX8U.mjs} +1 -1
- package/dist/{library-1AAVbk-K.mjs → library-DF2qx50w.mjs} +6 -6
- package/dist/{list-Bb8YRON_.mjs → list-B1sdMz6m.mjs} +4 -6
- package/dist/{list-BBxRjuMn.mjs → list-B3HoSfYj.mjs} +4 -6
- package/dist/{list-Sgo3RfDY.mjs → list-BSxMFDMR.mjs} +4 -6
- package/dist/list-BeqcZVSn.mjs +39 -0
- package/dist/{list-CK0p7vvK.mjs → list-C0344yqi.mjs} +5 -7
- package/dist/{list-82NkvRpI.mjs → list-C5Ir-96z.mjs} +7 -8
- package/dist/{list-CJx5q-Yn.mjs → list-C6YpaUpC.mjs} +6 -8
- package/dist/{list-CKzpoTgP.mjs → list-C7TqbWG1.mjs} +6 -8
- package/dist/{list-BWAYDSbQ.mjs → list-CQN2BpaW.mjs} +4 -6
- package/dist/{list-BY4S32Lg.mjs → list-CY-jpBNE.mjs} +4 -6
- package/dist/{list-BCYTTCFD.mjs → list-CkTsOOA7.mjs} +4 -6
- package/dist/{list-BVzu2RIZ.mjs → list-CvS68tLn.mjs} +4 -6
- package/dist/{list-CjF12k1G.mjs → list-De82cXvn.mjs} +5 -7
- package/dist/{list-B9wXg3qi.mjs → list-KDHLmoUx.mjs} +4 -6
- package/dist/{list-pQ22nXhQ.mjs → list-MqqHcBvD.mjs} +4 -6
- package/dist/{list-D-rgDFa5.mjs → list-n2PY3OIx.mjs} +8 -9
- package/dist/{login-C6ZAnGHz.mjs → login-jy9rbYev.mjs} +8 -10
- package/dist/{logout-CWjyY3Y8.mjs → logout-CRbk1SuY.mjs} +4 -6
- package/dist/measure-CPqisgyf.mjs +25 -0
- package/dist/{measure-DoJvtCaA.mjs → measure-S9WszHre.mjs} +5 -4
- package/dist/{parameter-values-DmDOuE-j.mjs → parameter-values-CcgcG3S5.mjs} +5 -7
- package/dist/{parse-enum-BL9i_brN.mjs → parse-enum-C_2lGr3g.mjs} +1 -1
- package/dist/{parse-id-DlXnOcmP.mjs → parse-id-CD54Chc5.mjs} +1 -1
- package/dist/{parse-ref-CB_KvF9h.mjs → parse-ref-BLgKEEF-.mjs} +1 -1
- package/dist/{path-D8IJ4YrW.mjs → path-CPMr1RJO.mjs} +4 -6
- package/dist/{poll-hgnrHBoh.mjs → poll-DVF9EnEb.mjs} +2 -2
- package/dist/{poll-task-NQNLT_aA.mjs → poll-task-CpHGQOd5.mjs} +2 -2
- package/dist/{preflight-DvaPQHHf.mjs → preflight-xhwEOHAt.mjs} +4 -5
- package/dist/{process-j8UHMHc2.mjs → process-HDPKLS_z.mjs} +1 -1
- package/dist/{prompt-C85xd9HR.mjs → prompt-BgkWNgIR.mjs} +1 -1
- package/dist/{publish-BntmFR6g.mjs → publish-xVPABwE8.mjs} +7 -9
- package/dist/{query-DSKQZu91.mjs → query-B3HDIsJ-.mjs} +15 -15
- package/dist/{query-BQfgKV68.mjs → query-Cxh9hmrP.mjs} +9 -10
- package/dist/{query-result-D6mfoVfQ.mjs → query-result-Drvjv7DD.mjs} +1 -1
- package/dist/{remove-collection-BguaI3-6.mjs → remove-collection-_a4uIlLB.mjs} +7 -9
- package/dist/replace-BwvKDNur.mjs +42 -0
- package/dist/requests-qyh002pL.mjs +96 -0
- package/dist/{rescan-values-DjD6IW3J.mjs → rescan-values-Bd0Joerq.mjs} +7 -9
- package/dist/{resolve-Dj2MTBkn.mjs → resolve-Ct084wx3.mjs} +1 -1
- package/dist/{run-RQfQj7Rk.mjs → run-BfpKUjqL.mjs} +7 -9
- package/dist/{run-Bp1yxkBN.mjs → run-yrpSF6VL.mjs} +4 -6
- package/dist/{runs-CSsatfWb.mjs → runs-D_08Ma08.mjs} +6 -8
- package/dist/{runtime-oxjmrYoP.mjs → runtime-Ab96yYlM.mjs} +3 -4
- package/dist/{schema-tables-5I5pCxHl.mjs → schema-tables-ChBYz4mO.mjs} +6 -8
- package/dist/{schemas-CfzFCfBt.mjs → schemas-C2crnVML.mjs} +4 -6
- package/dist/{search-Vo-BqliA.mjs → search-DnGEh6sZ.mjs} +4 -6
- package/dist/{segment-TXktTCfU.mjs → segment-BPb1H6DW.mjs} +6 -5
- package/dist/segment-DyVTZSIM.mjs +25 -0
- package/dist/{selectors-DBnJsKlW.mjs → selectors-Ll_TRxl5.mjs} +3 -3
- package/dist/{set-active-C0mUZlNN.mjs → set-active-qqDoBh_Z.mjs} +4 -6
- package/dist/{set-1Vh0AF-T.mjs → set-tHsHXRGV.mjs} +10 -10
- package/dist/setting-B9xSyMf6.mjs +20 -0
- package/dist/{setup-CzYFvFK5.mjs → setup-CXGcyTuv.mjs} +11 -12
- package/dist/{skills-B6gfH0iR.mjs → skills-BKuiGkc1.mjs} +1 -1
- package/dist/{skills-CR2xyV33.mjs → skills-rnvVgau4.mjs} +3 -3
- package/dist/snippet-C4h-GMUf.mjs +22 -0
- package/dist/{snippet-CtA2Pkoa.mjs → snippet-DWiXNy4T.mjs} +7 -4
- package/dist/{stash-CQHXwBu_.mjs → stash-DxmpBS7x.mjs} +7 -9
- package/dist/{status-C_7aqTvB.mjs → status-B5ar0uXc.mjs} +4 -6
- package/dist/{status-DXQkM18v.mjs → status-D5CR1SrS.mjs} +6 -8
- package/dist/{summary-1aNpQc8j.mjs → summary-BEEJl2O1.mjs} +5 -7
- package/dist/{sync-schema-BqLp5uTS.mjs → sync-schema-B5HDpmrp.mjs} +9 -11
- package/dist/{table-DE3i82T_.mjs → table-C3RIKiYM.mjs} +16 -4
- package/dist/table-DHmaW3Ec.mjs +21 -0
- package/dist/timeline-B0R6-dm8.mjs +24 -0
- package/dist/timeline-BCTRThc-.mjs +157 -0
- package/dist/timeline-event-BVDTt-pM.mjs +22 -0
- package/dist/{transform-DEF38FWe.mjs → transform-BVHYzWpK.mjs} +31 -5
- package/dist/transform-Cq2_muWO.mjs +31 -0
- package/dist/transform-job-BpebgMnq.mjs +25 -0
- package/dist/transform-tag-B1xnFa9w.mjs +21 -0
- package/dist/{transforms-BelyllUL.mjs → transforms-CLkv3e81.mjs} +5 -7
- package/dist/{tree-YvmwGql7.mjs → tree-CB2IURsX.mjs} +4 -6
- package/dist/{unpublish-CHjGLMu9.mjs → unpublish-BkZldbkP.mjs} +5 -7
- package/dist/update-8bTrglfc.mjs +52 -0
- package/dist/{update-BnHYSu96.mjs → update-B1dkPypu.mjs} +13 -14
- package/dist/{update-BACl_bJS.mjs → update-B4atxTx0.mjs} +9 -10
- package/dist/{update-C9fndCqb.mjs → update-BHC3pwzR.mjs} +9 -10
- package/dist/{update-BWlN3QDo.mjs → update-BacyVaLu.mjs} +9 -10
- package/dist/{update-BKhekuqr.mjs → update-BghbOcv6.mjs} +15 -15
- package/dist/{update-Zz01Woxj.mjs → update-CGWTX1Z0.mjs} +9 -10
- package/dist/{update-D7vc8GBF.mjs → update-CO9uCJxV.mjs} +12 -13
- package/dist/{update-txUfAJxy.mjs → update-Cyxjg496.mjs} +9 -10
- package/dist/{update-CrRz47aj.mjs → update-D7Ia9Qrt.mjs} +15 -15
- package/dist/{update-BGMJTpA6.mjs → update-D80GWpWl.mjs} +12 -13
- package/dist/update-DajyWtBN.mjs +52 -0
- package/dist/{update-dashcard-Dvth-yLC.mjs → update-dashcard-DLq7ihNO.mjs} +11 -11
- package/dist/{update-K-jjQ0Aw.mjs → update-iY9WZqy0.mjs} +10 -11
- package/dist/{upgrade-DsXlfPef.mjs → upgrade-CXoNQ4FH.mjs} +5 -7
- package/dist/upload-D3eiApa0.mjs +16 -0
- package/dist/{uuid-ByJmWV7b.mjs → uuid-D6dao_q4.mjs} +3 -5
- package/dist/{validate-BqNW4Sk1.mjs → validate-Cqa14t7o.mjs} +1 -2
- package/dist/{validate-query-CcZVKYPV.mjs → validate-query-D1N30wJ7.mjs} +2 -3
- package/dist/{values-CIjJI4sz.mjs → values-DIBAgSyz.mjs} +5 -7
- package/dist/{verify-Jsuc2dat.mjs → verify-DvhZWmS2.mjs} +2 -2
- package/dist/{wait-5ltTFvSa.mjs → wait-CW1OawkI.mjs} +6 -8
- package/dist/{wait-flags-D6kd_G7c.mjs → wait-flags-DvNU8ahZ.mjs} +2 -2
- package/package.json +1 -1
- package/skill-data/core/SKILL.md +30 -22
- package/skill-data/dashboard/SKILL.md +26 -3
- package/skill-data/data-workflow/SKILL.md +17 -15
- package/skill-data/visualization/SKILL.md +1 -0
- 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-CjsAXMej.mjs} +0 -0
- /package/dist/{transform-tag-rsIrckCM.mjs → transform-tag--IBQ-8Ij.mjs} +0 -0
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import
|
|
3
|
-
import "./
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { parseId } from "./parse-id-DlXnOcmP.mjs";
|
|
7
|
-
import { Segment, segmentView } from "./segment-TXktTCfU.mjs";
|
|
1
|
+
import { connectionFlags, outputFlags, profileFlag, renderItem } from "./capabilities-DOTcPraV.mjs";
|
|
2
|
+
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-Ab96yYlM.mjs";
|
|
4
|
+
import { parseId } from "./parse-id-CD54Chc5.mjs";
|
|
5
|
+
import { Segment, segmentView } from "./segment-BPb1H6DW.mjs";
|
|
8
6
|
|
|
9
7
|
//#region src/commands/segment/get.ts
|
|
10
8
|
var get_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, renderItem } from "./capabilities-DOTcPraV.mjs";
|
|
2
|
+
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-Ab96yYlM.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-CD54Chc5.mjs";
|
|
10
9
|
|
|
11
10
|
//#region src/commands/card/get.ts
|
|
12
11
|
var get_default = defineMetabaseCommand({
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
import { ConfigError } from "./
|
|
2
|
-
import
|
|
3
|
-
import "./
|
|
4
|
-
import {
|
|
5
|
-
import { renderList, writeText } from "./capabilities-N0jo5U7S.mjs";
|
|
6
|
-
import { SkillContent, loadAllSkills, loadVisibleSkills, readSkillContent, selectSkillsByNames } from "./skills-B6gfH0iR.mjs";
|
|
1
|
+
import { ConfigError, listEnvelopeSchema, outputFlags, renderList, wrapList, writeText } from "./capabilities-DOTcPraV.mjs";
|
|
2
|
+
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
+
import { defineMetabaseCommand, parseCsv } from "./runtime-Ab96yYlM.mjs";
|
|
4
|
+
import { SkillContent, loadAllSkills, loadVisibleSkills, readSkillContent, selectSkillsByNames } from "./skills-BKuiGkc1.mjs";
|
|
7
5
|
|
|
8
6
|
//#region src/commands/skills/get.ts
|
|
9
7
|
const SkillGetEnvelope = listEnvelopeSchema(SkillContent);
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { connectionFlags, outputFlags, profileFlag, renderItem } from "./capabilities-DOTcPraV.mjs";
|
|
2
|
+
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-Ab96yYlM.mjs";
|
|
4
|
+
import { parseId } from "./parse-id-CD54Chc5.mjs";
|
|
5
|
+
import { TimelineEvent, timelineEventView } from "./timeline-BCTRThc-.mjs";
|
|
6
|
+
|
|
7
|
+
//#region src/commands/timeline-event/get.ts
|
|
8
|
+
var get_default = defineMetabaseCommand({
|
|
9
|
+
meta: {
|
|
10
|
+
name: "get",
|
|
11
|
+
description: "Get a timeline event by id"
|
|
12
|
+
},
|
|
13
|
+
capabilities: { minVersion: 58 },
|
|
14
|
+
args: {
|
|
15
|
+
...outputFlags,
|
|
16
|
+
...profileFlag,
|
|
17
|
+
...connectionFlags,
|
|
18
|
+
id: {
|
|
19
|
+
type: "positional",
|
|
20
|
+
description: "Timeline event id",
|
|
21
|
+
required: true
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
outputSchema: TimelineEvent,
|
|
25
|
+
examples: ["mb timeline-event get 1", "mb timeline-event get 1 --json"],
|
|
26
|
+
async run({ args, ctx, getClient }) {
|
|
27
|
+
const id = parseId(args.id);
|
|
28
|
+
const client = await getClient();
|
|
29
|
+
const event = await client.requestParsed(TimelineEvent, `/api/timeline-event/${id}`);
|
|
30
|
+
renderItem(event, timelineEventView, ctx);
|
|
31
|
+
}
|
|
32
|
+
});
|
|
33
|
+
|
|
34
|
+
//#endregion
|
|
35
|
+
export { get_default as default };
|
|
@@ -1,13 +1,17 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import
|
|
3
|
-
import "./
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
6
|
-
import "./
|
|
7
|
-
import { parseId } from "./parse-id-DlXnOcmP.mjs";
|
|
8
|
-
import { Table, TableQueryMetadata, tableView } from "./table-DE3i82T_.mjs";
|
|
1
|
+
import { connectionFlags, outputFlags, profileFlag, renderItem } from "./capabilities-DOTcPraV.mjs";
|
|
2
|
+
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
+
import { defineMetabaseCommand, parseEnum } from "./runtime-Ab96yYlM.mjs";
|
|
4
|
+
import "./field-DsXTeqBy.mjs";
|
|
5
|
+
import { parseId } from "./parse-id-CD54Chc5.mjs";
|
|
6
|
+
import { Table, TableQueryMetadata, tableView } from "./table-C3RIKiYM.mjs";
|
|
9
7
|
import { z } from "zod";
|
|
10
8
|
|
|
9
|
+
//#region src/commands/table/hints.ts
|
|
10
|
+
function tableFieldsOversizeHint(tableId) {
|
|
11
|
+
return `use \`mb table fields ${tableId}\` — list output truncates gracefully instead of failing`;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
//#endregion
|
|
11
15
|
//#region src/commands/table/get.ts
|
|
12
16
|
const TableGetInclude = z.enum(["fields"]);
|
|
13
17
|
var get_default = defineMetabaseCommand({
|
|
@@ -42,7 +46,10 @@ var get_default = defineMetabaseCommand({
|
|
|
42
46
|
const client = await getClient();
|
|
43
47
|
if (include === "fields") {
|
|
44
48
|
const table$1 = await client.requestParsed(TableQueryMetadata, `/api/table/${id}/query_metadata`);
|
|
45
|
-
renderItem(table$1, tableView,
|
|
49
|
+
renderItem(table$1, tableView, {
|
|
50
|
+
...ctx,
|
|
51
|
+
oversizeHint: tableFieldsOversizeHint(id)
|
|
52
|
+
});
|
|
46
53
|
return;
|
|
47
54
|
}
|
|
48
55
|
const table = await client.requestParsed(Table, `/api/table/${id}`);
|
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import
|
|
3
|
-
import "./
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { parseId } from "./parse-id-DlXnOcmP.mjs";
|
|
7
|
-
import { TransformRun, transformRunView } from "./transform-DEF38FWe.mjs";
|
|
1
|
+
import { connectionFlags, outputFlags, profileFlag, renderItem } from "./capabilities-DOTcPraV.mjs";
|
|
2
|
+
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-Ab96yYlM.mjs";
|
|
4
|
+
import { parseId } from "./parse-id-CD54Chc5.mjs";
|
|
5
|
+
import { TransformRun, transformRunView } from "./transform-BVHYzWpK.mjs";
|
|
8
6
|
|
|
9
7
|
//#region src/commands/transform/get-run.ts
|
|
10
8
|
var get_run_default = defineMetabaseCommand({
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import "./command-augment-D9pI9Vbh.mjs";
|
|
2
|
+
import { defineCommandGroup } from "./group-CILtQqCL.mjs";
|
|
3
|
+
|
|
4
|
+
//#region src/commands/git-sync/index.ts
|
|
5
|
+
var git_sync_default = defineCommandGroup({
|
|
6
|
+
name: "git-sync",
|
|
7
|
+
description: "Sync Metabase content with a git remote",
|
|
8
|
+
skills: [{
|
|
9
|
+
skill: "git-sync",
|
|
10
|
+
purpose: "import/export round-trip and dirty checks"
|
|
11
|
+
}],
|
|
12
|
+
subCommands: {
|
|
13
|
+
status: () => import("./status-D5CR1SrS.mjs").then((mod) => mod.default),
|
|
14
|
+
"is-dirty": () => import("./is-dirty-DY5Zhsbk.mjs").then((mod) => mod.default),
|
|
15
|
+
"has-remote-changes": () => import("./has-remote-changes-CIIib71u.mjs").then((mod) => mod.default),
|
|
16
|
+
dirty: () => import("./dirty-BKCg6oVN.mjs").then((mod) => mod.default),
|
|
17
|
+
"current-task": () => import("./current-task-MUHaiHIg.mjs").then((mod) => mod.default),
|
|
18
|
+
"cancel-task": () => import("./cancel-task-CGwdz91O.mjs").then((mod) => mod.default),
|
|
19
|
+
wait: () => import("./wait-CW1OawkI.mjs").then((mod) => mod.default),
|
|
20
|
+
import: () => import("./import-D9ID9Mz4.mjs").then((mod) => mod.default),
|
|
21
|
+
export: () => import("./export-Gb_wfZpt.mjs").then((mod) => mod.default),
|
|
22
|
+
stash: () => import("./stash-DxmpBS7x.mjs").then((mod) => mod.default),
|
|
23
|
+
branches: () => import("./branches-CCmtr3W8.mjs").then((mod) => mod.default),
|
|
24
|
+
"create-branch": () => import("./create-branch-DPE6itiS.mjs").then((mod) => mod.default),
|
|
25
|
+
"add-collection": () => import("./add-collection-C8ZTPlIE.mjs").then((mod) => mod.default),
|
|
26
|
+
"remove-collection": () => import("./remove-collection-_a4uIlLB.mjs").then((mod) => mod.default)
|
|
27
|
+
}
|
|
28
|
+
});
|
|
29
|
+
|
|
30
|
+
//#endregion
|
|
31
|
+
export { git_sync_default as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { setMetabaseAugment } from "./command-augment-
|
|
1
|
+
import { setMetabaseAugment } from "./command-augment-D9pI9Vbh.mjs";
|
|
2
2
|
import { defineCommand } from "citty";
|
|
3
3
|
|
|
4
4
|
//#region src/commands/group.ts
|
|
@@ -18,6 +18,7 @@ function defineCommandGroup(def) {
|
|
|
18
18
|
examples: [],
|
|
19
19
|
details: null,
|
|
20
20
|
skills: def.skills ?? [],
|
|
21
|
+
inputSchema: null,
|
|
21
22
|
outputSchema: null,
|
|
22
23
|
capabilities: null
|
|
23
24
|
});
|
|
@@ -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, outputFlags, profileFlag, renderSummary } from "./capabilities-DOTcPraV.mjs";
|
|
2
|
+
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-Ab96yYlM.mjs";
|
|
4
|
+
import "./poll-DVF9EnEb.mjs";
|
|
5
|
+
import { REMOTE_SYNC_PATHS } from "./poll-task-CpHGQOd5.mjs";
|
|
8
6
|
import { z } from "zod";
|
|
9
7
|
|
|
10
8
|
//#region src/commands/git-sync/has-remote-changes.ts
|
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import
|
|
3
|
-
import "./
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import "./
|
|
7
|
-
import "./poll-
|
|
8
|
-
import { gitSyncWaitFlags, parseWaitFlags } from "./wait-flags-D6kd_G7c.mjs";
|
|
9
|
-
import { REMOTE_SYNC_PATHS, SyncTask, formatSyncTask, pollSyncTask, throwIfFailedTask } from "./poll-task-NQNLT_aA.mjs";
|
|
1
|
+
import { connectionFlags, outputFlags, profileFlag, renderSummary } from "./capabilities-DOTcPraV.mjs";
|
|
2
|
+
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-Ab96yYlM.mjs";
|
|
4
|
+
import "./parse-id-CD54Chc5.mjs";
|
|
5
|
+
import "./poll-DVF9EnEb.mjs";
|
|
6
|
+
import { gitSyncWaitFlags, parseWaitFlags } from "./wait-flags-DvNU8ahZ.mjs";
|
|
7
|
+
import { REMOTE_SYNC_PATHS, SyncTask, formatSyncTask, pollSyncTask, throwIfFailedTask } from "./poll-task-CpHGQOd5.mjs";
|
|
10
8
|
import { z } from "zod";
|
|
11
9
|
|
|
12
10
|
//#region src/commands/git-sync/import.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ConfigError, isNotFoundError } from "./
|
|
1
|
+
import { ConfigError, isNotFoundError } from "./capabilities-DOTcPraV.mjs";
|
|
2
2
|
import { setTimeout } from "node:timers/promises";
|
|
3
3
|
import { readFile } from "node:fs/promises";
|
|
4
4
|
|
|
@@ -24,10 +24,13 @@ async function readFileSource(path) {
|
|
|
24
24
|
try {
|
|
25
25
|
return await readFile(path, "utf8");
|
|
26
26
|
} catch (error) {
|
|
27
|
-
if (isNotFoundError(error)) throw
|
|
27
|
+
if (isNotFoundError(error)) throw fileNotFoundError(path);
|
|
28
28
|
throw error;
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
|
+
function fileNotFoundError(path) {
|
|
32
|
+
return new ConfigError(`--file not found: ${path}`);
|
|
33
|
+
}
|
|
31
34
|
async function drainStdin() {
|
|
32
35
|
let data = "";
|
|
33
36
|
for await (const chunk of process.stdin) data += chunk;
|
|
@@ -56,4 +59,4 @@ async function readPipedStdin() {
|
|
|
56
59
|
}
|
|
57
60
|
|
|
58
61
|
//#endregion
|
|
59
|
-
export { DEFAULT_FLAG_NAME, readInput };
|
|
62
|
+
export { DEFAULT_FLAG_NAME, fileNotFoundError, readInput };
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { connectionFlags, outputFlags, profileFlag } from "./
|
|
2
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import {
|
|
4
|
-
import { REMOTE_SYNC_PATHS } from "./poll-task-NQNLT_aA.mjs";
|
|
1
|
+
import { connectionFlags, outputFlags, profileFlag, renderSummary } from "./capabilities-DOTcPraV.mjs";
|
|
2
|
+
import { defineMetabaseCommand } from "./runtime-Ab96yYlM.mjs";
|
|
3
|
+
import { REMOTE_SYNC_PATHS } from "./poll-task-CpHGQOd5.mjs";
|
|
5
4
|
import { z } from "zod";
|
|
6
5
|
|
|
7
6
|
//#region src/commands/git-sync/is-dirty.ts
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import "./capabilities-DOTcPraV.mjs";
|
|
2
|
+
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
+
import "./runtime-Ab96yYlM.mjs";
|
|
4
|
+
import "./poll-DVF9EnEb.mjs";
|
|
5
|
+
import "./poll-task-CpHGQOd5.mjs";
|
|
6
|
+
import { IsDirtyResult, is_dirty_default } from "./is-dirty-CHbUJ-bh.mjs";
|
|
7
|
+
|
|
8
|
+
export { is_dirty_default as default };
|
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import
|
|
3
|
-
import "./
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { parseCollectionRef } from "./parse-ref-CB_KvF9h.mjs";
|
|
9
|
-
import { collectPaginated } from "./paginate-FVZUxL4J.mjs";
|
|
1
|
+
import { connectionFlags, listEnvelopeSchema, outputFlags, profileFlag, renderList } from "./capabilities-DOTcPraV.mjs";
|
|
2
|
+
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
+
import { defineMetabaseCommand, parseEnum, parseEnumCsv } from "./runtime-Ab96yYlM.mjs";
|
|
4
|
+
import { parseId } from "./parse-id-CD54Chc5.mjs";
|
|
5
|
+
import { COLLECTION_ITEM_FILTER_MODELS, COLLECTION_PINNED_STATES, CollectionItem, CollectionItemCompact, CollectionItemFilterModel, CollectionPinnedState, collectionItemView } from "./collection-CFoLPrY5.mjs";
|
|
6
|
+
import { parseCollectionRef } from "./parse-ref-BLgKEEF-.mjs";
|
|
7
|
+
import { collectPaginated } from "./paginate-CMqbqhMC.mjs";
|
|
10
8
|
|
|
11
9
|
//#region src/commands/collection/items.ts
|
|
12
10
|
const CollectionItemListEnvelope = listEnvelopeSchema(CollectionItemCompact);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./command-augment-
|
|
2
|
-
import { defineCommandGroup } from "./group-
|
|
1
|
+
import "./command-augment-D9pI9Vbh.mjs";
|
|
2
|
+
import { defineCommandGroup } from "./group-CILtQqCL.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/commands/library/index.ts
|
|
5
5
|
var library_default = defineCommandGroup({
|
|
@@ -13,10 +13,10 @@ var library_default = defineCommandGroup({
|
|
|
13
13
|
purpose: "which tables are worth publishing"
|
|
14
14
|
}],
|
|
15
15
|
subCommands: {
|
|
16
|
-
get: () => import("./get-
|
|
17
|
-
create: () => import("./create-
|
|
18
|
-
publish: () => import("./publish-
|
|
19
|
-
unpublish: () => import("./unpublish-
|
|
16
|
+
get: () => import("./get-CgZ5qjQx.mjs").then((m) => m.default),
|
|
17
|
+
create: () => import("./create-DFyZCXQD.mjs").then((m) => m.default),
|
|
18
|
+
publish: () => import("./publish-xVPABwE8.mjs").then((m) => m.default),
|
|
19
|
+
unpublish: () => import("./unpublish-BkZldbkP.mjs").then((m) => m.default)
|
|
20
20
|
}
|
|
21
21
|
});
|
|
22
22
|
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import
|
|
3
|
-
import "./
|
|
4
|
-
import {
|
|
5
|
-
import { renderList } from "./capabilities-N0jo5U7S.mjs";
|
|
6
|
-
import { Transform, TransformCompact, transformView } from "./transform-DEF38FWe.mjs";
|
|
1
|
+
import { connectionFlags, listEnvelopeSchema, outputFlags, profileFlag, renderList, wrapList } from "./capabilities-DOTcPraV.mjs";
|
|
2
|
+
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-Ab96yYlM.mjs";
|
|
4
|
+
import { Transform, TransformCompact, transformView } from "./transform-BVHYzWpK.mjs";
|
|
7
5
|
import { z } from "zod";
|
|
8
6
|
|
|
9
7
|
//#region src/commands/transform/list.ts
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
import { listTruncationNotice, warn } from "./
|
|
2
|
-
import
|
|
3
|
-
import "./
|
|
4
|
-
import {
|
|
5
|
-
import { renderList } from "./capabilities-N0jo5U7S.mjs";
|
|
6
|
-
import { loadVisibleSkills } from "./skills-B6gfH0iR.mjs";
|
|
1
|
+
import { listEnvelopeSchema, listTruncationNotice, outputFlags, renderList, warn, wrapList } from "./capabilities-DOTcPraV.mjs";
|
|
2
|
+
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-Ab96yYlM.mjs";
|
|
4
|
+
import { loadVisibleSkills } from "./skills-BKuiGkc1.mjs";
|
|
7
5
|
import { z } from "zod";
|
|
8
6
|
|
|
9
7
|
//#region src/output/skill-list.ts
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import
|
|
3
|
-
import "./
|
|
4
|
-
import {
|
|
5
|
-
import { renderList } from "./capabilities-N0jo5U7S.mjs";
|
|
6
|
-
import { TransformTag, TransformTagCompact, transformTagView } from "./transform-tag-rsIrckCM.mjs";
|
|
1
|
+
import { connectionFlags, listEnvelopeSchema, outputFlags, profileFlag, renderList, wrapList } from "./capabilities-DOTcPraV.mjs";
|
|
2
|
+
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-Ab96yYlM.mjs";
|
|
4
|
+
import { TransformTag, TransformTagCompact, transformTagView } from "./transform-tag--IBQ-8Ij.mjs";
|
|
7
5
|
import { z } from "zod";
|
|
8
6
|
|
|
9
7
|
//#region src/commands/transform-tag/list.ts
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { connectionFlags, listEnvelopeSchema, outputFlags, profileFlag, renderList, wrapList } from "./capabilities-DOTcPraV.mjs";
|
|
2
|
+
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-Ab96yYlM.mjs";
|
|
4
|
+
import { Timeline, TimelineCompact, timelineView } from "./timeline-BCTRThc-.mjs";
|
|
5
|
+
import { z } from "zod";
|
|
6
|
+
|
|
7
|
+
//#region src/commands/timeline/list.ts
|
|
8
|
+
const TimelineApiList = z.array(Timeline);
|
|
9
|
+
const TimelineListEnvelope = listEnvelopeSchema(TimelineCompact);
|
|
10
|
+
var list_default = defineMetabaseCommand({
|
|
11
|
+
meta: {
|
|
12
|
+
name: "list",
|
|
13
|
+
description: "List timelines"
|
|
14
|
+
},
|
|
15
|
+
capabilities: { minVersion: 58 },
|
|
16
|
+
args: {
|
|
17
|
+
...outputFlags,
|
|
18
|
+
...profileFlag,
|
|
19
|
+
...connectionFlags,
|
|
20
|
+
archived: {
|
|
21
|
+
type: "boolean",
|
|
22
|
+
description: "Show archived timelines instead of active ones"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
outputSchema: TimelineListEnvelope,
|
|
26
|
+
examples: [
|
|
27
|
+
"mb timeline list",
|
|
28
|
+
"mb timeline list --json",
|
|
29
|
+
"mb timeline list --archived --json"
|
|
30
|
+
],
|
|
31
|
+
async run({ args, ctx, getClient }) {
|
|
32
|
+
const client = await getClient();
|
|
33
|
+
const items = await client.requestParsed(TimelineApiList, "/api/timeline", { query: { archived: args.archived || void 0 } });
|
|
34
|
+
renderList(wrapList(items), timelineView, ctx);
|
|
35
|
+
}
|
|
36
|
+
});
|
|
37
|
+
|
|
38
|
+
//#endregion
|
|
39
|
+
export { list_default as default };
|
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import
|
|
3
|
-
import "./
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { parseEnumFlag } from "./parse-enum-BL9i_brN.mjs";
|
|
7
|
-
import { Collection, CollectionCompact, collectionView } from "./collection-DrLpA1SO.mjs";
|
|
1
|
+
import { connectionFlags, listEnvelopeSchema, outputFlags, profileFlag, renderList, wrapList } from "./capabilities-DOTcPraV.mjs";
|
|
2
|
+
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-Ab96yYlM.mjs";
|
|
4
|
+
import { parseEnumFlag } from "./parse-enum-C_2lGr3g.mjs";
|
|
5
|
+
import { Collection, CollectionCompact, collectionView } from "./collection-CFoLPrY5.mjs";
|
|
8
6
|
import { z } from "zod";
|
|
9
7
|
|
|
10
8
|
//#region src/commands/collection/list.ts
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import
|
|
3
|
-
import "./
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import "./
|
|
7
|
-
import {
|
|
8
|
-
import { Dashboard, DashboardCompact, dashboardView } from "./dashboard-DOplbKyQ.mjs";
|
|
1
|
+
import { connectionFlags, listEnvelopeSchema, outputFlags, profileFlag, renderList, wrapList } from "./capabilities-DOTcPraV.mjs";
|
|
2
|
+
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-Ab96yYlM.mjs";
|
|
4
|
+
import "./embedding-CKdw8q7p.mjs";
|
|
5
|
+
import "./parameter-BZ6y-Gfs.mjs";
|
|
6
|
+
import { parseEnumFlag } from "./parse-enum-C_2lGr3g.mjs";
|
|
7
|
+
import { Dashboard, DashboardCompact, dashboardView } from "./dashboard-B-MTpfeS.mjs";
|
|
9
8
|
import { z } from "zod";
|
|
10
9
|
|
|
11
10
|
//#region src/commands/dashboard/list.ts
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import
|
|
3
|
-
import "./
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
6
|
-
import "./
|
|
7
|
-
import { parseId } from "./parse-id-DlXnOcmP.mjs";
|
|
8
|
-
import { Table, TableCompact, tableView } from "./table-DE3i82T_.mjs";
|
|
1
|
+
import { connectionFlags, listEnvelopeSchema, outputFlags, profileFlag, renderList, wrapList } from "./capabilities-DOTcPraV.mjs";
|
|
2
|
+
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-Ab96yYlM.mjs";
|
|
4
|
+
import "./field-DsXTeqBy.mjs";
|
|
5
|
+
import { parseId } from "./parse-id-CD54Chc5.mjs";
|
|
6
|
+
import { Table, TableCompact, tableView } from "./table-C3RIKiYM.mjs";
|
|
9
7
|
import { z } from "zod";
|
|
10
8
|
|
|
11
9
|
//#region src/commands/table/list.ts
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import
|
|
3
|
-
import "./
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import "./
|
|
7
|
-
import "./table-DE3i82T_.mjs";
|
|
8
|
-
import { Database, DatabaseCompact, databaseView } from "./database-D9fftP-i.mjs";
|
|
1
|
+
import { connectionFlags, listEnvelopeSchema, outputFlags, profileFlag, renderList } from "./capabilities-DOTcPraV.mjs";
|
|
2
|
+
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
+
import { defineMetabaseCommand, parseEnum } from "./runtime-Ab96yYlM.mjs";
|
|
4
|
+
import "./field-DsXTeqBy.mjs";
|
|
5
|
+
import "./table-C3RIKiYM.mjs";
|
|
6
|
+
import { Database, DatabaseCompact, databaseView } from "./database-CIbVSfua.mjs";
|
|
9
7
|
import { z } from "zod";
|
|
10
8
|
|
|
11
9
|
//#region src/commands/db/list.ts
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import
|
|
3
|
-
import "./
|
|
4
|
-
import {
|
|
5
|
-
import { renderList } from "./capabilities-N0jo5U7S.mjs";
|
|
6
|
-
import { Document, DocumentCompact, documentView } from "./document-1W7NRaO_.mjs";
|
|
1
|
+
import { connectionFlags, listEnvelopeSchema, outputFlags, profileFlag, renderList, wrapList } from "./capabilities-DOTcPraV.mjs";
|
|
2
|
+
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-Ab96yYlM.mjs";
|
|
4
|
+
import { Document, DocumentCompact, documentView } from "./document-CL4ML5FN.mjs";
|
|
7
5
|
import { z } from "zod";
|
|
8
6
|
|
|
9
7
|
//#region src/commands/document/list.ts
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import
|
|
3
|
-
import "./
|
|
4
|
-
import {
|
|
5
|
-
import { renderList } from "./capabilities-N0jo5U7S.mjs";
|
|
6
|
-
import { TransformJob, TransformJobCompact, transformJobView } from "./transform-job-CtixL4An.mjs";
|
|
1
|
+
import { connectionFlags, listEnvelopeSchema, outputFlags, profileFlag, renderList, wrapList } from "./capabilities-DOTcPraV.mjs";
|
|
2
|
+
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-Ab96yYlM.mjs";
|
|
4
|
+
import { TransformJob, TransformJobCompact, transformJobView } from "./transform-job-CjsAXMej.mjs";
|
|
7
5
|
import { z } from "zod";
|
|
8
6
|
|
|
9
7
|
//#region src/commands/transform-job/list.ts
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import
|
|
3
|
-
import "./
|
|
4
|
-
import {
|
|
5
|
-
import { renderList } from "./capabilities-N0jo5U7S.mjs";
|
|
6
|
-
import { Snippet, SnippetCompact, snippetView } from "./snippet-CtA2Pkoa.mjs";
|
|
1
|
+
import { connectionFlags, listEnvelopeSchema, outputFlags, profileFlag, renderList, wrapList } from "./capabilities-DOTcPraV.mjs";
|
|
2
|
+
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-Ab96yYlM.mjs";
|
|
4
|
+
import { Snippet, SnippetCompact, snippetView } from "./snippet-DWiXNy4T.mjs";
|
|
7
5
|
import { z } from "zod";
|
|
8
6
|
|
|
9
7
|
//#region src/commands/snippet/list.ts
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import
|
|
3
|
-
import "./
|
|
4
|
-
import {
|
|
5
|
-
import { renderList } from "./capabilities-N0jo5U7S.mjs";
|
|
6
|
-
import { Segment, SegmentCompact, segmentView } from "./segment-TXktTCfU.mjs";
|
|
1
|
+
import { connectionFlags, listEnvelopeSchema, outputFlags, profileFlag, renderList, wrapList } from "./capabilities-DOTcPraV.mjs";
|
|
2
|
+
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-Ab96yYlM.mjs";
|
|
4
|
+
import { Segment, SegmentCompact, segmentView } from "./segment-BPb1H6DW.mjs";
|
|
7
5
|
import { z } from "zod";
|
|
8
6
|
|
|
9
7
|
//#region src/commands/segment/list.ts
|
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import { warn } from "./
|
|
2
|
-
import
|
|
3
|
-
import "./
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { renderList } from "./capabilities-N0jo5U7S.mjs";
|
|
7
|
-
import { renderAuthMethod, renderTimestamp, renderUserRole, renderVersionTag } from "./render-BTKnWL0d.mjs";
|
|
1
|
+
import { listEnvelopeSchema, outputFlags, renderList, warn, wrapList } from "./capabilities-DOTcPraV.mjs";
|
|
2
|
+
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
+
import { ParsedVersionSchema, ProbedUser, ProfileAuthMethod, ProfileLastFailure, TokenFeatures, createCredentialRefresher, defineMetabaseCommand, displayUrl, listProfileRecords, profileAuthMethod, resolveRecordCredential, writeProbeFailure, writeProbeResult } from "./runtime-Ab96yYlM.mjs";
|
|
4
|
+
import { verifyAndProbe } from "./verify-DvhZWmS2.mjs";
|
|
5
|
+
import { renderAuthMethod, renderTimestamp, renderUserRole, renderVersionTag } from "./render-CkuFkWlQ.mjs";
|
|
8
6
|
import { z } from "zod";
|
|
9
7
|
|
|
10
8
|
//#region src/commands/auth/list.ts
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import
|
|
3
|
-
import "./
|
|
4
|
-
import {
|
|
5
|
-
import { renderList } from "./capabilities-N0jo5U7S.mjs";
|
|
6
|
-
import { Setting, SettingCompact, settingView } from "./setting-m46MUtW5.mjs";
|
|
1
|
+
import { connectionFlags, listEnvelopeSchema, outputFlags, profileFlag, renderList, wrapList } from "./capabilities-DOTcPraV.mjs";
|
|
2
|
+
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-Ab96yYlM.mjs";
|
|
4
|
+
import { Setting, SettingCompact, settingView } from "./setting-Cko6bE_w.mjs";
|
|
7
5
|
import { z } from "zod";
|
|
8
6
|
|
|
9
7
|
//#region src/commands/setting/list.ts
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import
|
|
3
|
-
import "./
|
|
4
|
-
import {
|
|
5
|
-
import { renderList } from "./capabilities-N0jo5U7S.mjs";
|
|
6
|
-
import { Measure, MeasureCompact, measureView } from "./measure-DoJvtCaA.mjs";
|
|
1
|
+
import { connectionFlags, listEnvelopeSchema, outputFlags, profileFlag, renderList, wrapList } from "./capabilities-DOTcPraV.mjs";
|
|
2
|
+
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-Ab96yYlM.mjs";
|
|
4
|
+
import { Measure, MeasureCompact, measureView } from "./measure-S9WszHre.mjs";
|
|
7
5
|
import { z } from "zod";
|
|
8
6
|
|
|
9
7
|
//#region src/commands/measure/list.ts
|