@metabase/cli 0.1.4 → 0.1.5
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/.claude-plugin/marketplace.json +19 -0
- package/README.md +40 -7
- package/dist/{add-collection-CffaBB-Y.mjs → add-collection-C_iovi9i.mjs} +3 -3
- package/dist/{add-collection-CPL1njYZ.mjs → add-collection-ucsyAMkV.mjs} +6 -6
- package/dist/{api-key-9p1UPnXn.mjs → api-key-BENHbTbV.mjs} +1 -1
- package/dist/{archive-BAcEXbT9.mjs → archive-BKPO8lEO.mjs} +3 -3
- package/dist/{archive-B_B3MQp0.mjs → archive-DdaP94H3.mjs} +3 -3
- package/dist/{archive-uJrslh9r.mjs → archive-Dvzrmdbk.mjs} +3 -3
- package/dist/{archive-GdGm7l2e.mjs → archive-WaEW85NB.mjs} +4 -4
- package/dist/auth-DICRtJDy.mjs +19 -0
- package/dist/{body-D6dHGjMT.mjs → body-XtR7-uCO.mjs} +1 -1
- package/dist/{branches-Bpe40fEd.mjs → branches-XUY4JY-X.mjs} +4 -4
- package/dist/{cancel-BWTY6oYI.mjs → cancel-BrUVO_ax.mjs} +3 -3
- package/dist/{cancel-task--BfiAXfS.mjs → cancel-task-oXheTOB6.mjs} +4 -4
- package/dist/card-l-UmrUIo.mjs +20 -0
- package/dist/{cards-CVlFJxYh.mjs → cards-CONTTAG9.mjs} +3 -3
- package/dist/cli.mjs +28 -25
- package/dist/collection-oV0olVY-.mjs +19 -0
- package/dist/{create-izE3EKCt.mjs → create-Ca9lIDwP.mjs} +3 -3
- package/dist/{create-ov-De5dO.mjs → create-CrUq6sib.mjs} +4 -4
- package/dist/{create-DQVdMT2Y.mjs → create-Cs2xntFG.mjs} +4 -4
- package/dist/{create-doyv3SxU.mjs → create-D3Z878yr.mjs} +3 -3
- package/dist/{create-Bu-YhIDL.mjs → create-DZxUeqdf.mjs} +4 -4
- package/dist/{create-DP8RrLDi.mjs → create-Dq25vsMu.mjs} +4 -4
- package/dist/{create-BzElku2l.mjs → create-Le3Bqn7b.mjs} +3 -3
- package/dist/{create-BykvNpSA.mjs → create-V-q2rU0T.mjs} +4 -4
- package/dist/{create-branch-B49UQyCK.mjs → create-branch-D5u14AxL.mjs} +4 -4
- package/dist/{create-DYoc9IXW.mjs → create-kYpjobrq.mjs} +4 -4
- package/dist/{create-Cz3_Wxdt.mjs → create-swbIXdo5.mjs} +3 -3
- package/dist/{credentials-xKSoP6eh.mjs → credentials-BIQ1cEzM.mjs} +8 -7
- package/dist/{current-task-DweHmjlk.mjs → current-task-DCq7rk9V.mjs} +4 -4
- package/dist/dashboard-hbKDd36X.mjs +20 -0
- package/dist/{database-BNlvldUL.mjs → database-BSvzYlRe.mjs} +3 -3
- package/dist/db-qVK6NsdB.mjs +22 -0
- package/dist/{delete-DojHmKeM.mjs → delete-CUx6RT9e.mjs} +4 -4
- package/dist/{delete-DIz9Tgz5.mjs → delete-VTAS9EUt.mjs} +4 -4
- package/dist/{delete-table-DjN8E3sd.mjs → delete-table-DzUneMKe.mjs} +4 -4
- package/dist/{deprovision-_HDcBApz.mjs → deprovision-CpJfGgCt.mjs} +8 -8
- package/dist/{dirty-Co8V0SZ3.mjs → dirty-nkAOXxgC.mjs} +4 -4
- package/dist/{docker-D9sC_37H.mjs → docker-D5FTIoD0.mjs} +3 -3
- package/dist/{eid-Cr5r-t9B.mjs → eid-CDFXX_6H.mjs} +1 -1
- package/dist/{export-CVMFxoo1.mjs → export-BWvY7X_G.mjs} +5 -5
- package/dist/field-C0LE7RQI.mjs +18 -0
- package/dist/{fields-Coha7vKv.mjs → fields-dH16G5UV.mjs} +3 -3
- package/dist/get-7macOPAI.mjs +79 -0
- package/dist/{get-AOvWo48B.mjs → get-B08K82JV.mjs} +4 -4
- package/dist/{get-bNtA7vWe.mjs → get-B7i_nYJB.mjs} +4 -4
- package/dist/{get-CJwzbVjc.mjs → get-BcqxMVC1.mjs} +3 -3
- package/dist/{get-DXv2FkA7.mjs → get-BnBRKHr7.mjs} +3 -3
- package/dist/{get-BVTz9B_H.mjs → get-C6SR3A9t.mjs} +2 -2
- package/dist/{get-BSKoL8ek.mjs → get-CACaBFLt.mjs} +3 -3
- package/dist/{get-C_6K7MSW.mjs → get-CKxlhMy1.mjs} +2 -2
- package/dist/{get-Be6EFh94.mjs → get-D8e_RzZ0.mjs} +3 -3
- package/dist/{get-Br6WayZv.mjs → get-D96QEU49.mjs} +3 -3
- package/dist/{get-DZrV7v9d.mjs → get-DAWofnzK.mjs} +3 -3
- package/dist/{get-BOtKerj8.mjs → get-DNN1X2gN.mjs} +3 -3
- package/dist/{get-BxzCKVC6.mjs → get-R7OaVL_t.mjs} +4 -4
- package/dist/{get-run-CSrXHDGS.mjs → get-run-CwFuR4Uw.mjs} +4 -4
- package/dist/git-sync-DV7YjniX.mjs +28 -0
- package/dist/{has-remote-changes-D6xgsuUr.mjs → has-remote-changes-BAnIXQXU.mjs} +4 -4
- package/dist/{import-Dv0ORSNw.mjs → import-CfdPEMng.mjs} +5 -5
- package/dist/{is-dirty-WNi8a6O9.mjs → is-dirty-CZWcG0vj.mjs} +2 -2
- package/dist/is-dirty-LxVbm2C5.mjs +10 -0
- package/dist/{items-CTcAMknV.mjs → items-DqwahOKf.mjs} +3 -3
- package/dist/{license-DLLTpFvP.mjs → license-Cb6ewEJO.mjs} +3 -3
- package/dist/{list-DjhZU-FY.mjs → list-Bkd7Nbds.mjs} +2 -2
- package/dist/{list-DhWG5jiW.mjs → list-BpNU1neq.mjs} +2 -2
- package/dist/{list-CocYwmnI.mjs → list-BqNMpIXy.mjs} +2 -2
- package/dist/{list-DvUjMQze.mjs → list-CQkDqphl.mjs} +2 -2
- package/dist/{list-xQmtQPSl.mjs → list-D41gfkKb.mjs} +2 -2
- package/dist/{list-CbJeP0Z6.mjs → list-DBOYoJtA.mjs} +3 -3
- package/dist/{list-NiwCL_1X.mjs → list-DJcGwJ4W.mjs} +3 -3
- package/dist/{list-BNzdnE1c.mjs → list-DV6CONhp.mjs} +2 -2
- package/dist/{list-DI7K3K6k.mjs → list-J277Qtki.mjs} +3 -3
- package/dist/list-L63TpX1t.mjs +44 -0
- package/dist/{list-DSs0Q78i.mjs → list-ViT2KWhv.mjs} +3 -3
- package/dist/{list-BxdXvGTK.mjs → list-oftHLFbE.mjs} +2 -2
- package/dist/{list-FXuSCYpa.mjs → list-vF4EneaE.mjs} +3 -3
- package/dist/{list-8oVMvlLV.mjs → list-yxVAE1S7.mjs} +2 -2
- package/dist/{login-SXsSH0I1.mjs → login-D1nZwgKv.mjs} +2 -2
- package/dist/{logout-bgOXjxbN.mjs → logout-DD4q5whi.mjs} +2 -2
- package/dist/{logs-BnwVbFuD.mjs → logs-Ci3mJE2z.mjs} +6 -6
- package/dist/measure-XhJuL77y.mjs +19 -0
- package/dist/{metadata-B0WZT3Yb.mjs → metadata-29_qlqbz.mjs} +3 -3
- package/dist/{metadata-Bu2HOmuX.mjs → metadata-BDat-jN9.mjs} +3 -3
- package/dist/{package-D-aVYFKM.mjs → package-DFUprkSZ.mjs} +7 -2
- package/dist/{parse-id-B3B-0hUA.mjs → parse-id-CysSaCbf.mjs} +1 -1
- package/dist/{parse-schemas-DgtVLikM.mjs → parse-schemas-B10n01ez.mjs} +1 -1
- package/dist/path-DLByFMMA.mjs +58 -0
- package/dist/{poll-BCnrcUVf.mjs → poll-p9Y7-JEQ.mjs} +1 -1
- package/dist/{poll-task-0b1V6G-8.mjs → poll-task-BQe0NvJZ.mjs} +2 -2
- package/dist/{preflight-5ACaYnDp.mjs → preflight-CvFu0Cct.mjs} +1 -1
- package/dist/{provision-29Zt62Ft.mjs → provision-BP-b4Are.mjs} +9 -9
- package/dist/{ps-C5FOLwL2.mjs → ps-Bk6unzaX.mjs} +6 -6
- package/dist/{ps-BMFiRCi4.mjs → ps-BxQdpkr5.mjs} +2 -2
- package/dist/{query-aba8MEe_.mjs → query-C7zTlFJA.mjs} +3 -3
- package/dist/{query-DxA353Hy.mjs → query-CFH4nBlK.mjs} +3 -3
- package/dist/{remove-BfgU_CQi.mjs → remove-BuWxx3hY.mjs} +2 -2
- package/dist/{remove-B3ZEqBF7.mjs → remove-C6bS0Z6w.mjs} +6 -6
- package/dist/{remove-collection-Brv72xUe.mjs → remove-collection-Bc4roCq0.mjs} +6 -6
- package/dist/{rescan-values-DIAdjoq7.mjs → rescan-values-DabyRYQ_.mjs} +3 -3
- package/dist/{run-CgXRo0hD.mjs → run-Cl-9RtC4.mjs} +6 -6
- package/dist/{runs-DtLRw6xg.mjs → runs-BH6s1Zao.mjs} +4 -4
- package/dist/{runtime-Br8L4NPm.mjs → runtime-CDu6fykq.mjs} +1 -1
- package/dist/{schema-tables-DiKMY6lx.mjs → schema-tables-i58wp_p3.mjs} +3 -3
- package/dist/{schemas-Bvr8cOzo.mjs → schemas-_m8RYRl9.mjs} +3 -3
- package/dist/{search-BT_TCcTd.mjs → search-DObOsjbP.mjs} +3 -3
- package/dist/segment-DfxZdJmR.mjs +19 -0
- package/dist/{set-DtG0KH6P.mjs → set-CJA9dpK6.mjs} +2 -2
- package/dist/{set-CAIkXlPy.mjs → set-CwVWeAsi.mjs} +3 -3
- package/dist/{setting-BDOi5fk_.mjs → setting-Czy4ws6h.mjs} +3 -3
- package/dist/{setup-LjTvvlJy.mjs → setup-DqBOe3HZ.mjs} +3 -3
- package/dist/skills-C2rTVj0n.mjs +18 -0
- package/dist/skills-CHU7uuDU.mjs +191 -0
- package/dist/snippet-BCY4KHBU.mjs +19 -0
- package/dist/{start-CXKt0Q7A.mjs → start-CfruN4wF.mjs} +9 -8
- package/dist/{stash-dRw1UEwg.mjs → stash-CWuXKSZq.mjs} +5 -5
- package/dist/{status-BWep0PFe.mjs → status-1oUnw803.mjs} +2 -2
- package/dist/{status-C2niMfrQ.mjs → status-D-RYZB9G.mjs} +5 -5
- package/dist/{status-BEONmJWv.mjs → status-J9HIDcA5.mjs} +2 -2
- package/dist/{stop-BdedYfwU.mjs → stop-D8Hr4cKX.mjs} +7 -7
- package/dist/{summary-BPDA4K99.mjs → summary-Lt2XLBK9.mjs} +3 -3
- package/dist/{sync-schema-D95LLRpf.mjs → sync-schema-BDElSynU.mjs} +3 -3
- package/dist/table-BwX3Ib5f.mjs +19 -0
- package/dist/transform-iaAi37V0.mjs +24 -0
- package/dist/transform-job-Bemonf82.mjs +19 -0
- package/dist/{translate-CG_Ka0dO.mjs → translate-Cqsd0Px5.mjs} +3 -3
- package/dist/{tree-DazZT7dR.mjs → tree-DfvjDjmk.mjs} +2 -2
- package/dist/{update-DTIWJxob.mjs → update-B0bjPqKC.mjs} +4 -4
- package/dist/{update-CJSDB6S8.mjs → update-BYduslhn.mjs} +9 -9
- package/dist/{update-BBfvArCx.mjs → update-BgcroYkF.mjs} +5 -5
- package/dist/{update-djgvzO3K.mjs → update-CVxOxmt6.mjs} +4 -4
- package/dist/{update-DE6kjV-f.mjs → update-CqnDMNtZ.mjs} +5 -5
- package/dist/{update-bW-i6gjZ.mjs → update-D9Z8cL7h.mjs} +4 -4
- package/dist/{update-659eQR1L.mjs → update-DuA8-cCq.mjs} +4 -4
- package/dist/{update-9kVyE3BJ.mjs → update-DzgXF082.mjs} +5 -5
- package/dist/{update-dashcard-BhD5x__K.mjs → update-dashcard-CQ3kmmss.mjs} +4 -4
- package/dist/{update-WyRKlQPh.mjs → update-qnFY5IuC.mjs} +5 -5
- package/dist/{update-DSWZSfpw.mjs → update-zp7pCBZH.mjs} +4 -4
- package/dist/{upgrade-D58rvXHM.mjs → upgrade-CIgTr2CG.mjs} +3 -3
- package/dist/{url-DKkSu2D8.mjs → url-B5MgZXzg.mjs} +6 -6
- package/dist/{uuid-BF20B59s.mjs → uuid-CJz9TmHI.mjs} +2 -2
- package/dist/{values-DyjmpcbT.mjs → values-BXN6tx1i.mjs} +3 -3
- package/dist/{wait-CeUPCgdc.mjs → wait-BFqBlg0y.mjs} +2 -2
- package/dist/{wait-flags-BR-yqe7y.mjs → wait-flags-CN-e9zNq.mjs} +2 -2
- package/dist/{wait-DhkTaV6E.mjs → wait-tDp9ZOou.mjs} +5 -5
- package/dist/workspace-BBsT0H0g.mjs +24 -0
- package/dist/{workspace-credentials-Cctumbru.mjs → workspace-credentials-4lIxxz4g.mjs} +2 -41
- package/dist/yaml-ECiog374.mjs +43 -0
- package/package.json +5 -2
- package/skill-data/core/SKILL.md +575 -0
- package/skill-data/git-sync/SKILL.md +196 -0
- package/skill-data/transform/SKILL.md +235 -0
- package/skill-data/workspace/SKILL.md +408 -0
- package/skills/metabase-cli/SKILL.md +42 -0
- package/dist/auth-N4w5xtwW.mjs +0 -19
- package/dist/card-4rZRb5bc.mjs +0 -20
- package/dist/collection-Cp_B02I4.mjs +0 -19
- package/dist/dashboard-BYBiA-IG.mjs +0 -20
- package/dist/db-CObVU22j.mjs +0 -22
- package/dist/field-CbljasCH.mjs +0 -18
- package/dist/git-sync-BGkS8o5b.mjs +0 -28
- package/dist/is-dirty-BOZ4xz92.mjs +0 -10
- package/dist/measure-B54VtKym.mjs +0 -19
- package/dist/segment-C2ui5dSd.mjs +0 -19
- package/dist/snippet-BcgVYsoR.mjs +0 -19
- package/dist/table-lCNGbvej.mjs +0 -19
- package/dist/transform-BGAm1s4f.mjs +0 -24
- package/dist/transform-job-cNTJ30pm.mjs +0 -19
- package/dist/workspace-DtcBldk0.mjs +0 -24
- /package/dist/{delete-runtime-BkAdygbs.mjs → delete-runtime-DfFMWJJ6.mjs} +0 -0
- /package/dist/{process-FjsqDwKo.mjs → process-zJeVJZTM.mjs} +0 -0
- /package/dist/{snippet-Dw0Sjzkr.mjs → snippet-CSWqkslB.mjs} +0 -0
- /package/dist/{transform-IEX4Mx3X.mjs → transform-DR4ejuPM.mjs} +0 -0
- /package/dist/{transform-job-Csr86muI.mjs → transform-job-BrhOLO4M.mjs} +0 -0
- /package/dist/{workspace-C5q4nbpY.mjs → workspace-DUfqhPm5.mjs} +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import "./package-
|
|
1
|
+
import "./package-DFUprkSZ.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
3
|
import { renderItem } from "./render-DuoDUTVL.mjs";
|
|
4
4
|
import "./predicates-CGO17Q15.mjs";
|
|
5
|
-
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-
|
|
6
|
-
import { SyncTaskOrIdle, fetchCurrentTask, syncTaskIdleView, syncTaskView } from "./poll-task-
|
|
7
|
-
import "./poll-
|
|
5
|
+
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-CDu6fykq.mjs";
|
|
6
|
+
import { SyncTaskOrIdle, fetchCurrentTask, syncTaskIdleView, syncTaskView } from "./poll-task-BQe0NvJZ.mjs";
|
|
7
|
+
import "./poll-p9Y7-JEQ.mjs";
|
|
8
8
|
|
|
9
9
|
//#region src/commands/git-sync/current-task.ts
|
|
10
10
|
const CurrentTaskResult = SyncTaskOrIdle;
|
|
@@ -0,0 +1,20 @@
|
|
|
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-oftHLFbE.mjs").then((mod) => mod.default),
|
|
11
|
+
get: () => import("./get-BcqxMVC1.mjs").then((mod) => mod.default),
|
|
12
|
+
cards: () => import("./cards-CONTTAG9.mjs").then((mod) => mod.default),
|
|
13
|
+
create: () => import("./create-Cs2xntFG.mjs").then((mod) => mod.default),
|
|
14
|
+
update: () => import("./update-CqnDMNtZ.mjs").then((mod) => mod.default),
|
|
15
|
+
"update-dashcard": () => import("./update-dashcard-CQ3kmmss.mjs").then((mod) => mod.default)
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
|
|
19
|
+
//#endregion
|
|
20
|
+
export { dashboard_default as default };
|
|
@@ -7,9 +7,9 @@ var database_default = defineCommand({
|
|
|
7
7
|
description: "Manage databases provisioned to a workspace"
|
|
8
8
|
},
|
|
9
9
|
subCommands: {
|
|
10
|
-
provision: () => import("./provision-
|
|
11
|
-
update: () => import("./update-
|
|
12
|
-
deprovision: () => import("./deprovision-
|
|
10
|
+
provision: () => import("./provision-BP-b4Are.mjs").then((mod) => mod.default),
|
|
11
|
+
update: () => import("./update-BYduslhn.mjs").then((mod) => mod.default),
|
|
12
|
+
deprovision: () => import("./deprovision-CpJfGgCt.mjs").then((mod) => mod.default)
|
|
13
13
|
}
|
|
14
14
|
});
|
|
15
15
|
|
|
@@ -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 Metabase databases",
|
|
8
|
+
alias: "database"
|
|
9
|
+
},
|
|
10
|
+
subCommands: {
|
|
11
|
+
list: () => import("./list-BqNMpIXy.mjs").then((m) => m.default),
|
|
12
|
+
get: () => import("./get-D8e_RzZ0.mjs").then((m) => m.default),
|
|
13
|
+
metadata: () => import("./metadata-BDat-jN9.mjs").then((m) => m.default),
|
|
14
|
+
schemas: () => import("./schemas-_m8RYRl9.mjs").then((m) => m.default),
|
|
15
|
+
"schema-tables": () => import("./schema-tables-i58wp_p3.mjs").then((m) => m.default),
|
|
16
|
+
"sync-schema": () => import("./sync-schema-BDElSynU.mjs").then((m) => m.default),
|
|
17
|
+
"rescan-values": () => import("./rescan-values-DabyRYQ_.mjs").then((m) => m.default)
|
|
18
|
+
}
|
|
19
|
+
});
|
|
20
|
+
|
|
21
|
+
//#endregion
|
|
22
|
+
export { db_default as default };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import "./package-
|
|
1
|
+
import "./package-DFUprkSZ.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
3
|
import "./render-DuoDUTVL.mjs";
|
|
4
4
|
import "./predicates-CGO17Q15.mjs";
|
|
5
|
-
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-
|
|
6
|
-
import { parseId } from "./parse-id-
|
|
5
|
+
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-CDu6fykq.mjs";
|
|
6
|
+
import { parseId } from "./parse-id-CysSaCbf.mjs";
|
|
7
7
|
import "./prompt-DgDNy_Pc.mjs";
|
|
8
|
-
import { DeleteResult, confirmAndDelete } from "./delete-runtime-
|
|
8
|
+
import { DeleteResult, confirmAndDelete } from "./delete-runtime-DfFMWJJ6.mjs";
|
|
9
9
|
|
|
10
10
|
//#region src/commands/transform-job/delete.ts
|
|
11
11
|
var delete_default = defineMetabaseCommand({
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import "./package-
|
|
1
|
+
import "./package-DFUprkSZ.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
3
|
import "./render-DuoDUTVL.mjs";
|
|
4
4
|
import "./predicates-CGO17Q15.mjs";
|
|
5
|
-
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-
|
|
6
|
-
import { parseId } from "./parse-id-
|
|
5
|
+
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-CDu6fykq.mjs";
|
|
6
|
+
import { parseId } from "./parse-id-CysSaCbf.mjs";
|
|
7
7
|
import "./prompt-DgDNy_Pc.mjs";
|
|
8
|
-
import { DeleteResult, confirmAndDelete } from "./delete-runtime-
|
|
8
|
+
import { DeleteResult, confirmAndDelete } from "./delete-runtime-DfFMWJJ6.mjs";
|
|
9
9
|
|
|
10
10
|
//#region src/commands/transform/delete.ts
|
|
11
11
|
var delete_default = defineMetabaseCommand({
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import "./package-
|
|
1
|
+
import "./package-DFUprkSZ.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
3
|
import "./render-DuoDUTVL.mjs";
|
|
4
4
|
import "./predicates-CGO17Q15.mjs";
|
|
5
|
-
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-
|
|
6
|
-
import { parseId } from "./parse-id-
|
|
5
|
+
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-CDu6fykq.mjs";
|
|
6
|
+
import { parseId } from "./parse-id-CysSaCbf.mjs";
|
|
7
7
|
import "./prompt-DgDNy_Pc.mjs";
|
|
8
|
-
import { DeleteResult, confirmAndDelete } from "./delete-runtime-
|
|
8
|
+
import { DeleteResult, confirmAndDelete } from "./delete-runtime-DfFMWJJ6.mjs";
|
|
9
9
|
|
|
10
10
|
//#region src/commands/transform/delete-table.ts
|
|
11
11
|
var delete_table_default = defineMetabaseCommand({
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import "./package-
|
|
1
|
+
import "./package-DFUprkSZ.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
3
|
import "./render-DuoDUTVL.mjs";
|
|
4
4
|
import "./predicates-CGO17Q15.mjs";
|
|
5
|
-
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-
|
|
6
|
-
import { parseId } from "./parse-id-
|
|
5
|
+
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-CDu6fykq.mjs";
|
|
6
|
+
import { parseId } from "./parse-id-CysSaCbf.mjs";
|
|
7
7
|
import "./prompt-DgDNy_Pc.mjs";
|
|
8
|
-
import "./poll-
|
|
9
|
-
import { DeleteResult, confirmAndDelete } from "./delete-runtime-
|
|
10
|
-
import { parseWaitFlags, waitFlags } from "./wait-flags-
|
|
11
|
-
import "./workspace-
|
|
12
|
-
import { waitForDatabaseGone } from "./wait-
|
|
8
|
+
import "./poll-p9Y7-JEQ.mjs";
|
|
9
|
+
import { DeleteResult, confirmAndDelete } from "./delete-runtime-DfFMWJJ6.mjs";
|
|
10
|
+
import { parseWaitFlags, waitFlags } from "./wait-flags-CN-e9zNq.mjs";
|
|
11
|
+
import "./workspace-DUfqhPm5.mjs";
|
|
12
|
+
import { waitForDatabaseGone } from "./wait-BFqBlg0y.mjs";
|
|
13
13
|
|
|
14
14
|
//#region src/commands/workspace/database/deprovision.ts
|
|
15
15
|
var deprovision_default = defineMetabaseCommand({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import "./package-
|
|
1
|
+
import "./package-DFUprkSZ.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
3
|
import { renderList } from "./render-DuoDUTVL.mjs";
|
|
4
4
|
import "./predicates-CGO17Q15.mjs";
|
|
5
|
-
import { connectionFlags, defineMetabaseCommand, listEnvelopeSchema, outputFlags, profileFlag, wrapList } from "./runtime-
|
|
6
|
-
import { REMOTE_SYNC_PATHS, SyncDirtyItem, SyncDirtyItemCompact, syncDirtyItemView } from "./poll-task-
|
|
7
|
-
import "./poll-
|
|
5
|
+
import { connectionFlags, defineMetabaseCommand, listEnvelopeSchema, outputFlags, profileFlag, wrapList } from "./runtime-CDu6fykq.mjs";
|
|
6
|
+
import { REMOTE_SYNC_PATHS, SyncDirtyItem, SyncDirtyItemCompact, syncDirtyItemView } from "./poll-task-BQe0NvJZ.mjs";
|
|
7
|
+
import "./poll-p9Y7-JEQ.mjs";
|
|
8
8
|
import { z } from "zod";
|
|
9
9
|
|
|
10
10
|
//#region src/commands/git-sync/dirty.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ConfigError, MetabaseError, errorMessage } from "./predicates-CGO17Q15.mjs";
|
|
2
|
-
import { parseJson } from "./runtime-
|
|
3
|
-
import { pollUntil } from "./poll-
|
|
4
|
-
import { ProcessNotFoundError, runProcess, runProcessBinary, streamProcess } from "./process-
|
|
2
|
+
import { parseJson } from "./runtime-CDu6fykq.mjs";
|
|
3
|
+
import { pollUntil } from "./poll-p9Y7-JEQ.mjs";
|
|
4
|
+
import { ProcessNotFoundError, runProcess, runProcessBinary, streamProcess } from "./process-zJeVJZTM.mjs";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
|
|
7
7
|
//#region src/runtime/tar.ts
|
|
@@ -6,7 +6,7 @@ var eid_default = defineCommand({
|
|
|
6
6
|
name: "eid",
|
|
7
7
|
description: "Translate Metabase entity ids (string EIDs) to numeric ids"
|
|
8
8
|
},
|
|
9
|
-
subCommands: { translate: () => import("./translate-
|
|
9
|
+
subCommands: { translate: () => import("./translate-Cqsd0Px5.mjs").then((mod) => mod.default) }
|
|
10
10
|
});
|
|
11
11
|
|
|
12
12
|
//#endregion
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import "./package-
|
|
1
|
+
import "./package-DFUprkSZ.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
3
|
import { renderItem, warn } from "./render-DuoDUTVL.mjs";
|
|
4
4
|
import "./predicates-CGO17Q15.mjs";
|
|
5
|
-
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-
|
|
6
|
-
import { parseId } from "./parse-id-
|
|
7
|
-
import { REMOTE_SYNC_PATHS, SyncTask, pollFlags, pollSyncTask, throwIfFailedTask } from "./poll-task-
|
|
8
|
-
import "./poll-
|
|
5
|
+
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-CDu6fykq.mjs";
|
|
6
|
+
import { parseId } from "./parse-id-CysSaCbf.mjs";
|
|
7
|
+
import { REMOTE_SYNC_PATHS, SyncTask, pollFlags, pollSyncTask, throwIfFailedTask } from "./poll-task-BQe0NvJZ.mjs";
|
|
8
|
+
import "./poll-p9Y7-JEQ.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: "Inspect Metabase fields"
|
|
8
|
+
},
|
|
9
|
+
subCommands: {
|
|
10
|
+
get: () => import("./get-D96QEU49.mjs").then((m) => m.default),
|
|
11
|
+
values: () => import("./values-BXN6tx1i.mjs").then((m) => m.default),
|
|
12
|
+
summary: () => import("./summary-Lt2XLBK9.mjs").then((m) => m.default),
|
|
13
|
+
update: () => import("./update-D9Z8cL7h.mjs").then((m) => m.default)
|
|
14
|
+
}
|
|
15
|
+
});
|
|
16
|
+
|
|
17
|
+
//#endregion
|
|
18
|
+
export { field_default as default };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import "./package-
|
|
1
|
+
import "./package-DFUprkSZ.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
3
|
import { renderList } from "./render-DuoDUTVL.mjs";
|
|
4
4
|
import "./predicates-CGO17Q15.mjs";
|
|
5
|
-
import { connectionFlags, defineMetabaseCommand, listEnvelopeSchema, outputFlags, profileFlag, wrapList } from "./runtime-
|
|
6
|
-
import { parseId } from "./parse-id-
|
|
5
|
+
import { connectionFlags, defineMetabaseCommand, listEnvelopeSchema, outputFlags, profileFlag, wrapList } from "./runtime-CDu6fykq.mjs";
|
|
6
|
+
import { parseId } from "./parse-id-CysSaCbf.mjs";
|
|
7
7
|
import { FieldCompact, fieldView } from "./field-B3gvaqpK.mjs";
|
|
8
8
|
import { TableQueryMetadata } from "./table-B-PYcgGb.mjs";
|
|
9
9
|
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import "./package-DFUprkSZ.mjs";
|
|
2
|
+
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
+
import { renderList, writeText } from "./render-DuoDUTVL.mjs";
|
|
4
|
+
import { ConfigError } from "./predicates-CGO17Q15.mjs";
|
|
5
|
+
import { defineMetabaseCommand, listEnvelopeSchema, outputFlags, parseCsv, wrapList } from "./runtime-CDu6fykq.mjs";
|
|
6
|
+
import "./yaml-ECiog374.mjs";
|
|
7
|
+
import { SkillContent, loadAllSkills, loadVisibleSkills, readSkillContent, selectSkillsByNames } from "./skills-CHU7uuDU.mjs";
|
|
8
|
+
|
|
9
|
+
//#region src/commands/skills/get.ts
|
|
10
|
+
const SkillGetEnvelope = listEnvelopeSchema(SkillContent);
|
|
11
|
+
const skillContentView = {
|
|
12
|
+
compactPick: SkillContent,
|
|
13
|
+
tableColumns: [{
|
|
14
|
+
key: "name",
|
|
15
|
+
label: "Name"
|
|
16
|
+
}, {
|
|
17
|
+
key: "description",
|
|
18
|
+
label: "Description"
|
|
19
|
+
}]
|
|
20
|
+
};
|
|
21
|
+
var get_default = defineMetabaseCommand({
|
|
22
|
+
meta: {
|
|
23
|
+
name: "get",
|
|
24
|
+
description: "Print one or more skills' SKILL.md content. Pass comma-separated names, or --all for every non-hidden skill. --full includes references and templates."
|
|
25
|
+
},
|
|
26
|
+
args: {
|
|
27
|
+
...outputFlags,
|
|
28
|
+
names: {
|
|
29
|
+
type: "positional",
|
|
30
|
+
description: "Skill name (or comma-separated list). Omit when using --all.",
|
|
31
|
+
required: false
|
|
32
|
+
},
|
|
33
|
+
all: {
|
|
34
|
+
type: "boolean",
|
|
35
|
+
description: "Fetch every non-hidden skill"
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
outputSchema: SkillGetEnvelope,
|
|
39
|
+
examples: [
|
|
40
|
+
"mb skills get core",
|
|
41
|
+
"mb skills get core --full",
|
|
42
|
+
"mb skills get workspace,transform --json",
|
|
43
|
+
"mb skills get --all --json"
|
|
44
|
+
],
|
|
45
|
+
run({ args, ctx }) {
|
|
46
|
+
const selected = pickSkills({
|
|
47
|
+
names: args.names,
|
|
48
|
+
all: args.all === true
|
|
49
|
+
});
|
|
50
|
+
const payloads = selected.map((info) => readSkillContent(info, { includeExtras: ctx.full }));
|
|
51
|
+
if (ctx.format === "json") {
|
|
52
|
+
renderList(wrapList(payloads), skillContentView, ctx);
|
|
53
|
+
return;
|
|
54
|
+
}
|
|
55
|
+
writeText(renderText(payloads, ctx.full));
|
|
56
|
+
}
|
|
57
|
+
});
|
|
58
|
+
function pickSkills({ names, all }) {
|
|
59
|
+
if (all && names !== void 0) throw new ConfigError("--all conflicts with a positional skill name");
|
|
60
|
+
if (all) return loadVisibleSkills();
|
|
61
|
+
if (names === void 0) throw new ConfigError("provide a skill name (comma-separated for multiple) or --all");
|
|
62
|
+
return selectSkillsByNames(loadAllSkills(), parseCsv(names));
|
|
63
|
+
}
|
|
64
|
+
function renderText(payloads, includeExtras) {
|
|
65
|
+
return payloads.map((payload) => renderTextSection(payload, includeExtras)).join("\n\n");
|
|
66
|
+
}
|
|
67
|
+
function renderTextSection(payload, includeExtras) {
|
|
68
|
+
const parts = [payload.body.trimEnd()];
|
|
69
|
+
if (!includeExtras) return parts.join("\n\n");
|
|
70
|
+
for (const ref of payload.references) parts.push(extraFileHeader(payload.name, ref.path), ref.content.trimEnd());
|
|
71
|
+
for (const tpl of payload.templates) parts.push(extraFileHeader(payload.name, tpl.path), tpl.content.trimEnd());
|
|
72
|
+
return parts.join("\n\n");
|
|
73
|
+
}
|
|
74
|
+
function extraFileHeader(skillName, relPath) {
|
|
75
|
+
return `=== ${skillName}/${relPath} ===`;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
//#endregion
|
|
79
|
+
export { get_default as default };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import "./package-
|
|
1
|
+
import "./package-DFUprkSZ.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
3
|
import { renderItem } from "./render-DuoDUTVL.mjs";
|
|
4
4
|
import "./predicates-CGO17Q15.mjs";
|
|
5
|
-
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-
|
|
6
|
-
import { parseId } from "./parse-id-
|
|
7
|
-
import { TransformJob, transformJobView } from "./transform-job-
|
|
5
|
+
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-CDu6fykq.mjs";
|
|
6
|
+
import { parseId } from "./parse-id-CysSaCbf.mjs";
|
|
7
|
+
import { TransformJob, transformJobView } from "./transform-job-BrhOLO4M.mjs";
|
|
8
8
|
|
|
9
9
|
//#region src/commands/transform-job/get.ts
|
|
10
10
|
var get_default = defineMetabaseCommand({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import "./package-
|
|
1
|
+
import "./package-DFUprkSZ.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
3
|
import { renderItem } from "./render-DuoDUTVL.mjs";
|
|
4
4
|
import "./predicates-CGO17Q15.mjs";
|
|
5
|
-
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-
|
|
6
|
-
import { parseId } from "./parse-id-
|
|
7
|
-
import { Transform, transformView } from "./transform-
|
|
5
|
+
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-CDu6fykq.mjs";
|
|
6
|
+
import { parseId } from "./parse-id-CysSaCbf.mjs";
|
|
7
|
+
import { Transform, transformView } from "./transform-DR4ejuPM.mjs";
|
|
8
8
|
|
|
9
9
|
//#region src/commands/transform/get.ts
|
|
10
10
|
var get_default = defineMetabaseCommand({
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import "./package-
|
|
1
|
+
import "./package-DFUprkSZ.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
3
|
import { renderItem } from "./render-DuoDUTVL.mjs";
|
|
4
4
|
import "./predicates-CGO17Q15.mjs";
|
|
5
|
-
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-
|
|
6
|
-
import { parseId } from "./parse-id-
|
|
5
|
+
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-CDu6fykq.mjs";
|
|
6
|
+
import { parseId } from "./parse-id-CysSaCbf.mjs";
|
|
7
7
|
import { DashboardDetail, dashboardView } from "./dashboard-CnMD04PQ.mjs";
|
|
8
8
|
|
|
9
9
|
//#region src/commands/dashboard/get.ts
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import "./package-
|
|
1
|
+
import "./package-DFUprkSZ.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
3
|
import { renderItem } from "./render-DuoDUTVL.mjs";
|
|
4
4
|
import "./predicates-CGO17Q15.mjs";
|
|
5
|
-
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-
|
|
6
|
-
import { parseId } from "./parse-id-
|
|
5
|
+
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-CDu6fykq.mjs";
|
|
6
|
+
import { parseId } from "./parse-id-CysSaCbf.mjs";
|
|
7
7
|
import { Segment, segmentView } from "./segment-BMrUBz94.mjs";
|
|
8
8
|
|
|
9
9
|
//#region src/commands/segment/get.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import "./package-
|
|
1
|
+
import "./package-DFUprkSZ.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
3
|
import { renderItem } from "./render-DuoDUTVL.mjs";
|
|
4
4
|
import "./predicates-CGO17Q15.mjs";
|
|
5
|
-
import { connectionFlags, defineMetabaseCommand, outputFlags, parseJsonOrPlain, profileFlag } from "./runtime-
|
|
5
|
+
import { connectionFlags, defineMetabaseCommand, outputFlags, parseJsonOrPlain, profileFlag } from "./runtime-CDu6fykq.mjs";
|
|
6
6
|
import { SettingValue, settingValueView } from "./setting-CTaAeMci.mjs";
|
|
7
7
|
import { parseSettingKey } from "./key-CCJdVWKc.mjs";
|
|
8
8
|
import { z } from "zod";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import "./package-
|
|
1
|
+
import "./package-DFUprkSZ.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
3
|
import { renderItem } from "./render-DuoDUTVL.mjs";
|
|
4
4
|
import "./predicates-CGO17Q15.mjs";
|
|
5
|
-
import { connectionFlags, defineMetabaseCommand, outputFlags, parseEnum, profileFlag } from "./runtime-
|
|
6
|
-
import { parseId } from "./parse-id-
|
|
5
|
+
import { connectionFlags, defineMetabaseCommand, outputFlags, parseEnum, profileFlag } from "./runtime-CDu6fykq.mjs";
|
|
6
|
+
import { parseId } from "./parse-id-CysSaCbf.mjs";
|
|
7
7
|
import "./field-B3gvaqpK.mjs";
|
|
8
8
|
import { Table, TableQueryMetadata, tableView } from "./table-B-PYcgGb.mjs";
|
|
9
9
|
import { z } from "zod";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import "./package-
|
|
1
|
+
import "./package-DFUprkSZ.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
3
|
import { renderItem } from "./render-DuoDUTVL.mjs";
|
|
4
4
|
import "./predicates-CGO17Q15.mjs";
|
|
5
|
-
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-
|
|
5
|
+
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-CDu6fykq.mjs";
|
|
6
6
|
import { Collection, collectionView } from "./collection-B3sPXRLs.mjs";
|
|
7
7
|
import { parseCollectionRef } from "./parse-ref-D1yeDOn8.mjs";
|
|
8
8
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import "./package-
|
|
1
|
+
import "./package-DFUprkSZ.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
3
|
import { renderItem } from "./render-DuoDUTVL.mjs";
|
|
4
4
|
import "./predicates-CGO17Q15.mjs";
|
|
5
|
-
import { connectionFlags, defineMetabaseCommand, outputFlags, parseEnum, profileFlag } from "./runtime-
|
|
6
|
-
import { parseId } from "./parse-id-
|
|
5
|
+
import { connectionFlags, defineMetabaseCommand, outputFlags, parseEnum, profileFlag } from "./runtime-CDu6fykq.mjs";
|
|
6
|
+
import { parseId } from "./parse-id-CysSaCbf.mjs";
|
|
7
7
|
import "./field-B3gvaqpK.mjs";
|
|
8
8
|
import "./table-B-PYcgGb.mjs";
|
|
9
9
|
import { Database, databaseView } from "./database-vvig8k4x.mjs";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import "./package-
|
|
1
|
+
import "./package-DFUprkSZ.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
3
|
import { renderItem } from "./render-DuoDUTVL.mjs";
|
|
4
4
|
import "./predicates-CGO17Q15.mjs";
|
|
5
|
-
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-
|
|
6
|
-
import { parseId } from "./parse-id-
|
|
5
|
+
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-CDu6fykq.mjs";
|
|
6
|
+
import { parseId } from "./parse-id-CysSaCbf.mjs";
|
|
7
7
|
import { Field, fieldView } from "./field-B3gvaqpK.mjs";
|
|
8
8
|
|
|
9
9
|
//#region src/commands/field/get.ts
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import "./package-
|
|
1
|
+
import "./package-DFUprkSZ.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
3
|
import { renderItem } from "./render-DuoDUTVL.mjs";
|
|
4
4
|
import "./predicates-CGO17Q15.mjs";
|
|
5
|
-
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-
|
|
6
|
-
import { parseId } from "./parse-id-
|
|
5
|
+
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-CDu6fykq.mjs";
|
|
6
|
+
import { parseId } from "./parse-id-CysSaCbf.mjs";
|
|
7
7
|
import { Measure, measureView } from "./measure-BEQfnLdN.mjs";
|
|
8
8
|
|
|
9
9
|
//#region src/commands/measure/get.ts
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import "./package-
|
|
1
|
+
import "./package-DFUprkSZ.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
3
|
import { renderItem } from "./render-DuoDUTVL.mjs";
|
|
4
4
|
import "./predicates-CGO17Q15.mjs";
|
|
5
|
-
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-
|
|
6
|
-
import { parseId } from "./parse-id-
|
|
5
|
+
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-CDu6fykq.mjs";
|
|
6
|
+
import { parseId } from "./parse-id-CysSaCbf.mjs";
|
|
7
7
|
import "./field-B3gvaqpK.mjs";
|
|
8
8
|
import { Card, cardView } from "./card-CQxvHeyP.mjs";
|
|
9
9
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import "./package-
|
|
1
|
+
import "./package-DFUprkSZ.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
3
|
import { renderItem } from "./render-DuoDUTVL.mjs";
|
|
4
4
|
import "./predicates-CGO17Q15.mjs";
|
|
5
|
-
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-
|
|
6
|
-
import { parseId } from "./parse-id-
|
|
7
|
-
import { Snippet, snippetView } from "./snippet-
|
|
5
|
+
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-CDu6fykq.mjs";
|
|
6
|
+
import { parseId } from "./parse-id-CysSaCbf.mjs";
|
|
7
|
+
import { Snippet, snippetView } from "./snippet-CSWqkslB.mjs";
|
|
8
8
|
|
|
9
9
|
//#region src/commands/snippet/get.ts
|
|
10
10
|
var get_default = defineMetabaseCommand({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import "./package-
|
|
1
|
+
import "./package-DFUprkSZ.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
3
|
import { renderItem } from "./render-DuoDUTVL.mjs";
|
|
4
4
|
import "./predicates-CGO17Q15.mjs";
|
|
5
|
-
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-
|
|
6
|
-
import { parseId } from "./parse-id-
|
|
7
|
-
import { TransformRun, transformRunView } from "./transform-
|
|
5
|
+
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-CDu6fykq.mjs";
|
|
6
|
+
import { parseId } from "./parse-id-CysSaCbf.mjs";
|
|
7
|
+
import { TransformRun, transformRunView } from "./transform-DR4ejuPM.mjs";
|
|
8
8
|
|
|
9
9
|
//#region src/commands/transform/get-run.ts
|
|
10
10
|
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-D-RYZB9G.mjs").then((mod) => mod.default),
|
|
11
|
+
"is-dirty": () => import("./is-dirty-LxVbm2C5.mjs").then((mod) => mod.default),
|
|
12
|
+
"has-remote-changes": () => import("./has-remote-changes-BAnIXQXU.mjs").then((mod) => mod.default),
|
|
13
|
+
dirty: () => import("./dirty-nkAOXxgC.mjs").then((mod) => mod.default),
|
|
14
|
+
"current-task": () => import("./current-task-DCq7rk9V.mjs").then((mod) => mod.default),
|
|
15
|
+
"cancel-task": () => import("./cancel-task-oXheTOB6.mjs").then((mod) => mod.default),
|
|
16
|
+
wait: () => import("./wait-tDp9ZOou.mjs").then((mod) => mod.default),
|
|
17
|
+
import: () => import("./import-CfdPEMng.mjs").then((mod) => mod.default),
|
|
18
|
+
export: () => import("./export-BWvY7X_G.mjs").then((mod) => mod.default),
|
|
19
|
+
stash: () => import("./stash-CWuXKSZq.mjs").then((mod) => mod.default),
|
|
20
|
+
branches: () => import("./branches-XUY4JY-X.mjs").then((mod) => mod.default),
|
|
21
|
+
"create-branch": () => import("./create-branch-D5u14AxL.mjs").then((mod) => mod.default),
|
|
22
|
+
"add-collection": () => import("./add-collection-ucsyAMkV.mjs").then((mod) => mod.default),
|
|
23
|
+
"remove-collection": () => import("./remove-collection-Bc4roCq0.mjs").then((mod) => mod.default)
|
|
24
|
+
}
|
|
25
|
+
});
|
|
26
|
+
|
|
27
|
+
//#endregion
|
|
28
|
+
export { git_sync_default as default };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import "./package-
|
|
1
|
+
import "./package-DFUprkSZ.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
3
|
import { renderItem } from "./render-DuoDUTVL.mjs";
|
|
4
4
|
import "./predicates-CGO17Q15.mjs";
|
|
5
|
-
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-
|
|
6
|
-
import { REMOTE_SYNC_PATHS } from "./poll-task-
|
|
7
|
-
import "./poll-
|
|
5
|
+
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-CDu6fykq.mjs";
|
|
6
|
+
import { REMOTE_SYNC_PATHS } from "./poll-task-BQe0NvJZ.mjs";
|
|
7
|
+
import "./poll-p9Y7-JEQ.mjs";
|
|
8
8
|
import { z } from "zod";
|
|
9
9
|
|
|
10
10
|
//#region src/commands/git-sync/has-remote-changes.ts
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import "./package-
|
|
1
|
+
import "./package-DFUprkSZ.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
3
|
import { renderItem } from "./render-DuoDUTVL.mjs";
|
|
4
4
|
import "./predicates-CGO17Q15.mjs";
|
|
5
|
-
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-
|
|
6
|
-
import { parseId } from "./parse-id-
|
|
7
|
-
import { REMOTE_SYNC_PATHS, SyncTask, pollFlags, pollSyncTask, throwIfFailedTask } from "./poll-task-
|
|
8
|
-
import "./poll-
|
|
5
|
+
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-CDu6fykq.mjs";
|
|
6
|
+
import { parseId } from "./parse-id-CysSaCbf.mjs";
|
|
7
|
+
import { REMOTE_SYNC_PATHS, SyncTask, pollFlags, pollSyncTask, throwIfFailedTask } from "./poll-task-BQe0NvJZ.mjs";
|
|
8
|
+
import "./poll-p9Y7-JEQ.mjs";
|
|
9
9
|
import { z } from "zod";
|
|
10
10
|
|
|
11
11
|
//#region src/commands/git-sync/import.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { renderItem } from "./render-DuoDUTVL.mjs";
|
|
2
|
-
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-
|
|
3
|
-
import { REMOTE_SYNC_PATHS } from "./poll-task-
|
|
2
|
+
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-CDu6fykq.mjs";
|
|
3
|
+
import { REMOTE_SYNC_PATHS } from "./poll-task-BQe0NvJZ.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
|
|
6
6
|
//#region src/commands/git-sync/is-dirty.ts
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import "./package-DFUprkSZ.mjs";
|
|
2
|
+
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
+
import "./render-DuoDUTVL.mjs";
|
|
4
|
+
import "./predicates-CGO17Q15.mjs";
|
|
5
|
+
import "./runtime-CDu6fykq.mjs";
|
|
6
|
+
import "./poll-task-BQe0NvJZ.mjs";
|
|
7
|
+
import "./poll-p9Y7-JEQ.mjs";
|
|
8
|
+
import { IsDirtyResult, is_dirty_default } from "./is-dirty-CZWcG0vj.mjs";
|
|
9
|
+
|
|
10
|
+
export { is_dirty_default as default };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import "./package-
|
|
1
|
+
import "./package-DFUprkSZ.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
3
|
import { renderList } from "./render-DuoDUTVL.mjs";
|
|
4
4
|
import "./predicates-CGO17Q15.mjs";
|
|
5
|
-
import { connectionFlags, defineMetabaseCommand, listEnvelopeSchema, outputFlags, parseEnum, parseEnumCsv, profileFlag } from "./runtime-
|
|
6
|
-
import { parseId } from "./parse-id-
|
|
5
|
+
import { connectionFlags, defineMetabaseCommand, listEnvelopeSchema, outputFlags, parseEnum, parseEnumCsv, profileFlag } from "./runtime-CDu6fykq.mjs";
|
|
6
|
+
import { parseId } from "./parse-id-CysSaCbf.mjs";
|
|
7
7
|
import { COLLECTION_ITEM_FILTER_MODELS, COLLECTION_PINNED_STATES, CollectionItem, CollectionItemCompact, CollectionItemFilterModel, CollectionPinnedState, collectionItemView } from "./collection-B3sPXRLs.mjs";
|
|
8
8
|
import { parseCollectionRef } from "./parse-ref-D1yeDOn8.mjs";
|
|
9
9
|
import { collectPaginated } from "./paginate-CTSfuYiF.mjs";
|