@metabase/cli 0.1.7 → 0.1.8-alpha.drop-workspaces.75fe1d5
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 +1 -1
- package/README.md +2 -224
- package/dist/{add-collection-DQjTlDNF.mjs → add-collection-CLLtJ4hp.mjs} +5 -5
- package/dist/add-collection-CRm-ILtk.mjs +10 -0
- package/dist/{archive-BXzghEQX.mjs → archive-BLySelYN.mjs} +6 -7
- package/dist/{archive-B3qiL-kK.mjs → archive-BiAxoJ1m.mjs} +5 -6
- package/dist/{archive-CBGKzEAl.mjs → archive-BxvnYXN2.mjs} +5 -6
- package/dist/{archive-CuVk8iwN.mjs → archive-CXZ1Mg97.mjs} +6 -7
- package/dist/{archive-De8jzzq7.mjs → archive-CcXT7XDi.mjs} +6 -7
- package/dist/{archive-DTN9tLGT.mjs → archive-Dzug49jS.mjs} +5 -6
- package/dist/auth-9zbMAJJT.mjs +19 -0
- package/dist/{body-tcURGnGh.mjs → body-CibAG3Gn.mjs} +2 -2
- package/dist/{branches-CIGkjXIk.mjs → branches-CqYNkMew.mjs} +5 -6
- package/dist/{cancel-pPsvgJ0Z.mjs → cancel-PLvMQNzN.mjs} +4 -5
- package/dist/{cancel-task-BLGE4UlL.mjs → cancel-task-dnxyQrhZ.mjs} +5 -6
- package/dist/{render-0_GsapXa.mjs → capabilities-Dj3NgPHg.mjs} +28 -2
- package/dist/{card-ezYiriML.mjs → card-BtPiKjbB.mjs} +1 -1
- package/dist/card-pT87DhqA.mjs +20 -0
- package/dist/{cards-Dq3nx_9n.mjs → cards-DUCwTT1X.mjs} +5 -6
- package/dist/cli.mjs +23 -24
- package/dist/collection-DR2bXpGN.mjs +20 -0
- package/dist/{create-BrUqxreg.mjs → create-BGtmOc5Z.mjs} +7 -8
- package/dist/{create-BIphz0kO.mjs → create-Btltf94v.mjs} +10 -11
- package/dist/{create-w3mQg9n4.mjs → create-C9GnQVhD.mjs} +7 -8
- package/dist/{create-9DBTkbMq.mjs → create-CJ7GFRnZ.mjs} +11 -12
- package/dist/{create-DHscDhRd.mjs → create-CrEv9lPi.mjs} +9 -10
- package/dist/{create-BdPoSk_7.mjs → create-DbD1wgnN.mjs} +9 -10
- package/dist/{create-aPaUEGdr.mjs → create-Di0_His2.mjs} +7 -8
- package/dist/{create-BcgoukG4.mjs → create-VB2v6CFw.mjs} +9 -10
- package/dist/{create-branch-DGoc9CUU.mjs → create-branch-DbD4Mr3v.mjs} +5 -6
- package/dist/{current-task-DZM28rnr.mjs → current-task-C8gML78R.mjs} +5 -6
- package/dist/dashboard-D4uKuH7K.mjs +21 -0
- package/dist/{database-BXiue1in.mjs → database-_Td7rG4o.mjs} +1 -1
- package/dist/db-UVZmfVwk.mjs +22 -0
- package/dist/{delete-BPaFdHZP.mjs → delete-C_H6NNKT.mjs} +6 -7
- package/dist/{delete-BrJOotpW.mjs → delete-DnorVsnc.mjs} +6 -7
- package/dist/{delete-runtime-uuYbd4k2.mjs → delete-runtime-Bo7v-0au.mjs} +2 -2
- package/dist/{delete-table-CNupWUO0.mjs → delete-table-B-UwOkQ8.mjs} +6 -7
- package/dist/{dirty-BCkNOY8c.mjs → dirty-Q8VNL_QG.mjs} +5 -6
- package/dist/{eid-CLY5X0Uw.mjs → eid-CQO-WWqZ.mjs} +6 -7
- package/dist/{error-ZsFeevV2.mjs → error-BYn4eqJH.mjs} +1 -1
- package/dist/{export-CgHgWW3I.mjs → export-DaTZ6gvj.mjs} +7 -8
- package/dist/field-BYKXbj6M.mjs +18 -0
- package/dist/{fields-RkRWU-u9.mjs → fields-CrFLg4ED.mjs} +6 -7
- package/dist/{get-CRvbChoX.mjs → get-BSIQndJI.mjs} +5 -6
- package/dist/{get-B9kwSs6U.mjs → get-BeFkBriz.mjs} +5 -6
- package/dist/{get-y17zJMnU.mjs → get-BzHRPRpv.mjs} +5 -6
- package/dist/{get-CTDqioaj.mjs → get-C03uSHdF.mjs} +5 -6
- package/dist/{get-B8l4t4Pz.mjs → get-C1sugXm_.mjs} +5 -6
- package/dist/{get-CvmqPN30.mjs → get-Cgdc7hCr.mjs} +5 -6
- package/dist/{get-DsqGHNHN.mjs → get-D188icmF.mjs} +5 -6
- package/dist/{get-sMpa-X4E.mjs → get-DljOZz2K.mjs} +6 -7
- package/dist/{get-DmzgSgrl.mjs → get-DzK1a7SS.mjs} +6 -7
- package/dist/{get-CiZrZJLt.mjs → get-FqlK_kjE.mjs} +7 -8
- package/dist/{get-C9O_aEGo.mjs → get-QoJ4HbKQ.mjs} +5 -6
- package/dist/{get-Bo4Cpd_c.mjs → get-rQxZzRkA.mjs} +5 -7
- package/dist/{get-run-CBwcRc8E.mjs → get-run-Dzu_f6Hi.mjs} +5 -6
- package/dist/{get-42tJ7BNp.mjs → get-yM_8b0OQ.mjs} +5 -6
- package/dist/git-sync-CbvqlHaK.mjs +28 -0
- package/dist/{has-remote-changes-CfRidwXT.mjs → has-remote-changes-CH6m9DG_.mjs} +5 -6
- package/dist/{import-BZV0Z2KR.mjs → import-Ct_wFwN3.mjs} +7 -8
- package/dist/is-dirty-B2h2xG28.mjs +9 -0
- package/dist/{is-dirty-hKcB4OH9.mjs → is-dirty-BZZx74du.mjs} +4 -4
- package/dist/{items-C94eW2Yd.mjs → items-DZwlhSEL.mjs} +7 -8
- package/dist/{list-B0V7FeL2.mjs → list-9XlzunAC.mjs} +4 -6
- package/dist/{list-BFlzLGlw.mjs → list-B3Ovx70Y.mjs} +4 -5
- package/dist/{list-BS_Bxejg.mjs → list-BGGAF_6C.mjs} +6 -7
- package/dist/{list-HS15y_WN.mjs → list-BIhaOrA5.mjs} +4 -5
- package/dist/{list-DfDZr55C.mjs → list-BYmhSHzh.mjs} +6 -7
- package/dist/{list-CqN4gvCk.mjs → list-BmaG3xeR.mjs} +5 -6
- package/dist/{list-DuSoEk_J.mjs → list-CQpckqCa.mjs} +6 -7
- package/dist/{list-DrINpVLM.mjs → list-CY2snf4x.mjs} +4 -5
- package/dist/{list-BJXaGk-z.mjs → list-CgQVYt5R.mjs} +4 -5
- package/dist/{list-BmHoYJr7.mjs → list-CnFLhMYE.mjs} +4 -5
- package/dist/{list-CF1pMN4S.mjs → list-D81pxMKm.mjs} +4 -5
- package/dist/{list-CU6sOfI-.mjs → list-DoqLo7A0.mjs} +5 -6
- package/dist/{list-C-oZe1_p.mjs → list-seY6unmL.mjs} +5 -6
- package/dist/{login-enh9Yimb.mjs → login-DYTNx7yh.mjs} +9 -10
- package/dist/{logout-BWLPLDh8.mjs → logout-DZ8y8HOD.mjs} +4 -5
- package/dist/{manifest-BNh0Lw6p.mjs → manifest-B_OfG-Ss.mjs} +1 -2
- package/dist/measure-RIucuF-O.mjs +19 -0
- package/dist/{metadata-BTTEBWdS.mjs → metadata-9C7IqqPO.mjs} +7 -8
- package/dist/{metadata-D2TxboMm.mjs → metadata-HFNA8q0S.mjs} +6 -7
- package/dist/{parse-id-0_tOPvfI.mjs → parse-id-sz7USsM2.mjs} +1 -1
- package/dist/{path-C8GrBdgT.mjs → path-CQtJFQoD.mjs} +4 -6
- package/dist/{poll-4eoh5J0r.mjs → poll-DO11tBiL.mjs} +1 -1
- package/dist/{poll-task-51WRdugU.mjs → poll-task-DnzX7GX_.mjs} +2 -2
- package/dist/{preflight-BhsErYz3.mjs → preflight-B-LRcq3c.mjs} +3 -3
- package/dist/{query-DYVBnu9d.mjs → query-77r-viQY.mjs} +7 -8
- package/dist/{query-BBCAF-tG.mjs → query-CsN3tsch.mjs} +11 -12
- package/dist/{query-result-ABPLz6I4.mjs → query-result-PoQE05Pe.mjs} +1 -1
- package/dist/{remove-collection-CBAHz0Dk.mjs → remove-collection-DoUP8olH.mjs} +7 -8
- package/dist/{rescan-values-cfTSNQZo.mjs → rescan-values-B0Aubnud.mjs} +7 -8
- package/dist/{run-qgdEJv-I.mjs → run-CBuzp0Oj.mjs} +7 -8
- package/dist/{runs-BFIIH4GL.mjs → runs-C3t03bls.mjs} +6 -7
- package/dist/{runtime-Duawf5lE.mjs → runtime-DHJQOqZu.mjs} +10 -77
- package/dist/{schema-tables-C2xM3dho.mjs → schema-tables-D7df6z1V.mjs} +6 -7
- package/dist/{schemas-BP7xiktH.mjs → schemas-DT3v9JRw.mjs} +4 -5
- package/dist/{search-DYP3lOlq.mjs → search-B3EvSZce.mjs} +4 -5
- package/dist/segment-CvxcX3iJ.mjs +19 -0
- package/dist/{set-DpRQqdo7.mjs → set-zEPevfIf.mjs} +7 -8
- package/dist/{setting-DUa96KF3.mjs → setting-fWAwsQKm.mjs} +3 -3
- package/dist/{setup-BPlllnim.mjs → setup-SjStGgMi.mjs} +6 -7
- package/dist/{skills-BkregMyb.mjs → skills-BDPVoBWU.mjs} +33 -2
- package/dist/{skills-SqbPo0BI.mjs → skills-zSDzVgBI.mjs} +3 -3
- package/dist/snippet-DTwXkIqY.mjs +19 -0
- package/dist/{stash-C89zNKxo.mjs → stash-CLN-okHt.mjs} +7 -8
- package/dist/{status-B1EJ_jv0.mjs → status-B0YQmlXV.mjs} +6 -7
- package/dist/{status-BNvFPemM.mjs → status-CIyVMUXh.mjs} +4 -5
- package/dist/{summary-Cihbx0Qs.mjs → summary-DBhVgNU4.mjs} +5 -6
- package/dist/{sync-schema-C3odu0ZH.mjs → sync-schema-CvRI0jtk.mjs} +7 -8
- package/dist/table-CTTjXzo3.mjs +19 -0
- package/dist/{table-qDD2kApF.mjs → table-CkWja2UH.mjs} +1 -1
- package/dist/transform-CWNrL2gg.mjs +24 -0
- package/dist/transform-job-C--GBO9Q.mjs +19 -0
- package/dist/{tree-mvq9gM9w.mjs → tree-2qvtbIdj.mjs} +4 -5
- package/dist/{update-C0jP0AKT.mjs → update-B93L5MJR.mjs} +8 -9
- package/dist/{update-DwRxdflw.mjs → update-BA0wgxkx.mjs} +8 -9
- package/dist/{update-BoIiuC70.mjs → update-CWgm0WZQ.mjs} +10 -11
- package/dist/{update-Rr4usmCo.mjs → update-CiIYqtRb.mjs} +8 -9
- package/dist/{update-tRparnUs.mjs → update-Cw0oHpsm.mjs} +12 -13
- package/dist/{update-VvKMnwsM.mjs → update-D5fs9raK.mjs} +10 -11
- package/dist/{update-CtOo3LsX.mjs → update-DWwBv7XP.mjs} +9 -10
- package/dist/{update-DCrOQ1PW.mjs → update-DdI9epnQ.mjs} +11 -12
- package/dist/{update-CbBnHz42.mjs → update-YxMDkgY6.mjs} +10 -11
- package/dist/{update-dashcard-DFvIz8Qj.mjs → update-dashcard-BA65Gjah.mjs} +8 -9
- package/dist/{upgrade-D-Rl_fH9.mjs → upgrade-82Zo6-n6.mjs} +34 -7
- package/dist/{uuid-BSVUk8u2.mjs → uuid-B2xU0Ibp.mjs} +3 -4
- package/dist/{validate-dPEOnOf8.mjs → validate-CqVB_3_p.mjs} +1 -1
- package/dist/{validate-query-CYvOP8Ld.mjs → validate-query-BUTNK00f.mjs} +2 -2
- package/dist/{values-D1RJE4H6.mjs → values-Cs6sJEid.mjs} +5 -6
- package/dist/{verify-A7BWfBPZ.mjs → verify-D8wLpHse.mjs} +1 -1
- package/dist/{wait-DK5QDZ8n.mjs → wait-CW6jJWmY.mjs} +6 -7
- package/dist/{wait-flags-DlfbIXHw.mjs → wait-flags-Dl-xi5yx.mjs} +2 -2
- package/package.json +1 -1
- package/skill-data/core/SKILL.md +15 -28
- package/skill-data/git-sync/SKILL.md +8 -63
- package/skill-data/mbql/SKILL.md +2 -0
- package/skill-data/transform/SKILL.md +16 -6
- package/skill-data/visualization/SKILL.md +158 -0
- package/skill-data/visualization/references/settings.md +414 -0
- package/skills/metabase-cli/SKILL.md +1 -1
- package/dist/add-collection-C9BdVBs2.mjs +0 -11
- package/dist/auth-D9eAyVoG.mjs +0 -19
- package/dist/capabilities-7e9MgquN.mjs +0 -29
- package/dist/card-DDDrWcDU.mjs +0 -20
- package/dist/collection-DkEvCDar.mjs +0 -20
- package/dist/create-B1dyuL9Y.mjs +0 -54
- package/dist/credentials-qryRLUed.mjs +0 -88
- package/dist/dashboard-BLf1RZlk.mjs +0 -21
- package/dist/database-Ce1gOJF7.mjs +0 -17
- package/dist/db-CWTFe_FZ.mjs +0 -22
- package/dist/delete-FFj1xQWO.mjs +0 -104
- package/dist/deprovision-BNr9fPDY.mjs +0 -67
- package/dist/docker-Ds252Mwc.mjs +0 -515
- package/dist/field-LL6W_c-c.mjs +0 -18
- package/dist/git-sync-CrWTo3YX.mjs +0 -28
- package/dist/is-dirty-CPzOnnH6.mjs +0 -10
- package/dist/license-B37055sr.mjs +0 -17
- package/dist/list-DUXdt0XI.mjs +0 -36
- package/dist/logs-Cu3QtvPs.mjs +0 -60
- package/dist/measure-CDlEPFtB.mjs +0 -19
- package/dist/parse-schemas-D-qVLl4z.mjs +0 -12
- package/dist/process-CM7Uu5q_.mjs +0 -105
- package/dist/provision-Chf86BF0.mjs +0 -83
- package/dist/ps-CEYtsKBj.mjs +0 -80
- package/dist/ps-CIDwaubS.mjs +0 -11
- package/dist/remove-2yInufA6.mjs +0 -64
- package/dist/segment-B6HnNGDs.mjs +0 -19
- package/dist/set-Tt-ioa4L.mjs +0 -68
- package/dist/snippet-dJ68tGsl.mjs +0 -19
- package/dist/start-DJZA67WF.mjs +0 -414
- package/dist/status-D5wSqYV_.mjs +0 -34
- package/dist/stop-5rCLmkCQ.mjs +0 -87
- package/dist/table-J2f0STnB.mjs +0 -19
- package/dist/transform-job-OW4SDhsQ.mjs +0 -19
- package/dist/transform-q1LYWQtW.mjs +0 -24
- package/dist/update-DEZayTb4.mjs +0 -78
- package/dist/url-BB6jeNQj.mjs +0 -56
- package/dist/wait-B17I_pWy.mjs +0 -19
- package/dist/workspace-D8HtUN0y.mjs +0 -72
- package/dist/workspace-credentials-8CBMQJFz.mjs +0 -100
- package/dist/workspace-ri6r3zWo.mjs +0 -25
- package/dist/yaml-Gv6wRFMF.mjs +0 -43
- package/skill-data/viz/SKILL.md +0 -137
- package/skill-data/viz/references/settings.md +0 -312
- package/skill-data/workspace/SKILL.md +0 -390
- /package/dist/{body-flags-D7q87Btw.mjs → body-flags-D78h_-Ua.mjs} +0 -0
- /package/dist/{collection-Bcy8cWYH.mjs → collection-B3sPXRLs.mjs} +0 -0
- /package/dist/{dashboard-B4bn3z6t.mjs → dashboard-FY5UzJ_Z.mjs} +0 -0
- /package/dist/{field-E0IBy4Uw.mjs → field-MGxpNQUH.mjs} +0 -0
- /package/dist/{input-cMSEqISy.mjs → input-xewHccej.mjs} +0 -0
- /package/dist/{key-vkNkH82H.mjs → key-C2XG394c.mjs} +0 -0
- /package/dist/{measure-Bt3InQsA.mjs → measure-ClESGxIb.mjs} +0 -0
- /package/dist/{paginate-BexjkjbY.mjs → paginate-Dfm9eO9A.mjs} +0 -0
- /package/dist/{parse-enum-CrEWOhuY.mjs → parse-enum-Dr7ACrTR.mjs} +0 -0
- /package/dist/{parse-ref-DKag6a6I.mjs → parse-ref-BiETXmvm.mjs} +0 -0
- /package/dist/{prompt-CFKoys7k.mjs → prompt-u4WhE4T5.mjs} +0 -0
- /package/dist/{render-khznBlla.mjs → render-BQHJhSP1.mjs} +0 -0
- /package/dist/{revision-message-flag-DY29-cgz.mjs → revision-message-flag-WmsIzUOM.mjs} +0 -0
- /package/dist/{segment-DhBmcr_E.mjs → segment-Be2v4ilr.mjs} +0 -0
- /package/dist/{setting-BzCng1Ub.mjs → setting-oL97SNeO.mjs} +0 -0
- /package/dist/{snippet-bi_0XbNT.mjs → snippet-xh42tYly.mjs} +0 -0
- /package/dist/{transform-BKahefz_.mjs → transform-DyJb0bV0.mjs} +0 -0
- /package/dist/{transform-job-DjhoJbiV.mjs → transform-job-DpDGoqQt.mjs} +0 -0
package/dist/cli.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { ConfigError, flagConsumesValue, getMetabaseAugment, normalizeFlag, resolveCitty, toAliasArray } from "./command-augment-BH9qgQ5u.mjs";
|
|
3
|
-
import { connectionFlags, outputFlags, package_default, profileFlag, reportError } from "./error-
|
|
3
|
+
import { connectionFlags, outputFlags, package_default, profileFlag, reportError } from "./error-BYn4eqJH.mjs";
|
|
4
4
|
import { defineCommand, renderUsage, runMain } from "citty";
|
|
5
5
|
|
|
6
6
|
//#region src/commands/global-flags.ts
|
|
@@ -58,29 +58,28 @@ const main = defineCommand({
|
|
|
58
58
|
description: package_default.description
|
|
59
59
|
},
|
|
60
60
|
subCommands: {
|
|
61
|
-
auth: () => import("./auth-
|
|
62
|
-
db: () => import("./db-
|
|
63
|
-
table: () => import("./table-
|
|
64
|
-
field: () => import("./field-
|
|
65
|
-
card: () => import("./card-
|
|
66
|
-
dashboard: () => import("./dashboard-
|
|
67
|
-
collection: () => import("./collection-
|
|
68
|
-
transform: () => import("./transform-
|
|
69
|
-
"transform-job": () => import("./transform-job-
|
|
70
|
-
setting: () => import("./setting-
|
|
71
|
-
search: () => import("./search-
|
|
72
|
-
"git-sync": () => import("./git-sync-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
__manifest: () => import("./manifest-BNh0Lw6p.mjs").then((mod) => mod.createManifestCommand(main))
|
|
61
|
+
auth: () => import("./auth-9zbMAJJT.mjs").then((mod) => mod.default),
|
|
62
|
+
db: () => import("./db-UVZmfVwk.mjs").then((mod) => mod.default),
|
|
63
|
+
table: () => import("./table-CTTjXzo3.mjs").then((mod) => mod.default),
|
|
64
|
+
field: () => import("./field-BYKXbj6M.mjs").then((mod) => mod.default),
|
|
65
|
+
card: () => import("./card-pT87DhqA.mjs").then((mod) => mod.default),
|
|
66
|
+
dashboard: () => import("./dashboard-D4uKuH7K.mjs").then((mod) => mod.default),
|
|
67
|
+
collection: () => import("./collection-DR2bXpGN.mjs").then((mod) => mod.default),
|
|
68
|
+
transform: () => import("./transform-CWNrL2gg.mjs").then((mod) => mod.default),
|
|
69
|
+
"transform-job": () => import("./transform-job-C--GBO9Q.mjs").then((mod) => mod.default),
|
|
70
|
+
setting: () => import("./setting-fWAwsQKm.mjs").then((mod) => mod.default),
|
|
71
|
+
search: () => import("./search-B3EvSZce.mjs").then((mod) => mod.default),
|
|
72
|
+
"git-sync": () => import("./git-sync-CbvqlHaK.mjs").then((mod) => mod.default),
|
|
73
|
+
setup: () => import("./setup-SjStGgMi.mjs").then((mod) => mod.default),
|
|
74
|
+
snippet: () => import("./snippet-DTwXkIqY.mjs").then((mod) => mod.default),
|
|
75
|
+
segment: () => import("./segment-CvxcX3iJ.mjs").then((mod) => mod.default),
|
|
76
|
+
measure: () => import("./measure-RIucuF-O.mjs").then((mod) => mod.default),
|
|
77
|
+
eid: () => import("./eid-CQO-WWqZ.mjs").then((mod) => mod.default),
|
|
78
|
+
query: () => import("./query-CsN3tsch.mjs").then((mod) => mod.default),
|
|
79
|
+
uuid: () => import("./uuid-B2xU0Ibp.mjs").then((mod) => mod.default),
|
|
80
|
+
upgrade: () => import("./upgrade-82Zo6-n6.mjs").then((mod) => mod.default),
|
|
81
|
+
skills: () => import("./skills-zSDzVgBI.mjs").then((mod) => mod.default),
|
|
82
|
+
__manifest: () => import("./manifest-B_OfG-Ss.mjs").then((mod) => mod.createManifestCommand(main))
|
|
84
83
|
}
|
|
85
84
|
});
|
|
86
85
|
var main_default = main;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { defineCommand } from "citty";
|
|
2
|
+
|
|
3
|
+
//#region src/commands/collection/index.ts
|
|
4
|
+
var collection_default = defineCommand({
|
|
5
|
+
meta: {
|
|
6
|
+
name: "collection",
|
|
7
|
+
description: "Manage Metabase collections"
|
|
8
|
+
},
|
|
9
|
+
subCommands: {
|
|
10
|
+
list: () => import("./list-DoqLo7A0.mjs").then((mod) => mod.default),
|
|
11
|
+
get: () => import("./get-BSIQndJI.mjs").then((mod) => mod.default),
|
|
12
|
+
items: () => import("./items-DZwlhSEL.mjs").then((mod) => mod.default),
|
|
13
|
+
tree: () => import("./tree-2qvtbIdj.mjs").then((mod) => mod.default),
|
|
14
|
+
create: () => import("./create-C9GnQVhD.mjs").then((mod) => mod.default),
|
|
15
|
+
archive: () => import("./archive-Dzug49jS.mjs").then((mod) => mod.default)
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
|
|
19
|
+
//#endregion
|
|
20
|
+
export { collection_default as default };
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import "./command-augment-BH9qgQ5u.mjs";
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
4
|
-
import "./capabilities-
|
|
5
|
-
import
|
|
6
|
-
import "./
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import { Snippet, SnippetCreateInput, snippetView } from "./snippet-bi_0XbNT.mjs";
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-BYn4eqJH.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-DHJQOqZu.mjs";
|
|
4
|
+
import { renderSummary } from "./capabilities-Dj3NgPHg.mjs";
|
|
5
|
+
import "./input-xewHccej.mjs";
|
|
6
|
+
import { readBody } from "./body-CibAG3Gn.mjs";
|
|
7
|
+
import { bodyInputFlags } from "./body-flags-D78h_-Ua.mjs";
|
|
8
|
+
import { Snippet, SnippetCreateInput, snippetView } from "./snippet-xh42tYly.mjs";
|
|
10
9
|
|
|
11
10
|
//#region src/commands/snippet/create.ts
|
|
12
11
|
var create_default = defineMetabaseCommand({
|
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
import "./command-augment-BH9qgQ5u.mjs";
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
4
|
-
import "./capabilities-
|
|
5
|
-
import
|
|
6
|
-
import "./
|
|
7
|
-
import "./
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import
|
|
11
|
-
import "./validate-
|
|
12
|
-
import { CARD_DATASET_QUERY_LABELS, preflightMbql5Query, skipValidateFlag } from "./validate-query-CYvOP8Ld.mjs";
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-BYn4eqJH.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-DHJQOqZu.mjs";
|
|
4
|
+
import { renderSummary } from "./capabilities-Dj3NgPHg.mjs";
|
|
5
|
+
import "./input-xewHccej.mjs";
|
|
6
|
+
import "./field-MGxpNQUH.mjs";
|
|
7
|
+
import { Card, CardCreateInput, cardView } from "./card-BtPiKjbB.mjs";
|
|
8
|
+
import { readBody } from "./body-CibAG3Gn.mjs";
|
|
9
|
+
import { bodyInputFlags } from "./body-flags-D78h_-Ua.mjs";
|
|
10
|
+
import "./validate-CqVB_3_p.mjs";
|
|
11
|
+
import { CARD_DATASET_QUERY_LABELS, preflightMbql5Query, skipValidateFlag } from "./validate-query-BUTNK00f.mjs";
|
|
13
12
|
|
|
14
13
|
//#region src/commands/card/create.ts
|
|
15
14
|
var create_default = defineMetabaseCommand({
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import "./command-augment-BH9qgQ5u.mjs";
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
4
|
-
import "./capabilities-
|
|
5
|
-
import
|
|
6
|
-
import "./
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import { Collection, CollectionCreateInput, collectionView } from "./collection-Bcy8cWYH.mjs";
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-BYn4eqJH.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-DHJQOqZu.mjs";
|
|
4
|
+
import { renderSummary } from "./capabilities-Dj3NgPHg.mjs";
|
|
5
|
+
import "./input-xewHccej.mjs";
|
|
6
|
+
import { readBody } from "./body-CibAG3Gn.mjs";
|
|
7
|
+
import { bodyInputFlags } from "./body-flags-D78h_-Ua.mjs";
|
|
8
|
+
import { Collection, CollectionCreateInput, collectionView } from "./collection-B3sPXRLs.mjs";
|
|
10
9
|
|
|
11
10
|
//#region src/commands/collection/create.ts
|
|
12
11
|
var create_default = defineMetabaseCommand({
|
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
import "./command-augment-BH9qgQ5u.mjs";
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
4
|
-
import "./capabilities-
|
|
5
|
-
import
|
|
6
|
-
import "./
|
|
7
|
-
import "./
|
|
8
|
-
import "./
|
|
9
|
-
import {
|
|
10
|
-
import
|
|
11
|
-
import "./
|
|
12
|
-
import {
|
|
13
|
-
import { preflightDashcardCardReferences, wrapChainedDashboardWriteError } from "./preflight-BhsErYz3.mjs";
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-BYn4eqJH.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-DHJQOqZu.mjs";
|
|
4
|
+
import { renderSummary } from "./capabilities-Dj3NgPHg.mjs";
|
|
5
|
+
import "./input-xewHccej.mjs";
|
|
6
|
+
import "./field-MGxpNQUH.mjs";
|
|
7
|
+
import "./card-BtPiKjbB.mjs";
|
|
8
|
+
import { readBody } from "./body-CibAG3Gn.mjs";
|
|
9
|
+
import { bodyInputFlags } from "./body-flags-D78h_-Ua.mjs";
|
|
10
|
+
import "./validate-CqVB_3_p.mjs";
|
|
11
|
+
import { Dashboard, DashboardCreateInput, DashboardDetail, dashboardView } from "./dashboard-FY5UzJ_Z.mjs";
|
|
12
|
+
import { preflightDashcardCardReferences, wrapChainedDashboardWriteError } from "./preflight-B-LRcq3c.mjs";
|
|
14
13
|
|
|
15
14
|
//#region src/commands/dashboard/create.ts
|
|
16
15
|
var create_default = defineMetabaseCommand({
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
import "./command-augment-BH9qgQ5u.mjs";
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
4
|
-
import "./capabilities-
|
|
5
|
-
import
|
|
6
|
-
import "./
|
|
7
|
-
import {
|
|
8
|
-
import
|
|
9
|
-
import "./validate-
|
|
10
|
-
import {
|
|
11
|
-
import { Segment, SegmentCreateInput, segmentView } from "./segment-DhBmcr_E.mjs";
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-BYn4eqJH.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-DHJQOqZu.mjs";
|
|
4
|
+
import { renderSummary } from "./capabilities-Dj3NgPHg.mjs";
|
|
5
|
+
import "./input-xewHccej.mjs";
|
|
6
|
+
import { readBody } from "./body-CibAG3Gn.mjs";
|
|
7
|
+
import { bodyInputFlags } from "./body-flags-D78h_-Ua.mjs";
|
|
8
|
+
import "./validate-CqVB_3_p.mjs";
|
|
9
|
+
import { SEGMENT_DEFINITION_LABELS, preflightMbql5Query, skipValidateFlag } from "./validate-query-BUTNK00f.mjs";
|
|
10
|
+
import { Segment, SegmentCreateInput, segmentView } from "./segment-Be2v4ilr.mjs";
|
|
12
11
|
|
|
13
12
|
//#region src/commands/segment/create.ts
|
|
14
13
|
var create_default = defineMetabaseCommand({
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
import "./command-augment-BH9qgQ5u.mjs";
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
4
|
-
import "./capabilities-
|
|
5
|
-
import
|
|
6
|
-
import "./
|
|
7
|
-
import {
|
|
8
|
-
import
|
|
9
|
-
import "./validate-
|
|
10
|
-
import {
|
|
11
|
-
import { Measure, MeasureCreateInput, measureView } from "./measure-Bt3InQsA.mjs";
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-BYn4eqJH.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-DHJQOqZu.mjs";
|
|
4
|
+
import { renderSummary } from "./capabilities-Dj3NgPHg.mjs";
|
|
5
|
+
import "./input-xewHccej.mjs";
|
|
6
|
+
import { readBody } from "./body-CibAG3Gn.mjs";
|
|
7
|
+
import { bodyInputFlags } from "./body-flags-D78h_-Ua.mjs";
|
|
8
|
+
import "./validate-CqVB_3_p.mjs";
|
|
9
|
+
import { MEASURE_DEFINITION_LABELS, preflightMbql5Query, skipValidateFlag } from "./validate-query-BUTNK00f.mjs";
|
|
10
|
+
import { Measure, MeasureCreateInput, measureView } from "./measure-ClESGxIb.mjs";
|
|
12
11
|
|
|
13
12
|
//#region src/commands/measure/create.ts
|
|
14
13
|
var create_default = defineMetabaseCommand({
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import "./command-augment-BH9qgQ5u.mjs";
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
4
|
-
import "./capabilities-
|
|
5
|
-
import
|
|
6
|
-
import "./
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import { TransformJob, TransformJobCreateInput, transformJobView } from "./transform-job-DjhoJbiV.mjs";
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-BYn4eqJH.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-DHJQOqZu.mjs";
|
|
4
|
+
import { renderSummary } from "./capabilities-Dj3NgPHg.mjs";
|
|
5
|
+
import "./input-xewHccej.mjs";
|
|
6
|
+
import { readBody } from "./body-CibAG3Gn.mjs";
|
|
7
|
+
import { bodyInputFlags } from "./body-flags-D78h_-Ua.mjs";
|
|
8
|
+
import { TransformJob, TransformJobCreateInput, transformJobView } from "./transform-job-DpDGoqQt.mjs";
|
|
10
9
|
|
|
11
10
|
//#region src/commands/transform-job/create.ts
|
|
12
11
|
var create_default = defineMetabaseCommand({
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
import "./command-augment-BH9qgQ5u.mjs";
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
4
|
-
import "./capabilities-
|
|
5
|
-
import
|
|
6
|
-
import "./
|
|
7
|
-
import {
|
|
8
|
-
import
|
|
9
|
-
import "./validate-
|
|
10
|
-
import {
|
|
11
|
-
import { Transform, TransformCreateInput, transformView } from "./transform-BKahefz_.mjs";
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-BYn4eqJH.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-DHJQOqZu.mjs";
|
|
4
|
+
import { renderSummary } from "./capabilities-Dj3NgPHg.mjs";
|
|
5
|
+
import "./input-xewHccej.mjs";
|
|
6
|
+
import { readBody } from "./body-CibAG3Gn.mjs";
|
|
7
|
+
import { bodyInputFlags } from "./body-flags-D78h_-Ua.mjs";
|
|
8
|
+
import "./validate-CqVB_3_p.mjs";
|
|
9
|
+
import { TRANSFORM_SOURCE_QUERY_LABELS, preflightMbql5Query, skipValidateFlag } from "./validate-query-BUTNK00f.mjs";
|
|
10
|
+
import { Transform, TransformCreateInput, transformView } from "./transform-DyJb0bV0.mjs";
|
|
12
11
|
|
|
13
12
|
//#region src/commands/transform/create.ts
|
|
14
13
|
var create_default = defineMetabaseCommand({
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { ConfigError } from "./command-augment-BH9qgQ5u.mjs";
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
4
|
-
import "./capabilities-
|
|
5
|
-
import {
|
|
6
|
-
import
|
|
7
|
-
import "./poll-4eoh5J0r.mjs";
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-BYn4eqJH.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-DHJQOqZu.mjs";
|
|
4
|
+
import { renderSummary } from "./capabilities-Dj3NgPHg.mjs";
|
|
5
|
+
import { REMOTE_SYNC_PATHS } from "./poll-task-DnzX7GX_.mjs";
|
|
6
|
+
import "./poll-DO11tBiL.mjs";
|
|
8
7
|
import { z } from "zod";
|
|
9
8
|
|
|
10
9
|
//#region src/commands/git-sync/create-branch.ts
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import "./command-augment-BH9qgQ5u.mjs";
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
4
|
-
import "./capabilities-
|
|
5
|
-
import {
|
|
6
|
-
import
|
|
7
|
-
import "./poll-4eoh5J0r.mjs";
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-BYn4eqJH.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-DHJQOqZu.mjs";
|
|
4
|
+
import { renderSummary } from "./capabilities-Dj3NgPHg.mjs";
|
|
5
|
+
import { SyncTaskOrIdle, fetchCurrentTask, formatSyncTask, syncTaskIdleView, syncTaskView } from "./poll-task-DnzX7GX_.mjs";
|
|
6
|
+
import "./poll-DO11tBiL.mjs";
|
|
8
7
|
|
|
9
8
|
//#region src/commands/git-sync/current-task.ts
|
|
10
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-BmaG3xeR.mjs").then((mod) => mod.default),
|
|
11
|
+
get: () => import("./get-QoJ4HbKQ.mjs").then((mod) => mod.default),
|
|
12
|
+
cards: () => import("./cards-DUCwTT1X.mjs").then((mod) => mod.default),
|
|
13
|
+
create: () => import("./create-CJ7GFRnZ.mjs").then((mod) => mod.default),
|
|
14
|
+
update: () => import("./update-Cw0oHpsm.mjs").then((mod) => mod.default),
|
|
15
|
+
"update-dashcard": () => import("./update-dashcard-BA65Gjah.mjs").then((mod) => mod.default),
|
|
16
|
+
archive: () => import("./archive-BiAxoJ1m.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-BGGAF_6C.mjs").then((m) => m.default),
|
|
12
|
+
get: () => import("./get-FqlK_kjE.mjs").then((m) => m.default),
|
|
13
|
+
metadata: () => import("./metadata-9C7IqqPO.mjs").then((m) => m.default),
|
|
14
|
+
schemas: () => import("./schemas-DT3v9JRw.mjs").then((m) => m.default),
|
|
15
|
+
"schema-tables": () => import("./schema-tables-D7df6z1V.mjs").then((m) => m.default),
|
|
16
|
+
"sync-schema": () => import("./sync-schema-CvRI0jtk.mjs").then((m) => m.default),
|
|
17
|
+
"rescan-values": () => import("./rescan-values-B0Aubnud.mjs").then((m) => m.default)
|
|
18
|
+
}
|
|
19
|
+
});
|
|
20
|
+
|
|
21
|
+
//#endregion
|
|
22
|
+
export { db_default as default };
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import "./command-augment-BH9qgQ5u.mjs";
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
4
|
-
import "./capabilities-
|
|
5
|
-
import "./
|
|
6
|
-
import "./
|
|
7
|
-
import {
|
|
8
|
-
import { DeleteResult, confirmAndDelete } from "./delete-runtime-uuYbd4k2.mjs";
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-BYn4eqJH.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-DHJQOqZu.mjs";
|
|
4
|
+
import "./capabilities-Dj3NgPHg.mjs";
|
|
5
|
+
import "./prompt-u4WhE4T5.mjs";
|
|
6
|
+
import { parseId } from "./parse-id-sz7USsM2.mjs";
|
|
7
|
+
import { DeleteResult, confirmAndDelete } from "./delete-runtime-Bo7v-0au.mjs";
|
|
9
8
|
|
|
10
9
|
//#region src/commands/transform/delete.ts
|
|
11
10
|
var delete_default = defineMetabaseCommand({
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import "./command-augment-BH9qgQ5u.mjs";
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
4
|
-
import "./capabilities-
|
|
5
|
-
import "./
|
|
6
|
-
import "./
|
|
7
|
-
import {
|
|
8
|
-
import { DeleteResult, confirmAndDelete } from "./delete-runtime-uuYbd4k2.mjs";
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-BYn4eqJH.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-DHJQOqZu.mjs";
|
|
4
|
+
import "./capabilities-Dj3NgPHg.mjs";
|
|
5
|
+
import "./prompt-u4WhE4T5.mjs";
|
|
6
|
+
import { parseId } from "./parse-id-sz7USsM2.mjs";
|
|
7
|
+
import { DeleteResult, confirmAndDelete } from "./delete-runtime-Bo7v-0au.mjs";
|
|
9
8
|
|
|
10
9
|
//#region src/commands/transform-job/delete.ts
|
|
11
10
|
var delete_default = defineMetabaseCommand({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ConfigError } from "./command-augment-BH9qgQ5u.mjs";
|
|
2
|
-
import { renderSummary } from "./
|
|
3
|
-
import { promptConfirm } from "./prompt-
|
|
2
|
+
import { renderSummary } from "./capabilities-Dj3NgPHg.mjs";
|
|
3
|
+
import { promptConfirm } from "./prompt-u4WhE4T5.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
|
|
6
6
|
//#region src/commands/delete-runtime.ts
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import "./command-augment-BH9qgQ5u.mjs";
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
4
|
-
import "./capabilities-
|
|
5
|
-
import "./
|
|
6
|
-
import "./
|
|
7
|
-
import {
|
|
8
|
-
import { DeleteResult, confirmAndDelete } from "./delete-runtime-uuYbd4k2.mjs";
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-BYn4eqJH.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-DHJQOqZu.mjs";
|
|
4
|
+
import "./capabilities-Dj3NgPHg.mjs";
|
|
5
|
+
import "./prompt-u4WhE4T5.mjs";
|
|
6
|
+
import { parseId } from "./parse-id-sz7USsM2.mjs";
|
|
7
|
+
import { DeleteResult, confirmAndDelete } from "./delete-runtime-Bo7v-0au.mjs";
|
|
9
8
|
|
|
10
9
|
//#region src/commands/transform/delete-table.ts
|
|
11
10
|
var delete_table_default = defineMetabaseCommand({
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import "./command-augment-BH9qgQ5u.mjs";
|
|
2
|
-
import { connectionFlags, listEnvelopeSchema, outputFlags, profileFlag, wrapList } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
4
|
-
import "./capabilities-
|
|
5
|
-
import {
|
|
6
|
-
import
|
|
7
|
-
import "./poll-4eoh5J0r.mjs";
|
|
2
|
+
import { connectionFlags, listEnvelopeSchema, outputFlags, profileFlag, wrapList } from "./error-BYn4eqJH.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-DHJQOqZu.mjs";
|
|
4
|
+
import { renderList } from "./capabilities-Dj3NgPHg.mjs";
|
|
5
|
+
import { REMOTE_SYNC_PATHS, SyncDirtyItem, SyncDirtyItemCompact, syncDirtyItemView } from "./poll-task-DnzX7GX_.mjs";
|
|
6
|
+
import "./poll-DO11tBiL.mjs";
|
|
8
7
|
import { z } from "zod";
|
|
9
8
|
|
|
10
9
|
//#region src/commands/git-sync/dirty.ts
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { ConfigError } from "./command-augment-BH9qgQ5u.mjs";
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand, parseCsv } from "./runtime-
|
|
4
|
-
import "./capabilities-
|
|
5
|
-
import
|
|
6
|
-
import "./
|
|
7
|
-
import {
|
|
8
|
-
import { bodyInputFlags } from "./body-flags-D7q87Btw.mjs";
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-BYn4eqJH.mjs";
|
|
3
|
+
import { defineMetabaseCommand, parseCsv } from "./runtime-DHJQOqZu.mjs";
|
|
4
|
+
import { renderSummary } from "./capabilities-Dj3NgPHg.mjs";
|
|
5
|
+
import "./input-xewHccej.mjs";
|
|
6
|
+
import { readBody } from "./body-CibAG3Gn.mjs";
|
|
7
|
+
import { bodyInputFlags } from "./body-flags-D78h_-Ua.mjs";
|
|
9
8
|
import { z } from "zod";
|
|
10
9
|
|
|
11
10
|
//#region src/domain/eid-translation.ts
|
|
@@ -75,7 +75,7 @@ const connectionFlags = {
|
|
|
75
75
|
//#endregion
|
|
76
76
|
//#region package.json
|
|
77
77
|
var name = "@metabase/cli";
|
|
78
|
-
var version = "0.1.
|
|
78
|
+
var version = "0.1.8-alpha.drop-workspaces.75fe1d5";
|
|
79
79
|
var description = "Metabase CLI";
|
|
80
80
|
var license = "AGPL-3.0";
|
|
81
81
|
var repository = {
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import "./command-augment-BH9qgQ5u.mjs";
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
4
|
-
import { warn } from "./capabilities-
|
|
5
|
-
import
|
|
6
|
-
import "./
|
|
7
|
-
import
|
|
8
|
-
import "./
|
|
9
|
-
import { gitSyncWaitFlags, parseWaitFlags } from "./wait-flags-DlfbIXHw.mjs";
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-BYn4eqJH.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-DHJQOqZu.mjs";
|
|
4
|
+
import { renderSummary, warn } from "./capabilities-Dj3NgPHg.mjs";
|
|
5
|
+
import "./parse-id-sz7USsM2.mjs";
|
|
6
|
+
import { REMOTE_SYNC_PATHS, SyncTask, formatSyncTask, pollSyncTask, throwIfFailedTask } from "./poll-task-DnzX7GX_.mjs";
|
|
7
|
+
import "./poll-DO11tBiL.mjs";
|
|
8
|
+
import { gitSyncWaitFlags, parseWaitFlags } from "./wait-flags-Dl-xi5yx.mjs";
|
|
10
9
|
import { z } from "zod";
|
|
11
10
|
|
|
12
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-yM_8b0OQ.mjs").then((m) => m.default),
|
|
11
|
+
values: () => import("./values-Cs6sJEid.mjs").then((m) => m.default),
|
|
12
|
+
summary: () => import("./summary-DBhVgNU4.mjs").then((m) => m.default),
|
|
13
|
+
update: () => import("./update-CiIYqtRb.mjs").then((m) => m.default)
|
|
14
|
+
}
|
|
15
|
+
});
|
|
16
|
+
|
|
17
|
+
//#endregion
|
|
18
|
+
export { field_default as default };
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import "./command-augment-BH9qgQ5u.mjs";
|
|
2
|
-
import { connectionFlags, listEnvelopeSchema, outputFlags, profileFlag, wrapList } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
4
|
-
import "./capabilities-
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { TableQueryMetadata } from "./table-qDD2kApF.mjs";
|
|
2
|
+
import { connectionFlags, listEnvelopeSchema, outputFlags, profileFlag, wrapList } from "./error-BYn4eqJH.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-DHJQOqZu.mjs";
|
|
4
|
+
import { renderList } from "./capabilities-Dj3NgPHg.mjs";
|
|
5
|
+
import { FieldCompact, fieldView } from "./field-MGxpNQUH.mjs";
|
|
6
|
+
import { parseId } from "./parse-id-sz7USsM2.mjs";
|
|
7
|
+
import { TableQueryMetadata } from "./table-CkWja2UH.mjs";
|
|
9
8
|
|
|
10
9
|
//#region src/commands/table/fields.ts
|
|
11
10
|
const FieldListEnvelope = listEnvelopeSchema(FieldCompact);
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import "./command-augment-BH9qgQ5u.mjs";
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
4
|
-
import "./capabilities-
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { parseCollectionRef } from "./parse-ref-DKag6a6I.mjs";
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-BYn4eqJH.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-DHJQOqZu.mjs";
|
|
4
|
+
import { renderItem } from "./capabilities-Dj3NgPHg.mjs";
|
|
5
|
+
import { Collection, collectionView } from "./collection-B3sPXRLs.mjs";
|
|
6
|
+
import { parseCollectionRef } from "./parse-ref-BiETXmvm.mjs";
|
|
8
7
|
|
|
9
8
|
//#region src/commands/collection/get.ts
|
|
10
9
|
var get_default = defineMetabaseCommand({
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import "./command-augment-BH9qgQ5u.mjs";
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
4
|
-
import "./capabilities-
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { Segment, segmentView } from "./segment-DhBmcr_E.mjs";
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-BYn4eqJH.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-DHJQOqZu.mjs";
|
|
4
|
+
import { renderItem } from "./capabilities-Dj3NgPHg.mjs";
|
|
5
|
+
import { parseId } from "./parse-id-sz7USsM2.mjs";
|
|
6
|
+
import { Segment, segmentView } from "./segment-Be2v4ilr.mjs";
|
|
8
7
|
|
|
9
8
|
//#region src/commands/segment/get.ts
|
|
10
9
|
var get_default = defineMetabaseCommand({
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import "./command-augment-BH9qgQ5u.mjs";
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
4
|
-
import "./capabilities-
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { Measure, measureView } from "./measure-Bt3InQsA.mjs";
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-BYn4eqJH.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-DHJQOqZu.mjs";
|
|
4
|
+
import { renderItem } from "./capabilities-Dj3NgPHg.mjs";
|
|
5
|
+
import { parseId } from "./parse-id-sz7USsM2.mjs";
|
|
6
|
+
import { Measure, measureView } from "./measure-ClESGxIb.mjs";
|
|
8
7
|
|
|
9
8
|
//#region src/commands/measure/get.ts
|
|
10
9
|
var get_default = defineMetabaseCommand({
|