@metabase/cli 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +151 -0
- package/dist/add-collection-C8ZTPlIE.mjs +9 -0
- package/dist/{add-collection-BTSGp4f9.mjs → add-collection-CUBn11d4.mjs} +4 -4
- package/dist/{append-DY1-O789.mjs → append-BgDaYJW9.mjs} +5 -5
- package/dist/{archive-CJ9rElKn.mjs → archive-BCPA0HhV.mjs} +3 -3
- package/dist/{archive-CWtUzlHO.mjs → archive-BM9HjJHQ.mjs} +3 -3
- package/dist/{archive-DOa1u1aJ.mjs → archive-BZpXnQSu.mjs} +3 -3
- package/dist/{archive-w6TX-zEk.mjs → archive-BncW2dGw.mjs} +3 -3
- package/dist/archive-Bv59HYsU.mjs +38 -0
- package/dist/{archive-DCPw3df6.mjs → archive-Czzktgho.mjs} +3 -3
- package/dist/{archive-BOEEMrYL.mjs → archive-DFCu5hVG.mjs} +3 -3
- package/dist/archive-EoYl-lS-.mjs +38 -0
- package/dist/{archive-pHsa4dL0.mjs → archive-Oh1iZu2y.mjs} +3 -3
- package/dist/{auth-BrQtY0pO.mjs → auth-hgAnMUfi.mjs} +4 -4
- package/dist/{body-C1_AaTS4.mjs → body-DKcQw7G5.mjs} +3 -3
- package/dist/{branches-BsBzaGIf.mjs → branches-CCmtr3W8.mjs} +4 -4
- package/dist/{cancel-BNM0yyx-.mjs → cancel-72y10-Rg.mjs} +3 -3
- package/dist/{cancel-task-Bggzn4JL.mjs → cancel-task-CGwdz91O.mjs} +4 -4
- package/dist/{capabilities-DrDJo_ng.mjs → capabilities-DOTcPraV.mjs} +1 -1
- package/dist/{card-DHCcmpgr.mjs → card-Ct-q_C4S.mjs} +6 -6
- package/dist/{cards-D0hvA13L.mjs → cards-CYSyvN7Z.mjs} +3 -3
- package/dist/cli.mjs +28 -26
- package/dist/{collection-D0O9gp3S.mjs → collection-K82kJWdj.mjs} +6 -6
- package/dist/{collection-namespace-DqPNrCdQ.mjs → collection-namespace-C7mr_a8H.mjs} +2 -2
- package/dist/{create-oLb0E-ZP.mjs → create-7pbf5Wu0.mjs} +6 -6
- package/dist/{create-CZ9KFnbi.mjs → create-BDY38_Kr.mjs} +4 -4
- package/dist/create-Brh8WCa3.mjs +45 -0
- package/dist/{create-C8ndg3g4.mjs → create-C3DThF9E.mjs} +6 -6
- package/dist/{create-E6L3WMqV.mjs → create-CPEOSxIH.mjs} +5 -5
- package/dist/{create-DKuixGJ2.mjs → create-C_WqoOf5.mjs} +5 -5
- package/dist/{create-BR7x66KW.mjs → create-CaWFrPRU.mjs} +8 -8
- package/dist/{create-Cii_utzV.mjs → create-DFyZCXQD.mjs} +2 -2
- package/dist/{create-a3s1S2Dw.mjs → create-E7XhC0gJ.mjs} +6 -6
- package/dist/{create-05rX4oL-.mjs → create-QYctYGSa.mjs} +6 -6
- package/dist/create-U_XDwsIX.mjs +45 -0
- package/dist/{create-branch-Dxn6UnV_.mjs → create-branch-DPE6itiS.mjs} +4 -4
- package/dist/{create-C17Fh1_X.mjs → create-nXlnVzXl.mjs} +5 -5
- package/dist/{create-Cyv7vHV_.mjs → create-pTnveKkm.mjs} +4 -4
- package/dist/{csv-T6_vlLJS.mjs → csv-CR2qhmC6.mjs} +5 -5
- package/dist/{current-task-DxWbw-bU.mjs → current-task-MUHaiHIg.mjs} +4 -4
- package/dist/{dashboard-BpSPoeAn.mjs → dashboard-B1iRSUBI.mjs} +8 -8
- package/dist/{db-DBRijnh4.mjs → db-eWy7A-H3.mjs} +6 -6
- package/dist/{delete--P1xFX37.mjs → delete-B58Cng0p.mjs} +5 -5
- package/dist/{delete-BBOIUl0D.mjs → delete-BKMOtpjs.mjs} +5 -5
- package/dist/delete-BMa26SzX.mjs +49 -0
- package/dist/delete-CW3dYmuT.mjs +49 -0
- package/dist/{delete-Ce2EBQYA.mjs → delete-doa3R-c5.mjs} +5 -5
- package/dist/{delete-runtime-B-8I9V1g.mjs → delete-runtime-_YOukDRC.mjs} +2 -2
- package/dist/{delete-table-Bj32NsXn.mjs → delete-table-D_tjBZPd.mjs} +5 -5
- package/dist/{dependencies-ixzjVjUz.mjs → dependencies-BR_4um7h.mjs} +4 -4
- package/dist/{dirty-CH70h5m5.mjs → dirty-BKCg6oVN.mjs} +4 -4
- package/dist/{document-dZpuFu3I.mjs → document-CVxhTnUD.mjs} +5 -5
- package/dist/{eid-XjkBbyb_.mjs → eid-DSOk7Khb.mjs} +4 -4
- package/dist/events-Dxm7me47.mjs +44 -0
- package/dist/{export-CChMg-mL.mjs → export-Gb_wfZpt.mjs} +6 -6
- package/dist/{field-B1heFeCz.mjs → field-BTCw6voJ.mjs} +4 -4
- package/dist/{fields-C7h2QwUp.mjs → fields-hZeq6IF2.mjs} +3 -3
- package/dist/{get-cyR67Lmq.mjs → get--rGDVyje.mjs} +3 -3
- package/dist/{get-RlP_xiUd.mjs → get-43Smv3RI.mjs} +3 -3
- package/dist/{get-BWHJDa0B.mjs → get-7Np_G2je.mjs} +3 -3
- package/dist/{get-B6ZJCJ8H.mjs → get-BSdOE5J4.mjs} +3 -3
- package/dist/{get-C98IFgFi.mjs → get-CHAH_F37.mjs} +3 -3
- package/dist/{get-D9r2znrn.mjs → get-CH_JmPc-.mjs} +4 -4
- package/dist/{get-Dg1J0wxb.mjs → get-CP3lrIYi.mjs} +3 -3
- package/dist/{get-BsyccuCH.mjs → get-CgZ5qjQx.mjs} +2 -2
- package/dist/get-CuPCE_AG.mjs +35 -0
- package/dist/{get-DrWYvefc.mjs → get-DB6Y9igl.mjs} +3 -3
- package/dist/{get-DWWmpQ87.mjs → get-DRK5-UdU.mjs} +3 -3
- package/dist/{get-Cj90oyxG.mjs → get-DT2MOZ8L.mjs} +4 -4
- package/dist/{get-DRZENkCj.mjs → get-DWzMR8sn.mjs} +3 -3
- package/dist/{get-AvGH_oph.mjs → get-DZatHVdn.mjs} +3 -3
- package/dist/{get-KVN9ANVh.mjs → get-DtvzjfjG.mjs} +3 -3
- package/dist/get-T85qZgnv.mjs +35 -0
- package/dist/{get-kqY2lwhO.mjs → get-nZW0W7Ui.mjs} +3 -3
- package/dist/{get-run-C4C_QQqO.mjs → get-run-Cwia6e0d.mjs} +4 -4
- package/dist/git-sync-Cjrx2meo.mjs +31 -0
- package/dist/{has-remote-changes-dLUGr0MD.mjs → has-remote-changes-CIIib71u.mjs} +4 -4
- package/dist/{import-Byull6jF.mjs → import-D9ID9Mz4.mjs} +6 -6
- package/dist/{input-m9ctfLxZ.mjs → input-DzbvxKYU.mjs} +1 -1
- package/dist/{is-dirty-CU3ovgdG.mjs → is-dirty-CHbUJ-bh.mjs} +3 -3
- package/dist/is-dirty-DY5Zhsbk.mjs +8 -0
- package/dist/{items-CEGDYWuF.mjs → items-DN63mjpF.mjs} +4 -4
- package/dist/{key-Ge4VwWvS.mjs → key-BnGRTX8U.mjs} +1 -1
- package/dist/{library-DHWWa4Tt.mjs → library-DF2qx50w.mjs} +4 -4
- package/dist/{list-3z1ZChTG.mjs → list-B1sdMz6m.mjs} +3 -3
- package/dist/{list-DEkPxVZu.mjs → list-B3HoSfYj.mjs} +3 -3
- package/dist/{list-BFm4iEBt.mjs → list-BSxMFDMR.mjs} +3 -3
- package/dist/list-BeqcZVSn.mjs +39 -0
- package/dist/{list-Cur_72xZ.mjs → list-C0344yqi.mjs} +3 -3
- package/dist/{list-BuyRG3GB.mjs → list-C5Ir-96z.mjs} +3 -3
- package/dist/{list-th_Ym6Cv.mjs → list-C6YpaUpC.mjs} +3 -3
- package/dist/{list-Bpv06V24.mjs → list-C7TqbWG1.mjs} +2 -2
- package/dist/{list-Br48kL09.mjs → list-CQN2BpaW.mjs} +2 -2
- package/dist/{list-B9TyELob.mjs → list-CY-jpBNE.mjs} +3 -3
- package/dist/{list-CmCJwaGT.mjs → list-CkTsOOA7.mjs} +2 -2
- package/dist/{list-BliCJAjt.mjs → list-CvS68tLn.mjs} +2 -2
- package/dist/{list-CMb03cv3.mjs → list-De82cXvn.mjs} +3 -3
- package/dist/{list-O2w5xd1q.mjs → list-KDHLmoUx.mjs} +2 -2
- package/dist/{list-BtcpNl4-.mjs → list-MqqHcBvD.mjs} +2 -2
- package/dist/{list-D9FY30xH.mjs → list-n2PY3OIx.mjs} +3 -3
- package/dist/{login-hKlYsAa1.mjs → login-jy9rbYev.mjs} +6 -6
- package/dist/{logout-DO8GVC6b.mjs → logout-CRbk1SuY.mjs} +3 -3
- package/dist/{measure-R3T20wnB.mjs → measure-CPqisgyf.mjs} +5 -5
- package/dist/{parameter-values-BJb2GuLz.mjs → parameter-values-CcgcG3S5.mjs} +3 -3
- package/dist/{parse-enum-Cfne2suT.mjs → parse-enum-C_2lGr3g.mjs} +1 -1
- package/dist/{parse-id-DfY0Lugw.mjs → parse-id-CD54Chc5.mjs} +1 -1
- package/dist/{parse-ref-C_MsXYI6.mjs → parse-ref-BLgKEEF-.mjs} +1 -1
- package/dist/{path-DzhQVCH8.mjs → path-CPMr1RJO.mjs} +3 -3
- package/dist/{poll-D1Yg78c3.mjs → poll-DVF9EnEb.mjs} +2 -2
- package/dist/{poll-task-DLUZaglY.mjs → poll-task-CpHGQOd5.mjs} +2 -2
- package/dist/{preflight-Cy2jUSca.mjs → preflight-xhwEOHAt.mjs} +2 -2
- package/dist/{process-D5HN1wpT.mjs → process-HDPKLS_z.mjs} +1 -1
- package/dist/{prompt-ZG9Drin_.mjs → prompt-BgkWNgIR.mjs} +1 -1
- package/dist/{publish-3hmHoaX-.mjs → publish-xVPABwE8.mjs} +4 -4
- package/dist/{query-DkZViD_3.mjs → query-B3HDIsJ-.mjs} +7 -7
- package/dist/{query-DTASj9Zu.mjs → query-Cxh9hmrP.mjs} +4 -4
- package/dist/{query-result-CbTFdlSf.mjs → query-result-Drvjv7DD.mjs} +1 -1
- package/dist/{remove-collection-D3wH9H6R.mjs → remove-collection-_a4uIlLB.mjs} +6 -6
- package/dist/{replace-CFzqkZXs.mjs → replace-BwvKDNur.mjs} +5 -5
- package/dist/{requests-KBiY9UYy.mjs → requests-qyh002pL.mjs} +2 -2
- package/dist/{rescan-values-B1WycObS.mjs → rescan-values-Bd0Joerq.mjs} +3 -3
- package/dist/{run-cw0qTEQ7.mjs → run-BfpKUjqL.mjs} +6 -6
- package/dist/{run-B8qEEdC8.mjs → run-yrpSF6VL.mjs} +3 -3
- package/dist/{runs-BOA4kK_X.mjs → runs-D_08Ma08.mjs} +4 -4
- package/dist/{runtime-B-c-Fc2i.mjs → runtime-Ab96yYlM.mjs} +1 -1
- package/dist/{schema-tables-DRYzSVcW.mjs → schema-tables-ChBYz4mO.mjs} +3 -3
- package/dist/{schemas-BiMjD25L.mjs → schemas-C2crnVML.mjs} +3 -3
- package/dist/{search-DjKxRXO5.mjs → search-DnGEh6sZ.mjs} +3 -3
- package/dist/{segment-CZkk0g79.mjs → segment-DyVTZSIM.mjs} +5 -5
- package/dist/{selectors-B7MJUn3I.mjs → selectors-Ll_TRxl5.mjs} +3 -3
- package/dist/{set-active-CF868qdW.mjs → set-active-qqDoBh_Z.mjs} +3 -3
- package/dist/{set-kyoORFG3.mjs → set-tHsHXRGV.mjs} +5 -5
- package/dist/{setting-BZgjURQ_.mjs → setting-B9xSyMf6.mjs} +3 -3
- package/dist/{setup-D9joJYPb.mjs → setup-CXGcyTuv.mjs} +4 -4
- package/dist/{skills-BqI05u72.mjs → skills-BKuiGkc1.mjs} +1 -1
- package/dist/{skills-D8NrJxjp.mjs → skills-rnvVgau4.mjs} +3 -3
- package/dist/{snippet-y_FzKxaQ.mjs → snippet-C4h-GMUf.mjs} +5 -5
- package/dist/{stash-BVMerTaF.mjs → stash-DxmpBS7x.mjs} +6 -6
- package/dist/{status-C-0jFjFn.mjs → status-B5ar0uXc.mjs} +2 -2
- package/dist/{status-x8bDOa1i.mjs → status-D5CR1SrS.mjs} +5 -5
- package/dist/{summary-B-R9SdMF.mjs → summary-BEEJl2O1.mjs} +3 -3
- package/dist/{sync-schema-wne2KXIW.mjs → sync-schema-B5HDpmrp.mjs} +5 -5
- package/dist/{table-CS2-2INi.mjs → table-DHmaW3Ec.mjs} +4 -4
- 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-Cq2_muWO.mjs +31 -0
- package/dist/transform-job-BpebgMnq.mjs +25 -0
- package/dist/{transform-tag-DaNKreDj.mjs → transform-tag-B1xnFa9w.mjs} +4 -4
- package/dist/{transforms-DB2WNP2R.mjs → transforms-CLkv3e81.mjs} +4 -4
- package/dist/{tree-BIOphGVs.mjs → tree-CB2IURsX.mjs} +2 -2
- package/dist/{unpublish-BWM36ZTg.mjs → unpublish-BkZldbkP.mjs} +4 -4
- package/dist/update-8bTrglfc.mjs +52 -0
- package/dist/{update-CTZg2Lia.mjs → update-B1dkPypu.mjs} +9 -9
- package/dist/{update-6umfSz5t.mjs → update-B4atxTx0.mjs} +5 -5
- package/dist/{update-DJDuIhYG.mjs → update-BHC3pwzR.mjs} +6 -6
- package/dist/{update-zfLbmC-H.mjs → update-BacyVaLu.mjs} +6 -6
- package/dist/{update-BlzcZwRQ.mjs → update-BghbOcv6.mjs} +7 -7
- package/dist/{update-Sz0QRGWB.mjs → update-CGWTX1Z0.mjs} +5 -5
- package/dist/{update-BCbv880u.mjs → update-CO9uCJxV.mjs} +7 -7
- package/dist/{update-7Ts7KrB8.mjs → update-Cyxjg496.mjs} +5 -5
- package/dist/{update-HxYcvpSq.mjs → update-D7Ia9Qrt.mjs} +7 -7
- package/dist/{update-BiUeEGU-.mjs → update-D80GWpWl.mjs} +7 -7
- package/dist/update-DajyWtBN.mjs +52 -0
- package/dist/{update-dashcard-CfDpy7Lz.mjs → update-dashcard-DLq7ihNO.mjs} +5 -5
- package/dist/{update-BchtHlbH.mjs → update-iY9WZqy0.mjs} +5 -5
- package/dist/{upgrade-BWl0VjMK.mjs → upgrade-CXoNQ4FH.mjs} +4 -4
- package/dist/{upload-CPzOhGeX.mjs → upload-D3eiApa0.mjs} +3 -3
- package/dist/{uuid-D_YeqDui.mjs → uuid-D6dao_q4.mjs} +2 -2
- package/dist/{validate-clAWO3X-.mjs → validate-Cqa14t7o.mjs} +1 -1
- package/dist/{validate-query-CsK2_2_u.mjs → validate-query-D1N30wJ7.mjs} +2 -2
- package/dist/{values-DSk8ZJ3B.mjs → values-DIBAgSyz.mjs} +3 -3
- package/dist/{verify-DkQdLjf3.mjs → verify-DvhZWmS2.mjs} +2 -2
- package/dist/{wait-DvSsMjea.mjs → wait-CW1OawkI.mjs} +5 -5
- package/dist/{wait-flags-dXGThljd.mjs → wait-flags-DvNU8ahZ.mjs} +2 -2
- package/package.json +1 -1
- package/skill-data/core/SKILL.md +4 -2
- package/skill-data/visualization/SKILL.md +1 -0
- package/dist/add-collection-DlAwt2Z3.mjs +0 -9
- package/dist/git-sync-JHa7bIyY.mjs +0 -31
- package/dist/is-dirty-Bb2dfEYs.mjs +0 -8
- package/dist/transform-6hqM1DXA.mjs +0 -31
- package/dist/transform-job-DuERhLaj.mjs +0 -25
- /package/dist/{transform-JQel7e5H.mjs → transform-BVHYzWpK.mjs} +0 -0
- /package/dist/{transform-job-CtVziW85.mjs → transform-job-CjsAXMej.mjs} +0 -0
- /package/dist/{transform-tag-wFiWmiyO.mjs → transform-tag--IBQ-8Ij.mjs} +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { connectionFlags, outputFlags, profileFlag, renderSummary, warn } from "./capabilities-
|
|
1
|
+
import { connectionFlags, outputFlags, profileFlag, renderSummary, warn } from "./capabilities-DOTcPraV.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
4
|
-
import "./parse-id-
|
|
5
|
-
import "./poll-
|
|
6
|
-
import { gitSyncWaitFlags, parseWaitFlags } from "./wait-flags-
|
|
7
|
-
import { REMOTE_SYNC_PATHS, SyncTask, formatSyncTask, pollSyncTask, throwIfFailedTask } from "./poll-task-
|
|
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";
|
|
8
8
|
import { z } from "zod";
|
|
9
9
|
|
|
10
10
|
//#region src/commands/git-sync/export.ts
|
|
@@ -10,10 +10,10 @@ var field_default = defineCommandGroup({
|
|
|
10
10
|
purpose: "semantic types, FK targets, visibility, dropdown behavior"
|
|
11
11
|
}],
|
|
12
12
|
subCommands: {
|
|
13
|
-
get: () => import("./get-
|
|
14
|
-
values: () => import("./values-
|
|
15
|
-
summary: () => import("./summary-
|
|
16
|
-
update: () => import("./update-
|
|
13
|
+
get: () => import("./get-CHAH_F37.mjs").then((m) => m.default),
|
|
14
|
+
values: () => import("./values-DIBAgSyz.mjs").then((m) => m.default),
|
|
15
|
+
summary: () => import("./summary-BEEJl2O1.mjs").then((m) => m.default),
|
|
16
|
+
update: () => import("./update-B4atxTx0.mjs").then((m) => m.default)
|
|
17
17
|
}
|
|
18
18
|
});
|
|
19
19
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { connectionFlags, listEnvelopeSchema, outputFlags, profileFlag, renderList, wrapList } from "./capabilities-
|
|
1
|
+
import { connectionFlags, listEnvelopeSchema, outputFlags, profileFlag, renderList, wrapList } from "./capabilities-DOTcPraV.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-Ab96yYlM.mjs";
|
|
4
4
|
import { FieldCompact, fieldView } from "./field-DsXTeqBy.mjs";
|
|
5
|
-
import { parseId } from "./parse-id-
|
|
5
|
+
import { parseId } from "./parse-id-CD54Chc5.mjs";
|
|
6
6
|
import { TableQueryMetadata } from "./table-C3RIKiYM.mjs";
|
|
7
7
|
|
|
8
8
|
//#region src/commands/table/fields.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { connectionFlags, outputFlags, profileFlag, renderItem } from "./capabilities-
|
|
1
|
+
import { connectionFlags, outputFlags, profileFlag, renderItem } from "./capabilities-DOTcPraV.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
4
|
-
import { parseId } from "./parse-id-
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-Ab96yYlM.mjs";
|
|
4
|
+
import { parseId } from "./parse-id-CD54Chc5.mjs";
|
|
5
5
|
import { Measure, measureView } from "./measure-S9WszHre.mjs";
|
|
6
6
|
|
|
7
7
|
//#region src/commands/measure/get.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { connectionFlags, outputFlags, profileFlag, renderItem } from "./capabilities-
|
|
1
|
+
import { connectionFlags, outputFlags, profileFlag, renderItem } from "./capabilities-DOTcPraV.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
-
import { defineMetabaseCommand, parseEnum } from "./runtime-
|
|
3
|
+
import { defineMetabaseCommand, parseEnum } from "./runtime-Ab96yYlM.mjs";
|
|
4
4
|
import "./field-DsXTeqBy.mjs";
|
|
5
|
-
import { parseId } from "./parse-id-
|
|
5
|
+
import { parseId } from "./parse-id-CD54Chc5.mjs";
|
|
6
6
|
import "./table-C3RIKiYM.mjs";
|
|
7
7
|
import { Database, databaseView } from "./database-CIbVSfua.mjs";
|
|
8
8
|
import { z } from "zod";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { connectionFlags, outputFlags, profileFlag, renderItem } from "./capabilities-
|
|
1
|
+
import { connectionFlags, outputFlags, profileFlag, renderItem } from "./capabilities-DOTcPraV.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
4
|
-
import { parseId } from "./parse-id-
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-Ab96yYlM.mjs";
|
|
4
|
+
import { parseId } from "./parse-id-CD54Chc5.mjs";
|
|
5
5
|
import { Snippet, snippetView } from "./snippet-DWiXNy4T.mjs";
|
|
6
6
|
|
|
7
7
|
//#region src/commands/snippet/get.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { connectionFlags, outputFlags, profileFlag, renderItem } from "./capabilities-
|
|
1
|
+
import { connectionFlags, outputFlags, profileFlag, renderItem } from "./capabilities-DOTcPraV.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
4
|
-
import { parseId } from "./parse-id-
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-Ab96yYlM.mjs";
|
|
4
|
+
import { parseId } from "./parse-id-CD54Chc5.mjs";
|
|
5
5
|
import { Document, documentView } from "./document-CL4ML5FN.mjs";
|
|
6
6
|
|
|
7
7
|
//#region src/commands/document/get.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { connectionFlags, outputFlags, profileFlag, renderItem } from "./capabilities-
|
|
1
|
+
import { connectionFlags, outputFlags, profileFlag, renderItem } from "./capabilities-DOTcPraV.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-Ab96yYlM.mjs";
|
|
4
4
|
import { Field, fieldView } from "./field-DsXTeqBy.mjs";
|
|
5
|
-
import { parseId } from "./parse-id-
|
|
5
|
+
import { parseId } from "./parse-id-CD54Chc5.mjs";
|
|
6
6
|
|
|
7
7
|
//#region src/commands/field/get.ts
|
|
8
8
|
var get_default = defineMetabaseCommand({
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { connectionFlags, outputFlags, profileFlag, renderItem } from "./capabilities-
|
|
1
|
+
import { connectionFlags, outputFlags, profileFlag, renderItem } from "./capabilities-DOTcPraV.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
4
|
-
import { parseId } from "./parse-id-
|
|
5
|
-
import { TransformJob, transformJobView } from "./transform-job-
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-Ab96yYlM.mjs";
|
|
4
|
+
import { parseId } from "./parse-id-CD54Chc5.mjs";
|
|
5
|
+
import { TransformJob, transformJobView } from "./transform-job-CjsAXMej.mjs";
|
|
6
6
|
|
|
7
7
|
//#region src/commands/transform-job/get.ts
|
|
8
8
|
var get_default = defineMetabaseCommand({
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { connectionFlags, formatScalar, outputFlags, profileFlag, renderSummary } from "./capabilities-
|
|
1
|
+
import { connectionFlags, formatScalar, outputFlags, profileFlag, renderSummary } from "./capabilities-DOTcPraV.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
-
import { defineMetabaseCommand, parseJsonOrPlain } from "./runtime-
|
|
3
|
+
import { defineMetabaseCommand, parseJsonOrPlain } from "./runtime-Ab96yYlM.mjs";
|
|
4
4
|
import { SettingValue, settingValueView } from "./setting-Cko6bE_w.mjs";
|
|
5
|
-
import { parseSettingKey, rethrowSettingError } from "./key-
|
|
5
|
+
import { parseSettingKey, rethrowSettingError } from "./key-BnGRTX8U.mjs";
|
|
6
6
|
import { z } from "zod";
|
|
7
7
|
|
|
8
8
|
//#region src/commands/setting/get.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { connectionFlags, outputFlags, profileFlag, renderItem } from "./capabilities-
|
|
1
|
+
import { connectionFlags, outputFlags, profileFlag, renderItem } from "./capabilities-DOTcPraV.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-Ab96yYlM.mjs";
|
|
4
4
|
import "./collection-CFoLPrY5.mjs";
|
|
5
5
|
import { Library, fetchLibrary, libraryView } from "./resolve-Ct084wx3.mjs";
|
|
6
6
|
|
|
@@ -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 { Timeline, timelineView } from "./timeline-BCTRThc-.mjs";
|
|
6
|
+
|
|
7
|
+
//#region src/commands/timeline/get.ts
|
|
8
|
+
var get_default = defineMetabaseCommand({
|
|
9
|
+
meta: {
|
|
10
|
+
name: "get",
|
|
11
|
+
description: "Get a timeline by id"
|
|
12
|
+
},
|
|
13
|
+
capabilities: { minVersion: 58 },
|
|
14
|
+
args: {
|
|
15
|
+
...outputFlags,
|
|
16
|
+
...profileFlag,
|
|
17
|
+
...connectionFlags,
|
|
18
|
+
id: {
|
|
19
|
+
type: "positional",
|
|
20
|
+
description: "Timeline id",
|
|
21
|
+
required: true
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
outputSchema: Timeline,
|
|
25
|
+
examples: ["mb timeline get 1", "mb timeline get 1 --json"],
|
|
26
|
+
async run({ args, ctx, getClient }) {
|
|
27
|
+
const id = parseId(args.id);
|
|
28
|
+
const client = await getClient();
|
|
29
|
+
const timeline = await client.requestParsed(Timeline, `/api/timeline/${id}`);
|
|
30
|
+
renderItem(timeline, timelineView, ctx);
|
|
31
|
+
}
|
|
32
|
+
});
|
|
33
|
+
|
|
34
|
+
//#endregion
|
|
35
|
+
export { get_default as default };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { connectionFlags, outputFlags, profileFlag, renderItem } from "./capabilities-
|
|
1
|
+
import { connectionFlags, outputFlags, profileFlag, renderItem } from "./capabilities-DOTcPraV.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-Ab96yYlM.mjs";
|
|
4
4
|
import "./embedding-CKdw8q7p.mjs";
|
|
5
5
|
import "./parameter-BZ6y-Gfs.mjs";
|
|
6
|
-
import { parseId } from "./parse-id-
|
|
6
|
+
import { parseId } from "./parse-id-CD54Chc5.mjs";
|
|
7
7
|
import { DashboardDetail, dashboardView } from "./dashboard-B-MTpfeS.mjs";
|
|
8
8
|
|
|
9
9
|
//#region src/commands/dashboard/get.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { connectionFlags, outputFlags, profileFlag, renderItem } from "./capabilities-
|
|
1
|
+
import { connectionFlags, outputFlags, profileFlag, renderItem } from "./capabilities-DOTcPraV.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-Ab96yYlM.mjs";
|
|
4
4
|
import { Collection, collectionView } from "./collection-CFoLPrY5.mjs";
|
|
5
|
-
import { parseCollectionRef } from "./parse-ref-
|
|
5
|
+
import { parseCollectionRef } from "./parse-ref-BLgKEEF-.mjs";
|
|
6
6
|
|
|
7
7
|
//#region src/commands/collection/get.ts
|
|
8
8
|
var get_default = defineMetabaseCommand({
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { connectionFlags, outputFlags, profileFlag, renderItem } from "./capabilities-
|
|
1
|
+
import { connectionFlags, outputFlags, profileFlag, renderItem } from "./capabilities-DOTcPraV.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
4
|
-
import { parseId } from "./parse-id-
|
|
5
|
-
import { Transform, transformView } from "./transform-
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-Ab96yYlM.mjs";
|
|
4
|
+
import { parseId } from "./parse-id-CD54Chc5.mjs";
|
|
5
|
+
import { Transform, transformView } from "./transform-BVHYzWpK.mjs";
|
|
6
6
|
|
|
7
7
|
//#region src/commands/transform/get.ts
|
|
8
8
|
var get_default = defineMetabaseCommand({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { connectionFlags, outputFlags, profileFlag, renderItem } from "./capabilities-
|
|
1
|
+
import { connectionFlags, outputFlags, profileFlag, renderItem } from "./capabilities-DOTcPraV.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
4
|
-
import { parseId } from "./parse-id-
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-Ab96yYlM.mjs";
|
|
4
|
+
import { parseId } from "./parse-id-CD54Chc5.mjs";
|
|
5
5
|
import { Segment, segmentView } from "./segment-BPb1H6DW.mjs";
|
|
6
6
|
|
|
7
7
|
//#region src/commands/segment/get.ts
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { connectionFlags, outputFlags, profileFlag, renderItem } from "./capabilities-
|
|
1
|
+
import { connectionFlags, outputFlags, profileFlag, renderItem } from "./capabilities-DOTcPraV.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-Ab96yYlM.mjs";
|
|
4
4
|
import "./embedding-CKdw8q7p.mjs";
|
|
5
5
|
import "./field-DsXTeqBy.mjs";
|
|
6
6
|
import "./parameter-BZ6y-Gfs.mjs";
|
|
7
7
|
import { Card, cardView } from "./card-B8G5jQQT.mjs";
|
|
8
|
-
import { parseId } from "./parse-id-
|
|
8
|
+
import { parseId } from "./parse-id-CD54Chc5.mjs";
|
|
9
9
|
|
|
10
10
|
//#region src/commands/card/get.ts
|
|
11
11
|
var get_default = defineMetabaseCommand({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ConfigError, listEnvelopeSchema, outputFlags, renderList, wrapList, writeText } from "./capabilities-
|
|
1
|
+
import { ConfigError, listEnvelopeSchema, outputFlags, renderList, wrapList, writeText } from "./capabilities-DOTcPraV.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
-
import { defineMetabaseCommand, parseCsv } from "./runtime-
|
|
4
|
-
import { SkillContent, loadAllSkills, loadVisibleSkills, readSkillContent, selectSkillsByNames } from "./skills-
|
|
3
|
+
import { defineMetabaseCommand, parseCsv } from "./runtime-Ab96yYlM.mjs";
|
|
4
|
+
import { SkillContent, loadAllSkills, loadVisibleSkills, readSkillContent, selectSkillsByNames } from "./skills-BKuiGkc1.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/commands/skills/get.ts
|
|
7
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,8 +1,8 @@
|
|
|
1
|
-
import { connectionFlags, outputFlags, profileFlag, renderItem } from "./capabilities-
|
|
1
|
+
import { connectionFlags, outputFlags, profileFlag, renderItem } from "./capabilities-DOTcPraV.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
-
import { defineMetabaseCommand, parseEnum } from "./runtime-
|
|
3
|
+
import { defineMetabaseCommand, parseEnum } from "./runtime-Ab96yYlM.mjs";
|
|
4
4
|
import "./field-DsXTeqBy.mjs";
|
|
5
|
-
import { parseId } from "./parse-id-
|
|
5
|
+
import { parseId } from "./parse-id-CD54Chc5.mjs";
|
|
6
6
|
import { Table, TableQueryMetadata, tableView } from "./table-C3RIKiYM.mjs";
|
|
7
7
|
import { z } from "zod";
|
|
8
8
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { connectionFlags, outputFlags, profileFlag, renderItem } from "./capabilities-
|
|
1
|
+
import { connectionFlags, outputFlags, profileFlag, renderItem } from "./capabilities-DOTcPraV.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
4
|
-
import { parseId } from "./parse-id-
|
|
5
|
-
import { TransformRun, transformRunView } from "./transform-
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-Ab96yYlM.mjs";
|
|
4
|
+
import { parseId } from "./parse-id-CD54Chc5.mjs";
|
|
5
|
+
import { TransformRun, transformRunView } from "./transform-BVHYzWpK.mjs";
|
|
6
6
|
|
|
7
7
|
//#region src/commands/transform/get-run.ts
|
|
8
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,8 +1,8 @@
|
|
|
1
|
-
import { connectionFlags, outputFlags, profileFlag, renderSummary } from "./capabilities-
|
|
1
|
+
import { connectionFlags, outputFlags, profileFlag, renderSummary } from "./capabilities-DOTcPraV.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
4
|
-
import "./poll-
|
|
5
|
-
import { REMOTE_SYNC_PATHS } from "./poll-task-
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-Ab96yYlM.mjs";
|
|
4
|
+
import "./poll-DVF9EnEb.mjs";
|
|
5
|
+
import { REMOTE_SYNC_PATHS } from "./poll-task-CpHGQOd5.mjs";
|
|
6
6
|
import { z } from "zod";
|
|
7
7
|
|
|
8
8
|
//#region src/commands/git-sync/has-remote-changes.ts
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { connectionFlags, outputFlags, profileFlag, renderSummary } from "./capabilities-
|
|
1
|
+
import { connectionFlags, outputFlags, profileFlag, renderSummary } from "./capabilities-DOTcPraV.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
4
|
-
import "./parse-id-
|
|
5
|
-
import "./poll-
|
|
6
|
-
import { gitSyncWaitFlags, parseWaitFlags } from "./wait-flags-
|
|
7
|
-
import { REMOTE_SYNC_PATHS, SyncTask, formatSyncTask, pollSyncTask, throwIfFailedTask } from "./poll-task-
|
|
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";
|
|
8
8
|
import { z } from "zod";
|
|
9
9
|
|
|
10
10
|
//#region src/commands/git-sync/import.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { connectionFlags, outputFlags, profileFlag, renderSummary } from "./capabilities-
|
|
2
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { REMOTE_SYNC_PATHS } from "./poll-task-
|
|
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";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
|
|
6
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,9 +1,9 @@
|
|
|
1
|
-
import { connectionFlags, listEnvelopeSchema, outputFlags, profileFlag, renderList } from "./capabilities-
|
|
1
|
+
import { connectionFlags, listEnvelopeSchema, outputFlags, profileFlag, renderList } from "./capabilities-DOTcPraV.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
-
import { defineMetabaseCommand, parseEnum, parseEnumCsv } from "./runtime-
|
|
4
|
-
import { parseId } from "./parse-id-
|
|
3
|
+
import { defineMetabaseCommand, parseEnum, parseEnumCsv } from "./runtime-Ab96yYlM.mjs";
|
|
4
|
+
import { parseId } from "./parse-id-CD54Chc5.mjs";
|
|
5
5
|
import { COLLECTION_ITEM_FILTER_MODELS, COLLECTION_PINNED_STATES, CollectionItem, CollectionItemCompact, CollectionItemFilterModel, CollectionPinnedState, collectionItemView } from "./collection-CFoLPrY5.mjs";
|
|
6
|
-
import { parseCollectionRef } from "./parse-ref-
|
|
6
|
+
import { parseCollectionRef } from "./parse-ref-BLgKEEF-.mjs";
|
|
7
7
|
import { collectPaginated } from "./paginate-CMqbqhMC.mjs";
|
|
8
8
|
|
|
9
9
|
//#region src/commands/collection/items.ts
|
|
@@ -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,7 +1,7 @@
|
|
|
1
|
-
import { connectionFlags, listEnvelopeSchema, outputFlags, profileFlag, renderList, wrapList } from "./capabilities-
|
|
1
|
+
import { connectionFlags, listEnvelopeSchema, outputFlags, profileFlag, renderList, wrapList } from "./capabilities-DOTcPraV.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
4
|
-
import { Transform, TransformCompact, transformView } from "./transform-
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-Ab96yYlM.mjs";
|
|
4
|
+
import { Transform, TransformCompact, transformView } from "./transform-BVHYzWpK.mjs";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
|
|
7
7
|
//#region src/commands/transform/list.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { listEnvelopeSchema, listTruncationNotice, outputFlags, renderList, warn, wrapList } from "./capabilities-
|
|
1
|
+
import { listEnvelopeSchema, listTruncationNotice, outputFlags, renderList, warn, wrapList } from "./capabilities-DOTcPraV.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
4
|
-
import { loadVisibleSkills } from "./skills-
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-Ab96yYlM.mjs";
|
|
4
|
+
import { loadVisibleSkills } from "./skills-BKuiGkc1.mjs";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
|
|
7
7
|
//#region src/output/skill-list.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { connectionFlags, listEnvelopeSchema, outputFlags, profileFlag, renderList, wrapList } from "./capabilities-
|
|
1
|
+
import { connectionFlags, listEnvelopeSchema, outputFlags, profileFlag, renderList, wrapList } from "./capabilities-DOTcPraV.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
4
|
-
import { TransformTag, TransformTagCompact, transformTagView } from "./transform-tag-
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-Ab96yYlM.mjs";
|
|
4
|
+
import { TransformTag, TransformTagCompact, transformTagView } from "./transform-tag--IBQ-8Ij.mjs";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
|
|
7
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,7 +1,7 @@
|
|
|
1
|
-
import { connectionFlags, listEnvelopeSchema, outputFlags, profileFlag, renderList, wrapList } from "./capabilities-
|
|
1
|
+
import { connectionFlags, listEnvelopeSchema, outputFlags, profileFlag, renderList, wrapList } from "./capabilities-DOTcPraV.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
4
|
-
import { parseEnumFlag } from "./parse-enum-
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-Ab96yYlM.mjs";
|
|
4
|
+
import { parseEnumFlag } from "./parse-enum-C_2lGr3g.mjs";
|
|
5
5
|
import { Collection, CollectionCompact, collectionView } from "./collection-CFoLPrY5.mjs";
|
|
6
6
|
import { z } from "zod";
|
|
7
7
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { connectionFlags, listEnvelopeSchema, outputFlags, profileFlag, renderList, wrapList } from "./capabilities-
|
|
1
|
+
import { connectionFlags, listEnvelopeSchema, outputFlags, profileFlag, renderList, wrapList } from "./capabilities-DOTcPraV.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-Ab96yYlM.mjs";
|
|
4
4
|
import "./embedding-CKdw8q7p.mjs";
|
|
5
5
|
import "./parameter-BZ6y-Gfs.mjs";
|
|
6
|
-
import { parseEnumFlag } from "./parse-enum-
|
|
6
|
+
import { parseEnumFlag } from "./parse-enum-C_2lGr3g.mjs";
|
|
7
7
|
import { Dashboard, DashboardCompact, dashboardView } from "./dashboard-B-MTpfeS.mjs";
|
|
8
8
|
import { z } from "zod";
|
|
9
9
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { connectionFlags, listEnvelopeSchema, outputFlags, profileFlag, renderList, wrapList } from "./capabilities-
|
|
1
|
+
import { connectionFlags, listEnvelopeSchema, outputFlags, profileFlag, renderList, wrapList } from "./capabilities-DOTcPraV.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-Ab96yYlM.mjs";
|
|
4
4
|
import "./field-DsXTeqBy.mjs";
|
|
5
|
-
import { parseId } from "./parse-id-
|
|
5
|
+
import { parseId } from "./parse-id-CD54Chc5.mjs";
|
|
6
6
|
import { Table, TableCompact, tableView } from "./table-C3RIKiYM.mjs";
|
|
7
7
|
import { z } from "zod";
|
|
8
8
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { connectionFlags, listEnvelopeSchema, outputFlags, profileFlag, renderList } from "./capabilities-
|
|
1
|
+
import { connectionFlags, listEnvelopeSchema, outputFlags, profileFlag, renderList } from "./capabilities-DOTcPraV.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
-
import { defineMetabaseCommand, parseEnum } from "./runtime-
|
|
3
|
+
import { defineMetabaseCommand, parseEnum } from "./runtime-Ab96yYlM.mjs";
|
|
4
4
|
import "./field-DsXTeqBy.mjs";
|
|
5
5
|
import "./table-C3RIKiYM.mjs";
|
|
6
6
|
import { Database, DatabaseCompact, databaseView } from "./database-CIbVSfua.mjs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { connectionFlags, listEnvelopeSchema, outputFlags, profileFlag, renderList, wrapList } from "./capabilities-
|
|
1
|
+
import { connectionFlags, listEnvelopeSchema, outputFlags, profileFlag, renderList, wrapList } from "./capabilities-DOTcPraV.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-Ab96yYlM.mjs";
|
|
4
4
|
import { Document, DocumentCompact, documentView } from "./document-CL4ML5FN.mjs";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { connectionFlags, listEnvelopeSchema, outputFlags, profileFlag, renderList, wrapList } from "./capabilities-
|
|
1
|
+
import { connectionFlags, listEnvelopeSchema, outputFlags, profileFlag, renderList, wrapList } from "./capabilities-DOTcPraV.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
4
|
-
import { TransformJob, TransformJobCompact, transformJobView } from "./transform-job-
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-Ab96yYlM.mjs";
|
|
4
|
+
import { TransformJob, TransformJobCompact, transformJobView } from "./transform-job-CjsAXMej.mjs";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
|
|
7
7
|
//#region src/commands/transform-job/list.ts
|