@metabase/cli 0.1.15 → 0.1.16
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 +48 -32
- package/dist/add-collection-BqfYL4FU.mjs +10 -0
- package/dist/{add-collection-CXhrMjXU.mjs → add-collection-H4LcP-9B.mjs} +4 -4
- package/dist/{archive-Drt-rWvU.mjs → archive-B3cjzOIK.mjs} +5 -5
- package/dist/{archive-BUwiCFnd.mjs → archive-BCXoM1nX.mjs} +3 -3
- package/dist/{archive-BxGSR7El.mjs → archive-C6MDtV1F.mjs} +3 -3
- package/dist/{archive-D-Ovk0-E.mjs → archive-CQQWkC5S.mjs} +4 -4
- package/dist/{archive-yTvDRQUZ.mjs → archive-CdUS-OG9.mjs} +3 -3
- package/dist/{archive-Blc1dz8Z.mjs → archive-D1mfiftv.mjs} +5 -5
- package/dist/{archive-CQiaCBSj.mjs → archive-hN8PfvhX.mjs} +3 -3
- package/dist/auth-BaCMFLTA.mjs +19 -0
- package/dist/{body-B9XTTDEu.mjs → body-DB2upz6a.mjs} +1 -1
- package/dist/{branches-Ct3PK5U3.mjs → branches-B6R60Vr1.mjs} +4 -4
- package/dist/{cancel-tST8Bh0w.mjs → cancel-oPsWomYc.mjs} +3 -3
- package/dist/{cancel-task-BHnzRQKL.mjs → cancel-task-CleJVDNI.mjs} +4 -4
- package/dist/card-DzH3aK0a.mjs +20 -0
- package/dist/{cards-BySIFsLG.mjs → cards-Bw37jizL.mjs} +3 -3
- package/dist/cli.mjs +26 -25
- package/dist/collection-Wagz-ira.mjs +20 -0
- package/dist/{collection-namespace-D8ohM5gD.mjs → collection-namespace-CUDPh2rF.mjs} +1 -1
- package/dist/{create-4mAGsBd0.mjs → create-B-mvVFIl.mjs} +3 -3
- package/dist/{create-DxDD6n1d.mjs → create-B87ZQjNM.mjs} +5 -5
- package/dist/{create-D3cVDtxM.mjs → create-BEkuqChu.mjs} +4 -4
- package/dist/{create-HZ-9GMLx.mjs → create-Bj6PuaAW.mjs} +4 -4
- package/dist/{create-C7FPeJqF.mjs → create-CF2Zn4pT.mjs} +3 -3
- package/dist/create-CZ0_s5ap.mjs +34 -0
- package/dist/{create-fIDFkdox.mjs → create-CfLaBO0V.mjs} +4 -4
- package/dist/{create-DGxZmbxh.mjs → create-Cy2TNnJB.mjs} +4 -4
- package/dist/{create-DnT1Sayk.mjs → create-D-qE3Oq8.mjs} +3 -3
- package/dist/{create-C43RQYgj.mjs → create-DSWjS09p.mjs} +4 -4
- package/dist/{create-BDWthCYq.mjs → create-DwoqFYb9.mjs} +4 -4
- package/dist/{create-branch-jPE7nW-E.mjs → create-branch-BaZ00MIc.mjs} +4 -4
- package/dist/{current-task-rW54KJax.mjs → current-task-Dr5dOD4V.mjs} +4 -4
- package/dist/dashboard-OUgS1Gi-.mjs +21 -0
- package/dist/{database-BmsxuRmO.mjs → database-BJxGUXhA.mjs} +1 -1
- package/dist/db-Btfl5JMZ.mjs +22 -0
- package/dist/{delete-BWO6uB4P.mjs → delete-DHrFA1SZ.mjs} +4 -4
- package/dist/{delete-CBwztF6P.mjs → delete-DJti0TOA.mjs} +4 -4
- package/dist/{delete-CeigtfRI.mjs → delete-evwMw6Hk.mjs} +4 -4
- package/dist/{delete-table-BXzvDEPG.mjs → delete-table-DvuuwVqu.mjs} +4 -4
- package/dist/{dependencies-D2N9eqm1.mjs → dependencies-DrV31Rj5.mjs} +4 -4
- package/dist/{dirty-DoEZRSGB.mjs → dirty-C-rkrnVM.mjs} +4 -4
- package/dist/document-CU28GfFw.mjs +19 -0
- package/dist/{eid-1mROiwJr.mjs → eid-BeXI-eII.mjs} +3 -3
- package/dist/{error-D5bZ5BUX.mjs → error-CIObEXLY.mjs} +1 -1
- package/dist/{export-Bgv5B4_F.mjs → export-CGa-SgEV.mjs} +6 -6
- package/dist/field-BTbzlcyC.mjs +18 -0
- package/dist/{fields-VA7tXHJz.mjs → fields-Recymu7n.mjs} +4 -4
- package/dist/{get-C-UeGtgW.mjs → get-7fWSU6ow.mjs} +3 -3
- package/dist/{get-DvQoDU2m.mjs → get-BAH_M5vj.mjs} +4 -4
- package/dist/{get-BtAD26gc.mjs → get-BD_P_Ejc.mjs} +3 -3
- package/dist/{get-CqnCaosn.mjs → get-BM-d3-zk.mjs} +4 -4
- package/dist/{get-B8etVxWD.mjs → get-BQxLtFE-.mjs} +4 -4
- package/dist/{get-DLRBq8kR.mjs → get-C6g2C4dM.mjs} +4 -4
- package/dist/{get-D9o38nK5.mjs → get-CARdLkmp.mjs} +4 -4
- package/dist/{get-CGkhSY5L.mjs → get-CHi8tU_1.mjs} +5 -5
- package/dist/{get-Wj88mnhn.mjs → get-CXMv-r1p.mjs} +3 -3
- package/dist/{get-RQFSmnpY.mjs → get-CYh2DBsq.mjs} +3 -3
- package/dist/{get-BgIE_YEg.mjs → get-DaixPDU9.mjs} +4 -4
- package/dist/{get-qnGGGRTa.mjs → get-Nc5GOs6-.mjs} +3 -3
- package/dist/{get-eUYDNALt.mjs → get-Q2WZ79q_.mjs} +4 -4
- package/dist/get-b4xbfFbA.mjs +35 -0
- package/dist/{get-DAsaor0n.mjs → get-rFcAVIch.mjs} +2 -2
- package/dist/{get-run-CATz-XMS.mjs → get-run-CfQR6ZNa.mjs} +4 -4
- package/dist/git-sync-CBxS2urR.mjs +28 -0
- package/dist/{has-remote-changes-B6YEMC90.mjs → has-remote-changes-Bvyv4FLP.mjs} +4 -4
- package/dist/{import-Bl2Wj9Xf.mjs → import-c3o3OAx0.mjs} +6 -6
- package/dist/{is-dirty-D9MoFj0T.mjs → is-dirty-BE53XwOC.mjs} +3 -3
- package/dist/is-dirty-Z-pqyVyB.mjs +9 -0
- package/dist/{items-LjtICjvX.mjs → items-1KkBMiO4.mjs} +3 -3
- package/dist/library-BlbH0xyK.mjs +18 -0
- package/dist/{list-DMik04Dh.mjs → list-7rwzxX6t.mjs} +3 -3
- package/dist/{list-B5Q7E2Km.mjs → list-BC2B02IR.mjs} +3 -3
- package/dist/{list-DcjenlTM.mjs → list-BqgbrpQQ.mjs} +3 -3
- package/dist/list-BwdO1_gX.mjs +99 -0
- package/dist/{list-ChK06rJh.mjs → list-C4KnM3Rq.mjs} +2 -2
- package/dist/{list-Dq86BAMG.mjs → list-CO5J3SZU.mjs} +4 -4
- package/dist/{list-cnqPlJgC.mjs → list-CSjFJDls.mjs} +3 -3
- package/dist/{list-C410Ptw_.mjs → list-D52_BozQ.mjs} +2 -2
- package/dist/{list-DfoNv0gb.mjs → list-DHb4vQUM.mjs} +3 -3
- package/dist/{list-DtrfE0sF.mjs → list-DIvOPW1g.mjs} +4 -4
- package/dist/{list-DaJk60dd.mjs → list-DPcPTqFU.mjs} +3 -3
- package/dist/{list-Bjp9nd0o.mjs → list-DUEYX3bX.mjs} +2 -2
- package/dist/{list-CoRX8Ruc.mjs → list-Drr4JiWg.mjs} +3 -3
- package/dist/{list-CfWblVHJ.mjs → list-F0vkE22V.mjs} +2 -2
- package/dist/{list-C6U3Ftg8.mjs → list-FR8Q1SzV.mjs} +3 -3
- package/dist/{login-Cn2UtFUt.mjs → login-C0Rf2hg0.mjs} +3 -3
- package/dist/{logout-_HXgEmqA.mjs → logout-C7_UON-s.mjs} +2 -2
- package/dist/measure-BUedPu4K.mjs +19 -0
- package/dist/{metadata-8yqT8OZI.mjs → metadata-Db3Kpo-z.mjs} +5 -5
- package/dist/{metadata-DHODjg1d.mjs → metadata-FltZq5Ek.mjs} +4 -4
- package/dist/{parse-id-DNPeV0Iu.mjs → parse-id-B5adfBlS.mjs} +1 -1
- package/dist/{path-BflajM08.mjs → path-BojuJkE4.mjs} +3 -3
- package/dist/{poll-CYkX02Bm.mjs → poll-AduuU55-.mjs} +1 -1
- package/dist/{poll-task-oXpl3wzp.mjs → poll-task-B00Qwd87.mjs} +2 -2
- package/dist/{preflight-BdJr2amA.mjs → preflight-QVPvG_Xg.mjs} +1 -1
- package/dist/publish-h5RJh6im.mjs +66 -0
- package/dist/{query-DWQaN7hO.mjs → query-BUkuB4bZ.mjs} +3 -3
- package/dist/{query-CxTjguwp.mjs → query-Dvi-Rksy.mjs} +3 -3
- package/dist/{remove-collection-BwcFi8Fs.mjs → remove-collection-D8ZfB2RN.mjs} +6 -6
- package/dist/{rescan-values-B9Qtsd32.mjs → rescan-values-DOsDLrRG.mjs} +5 -5
- package/dist/resolve-BQ9vjlNJ.mjs +84 -0
- package/dist/{run-C-vftXCu.mjs → run-CeG0KH5W.mjs} +3 -3
- package/dist/{run-3eFtdI2Z.mjs → run-CjhD-Zbr.mjs} +6 -6
- package/dist/{runs-CpRTkn1W.mjs → runs-6k8C6kXF.mjs} +4 -4
- package/dist/{runtime-C1QgWHM7.mjs → runtime-CmAIahm5.mjs} +1 -1
- package/dist/{schema-tables-rdeupgsu.mjs → schema-tables-C45QegaY.mjs} +4 -4
- package/dist/{schemas-Cr7RjYqV.mjs → schemas-EVwEFuTj.mjs} +3 -3
- package/dist/{search-D7Yq2MDu.mjs → search-C_uw_D1U.mjs} +3 -3
- package/dist/segment-CkZUZcWz.mjs +19 -0
- package/dist/{selectors-DPc2ZDdd.mjs → selectors-AktxTEMK.mjs} +3 -3
- package/dist/{set-X2N6x7pe.mjs → set-C3EAuyb8.mjs} +5 -5
- package/dist/{set-active-BoBa3pOw.mjs → set-active-BW6LN6y0.mjs} +2 -2
- package/dist/{setting-zZjcOPyE.mjs → setting-C50HEiGG.mjs} +3 -3
- package/dist/{setup-C47WUieB.mjs → setup-CYrbNrlG.mjs} +3 -3
- package/dist/{skills-Po0YPVU5.mjs → skills-D6xQkmhu.mjs} +3 -3
- package/dist/snippet-BjaWAxCu.mjs +19 -0
- package/dist/{stash-BV4sEp73.mjs → stash-C1V2FvJR.mjs} +6 -6
- package/dist/{status-BKF9rRnk.mjs → status-CxYw6zQM.mjs} +5 -5
- package/dist/{status-Cf8c0NON.mjs → status-DY92F9mn.mjs} +2 -2
- package/dist/{summary-RgLcBcEh.mjs → summary-DOxgqJoA.mjs} +3 -3
- package/dist/{sync-schema-DKEel2Sv.mjs → sync-schema-CQPfffjU.mjs} +7 -7
- package/dist/table-B35ovbcd.mjs +19 -0
- package/dist/{table-qDD2kApF.mjs → table-CDMG0Zi5.mjs} +8 -1
- package/dist/transform-DF79sJ0_.mjs +25 -0
- package/dist/transform-job-PmA_D8gz.mjs +22 -0
- package/dist/transform-tag-CE3cuO1K.mjs +18 -0
- package/dist/{transforms-BOQ9CG0l.mjs → transforms-DzBJDydn.mjs} +4 -4
- package/dist/{tree-CF8mscd9.mjs → tree-B3f5F_dP.mjs} +2 -2
- package/dist/{unpublish-CmaRNjK3.mjs → unpublish-B5RDeN-V.mjs} +17 -16
- package/dist/{update-DR4WkAET.mjs → update-BIZ9XhjS.mjs} +5 -5
- package/dist/{update-nwXgVNQa.mjs → update-C0pFSc1B.mjs} +6 -6
- package/dist/{update-DoQpy9SA.mjs → update-CcvDVqNd.mjs} +4 -4
- package/dist/{update-BuypOaXq.mjs → update-CiWPEqQ-.mjs} +5 -5
- package/dist/{update-CgQOSuZt.mjs → update-D5gioyBa.mjs} +4 -4
- package/dist/{update-B59h7KmS.mjs → update-D698CaeV.mjs} +5 -5
- package/dist/{update-DERsb0eO.mjs → update-DOfL_KPx.mjs} +5 -5
- package/dist/{update-Kz4kyqY_.mjs → update-DSueNZRw.mjs} +5 -5
- package/dist/{update-DQPg0_-d.mjs → update-DudyZ-FP.mjs} +5 -5
- package/dist/{update-rhfPHALN.mjs → update-I3TA2Tem.mjs} +4 -4
- package/dist/{update-BXZBEeUp.mjs → update-PZPNx0Xd.mjs} +5 -5
- package/dist/{update-dashcard-BJVeSGvO.mjs → update-dashcard-BXZ4vS15.mjs} +4 -4
- package/dist/{upgrade-CNrkJF6s.mjs → upgrade-4cWfLu90.mjs} +2 -2
- package/dist/{uuid-Dpl3ALKq.mjs → uuid---pAboNQ.mjs} +2 -2
- package/dist/{values-DMYpkoEH.mjs → values-I503dI7K.mjs} +3 -3
- package/dist/{verify-By9ZYzx4.mjs → verify-BMhTWW9s.mjs} +1 -1
- package/dist/{wait-flags-DQrxnlwv.mjs → wait-flags-HtCL2l1r.mjs} +2 -2
- package/dist/{wait-BzIAj8lJ.mjs → wait-oMSs_IdS.mjs} +5 -5
- package/package.json +1 -1
- package/skill-data/core/SKILL.md +2 -2
- package/skill-data/data-transformation/SKILL.md +35 -28
- package/skill-data/semantic-layer/SKILL.md +5 -0
- package/dist/add-collection-Bnuh0d4j.mjs +0 -10
- package/dist/auth-Bkue4Psy.mjs +0 -19
- package/dist/card-faWo9ZWU.mjs +0 -20
- package/dist/collection-DcRz7fmf.mjs +0 -20
- package/dist/dashboard-pXAxJTTx.mjs +0 -21
- package/dist/db-CmHHj5eI.mjs +0 -22
- package/dist/document-DQIhL75C.mjs +0 -19
- package/dist/field-B-UcqFzm.mjs +0 -18
- package/dist/git-sync-CwOvcUI2.mjs +0 -28
- package/dist/is-dirty-MT0BT4CS.mjs +0 -9
- package/dist/list-Cx8JxS2C.mjs +0 -42
- package/dist/measure-BIAoqgcS.mjs +0 -19
- package/dist/publish-CGUkIqSm.mjs +0 -70
- package/dist/segment-BN8sFunv.mjs +0 -19
- package/dist/snippet-DK0ZA8m5.mjs +0 -19
- package/dist/table-COAKXNuj.mjs +0 -21
- package/dist/transform-Bto4U82j.mjs +0 -25
- package/dist/transform-job-_fW1y2tg.mjs +0 -22
- package/dist/transform-tag-C8n1oTr1.mjs +0 -18
- /package/dist/{delete-runtime-PzLFavb0.mjs → delete-runtime-CZMw_AGX.mjs} +0 -0
- /package/dist/{key-C8q5oIr5.mjs → key-DwiMOWRQ.mjs} +0 -0
- /package/dist/{manifest-DYeLri80.mjs → manifest-B2F8iL7X.mjs} +0 -0
- /package/dist/{measure-JJAdFoqK.mjs → measure-BCv5wDDN.mjs} +0 -0
- /package/dist/{revision-message-flag-C7zBeWEt.mjs → revision-message-flag-CP5NFrWQ.mjs} +0 -0
- /package/dist/{segment-B9SEv9V_.mjs → segment-BAUuELKs.mjs} +0 -0
- /package/dist/{setting-i0pugNHl.mjs → setting-DhMk0TNo.mjs} +0 -0
- /package/dist/{skills-CJ8g8fhQ.mjs → skills-DJsuBguh.mjs} +0 -0
- /package/dist/{snippet-NNzqlksR.mjs → snippet-D4SyVLKB.mjs} +0 -0
- /package/dist/{transform-n376akp8.mjs → transform-MmqHKGU-.mjs} +0 -0
- /package/dist/{transform-job-C8lIS-7Q.mjs → transform-job-CtVziW85.mjs} +0 -0
- /package/dist/{transform-tag-DB46AhAj.mjs → transform-tag-wFiWmiyO.mjs} +0 -0
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import "./command-augment-CAur0XOQ.mjs";
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-CIObEXLY.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-CmAIahm5.mjs";
|
|
4
4
|
import { renderSummary } from "./capabilities-BX1rnVuH.mjs";
|
|
5
5
|
import "./input-BXWgdKiS.mjs";
|
|
6
6
|
import "./field-E0IBy4Uw.mjs";
|
|
7
7
|
import "./card-wCPcuKSi.mjs";
|
|
8
|
-
import { readBody } from "./body-
|
|
8
|
+
import { readBody } from "./body-DB2upz6a.mjs";
|
|
9
9
|
import { bodyInputFlags } from "./body-flags-D7q87Btw.mjs";
|
|
10
10
|
import "./validate-VawhJ5Sc.mjs";
|
|
11
11
|
import { Dashboard, DashboardCreateInput, DashboardDetail, dashboardView } from "./dashboard-B4bn3z6t.mjs";
|
|
12
|
-
import { preflightDashcardCardReferences, wrapChainedDashboardWriteError } from "./preflight-
|
|
12
|
+
import { preflightDashcardCardReferences, wrapChainedDashboardWriteError } from "./preflight-QVPvG_Xg.mjs";
|
|
13
13
|
|
|
14
14
|
//#region src/commands/dashboard/create.ts
|
|
15
15
|
var create_default = defineMetabaseCommand({
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import "./command-augment-CAur0XOQ.mjs";
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-CIObEXLY.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-CmAIahm5.mjs";
|
|
4
4
|
import { renderSummary } from "./capabilities-BX1rnVuH.mjs";
|
|
5
5
|
import "./input-BXWgdKiS.mjs";
|
|
6
|
-
import { readBody } from "./body-
|
|
6
|
+
import { readBody } from "./body-DB2upz6a.mjs";
|
|
7
7
|
import { bodyInputFlags } from "./body-flags-D7q87Btw.mjs";
|
|
8
|
-
import { Snippet, SnippetCreateInput, snippetView } from "./snippet-
|
|
8
|
+
import { Snippet, SnippetCreateInput, snippetView } from "./snippet-D4SyVLKB.mjs";
|
|
9
9
|
|
|
10
10
|
//#region src/commands/snippet/create.ts
|
|
11
11
|
var create_default = defineMetabaseCommand({
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ConfigError } from "./command-augment-CAur0XOQ.mjs";
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-CIObEXLY.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-CmAIahm5.mjs";
|
|
4
4
|
import { renderSummary } from "./capabilities-BX1rnVuH.mjs";
|
|
5
|
-
import "./poll-
|
|
6
|
-
import { REMOTE_SYNC_PATHS } from "./poll-task-
|
|
5
|
+
import "./poll-AduuU55-.mjs";
|
|
6
|
+
import { REMOTE_SYNC_PATHS } from "./poll-task-B00Qwd87.mjs";
|
|
7
7
|
import { z } from "zod";
|
|
8
8
|
|
|
9
9
|
//#region src/commands/git-sync/create-branch.ts
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "./command-augment-CAur0XOQ.mjs";
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-CIObEXLY.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-CmAIahm5.mjs";
|
|
4
4
|
import { renderSummary } from "./capabilities-BX1rnVuH.mjs";
|
|
5
|
-
import "./poll-
|
|
6
|
-
import { SyncTaskOrIdle, fetchCurrentTask, formatSyncTask, syncTaskIdleView, syncTaskView } from "./poll-task-
|
|
5
|
+
import "./poll-AduuU55-.mjs";
|
|
6
|
+
import { SyncTaskOrIdle, fetchCurrentTask, formatSyncTask, syncTaskIdleView, syncTaskView } from "./poll-task-B00Qwd87.mjs";
|
|
7
7
|
|
|
8
8
|
//#region src/commands/git-sync/current-task.ts
|
|
9
9
|
const CurrentTaskResult = SyncTaskOrIdle;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { defineCommand } from "citty";
|
|
2
|
+
|
|
3
|
+
//#region src/commands/dashboard/index.ts
|
|
4
|
+
var dashboard_default = defineCommand({
|
|
5
|
+
meta: {
|
|
6
|
+
name: "dashboard",
|
|
7
|
+
description: "Manage Metabase dashboards"
|
|
8
|
+
},
|
|
9
|
+
subCommands: {
|
|
10
|
+
list: () => import("./list-C4KnM3Rq.mjs").then((mod) => mod.default),
|
|
11
|
+
get: () => import("./get-Nc5GOs6-.mjs").then((mod) => mod.default),
|
|
12
|
+
cards: () => import("./cards-Bw37jizL.mjs").then((mod) => mod.default),
|
|
13
|
+
create: () => import("./create-DSWjS09p.mjs").then((mod) => mod.default),
|
|
14
|
+
update: () => import("./update-DOfL_KPx.mjs").then((mod) => mod.default),
|
|
15
|
+
"update-dashcard": () => import("./update-dashcard-BXZ4vS15.mjs").then((mod) => mod.default),
|
|
16
|
+
archive: () => import("./archive-C6MDtV1F.mjs").then((mod) => mod.default)
|
|
17
|
+
}
|
|
18
|
+
});
|
|
19
|
+
|
|
20
|
+
//#endregion
|
|
21
|
+
export { dashboard_default as default };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { defineCommand } from "citty";
|
|
2
|
+
|
|
3
|
+
//#region src/commands/db/index.ts
|
|
4
|
+
var db_default = defineCommand({
|
|
5
|
+
meta: {
|
|
6
|
+
name: "db",
|
|
7
|
+
description: "Inspect and sync Metabase databases",
|
|
8
|
+
alias: "database"
|
|
9
|
+
},
|
|
10
|
+
subCommands: {
|
|
11
|
+
list: () => import("./list-CO5J3SZU.mjs").then((m) => m.default),
|
|
12
|
+
get: () => import("./get-CHi8tU_1.mjs").then((m) => m.default),
|
|
13
|
+
metadata: () => import("./metadata-Db3Kpo-z.mjs").then((m) => m.default),
|
|
14
|
+
schemas: () => import("./schemas-EVwEFuTj.mjs").then((m) => m.default),
|
|
15
|
+
"schema-tables": () => import("./schema-tables-C45QegaY.mjs").then((m) => m.default),
|
|
16
|
+
"sync-schema": () => import("./sync-schema-CQPfffjU.mjs").then((m) => m.default),
|
|
17
|
+
"rescan-values": () => import("./rescan-values-DOsDLrRG.mjs").then((m) => m.default)
|
|
18
|
+
}
|
|
19
|
+
});
|
|
20
|
+
|
|
21
|
+
//#endregion
|
|
22
|
+
export { db_default as default };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import "./command-augment-CAur0XOQ.mjs";
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-CIObEXLY.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-CmAIahm5.mjs";
|
|
4
4
|
import "./capabilities-BX1rnVuH.mjs";
|
|
5
5
|
import "./prompt-Bc_bHSD0.mjs";
|
|
6
|
-
import { parseId } from "./parse-id-
|
|
7
|
-
import { DeleteResult, confirmAndDelete } from "./delete-runtime-
|
|
6
|
+
import { parseId } from "./parse-id-B5adfBlS.mjs";
|
|
7
|
+
import { DeleteResult, confirmAndDelete } from "./delete-runtime-CZMw_AGX.mjs";
|
|
8
8
|
|
|
9
9
|
//#region src/commands/transform/delete.ts
|
|
10
10
|
var delete_default = defineMetabaseCommand({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import "./command-augment-CAur0XOQ.mjs";
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-CIObEXLY.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-CmAIahm5.mjs";
|
|
4
4
|
import "./capabilities-BX1rnVuH.mjs";
|
|
5
5
|
import "./prompt-Bc_bHSD0.mjs";
|
|
6
|
-
import { parseId } from "./parse-id-
|
|
7
|
-
import { DeleteResult, confirmAndDelete } from "./delete-runtime-
|
|
6
|
+
import { parseId } from "./parse-id-B5adfBlS.mjs";
|
|
7
|
+
import { DeleteResult, confirmAndDelete } from "./delete-runtime-CZMw_AGX.mjs";
|
|
8
8
|
|
|
9
9
|
//#region src/commands/transform-tag/delete.ts
|
|
10
10
|
var delete_default = defineMetabaseCommand({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import "./command-augment-CAur0XOQ.mjs";
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-CIObEXLY.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-CmAIahm5.mjs";
|
|
4
4
|
import "./capabilities-BX1rnVuH.mjs";
|
|
5
5
|
import "./prompt-Bc_bHSD0.mjs";
|
|
6
|
-
import { parseId } from "./parse-id-
|
|
7
|
-
import { DeleteResult, confirmAndDelete } from "./delete-runtime-
|
|
6
|
+
import { parseId } from "./parse-id-B5adfBlS.mjs";
|
|
7
|
+
import { DeleteResult, confirmAndDelete } from "./delete-runtime-CZMw_AGX.mjs";
|
|
8
8
|
|
|
9
9
|
//#region src/commands/transform-job/delete.ts
|
|
10
10
|
var delete_default = defineMetabaseCommand({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import "./command-augment-CAur0XOQ.mjs";
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-CIObEXLY.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-CmAIahm5.mjs";
|
|
4
4
|
import "./capabilities-BX1rnVuH.mjs";
|
|
5
5
|
import "./prompt-Bc_bHSD0.mjs";
|
|
6
|
-
import { parseId } from "./parse-id-
|
|
7
|
-
import { DeleteResult, confirmAndDelete } from "./delete-runtime-
|
|
6
|
+
import { parseId } from "./parse-id-B5adfBlS.mjs";
|
|
7
|
+
import { DeleteResult, confirmAndDelete } from "./delete-runtime-CZMw_AGX.mjs";
|
|
8
8
|
|
|
9
9
|
//#region src/commands/transform/delete-table.ts
|
|
10
10
|
var delete_table_default = defineMetabaseCommand({
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "./command-augment-CAur0XOQ.mjs";
|
|
2
|
-
import { connectionFlags, listEnvelopeSchema, outputFlags, profileFlag, wrapList } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
2
|
+
import { connectionFlags, listEnvelopeSchema, outputFlags, profileFlag, wrapList } from "./error-CIObEXLY.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-CmAIahm5.mjs";
|
|
4
4
|
import { renderList } from "./capabilities-BX1rnVuH.mjs";
|
|
5
|
-
import { parseId } from "./parse-id-
|
|
6
|
-
import { Transform, TransformCompact, transformView } from "./transform-
|
|
5
|
+
import { parseId } from "./parse-id-B5adfBlS.mjs";
|
|
6
|
+
import { Transform, TransformCompact, transformView } from "./transform-MmqHKGU-.mjs";
|
|
7
7
|
import { z } from "zod";
|
|
8
8
|
|
|
9
9
|
//#region src/commands/transform/dependencies.ts
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "./command-augment-CAur0XOQ.mjs";
|
|
2
|
-
import { connectionFlags, listEnvelopeSchema, outputFlags, profileFlag, wrapList } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
2
|
+
import { connectionFlags, listEnvelopeSchema, outputFlags, profileFlag, wrapList } from "./error-CIObEXLY.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-CmAIahm5.mjs";
|
|
4
4
|
import { renderList } from "./capabilities-BX1rnVuH.mjs";
|
|
5
|
-
import "./poll-
|
|
6
|
-
import { REMOTE_SYNC_PATHS, SyncDirtyItem, SyncDirtyItemCompact, syncDirtyItemView } from "./poll-task-
|
|
5
|
+
import "./poll-AduuU55-.mjs";
|
|
6
|
+
import { REMOTE_SYNC_PATHS, SyncDirtyItem, SyncDirtyItemCompact, syncDirtyItemView } from "./poll-task-B00Qwd87.mjs";
|
|
7
7
|
import { z } from "zod";
|
|
8
8
|
|
|
9
9
|
//#region src/commands/git-sync/dirty.ts
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { defineCommand } from "citty";
|
|
2
|
+
|
|
3
|
+
//#region src/commands/document/index.ts
|
|
4
|
+
var document_default = defineCommand({
|
|
5
|
+
meta: {
|
|
6
|
+
name: "document",
|
|
7
|
+
description: "Manage Metabase documents"
|
|
8
|
+
},
|
|
9
|
+
subCommands: {
|
|
10
|
+
list: () => import("./list-DUEYX3bX.mjs").then((mod) => mod.default),
|
|
11
|
+
get: () => import("./get-BD_P_Ejc.mjs").then((mod) => mod.default),
|
|
12
|
+
create: () => import("./create-D-qE3Oq8.mjs").then((mod) => mod.default),
|
|
13
|
+
update: () => import("./update-D5gioyBa.mjs").then((mod) => mod.default),
|
|
14
|
+
archive: () => import("./archive-CdUS-OG9.mjs").then((mod) => mod.default)
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
|
|
18
|
+
//#endregion
|
|
19
|
+
export { document_default as default };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ConfigError } from "./command-augment-CAur0XOQ.mjs";
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand, parseCsv } from "./runtime-
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-CIObEXLY.mjs";
|
|
3
|
+
import { defineMetabaseCommand, parseCsv } from "./runtime-CmAIahm5.mjs";
|
|
4
4
|
import { renderSummary } from "./capabilities-BX1rnVuH.mjs";
|
|
5
5
|
import "./input-BXWgdKiS.mjs";
|
|
6
|
-
import { readBody } from "./body-
|
|
6
|
+
import { readBody } from "./body-DB2upz6a.mjs";
|
|
7
7
|
import { bodyInputFlags } from "./body-flags-D7q87Btw.mjs";
|
|
8
8
|
import { z } from "zod";
|
|
9
9
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { warn } from "./command-augment-CAur0XOQ.mjs";
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-CIObEXLY.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-CmAIahm5.mjs";
|
|
4
4
|
import { renderSummary } from "./capabilities-BX1rnVuH.mjs";
|
|
5
|
-
import "./parse-id-
|
|
6
|
-
import "./poll-
|
|
7
|
-
import { gitSyncWaitFlags, parseWaitFlags } from "./wait-flags-
|
|
8
|
-
import { REMOTE_SYNC_PATHS, SyncTask, formatSyncTask, pollSyncTask, throwIfFailedTask } from "./poll-task-
|
|
5
|
+
import "./parse-id-B5adfBlS.mjs";
|
|
6
|
+
import "./poll-AduuU55-.mjs";
|
|
7
|
+
import { gitSyncWaitFlags, parseWaitFlags } from "./wait-flags-HtCL2l1r.mjs";
|
|
8
|
+
import { REMOTE_SYNC_PATHS, SyncTask, formatSyncTask, pollSyncTask, throwIfFailedTask } from "./poll-task-B00Qwd87.mjs";
|
|
9
9
|
import { z } from "zod";
|
|
10
10
|
|
|
11
11
|
//#region src/commands/git-sync/export.ts
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { defineCommand } from "citty";
|
|
2
|
+
|
|
3
|
+
//#region src/commands/field/index.ts
|
|
4
|
+
var field_default = defineCommand({
|
|
5
|
+
meta: {
|
|
6
|
+
name: "field",
|
|
7
|
+
description: "Manage Metabase fields"
|
|
8
|
+
},
|
|
9
|
+
subCommands: {
|
|
10
|
+
get: () => import("./get-CYh2DBsq.mjs").then((m) => m.default),
|
|
11
|
+
values: () => import("./values-I503dI7K.mjs").then((m) => m.default),
|
|
12
|
+
summary: () => import("./summary-DOxgqJoA.mjs").then((m) => m.default),
|
|
13
|
+
update: () => import("./update-CcvDVqNd.mjs").then((m) => m.default)
|
|
14
|
+
}
|
|
15
|
+
});
|
|
16
|
+
|
|
17
|
+
//#endregion
|
|
18
|
+
export { field_default as default };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import "./command-augment-CAur0XOQ.mjs";
|
|
2
|
-
import { connectionFlags, listEnvelopeSchema, outputFlags, profileFlag, wrapList } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
2
|
+
import { connectionFlags, listEnvelopeSchema, outputFlags, profileFlag, wrapList } from "./error-CIObEXLY.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-CmAIahm5.mjs";
|
|
4
4
|
import { renderList } from "./capabilities-BX1rnVuH.mjs";
|
|
5
5
|
import { FieldCompact, fieldView } from "./field-E0IBy4Uw.mjs";
|
|
6
|
-
import { parseId } from "./parse-id-
|
|
7
|
-
import { TableQueryMetadata } from "./table-
|
|
6
|
+
import { parseId } from "./parse-id-B5adfBlS.mjs";
|
|
7
|
+
import { TableQueryMetadata } from "./table-CDMG0Zi5.mjs";
|
|
8
8
|
|
|
9
9
|
//#region src/commands/table/fields.ts
|
|
10
10
|
const FieldListEnvelope = listEnvelopeSchema(FieldCompact);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ConfigError } from "./command-augment-CAur0XOQ.mjs";
|
|
2
|
-
import { listEnvelopeSchema, outputFlags, wrapList } from "./error-
|
|
3
|
-
import { defineMetabaseCommand, parseCsv } from "./runtime-
|
|
2
|
+
import { listEnvelopeSchema, outputFlags, wrapList } from "./error-CIObEXLY.mjs";
|
|
3
|
+
import { defineMetabaseCommand, parseCsv } from "./runtime-CmAIahm5.mjs";
|
|
4
4
|
import { renderList, writeText } from "./capabilities-BX1rnVuH.mjs";
|
|
5
|
-
import { SkillContent, loadAllSkills, loadVisibleSkills, readSkillContent, selectSkillsByNames } from "./skills-
|
|
5
|
+
import { SkillContent, loadAllSkills, loadVisibleSkills, readSkillContent, selectSkillsByNames } from "./skills-DJsuBguh.mjs";
|
|
6
6
|
|
|
7
7
|
//#region src/commands/skills/get.ts
|
|
8
8
|
const SkillGetEnvelope = listEnvelopeSchema(SkillContent);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "./command-augment-CAur0XOQ.mjs";
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-CIObEXLY.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-CmAIahm5.mjs";
|
|
4
4
|
import { renderItem } from "./capabilities-BX1rnVuH.mjs";
|
|
5
|
-
import { parseId } from "./parse-id-
|
|
6
|
-
import { TransformJob, transformJobView } from "./transform-job-
|
|
5
|
+
import { parseId } from "./parse-id-B5adfBlS.mjs";
|
|
6
|
+
import { TransformJob, transformJobView } from "./transform-job-CtVziW85.mjs";
|
|
7
7
|
|
|
8
8
|
//#region src/commands/transform-job/get.ts
|
|
9
9
|
var get_default = defineMetabaseCommand({
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "./command-augment-CAur0XOQ.mjs";
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-CIObEXLY.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-CmAIahm5.mjs";
|
|
4
4
|
import { renderItem } from "./capabilities-BX1rnVuH.mjs";
|
|
5
|
-
import { parseId } from "./parse-id-
|
|
5
|
+
import { parseId } from "./parse-id-B5adfBlS.mjs";
|
|
6
6
|
import { Document, documentView } from "./document-qfwR0r63.mjs";
|
|
7
7
|
|
|
8
8
|
//#region src/commands/document/get.ts
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "./command-augment-CAur0XOQ.mjs";
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-CIObEXLY.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-CmAIahm5.mjs";
|
|
4
4
|
import { renderItem } from "./capabilities-BX1rnVuH.mjs";
|
|
5
|
-
import { parseId } from "./parse-id-
|
|
6
|
-
import { Segment, segmentView } from "./segment-
|
|
5
|
+
import { parseId } from "./parse-id-B5adfBlS.mjs";
|
|
6
|
+
import { Segment, segmentView } from "./segment-BAUuELKs.mjs";
|
|
7
7
|
|
|
8
8
|
//#region src/commands/segment/get.ts
|
|
9
9
|
var get_default = defineMetabaseCommand({
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "./command-augment-CAur0XOQ.mjs";
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-CIObEXLY.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-CmAIahm5.mjs";
|
|
4
4
|
import { renderItem } from "./capabilities-BX1rnVuH.mjs";
|
|
5
|
-
import { parseId } from "./parse-id-
|
|
6
|
-
import { Snippet, snippetView } from "./snippet-
|
|
5
|
+
import { parseId } from "./parse-id-B5adfBlS.mjs";
|
|
6
|
+
import { Snippet, snippetView } from "./snippet-D4SyVLKB.mjs";
|
|
7
7
|
|
|
8
8
|
//#region src/commands/snippet/get.ts
|
|
9
9
|
var get_default = defineMetabaseCommand({
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "./command-augment-CAur0XOQ.mjs";
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-CIObEXLY.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-CmAIahm5.mjs";
|
|
4
4
|
import { renderItem } from "./capabilities-BX1rnVuH.mjs";
|
|
5
|
-
import { parseId } from "./parse-id-
|
|
6
|
-
import { Measure, measureView } from "./measure-
|
|
5
|
+
import { parseId } from "./parse-id-B5adfBlS.mjs";
|
|
6
|
+
import { Measure, measureView } from "./measure-BCv5wDDN.mjs";
|
|
7
7
|
|
|
8
8
|
//#region src/commands/measure/get.ts
|
|
9
9
|
var get_default = defineMetabaseCommand({
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "./command-augment-CAur0XOQ.mjs";
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand, parseJsonOrPlain } from "./runtime-
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-CIObEXLY.mjs";
|
|
3
|
+
import { defineMetabaseCommand, parseJsonOrPlain } from "./runtime-CmAIahm5.mjs";
|
|
4
4
|
import { formatScalar, renderSummary } from "./capabilities-BX1rnVuH.mjs";
|
|
5
|
-
import { SettingValue, settingValueView } from "./setting-
|
|
6
|
-
import { parseSettingKey, rethrowSettingError } from "./key-
|
|
5
|
+
import { SettingValue, settingValueView } from "./setting-DhMk0TNo.mjs";
|
|
6
|
+
import { parseSettingKey, rethrowSettingError } from "./key-DwiMOWRQ.mjs";
|
|
7
7
|
import { z } from "zod";
|
|
8
8
|
|
|
9
9
|
//#region src/commands/setting/get.ts
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import "./command-augment-CAur0XOQ.mjs";
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand, parseEnum } from "./runtime-
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-CIObEXLY.mjs";
|
|
3
|
+
import { defineMetabaseCommand, parseEnum } from "./runtime-CmAIahm5.mjs";
|
|
4
4
|
import { renderItem } from "./capabilities-BX1rnVuH.mjs";
|
|
5
5
|
import "./field-E0IBy4Uw.mjs";
|
|
6
|
-
import { parseId } from "./parse-id-
|
|
7
|
-
import "./table-
|
|
8
|
-
import { Database, databaseView } from "./database-
|
|
6
|
+
import { parseId } from "./parse-id-B5adfBlS.mjs";
|
|
7
|
+
import "./table-CDMG0Zi5.mjs";
|
|
8
|
+
import { Database, databaseView } from "./database-BJxGUXhA.mjs";
|
|
9
9
|
import { z } from "zod";
|
|
10
10
|
|
|
11
11
|
//#region src/commands/db/get.ts
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import "./command-augment-CAur0XOQ.mjs";
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-CIObEXLY.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-CmAIahm5.mjs";
|
|
4
4
|
import { renderItem } from "./capabilities-BX1rnVuH.mjs";
|
|
5
5
|
import "./field-E0IBy4Uw.mjs";
|
|
6
6
|
import { Card, cardView } from "./card-wCPcuKSi.mjs";
|
|
7
|
-
import { parseId } from "./parse-id-
|
|
7
|
+
import { parseId } from "./parse-id-B5adfBlS.mjs";
|
|
8
8
|
|
|
9
9
|
//#region src/commands/card/get.ts
|
|
10
10
|
var get_default = defineMetabaseCommand({
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "./command-augment-CAur0XOQ.mjs";
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-CIObEXLY.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-CmAIahm5.mjs";
|
|
4
4
|
import { renderItem } from "./capabilities-BX1rnVuH.mjs";
|
|
5
5
|
import { Field, fieldView } from "./field-E0IBy4Uw.mjs";
|
|
6
|
-
import { parseId } from "./parse-id-
|
|
6
|
+
import { parseId } from "./parse-id-B5adfBlS.mjs";
|
|
7
7
|
|
|
8
8
|
//#region src/commands/field/get.ts
|
|
9
9
|
var get_default = defineMetabaseCommand({
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "./command-augment-CAur0XOQ.mjs";
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-CIObEXLY.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-CmAIahm5.mjs";
|
|
4
4
|
import { renderItem } from "./capabilities-BX1rnVuH.mjs";
|
|
5
|
-
import { parseId } from "./parse-id-
|
|
6
|
-
import { Transform, transformView } from "./transform-
|
|
5
|
+
import { parseId } from "./parse-id-B5adfBlS.mjs";
|
|
6
|
+
import { Transform, transformView } from "./transform-MmqHKGU-.mjs";
|
|
7
7
|
|
|
8
8
|
//#region src/commands/transform/get.ts
|
|
9
9
|
var get_default = defineMetabaseCommand({
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "./command-augment-CAur0XOQ.mjs";
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-CIObEXLY.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-CmAIahm5.mjs";
|
|
4
4
|
import { renderItem } from "./capabilities-BX1rnVuH.mjs";
|
|
5
|
-
import { parseId } from "./parse-id-
|
|
5
|
+
import { parseId } from "./parse-id-B5adfBlS.mjs";
|
|
6
6
|
import { DashboardDetail, dashboardView } from "./dashboard-B4bn3z6t.mjs";
|
|
7
7
|
|
|
8
8
|
//#region src/commands/dashboard/get.ts
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import "./command-augment-CAur0XOQ.mjs";
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand, parseEnum } from "./runtime-
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-CIObEXLY.mjs";
|
|
3
|
+
import { defineMetabaseCommand, parseEnum } from "./runtime-CmAIahm5.mjs";
|
|
4
4
|
import { renderItem } from "./capabilities-BX1rnVuH.mjs";
|
|
5
5
|
import "./field-E0IBy4Uw.mjs";
|
|
6
|
-
import { parseId } from "./parse-id-
|
|
7
|
-
import { Table, TableQueryMetadata, tableView } from "./table-
|
|
6
|
+
import { parseId } from "./parse-id-B5adfBlS.mjs";
|
|
7
|
+
import { Table, TableQueryMetadata, tableView } from "./table-CDMG0Zi5.mjs";
|
|
8
8
|
import { z } from "zod";
|
|
9
9
|
|
|
10
10
|
//#region src/commands/table/get.ts
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import "./command-augment-CAur0XOQ.mjs";
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-CIObEXLY.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-CmAIahm5.mjs";
|
|
4
|
+
import { renderItem } from "./capabilities-BX1rnVuH.mjs";
|
|
5
|
+
import "./collection-Deiziuu2.mjs";
|
|
6
|
+
import { Library, fetchLibrary, libraryView } from "./resolve-BQ9vjlNJ.mjs";
|
|
7
|
+
|
|
8
|
+
//#region src/commands/library/get.ts
|
|
9
|
+
var get_default = defineMetabaseCommand({
|
|
10
|
+
meta: {
|
|
11
|
+
name: "get",
|
|
12
|
+
description: "Show the Library and its Data / Metrics collection ids"
|
|
13
|
+
},
|
|
14
|
+
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).",
|
|
15
|
+
capabilities: {
|
|
16
|
+
minVersion: 59,
|
|
17
|
+
tokenFeature: "library"
|
|
18
|
+
},
|
|
19
|
+
args: {
|
|
20
|
+
...outputFlags,
|
|
21
|
+
...profileFlag,
|
|
22
|
+
...connectionFlags
|
|
23
|
+
},
|
|
24
|
+
outputSchema: Library,
|
|
25
|
+
examples: ["mb library get", "mb library get --json"],
|
|
26
|
+
async run({ ctx, getClient }) {
|
|
27
|
+
const client = await getClient();
|
|
28
|
+
const library = await fetchLibrary(client);
|
|
29
|
+
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`).");
|
|
30
|
+
renderItem(library, libraryView, ctx);
|
|
31
|
+
}
|
|
32
|
+
});
|
|
33
|
+
|
|
34
|
+
//#endregion
|
|
35
|
+
export { get_default as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "./command-augment-CAur0XOQ.mjs";
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-CIObEXLY.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-CmAIahm5.mjs";
|
|
4
4
|
import { renderItem } from "./capabilities-BX1rnVuH.mjs";
|
|
5
5
|
import { Collection, collectionView } from "./collection-Deiziuu2.mjs";
|
|
6
6
|
import { parseCollectionRef } from "./parse-ref-CZr1bYIl.mjs";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "./command-augment-CAur0XOQ.mjs";
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-CIObEXLY.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-CmAIahm5.mjs";
|
|
4
4
|
import { renderItem } from "./capabilities-BX1rnVuH.mjs";
|
|
5
|
-
import { parseId } from "./parse-id-
|
|
6
|
-
import { TransformRun, transformRunView } from "./transform-
|
|
5
|
+
import { parseId } from "./parse-id-B5adfBlS.mjs";
|
|
6
|
+
import { TransformRun, transformRunView } from "./transform-MmqHKGU-.mjs";
|
|
7
7
|
|
|
8
8
|
//#region src/commands/transform/get-run.ts
|
|
9
9
|
var get_run_default = defineMetabaseCommand({
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { defineCommand } from "citty";
|
|
2
|
+
|
|
3
|
+
//#region src/commands/git-sync/index.ts
|
|
4
|
+
var git_sync_default = defineCommand({
|
|
5
|
+
meta: {
|
|
6
|
+
name: "git-sync",
|
|
7
|
+
description: "Sync Metabase content with a git remote"
|
|
8
|
+
},
|
|
9
|
+
subCommands: {
|
|
10
|
+
status: () => import("./status-CxYw6zQM.mjs").then((mod) => mod.default),
|
|
11
|
+
"is-dirty": () => import("./is-dirty-Z-pqyVyB.mjs").then((mod) => mod.default),
|
|
12
|
+
"has-remote-changes": () => import("./has-remote-changes-Bvyv4FLP.mjs").then((mod) => mod.default),
|
|
13
|
+
dirty: () => import("./dirty-C-rkrnVM.mjs").then((mod) => mod.default),
|
|
14
|
+
"current-task": () => import("./current-task-Dr5dOD4V.mjs").then((mod) => mod.default),
|
|
15
|
+
"cancel-task": () => import("./cancel-task-CleJVDNI.mjs").then((mod) => mod.default),
|
|
16
|
+
wait: () => import("./wait-oMSs_IdS.mjs").then((mod) => mod.default),
|
|
17
|
+
import: () => import("./import-c3o3OAx0.mjs").then((mod) => mod.default),
|
|
18
|
+
export: () => import("./export-CGa-SgEV.mjs").then((mod) => mod.default),
|
|
19
|
+
stash: () => import("./stash-C1V2FvJR.mjs").then((mod) => mod.default),
|
|
20
|
+
branches: () => import("./branches-B6R60Vr1.mjs").then((mod) => mod.default),
|
|
21
|
+
"create-branch": () => import("./create-branch-BaZ00MIc.mjs").then((mod) => mod.default),
|
|
22
|
+
"add-collection": () => import("./add-collection-BqfYL4FU.mjs").then((mod) => mod.default),
|
|
23
|
+
"remove-collection": () => import("./remove-collection-D8ZfB2RN.mjs").then((mod) => mod.default)
|
|
24
|
+
}
|
|
25
|
+
});
|
|
26
|
+
|
|
27
|
+
//#endregion
|
|
28
|
+
export { git_sync_default as default };
|