@metabase/cli 0.1.13 → 0.1.15
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 +108 -0
- package/dist/add-collection-Bnuh0d4j.mjs +10 -0
- package/dist/{add-collection-BQsx2Q-S.mjs → add-collection-CXhrMjXU.mjs} +4 -4
- package/dist/{archive-FLrOqODN.mjs → archive-BUwiCFnd.mjs} +3 -3
- package/dist/{archive-BS4U2_gi.mjs → archive-Blc1dz8Z.mjs} +3 -3
- package/dist/{archive-D7qtYihp.mjs → archive-BxGSR7El.mjs} +3 -3
- package/dist/{archive-BP53zrzs.mjs → archive-CQiaCBSj.mjs} +3 -3
- package/dist/{archive-BrYMa87Z.mjs → archive-D-Ovk0-E.mjs} +3 -3
- package/dist/{archive-H8wBIt8q.mjs → archive-Drt-rWvU.mjs} +3 -3
- package/dist/{archive-Dt5zuiwu.mjs → archive-yTvDRQUZ.mjs} +3 -3
- package/dist/auth-Bkue4Psy.mjs +19 -0
- package/dist/{body-3vzTm8Jj.mjs → body-B9XTTDEu.mjs} +1 -1
- package/dist/{branches-Lr1cCUdg.mjs → branches-Ct3PK5U3.mjs} +4 -4
- package/dist/{cancel-Br3FHyDR.mjs → cancel-tST8Bh0w.mjs} +3 -3
- package/dist/{cancel-task-BXgeq3MH.mjs → cancel-task-BHnzRQKL.mjs} +4 -4
- package/dist/card-faWo9ZWU.mjs +20 -0
- package/dist/{cards-D-AkjCxr.mjs → cards-BySIFsLG.mjs} +3 -3
- package/dist/cli.mjs +24 -23
- package/dist/collection-DcRz7fmf.mjs +20 -0
- package/dist/{collection-namespace-BQ_ebqOP.mjs → collection-namespace-D8ohM5gD.mjs} +1 -1
- package/dist/{create-DHUhRzcV.mjs → create-4mAGsBd0.mjs} +3 -3
- package/dist/{create-Dx1SDXyQ.mjs → create-BDWthCYq.mjs} +3 -3
- package/dist/{create-DUdkitlQ.mjs → create-C43RQYgj.mjs} +4 -4
- package/dist/{create-BpAak62U.mjs → create-C7FPeJqF.mjs} +3 -3
- package/dist/{create-CDL9WHiR.mjs → create-D3cVDtxM.mjs} +3 -3
- package/dist/{create-C1xYECl-.mjs → create-DGxZmbxh.mjs} +4 -4
- package/dist/{create-CcZEV9xx.mjs → create-DnT1Sayk.mjs} +3 -3
- package/dist/{create-y4j2I1aH.mjs → create-DxDD6n1d.mjs} +5 -5
- package/dist/create-HZ-9GMLx.mjs +44 -0
- package/dist/{create-branch-BvZKizC4.mjs → create-branch-jPE7nW-E.mjs} +4 -4
- package/dist/{create-ux0yPpq1.mjs → create-fIDFkdox.mjs} +3 -3
- package/dist/{current-task-DaWn0DYt.mjs → current-task-rW54KJax.mjs} +4 -4
- package/dist/dashboard-pXAxJTTx.mjs +21 -0
- package/dist/db-CmHHj5eI.mjs +22 -0
- package/dist/{delete-CW3cEHlr.mjs → delete-BWO6uB4P.mjs} +4 -4
- package/dist/delete-CBwztF6P.mjs +50 -0
- package/dist/{delete-DFWjBpzl.mjs → delete-CeigtfRI.mjs} +4 -4
- package/dist/{delete-table-Wa0yRsnM.mjs → delete-table-BXzvDEPG.mjs} +4 -4
- package/dist/dependencies-D2N9eqm1.mjs +40 -0
- package/dist/{dirty-CKcGYIpv.mjs → dirty-DoEZRSGB.mjs} +4 -4
- package/dist/document-DQIhL75C.mjs +19 -0
- package/dist/{eid-m44hs7Ul.mjs → eid-1mROiwJr.mjs} +3 -3
- package/dist/{error-DR_i1hxJ.mjs → error-D5bZ5BUX.mjs} +1 -1
- package/dist/{export-8C4F9pYn.mjs → export-Bgv5B4_F.mjs} +6 -6
- package/dist/field-B-UcqFzm.mjs +18 -0
- package/dist/{fields-hXrRjf7e.mjs → fields-VA7tXHJz.mjs} +3 -3
- package/dist/{get-8r-_QuSr.mjs → get-B8etVxWD.mjs} +3 -3
- package/dist/{get-cjqlMKF5.mjs → get-BgIE_YEg.mjs} +4 -4
- package/dist/{get-xVPjvf7O.mjs → get-BtAD26gc.mjs} +3 -3
- package/dist/{get-CqU4xVSg.mjs → get-C-UeGtgW.mjs} +2 -2
- package/dist/{get-9MCrsgTf.mjs → get-CGkhSY5L.mjs} +3 -3
- package/dist/{get-BxgSKzca.mjs → get-CqnCaosn.mjs} +3 -3
- package/dist/{get-DWg3riaY.mjs → get-D9o38nK5.mjs} +2 -2
- package/dist/{get-BlNLGR-F.mjs → get-DAsaor0n.mjs} +2 -2
- package/dist/{get-D7WUNQYY.mjs → get-DLRBq8kR.mjs} +3 -3
- package/dist/{get-C7EKJGTP.mjs → get-DvQoDU2m.mjs} +4 -4
- package/dist/{get-BjCQctuS.mjs → get-RQFSmnpY.mjs} +3 -3
- package/dist/{get-3zFOkcl_.mjs → get-Wj88mnhn.mjs} +3 -3
- package/dist/{get-Cit5liJv.mjs → get-eUYDNALt.mjs} +3 -3
- package/dist/{get-CvLECgtm.mjs → get-qnGGGRTa.mjs} +3 -3
- package/dist/{get-run-CTDPEDcU.mjs → get-run-CATz-XMS.mjs} +4 -4
- package/dist/git-sync-CwOvcUI2.mjs +28 -0
- package/dist/{has-remote-changes-DYo4PQfC.mjs → has-remote-changes-B6YEMC90.mjs} +4 -4
- package/dist/{import-Cwd-_wYv.mjs → import-Bl2Wj9Xf.mjs} +6 -6
- package/dist/{is-dirty-HynZex-f.mjs → is-dirty-D9MoFj0T.mjs} +3 -3
- package/dist/is-dirty-MT0BT4CS.mjs +9 -0
- package/dist/{items-D4pSBGxR.mjs → items-LjtICjvX.mjs} +3 -3
- package/dist/{list-Ctze3nfU.mjs → list-B5Q7E2Km.mjs} +3 -3
- package/dist/{list-ET066OdN.mjs → list-Bjp9nd0o.mjs} +2 -2
- package/dist/{list-CI1WQ8U3.mjs → list-C410Ptw_.mjs} +2 -2
- package/dist/{list-F0BQNbaZ.mjs → list-C6U3Ftg8.mjs} +3 -3
- package/dist/{list-DBjOFesD.mjs → list-CfWblVHJ.mjs} +2 -2
- package/dist/{list-XgdM17ix.mjs → list-ChK06rJh.mjs} +2 -2
- package/dist/{list-DMZumpNv.mjs → list-CoRX8Ruc.mjs} +2 -2
- package/dist/{list-D3BBrpoQ.mjs → list-Cx8JxS2C.mjs} +2 -2
- package/dist/{list-_xdr1WKh.mjs → list-DMik04Dh.mjs} +3 -3
- package/dist/list-DaJk60dd.mjs +32 -0
- package/dist/{list-D7o0DOZe.mjs → list-DcjenlTM.mjs} +2 -2
- package/dist/{list-Bqy3rN6k.mjs → list-DfoNv0gb.mjs} +2 -2
- package/dist/{list-D-Ms9fhd.mjs → list-Dq86BAMG.mjs} +2 -2
- package/dist/{list-De2qX1w8.mjs → list-DtrfE0sF.mjs} +3 -3
- package/dist/{list-B2QX8BZ3.mjs → list-cnqPlJgC.mjs} +2 -2
- package/dist/{login-BHDdLJzw.mjs → login-Cn2UtFUt.mjs} +3 -3
- package/dist/{logout-ClizU0OL.mjs → logout-_HXgEmqA.mjs} +2 -2
- package/dist/measure-BIAoqgcS.mjs +19 -0
- package/dist/{metadata-D23RdbEZ.mjs → metadata-8yqT8OZI.mjs} +3 -3
- package/dist/{metadata-a_N6Sx30.mjs → metadata-DHODjg1d.mjs} +3 -3
- package/dist/{parse-id-B1BlAunl.mjs → parse-id-DNPeV0Iu.mjs} +1 -1
- package/dist/{path-FSfPscAQ.mjs → path-BflajM08.mjs} +2 -2
- package/dist/{poll-Dl5Zv4Ed.mjs → poll-CYkX02Bm.mjs} +1 -1
- package/dist/{poll-task-BoRK94WQ.mjs → poll-task-oXpl3wzp.mjs} +2 -2
- package/dist/{preflight-CVlo39xa.mjs → preflight-BdJr2amA.mjs} +1 -1
- package/dist/publish-CGUkIqSm.mjs +70 -0
- package/dist/{query-yZ9HeaGp.mjs → query-CxTjguwp.mjs} +3 -3
- package/dist/{query-CSvpJssD.mjs → query-DWQaN7hO.mjs} +3 -3
- package/dist/{remove-collection-CV7ssevw.mjs → remove-collection-BwcFi8Fs.mjs} +6 -6
- package/dist/{rescan-values-CMeOv6yx.mjs → rescan-values-B9Qtsd32.mjs} +3 -3
- package/dist/{run-CIJOYXor.mjs → run-3eFtdI2Z.mjs} +6 -6
- package/dist/run-C-vftXCu.mjs +59 -0
- package/dist/{runs--CzbmfPg.mjs → runs-CpRTkn1W.mjs} +4 -4
- package/dist/{runtime-DJTGfiKO.mjs → runtime-C1QgWHM7.mjs} +1 -1
- package/dist/{schema-tables-BII9pHR8.mjs → schema-tables-rdeupgsu.mjs} +3 -3
- package/dist/{schemas-BzxVz71I.mjs → schemas-Cr7RjYqV.mjs} +3 -3
- package/dist/{search-CjJZdaM0.mjs → search-D7Yq2MDu.mjs} +3 -3
- package/dist/segment-BN8sFunv.mjs +19 -0
- package/dist/selectors-DPc2ZDdd.mjs +37 -0
- package/dist/{set-Ds_brNWu.mjs → set-X2N6x7pe.mjs} +3 -3
- package/dist/set-active-BoBa3pOw.mjs +56 -0
- package/dist/{setting-YDJRWd1m.mjs → setting-zZjcOPyE.mjs} +3 -3
- package/dist/{setup-DJb-NgSM.mjs → setup-C47WUieB.mjs} +3 -3
- package/dist/{skills-Dn-kn8Wj.mjs → skills-Po0YPVU5.mjs} +3 -3
- package/dist/snippet-DK0ZA8m5.mjs +19 -0
- package/dist/{stash-DGujowmx.mjs → stash-BV4sEp73.mjs} +6 -6
- package/dist/{status-Cx0TIn1I.mjs → status-BKF9rRnk.mjs} +5 -5
- package/dist/{status-3-Tl07gu.mjs → status-Cf8c0NON.mjs} +2 -2
- package/dist/{summary-CT-xFvnX.mjs → summary-RgLcBcEh.mjs} +3 -3
- package/dist/{sync-schema-BTF7O3FM.mjs → sync-schema-DKEel2Sv.mjs} +5 -5
- package/dist/table-COAKXNuj.mjs +21 -0
- package/dist/transform-Bto4U82j.mjs +25 -0
- package/dist/transform-job-_fW1y2tg.mjs +22 -0
- package/dist/transform-tag-C8n1oTr1.mjs +18 -0
- package/dist/transform-tag-DB46AhAj.mjs +36 -0
- package/dist/transforms-BOQ9CG0l.mjs +40 -0
- package/dist/{tree-CLUxXw-Z.mjs → tree-CF8mscd9.mjs} +2 -2
- package/dist/unpublish-CmaRNjK3.mjs +76 -0
- package/dist/{update-DD5Q37bz.mjs → update-B59h7KmS.mjs} +5 -5
- package/dist/{update-Z_LMzsiz.mjs → update-BXZBEeUp.mjs} +4 -4
- package/dist/{update-I0t_6Mni.mjs → update-BuypOaXq.mjs} +4 -4
- package/dist/{update-BeH_S7h9.mjs → update-CgQOSuZt.mjs} +4 -4
- package/dist/{update-BfNmqvuN.mjs → update-DERsb0eO.mjs} +5 -5
- package/dist/{update-tQvEYuzD.mjs → update-DQPg0_-d.mjs} +4 -4
- package/dist/{update-6IuvkFCk.mjs → update-DR4WkAET.mjs} +4 -4
- package/dist/{update-DpCv5Mdo.mjs → update-DoQpy9SA.mjs} +4 -4
- package/dist/update-Kz4kyqY_.mjs +51 -0
- package/dist/{update-dashcard-Bl3wbB8-.mjs → update-dashcard-BJVeSGvO.mjs} +4 -4
- package/dist/{update-C_Ui5qPU.mjs → update-nwXgVNQa.mjs} +6 -6
- package/dist/{update-DdqzxPIr.mjs → update-rhfPHALN.mjs} +4 -4
- package/dist/{upgrade-r2ZlfstE.mjs → upgrade-CNrkJF6s.mjs} +2 -2
- package/dist/{uuid-BduDonqb.mjs → uuid-Dpl3ALKq.mjs} +2 -2
- package/dist/{values-DuNE6Jxc.mjs → values-DMYpkoEH.mjs} +3 -3
- package/dist/{verify-D_yq68-R.mjs → verify-By9ZYzx4.mjs} +1 -1
- package/dist/{wait-CoDzO37B.mjs → wait-BzIAj8lJ.mjs} +5 -5
- package/dist/{wait-flags-BxUfF5zy.mjs → wait-flags-DQrxnlwv.mjs} +2 -2
- package/package.json +1 -1
- package/skill-data/core/SKILL.md +2 -1
- package/skill-data/transform/SKILL.md +17 -3
- package/dist/add-collection-BiBKEHwz.mjs +0 -10
- package/dist/auth-DWA7DSo9.mjs +0 -19
- package/dist/card-DQV8WOIa.mjs +0 -20
- package/dist/collection-DIUWkVFY.mjs +0 -20
- package/dist/dashboard-CohHWhkV.mjs +0 -21
- package/dist/db-BD8JZUDw.mjs +0 -22
- package/dist/document-CRuag6F5.mjs +0 -19
- package/dist/field-CuabjsR7.mjs +0 -18
- package/dist/git-sync-CKsGGVOm.mjs +0 -28
- package/dist/is-dirty-Mkgi21bq.mjs +0 -9
- package/dist/measure-SmyQt9Lg.mjs +0 -19
- package/dist/segment-dkO4Ualw.mjs +0 -19
- package/dist/snippet-DqTiC73e.mjs +0 -19
- package/dist/table-DNGPtV4P.mjs +0 -19
- package/dist/transform-DEbvouxo.mjs +0 -24
- package/dist/transform-job-Du8npb7F.mjs +0 -19
- /package/dist/{delete-runtime-BhZAAvjc.mjs → delete-runtime-PzLFavb0.mjs} +0 -0
- /package/dist/{transform-job-B9pXBOwr.mjs → transform-job-C8lIS-7Q.mjs} +0 -0
- /package/dist/{transform-qczxOAzn.mjs → transform-n376akp8.mjs} +0 -0
|
@@ -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-D5bZ5BUX.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-C1QgWHM7.mjs";
|
|
4
4
|
import { renderSummary } from "./capabilities-BX1rnVuH.mjs";
|
|
5
|
-
import "./poll-
|
|
6
|
-
import { REMOTE_SYNC_PATHS } from "./poll-task-
|
|
5
|
+
import "./poll-CYkX02Bm.mjs";
|
|
6
|
+
import { REMOTE_SYNC_PATHS } from "./poll-task-oXpl3wzp.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-D5bZ5BUX.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-C1QgWHM7.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-B9XTTDEu.mjs";
|
|
7
7
|
import { bodyInputFlags } from "./body-flags-D7q87Btw.mjs";
|
|
8
8
|
import "./validate-VawhJ5Sc.mjs";
|
|
9
9
|
import { SEGMENT_DEFINITION_LABELS, preflightMbql5Query, skipValidateFlag } from "./validate-query-CSV-TTnd.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-D5bZ5BUX.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-C1QgWHM7.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-CYkX02Bm.mjs";
|
|
6
|
+
import { SyncTaskOrIdle, fetchCurrentTask, formatSyncTask, syncTaskIdleView, syncTaskView } from "./poll-task-oXpl3wzp.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-ChK06rJh.mjs").then((mod) => mod.default),
|
|
11
|
+
get: () => import("./get-qnGGGRTa.mjs").then((mod) => mod.default),
|
|
12
|
+
cards: () => import("./cards-BySIFsLG.mjs").then((mod) => mod.default),
|
|
13
|
+
create: () => import("./create-C43RQYgj.mjs").then((mod) => mod.default),
|
|
14
|
+
update: () => import("./update-DERsb0eO.mjs").then((mod) => mod.default),
|
|
15
|
+
"update-dashcard": () => import("./update-dashcard-BJVeSGvO.mjs").then((mod) => mod.default),
|
|
16
|
+
archive: () => import("./archive-BxGSR7El.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-Dq86BAMG.mjs").then((m) => m.default),
|
|
12
|
+
get: () => import("./get-CGkhSY5L.mjs").then((m) => m.default),
|
|
13
|
+
metadata: () => import("./metadata-8yqT8OZI.mjs").then((m) => m.default),
|
|
14
|
+
schemas: () => import("./schemas-Cr7RjYqV.mjs").then((m) => m.default),
|
|
15
|
+
"schema-tables": () => import("./schema-tables-rdeupgsu.mjs").then((m) => m.default),
|
|
16
|
+
"sync-schema": () => import("./sync-schema-DKEel2Sv.mjs").then((m) => m.default),
|
|
17
|
+
"rescan-values": () => import("./rescan-values-B9Qtsd32.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-D5bZ5BUX.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-C1QgWHM7.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-DNPeV0Iu.mjs";
|
|
7
|
+
import { DeleteResult, confirmAndDelete } from "./delete-runtime-PzLFavb0.mjs";
|
|
8
8
|
|
|
9
9
|
//#region src/commands/transform/delete.ts
|
|
10
10
|
var delete_default = defineMetabaseCommand({
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import "./command-augment-CAur0XOQ.mjs";
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-D5bZ5BUX.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-C1QgWHM7.mjs";
|
|
4
|
+
import "./capabilities-BX1rnVuH.mjs";
|
|
5
|
+
import "./prompt-Bc_bHSD0.mjs";
|
|
6
|
+
import { parseId } from "./parse-id-DNPeV0Iu.mjs";
|
|
7
|
+
import { DeleteResult, confirmAndDelete } from "./delete-runtime-PzLFavb0.mjs";
|
|
8
|
+
|
|
9
|
+
//#region src/commands/transform-tag/delete.ts
|
|
10
|
+
var delete_default = defineMetabaseCommand({
|
|
11
|
+
meta: {
|
|
12
|
+
name: "delete",
|
|
13
|
+
description: "Delete a transform tag by id"
|
|
14
|
+
},
|
|
15
|
+
capabilities: { minVersion: 59 },
|
|
16
|
+
args: {
|
|
17
|
+
...outputFlags,
|
|
18
|
+
...profileFlag,
|
|
19
|
+
...connectionFlags,
|
|
20
|
+
yes: {
|
|
21
|
+
type: "boolean",
|
|
22
|
+
description: "Skip confirmation",
|
|
23
|
+
default: false
|
|
24
|
+
},
|
|
25
|
+
id: {
|
|
26
|
+
type: "positional",
|
|
27
|
+
description: "Transform tag id",
|
|
28
|
+
required: true
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
outputSchema: DeleteResult,
|
|
32
|
+
examples: ["mb transform-tag delete 5 --yes", "mb transform-tag delete 5"],
|
|
33
|
+
async run({ args, ctx, getClient }) {
|
|
34
|
+
const id = parseId(args.id);
|
|
35
|
+
const client = await getClient();
|
|
36
|
+
await confirmAndDelete({
|
|
37
|
+
id,
|
|
38
|
+
path: `/api/transform-tag/${id}`,
|
|
39
|
+
yes: args.yes,
|
|
40
|
+
promptMessage: `Delete transform tag ${id}?`,
|
|
41
|
+
successMessage: `Deleted transform tag ${id}.`,
|
|
42
|
+
abortMessage: `Aborted; transform tag ${id} was not deleted.`,
|
|
43
|
+
client,
|
|
44
|
+
ctx
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
});
|
|
48
|
+
|
|
49
|
+
//#endregion
|
|
50
|
+
export { delete_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-D5bZ5BUX.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-C1QgWHM7.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-DNPeV0Iu.mjs";
|
|
7
|
+
import { DeleteResult, confirmAndDelete } from "./delete-runtime-PzLFavb0.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-D5bZ5BUX.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-C1QgWHM7.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-DNPeV0Iu.mjs";
|
|
7
|
+
import { DeleteResult, confirmAndDelete } from "./delete-runtime-PzLFavb0.mjs";
|
|
8
8
|
|
|
9
9
|
//#region src/commands/transform/delete-table.ts
|
|
10
10
|
var delete_table_default = defineMetabaseCommand({
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import "./command-augment-CAur0XOQ.mjs";
|
|
2
|
+
import { connectionFlags, listEnvelopeSchema, outputFlags, profileFlag, wrapList } from "./error-D5bZ5BUX.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-C1QgWHM7.mjs";
|
|
4
|
+
import { renderList } from "./capabilities-BX1rnVuH.mjs";
|
|
5
|
+
import { parseId } from "./parse-id-DNPeV0Iu.mjs";
|
|
6
|
+
import { Transform, TransformCompact, transformView } from "./transform-n376akp8.mjs";
|
|
7
|
+
import { z } from "zod";
|
|
8
|
+
|
|
9
|
+
//#region src/commands/transform/dependencies.ts
|
|
10
|
+
const TransformApiList = z.array(Transform);
|
|
11
|
+
const TransformDependenciesEnvelope = listEnvelopeSchema(TransformCompact);
|
|
12
|
+
var dependencies_default = defineMetabaseCommand({
|
|
13
|
+
meta: {
|
|
14
|
+
name: "dependencies",
|
|
15
|
+
description: "List the transforms a transform depends on"
|
|
16
|
+
},
|
|
17
|
+
details: "Returns the upstream transforms in this transform's dependency graph — the ones that must run before it. The positional id is a transform id.",
|
|
18
|
+
capabilities: { minVersion: 59 },
|
|
19
|
+
args: {
|
|
20
|
+
...outputFlags,
|
|
21
|
+
...profileFlag,
|
|
22
|
+
...connectionFlags,
|
|
23
|
+
id: {
|
|
24
|
+
type: "positional",
|
|
25
|
+
description: "Transform id",
|
|
26
|
+
required: true
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
outputSchema: TransformDependenciesEnvelope,
|
|
30
|
+
examples: ["mb transform dependencies 1", "mb transform dependencies 1 --json"],
|
|
31
|
+
async run({ args, ctx, getClient }) {
|
|
32
|
+
const id = parseId(args.id);
|
|
33
|
+
const client = await getClient();
|
|
34
|
+
const items = await client.requestParsed(TransformApiList, `/api/transform/${id}/dependencies`);
|
|
35
|
+
renderList(wrapList(items), transformView, ctx);
|
|
36
|
+
}
|
|
37
|
+
});
|
|
38
|
+
|
|
39
|
+
//#endregion
|
|
40
|
+
export { dependencies_default as default };
|
|
@@ -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-D5bZ5BUX.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-C1QgWHM7.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-CYkX02Bm.mjs";
|
|
6
|
+
import { REMOTE_SYNC_PATHS, SyncDirtyItem, SyncDirtyItemCompact, syncDirtyItemView } from "./poll-task-oXpl3wzp.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-Bjp9nd0o.mjs").then((mod) => mod.default),
|
|
11
|
+
get: () => import("./get-BtAD26gc.mjs").then((mod) => mod.default),
|
|
12
|
+
create: () => import("./create-DnT1Sayk.mjs").then((mod) => mod.default),
|
|
13
|
+
update: () => import("./update-CgQOSuZt.mjs").then((mod) => mod.default),
|
|
14
|
+
archive: () => import("./archive-yTvDRQUZ.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-D5bZ5BUX.mjs";
|
|
3
|
+
import { defineMetabaseCommand, parseCsv } from "./runtime-C1QgWHM7.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-B9XTTDEu.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-D5bZ5BUX.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-C1QgWHM7.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-DNPeV0Iu.mjs";
|
|
6
|
+
import "./poll-CYkX02Bm.mjs";
|
|
7
|
+
import { gitSyncWaitFlags, parseWaitFlags } from "./wait-flags-DQrxnlwv.mjs";
|
|
8
|
+
import { REMOTE_SYNC_PATHS, SyncTask, formatSyncTask, pollSyncTask, throwIfFailedTask } from "./poll-task-oXpl3wzp.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-RQFSmnpY.mjs").then((m) => m.default),
|
|
11
|
+
values: () => import("./values-DMYpkoEH.mjs").then((m) => m.default),
|
|
12
|
+
summary: () => import("./summary-RgLcBcEh.mjs").then((m) => m.default),
|
|
13
|
+
update: () => import("./update-DoQpy9SA.mjs").then((m) => m.default)
|
|
14
|
+
}
|
|
15
|
+
});
|
|
16
|
+
|
|
17
|
+
//#endregion
|
|
18
|
+
export { field_default as default };
|
|
@@ -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-D5bZ5BUX.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-C1QgWHM7.mjs";
|
|
4
4
|
import { renderList } from "./capabilities-BX1rnVuH.mjs";
|
|
5
5
|
import { FieldCompact, fieldView } from "./field-E0IBy4Uw.mjs";
|
|
6
|
-
import { parseId } from "./parse-id-
|
|
6
|
+
import { parseId } from "./parse-id-DNPeV0Iu.mjs";
|
|
7
7
|
import { TableQueryMetadata } from "./table-qDD2kApF.mjs";
|
|
8
8
|
|
|
9
9
|
//#region src/commands/table/fields.ts
|
|
@@ -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-D5bZ5BUX.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-C1QgWHM7.mjs";
|
|
4
4
|
import { renderItem } from "./capabilities-BX1rnVuH.mjs";
|
|
5
|
-
import { parseId } from "./parse-id-
|
|
5
|
+
import { parseId } from "./parse-id-DNPeV0Iu.mjs";
|
|
6
6
|
import { Snippet, snippetView } from "./snippet-NNzqlksR.mjs";
|
|
7
7
|
|
|
8
8
|
//#region src/commands/snippet/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-D5bZ5BUX.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-C1QgWHM7.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-DNPeV0Iu.mjs";
|
|
6
|
+
import { Transform, transformView } from "./transform-n376akp8.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-D5bZ5BUX.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-C1QgWHM7.mjs";
|
|
4
4
|
import { renderItem } from "./capabilities-BX1rnVuH.mjs";
|
|
5
|
-
import { parseId } from "./parse-id-
|
|
5
|
+
import { parseId } from "./parse-id-DNPeV0Iu.mjs";
|
|
6
6
|
import { Document, documentView } from "./document-qfwR0r63.mjs";
|
|
7
7
|
|
|
8
8
|
//#region src/commands/document/get.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
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-D5bZ5BUX.mjs";
|
|
3
|
+
import { defineMetabaseCommand, parseCsv } from "./runtime-C1QgWHM7.mjs";
|
|
4
4
|
import { renderList, writeText } from "./capabilities-BX1rnVuH.mjs";
|
|
5
5
|
import { SkillContent, loadAllSkills, loadVisibleSkills, readSkillContent, selectSkillsByNames } from "./skills-CJ8g8fhQ.mjs";
|
|
6
6
|
|
|
@@ -1,9 +1,9 @@
|
|
|
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-D5bZ5BUX.mjs";
|
|
3
|
+
import { defineMetabaseCommand, parseEnum } from "./runtime-C1QgWHM7.mjs";
|
|
4
4
|
import { renderItem } from "./capabilities-BX1rnVuH.mjs";
|
|
5
5
|
import "./field-E0IBy4Uw.mjs";
|
|
6
|
-
import { parseId } from "./parse-id-
|
|
6
|
+
import { parseId } from "./parse-id-DNPeV0Iu.mjs";
|
|
7
7
|
import "./table-qDD2kApF.mjs";
|
|
8
8
|
import { Database, databaseView } from "./database-BmsxuRmO.mjs";
|
|
9
9
|
import { z } from "zod";
|
|
@@ -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-D5bZ5BUX.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-C1QgWHM7.mjs";
|
|
4
4
|
import { renderItem } from "./capabilities-BX1rnVuH.mjs";
|
|
5
|
-
import { parseId } from "./parse-id-
|
|
5
|
+
import { parseId } from "./parse-id-DNPeV0Iu.mjs";
|
|
6
6
|
import { Segment, segmentView } from "./segment-B9SEv9V_.mjs";
|
|
7
7
|
|
|
8
8
|
//#region src/commands/segment/get.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
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-D5bZ5BUX.mjs";
|
|
3
|
+
import { defineMetabaseCommand, parseJsonOrPlain } from "./runtime-C1QgWHM7.mjs";
|
|
4
4
|
import { formatScalar, renderSummary } from "./capabilities-BX1rnVuH.mjs";
|
|
5
5
|
import { SettingValue, settingValueView } from "./setting-i0pugNHl.mjs";
|
|
6
6
|
import { parseSettingKey, rethrowSettingError } from "./key-C8q5oIr5.mjs";
|
|
@@ -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-D5bZ5BUX.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-C1QgWHM7.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,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-D5bZ5BUX.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-C1QgWHM7.mjs";
|
|
4
4
|
import { renderItem } from "./capabilities-BX1rnVuH.mjs";
|
|
5
|
-
import { parseId } from "./parse-id-
|
|
5
|
+
import { parseId } from "./parse-id-DNPeV0Iu.mjs";
|
|
6
6
|
import { Measure, measureView } from "./measure-JJAdFoqK.mjs";
|
|
7
7
|
|
|
8
8
|
//#region src/commands/measure/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-D5bZ5BUX.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-C1QgWHM7.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-DNPeV0Iu.mjs";
|
|
6
|
+
import { TransformJob, transformJobView } from "./transform-job-C8lIS-7Q.mjs";
|
|
7
7
|
|
|
8
8
|
//#region src/commands/transform-job/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-D5bZ5BUX.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-C1QgWHM7.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-DNPeV0Iu.mjs";
|
|
7
7
|
|
|
8
8
|
//#region src/commands/field/get.ts
|
|
9
9
|
var get_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-D5bZ5BUX.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-C1QgWHM7.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-DNPeV0Iu.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, parseEnum } from "./runtime-
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-D5bZ5BUX.mjs";
|
|
3
|
+
import { defineMetabaseCommand, parseEnum } from "./runtime-C1QgWHM7.mjs";
|
|
4
4
|
import { renderItem } from "./capabilities-BX1rnVuH.mjs";
|
|
5
5
|
import "./field-E0IBy4Uw.mjs";
|
|
6
|
-
import { parseId } from "./parse-id-
|
|
6
|
+
import { parseId } from "./parse-id-DNPeV0Iu.mjs";
|
|
7
7
|
import { Table, TableQueryMetadata, tableView } from "./table-qDD2kApF.mjs";
|
|
8
8
|
import { z } from "zod";
|
|
9
9
|
|
|
@@ -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-D5bZ5BUX.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-C1QgWHM7.mjs";
|
|
4
4
|
import { renderItem } from "./capabilities-BX1rnVuH.mjs";
|
|
5
|
-
import { parseId } from "./parse-id-
|
|
5
|
+
import { parseId } from "./parse-id-DNPeV0Iu.mjs";
|
|
6
6
|
import { DashboardDetail, dashboardView } from "./dashboard-B4bn3z6t.mjs";
|
|
7
7
|
|
|
8
8
|
//#region src/commands/dashboard/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-D5bZ5BUX.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-C1QgWHM7.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-DNPeV0Iu.mjs";
|
|
6
|
+
import { TransformRun, transformRunView } from "./transform-n376akp8.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-BKF9rRnk.mjs").then((mod) => mod.default),
|
|
11
|
+
"is-dirty": () => import("./is-dirty-MT0BT4CS.mjs").then((mod) => mod.default),
|
|
12
|
+
"has-remote-changes": () => import("./has-remote-changes-B6YEMC90.mjs").then((mod) => mod.default),
|
|
13
|
+
dirty: () => import("./dirty-DoEZRSGB.mjs").then((mod) => mod.default),
|
|
14
|
+
"current-task": () => import("./current-task-rW54KJax.mjs").then((mod) => mod.default),
|
|
15
|
+
"cancel-task": () => import("./cancel-task-BHnzRQKL.mjs").then((mod) => mod.default),
|
|
16
|
+
wait: () => import("./wait-BzIAj8lJ.mjs").then((mod) => mod.default),
|
|
17
|
+
import: () => import("./import-Bl2Wj9Xf.mjs").then((mod) => mod.default),
|
|
18
|
+
export: () => import("./export-Bgv5B4_F.mjs").then((mod) => mod.default),
|
|
19
|
+
stash: () => import("./stash-BV4sEp73.mjs").then((mod) => mod.default),
|
|
20
|
+
branches: () => import("./branches-Ct3PK5U3.mjs").then((mod) => mod.default),
|
|
21
|
+
"create-branch": () => import("./create-branch-jPE7nW-E.mjs").then((mod) => mod.default),
|
|
22
|
+
"add-collection": () => import("./add-collection-Bnuh0d4j.mjs").then((mod) => mod.default),
|
|
23
|
+
"remove-collection": () => import("./remove-collection-BwcFi8Fs.mjs").then((mod) => mod.default)
|
|
24
|
+
}
|
|
25
|
+
});
|
|
26
|
+
|
|
27
|
+
//#endregion
|
|
28
|
+
export { git_sync_default as default };
|
|
@@ -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-D5bZ5BUX.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-C1QgWHM7.mjs";
|
|
4
4
|
import { renderSummary } from "./capabilities-BX1rnVuH.mjs";
|
|
5
|
-
import "./poll-
|
|
6
|
-
import { REMOTE_SYNC_PATHS } from "./poll-task-
|
|
5
|
+
import "./poll-CYkX02Bm.mjs";
|
|
6
|
+
import { REMOTE_SYNC_PATHS } from "./poll-task-oXpl3wzp.mjs";
|
|
7
7
|
import { z } from "zod";
|
|
8
8
|
|
|
9
9
|
//#region src/commands/git-sync/has-remote-changes.ts
|
|
@@ -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-D5bZ5BUX.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-C1QgWHM7.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-DNPeV0Iu.mjs";
|
|
6
|
+
import "./poll-CYkX02Bm.mjs";
|
|
7
|
+
import { gitSyncWaitFlags, parseWaitFlags } from "./wait-flags-DQrxnlwv.mjs";
|
|
8
|
+
import { REMOTE_SYNC_PATHS, SyncTask, formatSyncTask, pollSyncTask, throwIfFailedTask } from "./poll-task-oXpl3wzp.mjs";
|
|
9
9
|
import { z } from "zod";
|
|
10
10
|
|
|
11
11
|
//#region src/commands/git-sync/import.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
2
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
1
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-D5bZ5BUX.mjs";
|
|
2
|
+
import { defineMetabaseCommand } from "./runtime-C1QgWHM7.mjs";
|
|
3
3
|
import { renderSummary } from "./capabilities-BX1rnVuH.mjs";
|
|
4
|
-
import { REMOTE_SYNC_PATHS } from "./poll-task-
|
|
4
|
+
import { REMOTE_SYNC_PATHS } from "./poll-task-oXpl3wzp.mjs";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
|
|
7
7
|
//#region src/commands/git-sync/is-dirty.ts
|