@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
|
@@ -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 { Transform, transformView } from "./transform-BKahefz_.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 { Transform, transformView } from "./transform-DyJb0bV0.mjs";
|
|
8
7
|
|
|
9
8
|
//#region src/commands/transform/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, parseJsonOrPlain } from "./runtime-
|
|
4
|
-
import "./capabilities-
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { parseSettingKey, rethrowSettingError } from "./key-vkNkH82H.mjs";
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-BYn4eqJH.mjs";
|
|
3
|
+
import { defineMetabaseCommand, parseJsonOrPlain } from "./runtime-DHJQOqZu.mjs";
|
|
4
|
+
import { formatScalar, renderSummary } from "./capabilities-Dj3NgPHg.mjs";
|
|
5
|
+
import { SettingValue, settingValueView } from "./setting-oL97SNeO.mjs";
|
|
6
|
+
import { parseSettingKey, rethrowSettingError } from "./key-C2XG394c.mjs";
|
|
8
7
|
import { z } from "zod";
|
|
9
8
|
|
|
10
9
|
//#region src/commands/setting/get.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 { TransformJob, transformJobView } from "./transform-job-DjhoJbiV.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 { TransformJob, transformJobView } from "./transform-job-DpDGoqQt.mjs";
|
|
8
7
|
|
|
9
8
|
//#region src/commands/transform-job/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 { Snippet, snippetView } from "./snippet-bi_0XbNT.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 { Snippet, snippetView } from "./snippet-xh42tYly.mjs";
|
|
8
7
|
|
|
9
8
|
//#region src/commands/snippet/get.ts
|
|
10
9
|
var get_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 { parseId } from "./parse-id-0_tOPvfI.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 "./field-MGxpNQUH.mjs";
|
|
6
|
+
import { Card, cardView } from "./card-BtPiKjbB.mjs";
|
|
7
|
+
import { parseId } from "./parse-id-sz7USsM2.mjs";
|
|
9
8
|
|
|
10
9
|
//#region src/commands/card/get.ts
|
|
11
10
|
var get_default = defineMetabaseCommand({
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import "./command-augment-BH9qgQ5u.mjs";
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand, parseEnum } from "./runtime-
|
|
4
|
-
import "./capabilities-
|
|
5
|
-
import
|
|
6
|
-
import "./
|
|
7
|
-
import {
|
|
8
|
-
import { Table, TableQueryMetadata, tableView } from "./table-qDD2kApF.mjs";
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-BYn4eqJH.mjs";
|
|
3
|
+
import { defineMetabaseCommand, parseEnum } from "./runtime-DHJQOqZu.mjs";
|
|
4
|
+
import { renderItem } from "./capabilities-Dj3NgPHg.mjs";
|
|
5
|
+
import "./field-MGxpNQUH.mjs";
|
|
6
|
+
import { parseId } from "./parse-id-sz7USsM2.mjs";
|
|
7
|
+
import { Table, TableQueryMetadata, tableView } from "./table-CkWja2UH.mjs";
|
|
9
8
|
import { z } from "zod";
|
|
10
9
|
|
|
11
10
|
//#region src/commands/table/get.ts
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import "./command-augment-BH9qgQ5u.mjs";
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand, parseEnum } from "./runtime-
|
|
4
|
-
import "./capabilities-
|
|
5
|
-
import
|
|
6
|
-
import "./
|
|
7
|
-
import
|
|
8
|
-
import "./
|
|
9
|
-
import { Database, databaseView } from "./database-BXiue1in.mjs";
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-BYn4eqJH.mjs";
|
|
3
|
+
import { defineMetabaseCommand, parseEnum } from "./runtime-DHJQOqZu.mjs";
|
|
4
|
+
import { renderItem } from "./capabilities-Dj3NgPHg.mjs";
|
|
5
|
+
import "./field-MGxpNQUH.mjs";
|
|
6
|
+
import { parseId } from "./parse-id-sz7USsM2.mjs";
|
|
7
|
+
import "./table-CkWja2UH.mjs";
|
|
8
|
+
import { Database, databaseView } from "./database-_Td7rG4o.mjs";
|
|
10
9
|
import { z } from "zod";
|
|
11
10
|
|
|
12
11
|
//#region src/commands/db/get.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 { DashboardDetail, dashboardView } from "./dashboard-B4bn3z6t.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 { DashboardDetail, dashboardView } from "./dashboard-FY5UzJ_Z.mjs";
|
|
8
7
|
|
|
9
8
|
//#region src/commands/dashboard/get.ts
|
|
10
9
|
var get_default = defineMetabaseCommand({
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import { ConfigError } from "./command-augment-BH9qgQ5u.mjs";
|
|
2
|
-
import { listEnvelopeSchema, outputFlags, wrapList } from "./error-
|
|
3
|
-
import { defineMetabaseCommand, parseCsv } from "./runtime-
|
|
4
|
-
import "./capabilities-
|
|
5
|
-
import {
|
|
6
|
-
import "./yaml-Gv6wRFMF.mjs";
|
|
7
|
-
import { SkillContent, loadAllSkills, loadVisibleSkills, readSkillContent, selectSkillsByNames } from "./skills-BkregMyb.mjs";
|
|
2
|
+
import { listEnvelopeSchema, outputFlags, wrapList } from "./error-BYn4eqJH.mjs";
|
|
3
|
+
import { defineMetabaseCommand, parseCsv } from "./runtime-DHJQOqZu.mjs";
|
|
4
|
+
import { renderList, writeText } from "./capabilities-Dj3NgPHg.mjs";
|
|
5
|
+
import { SkillContent, loadAllSkills, loadVisibleSkills, readSkillContent, selectSkillsByNames } from "./skills-BDPVoBWU.mjs";
|
|
8
6
|
|
|
9
7
|
//#region src/commands/skills/get.ts
|
|
10
8
|
const SkillGetEnvelope = listEnvelopeSchema(SkillContent);
|
|
@@ -39,7 +37,7 @@ var get_default = defineMetabaseCommand({
|
|
|
39
37
|
examples: [
|
|
40
38
|
"mb skills get core",
|
|
41
39
|
"mb skills get core --full",
|
|
42
|
-
"mb skills get
|
|
40
|
+
"mb skills get git-sync,transform --json",
|
|
43
41
|
"mb skills get --all --json"
|
|
44
42
|
],
|
|
45
43
|
run({ args, ctx }) {
|
|
@@ -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 { TransformRun, transformRunView } from "./transform-BKahefz_.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 { TransformRun, transformRunView } from "./transform-DyJb0bV0.mjs";
|
|
8
7
|
|
|
9
8
|
//#region src/commands/transform/get-run.ts
|
|
10
9
|
var get_run_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 { parseId } from "./parse-id-0_tOPvfI.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 { Field, fieldView } from "./field-MGxpNQUH.mjs";
|
|
6
|
+
import { parseId } from "./parse-id-sz7USsM2.mjs";
|
|
8
7
|
|
|
9
8
|
//#region src/commands/field/get.ts
|
|
10
9
|
var get_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-B0YQmlXV.mjs").then((mod) => mod.default),
|
|
11
|
+
"is-dirty": () => import("./is-dirty-B2h2xG28.mjs").then((mod) => mod.default),
|
|
12
|
+
"has-remote-changes": () => import("./has-remote-changes-CH6m9DG_.mjs").then((mod) => mod.default),
|
|
13
|
+
dirty: () => import("./dirty-Q8VNL_QG.mjs").then((mod) => mod.default),
|
|
14
|
+
"current-task": () => import("./current-task-C8gML78R.mjs").then((mod) => mod.default),
|
|
15
|
+
"cancel-task": () => import("./cancel-task-dnxyQrhZ.mjs").then((mod) => mod.default),
|
|
16
|
+
wait: () => import("./wait-CW6jJWmY.mjs").then((mod) => mod.default),
|
|
17
|
+
import: () => import("./import-Ct_wFwN3.mjs").then((mod) => mod.default),
|
|
18
|
+
export: () => import("./export-DaTZ6gvj.mjs").then((mod) => mod.default),
|
|
19
|
+
stash: () => import("./stash-CLN-okHt.mjs").then((mod) => mod.default),
|
|
20
|
+
branches: () => import("./branches-CqYNkMew.mjs").then((mod) => mod.default),
|
|
21
|
+
"create-branch": () => import("./create-branch-DbD4Mr3v.mjs").then((mod) => mod.default),
|
|
22
|
+
"add-collection": () => import("./add-collection-CRm-ILtk.mjs").then((mod) => mod.default),
|
|
23
|
+
"remove-collection": () => import("./remove-collection-DoUP8olH.mjs").then((mod) => mod.default)
|
|
24
|
+
}
|
|
25
|
+
});
|
|
26
|
+
|
|
27
|
+
//#endregion
|
|
28
|
+
export { git_sync_default as default };
|
|
@@ -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 { 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/has-remote-changes.ts
|
|
@@ -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 { 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 } 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/import.ts
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import "./command-augment-BH9qgQ5u.mjs";
|
|
2
|
+
import "./error-BYn4eqJH.mjs";
|
|
3
|
+
import "./runtime-DHJQOqZu.mjs";
|
|
4
|
+
import "./capabilities-Dj3NgPHg.mjs";
|
|
5
|
+
import "./poll-task-DnzX7GX_.mjs";
|
|
6
|
+
import "./poll-DO11tBiL.mjs";
|
|
7
|
+
import { IsDirtyResult, is_dirty_default } from "./is-dirty-BZZx74du.mjs";
|
|
8
|
+
|
|
9
|
+
export { is_dirty_default as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
2
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { renderSummary } from "./
|
|
4
|
-
import { REMOTE_SYNC_PATHS } from "./poll-task-
|
|
1
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-BYn4eqJH.mjs";
|
|
2
|
+
import { defineMetabaseCommand } from "./runtime-DHJQOqZu.mjs";
|
|
3
|
+
import { renderSummary } from "./capabilities-Dj3NgPHg.mjs";
|
|
4
|
+
import { REMOTE_SYNC_PATHS } from "./poll-task-DnzX7GX_.mjs";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
|
|
7
7
|
//#region src/commands/git-sync/is-dirty.ts
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import "./command-augment-BH9qgQ5u.mjs";
|
|
2
|
-
import { connectionFlags, listEnvelopeSchema, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand, parseEnum, parseEnumCsv } from "./runtime-
|
|
4
|
-
import "./capabilities-
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import { collectPaginated } from "./paginate-BexjkjbY.mjs";
|
|
2
|
+
import { connectionFlags, listEnvelopeSchema, outputFlags, profileFlag } from "./error-BYn4eqJH.mjs";
|
|
3
|
+
import { defineMetabaseCommand, parseEnum, parseEnumCsv } from "./runtime-DHJQOqZu.mjs";
|
|
4
|
+
import { renderList } from "./capabilities-Dj3NgPHg.mjs";
|
|
5
|
+
import { parseId } from "./parse-id-sz7USsM2.mjs";
|
|
6
|
+
import { COLLECTION_ITEM_FILTER_MODELS, COLLECTION_PINNED_STATES, CollectionItem, CollectionItemCompact, CollectionItemFilterModel, CollectionPinnedState, collectionItemView } from "./collection-B3sPXRLs.mjs";
|
|
7
|
+
import { parseCollectionRef } from "./parse-ref-BiETXmvm.mjs";
|
|
8
|
+
import { collectPaginated } from "./paginate-Dfm9eO9A.mjs";
|
|
10
9
|
|
|
11
10
|
//#region src/commands/collection/items.ts
|
|
12
11
|
const CollectionItemListEnvelope = listEnvelopeSchema(CollectionItemCompact);
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import "./command-augment-BH9qgQ5u.mjs";
|
|
2
|
-
import { listEnvelopeSchema, outputFlags, wrapList } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
4
|
-
import "./capabilities-
|
|
5
|
-
import {
|
|
6
|
-
import "./yaml-Gv6wRFMF.mjs";
|
|
7
|
-
import { loadVisibleSkills } from "./skills-BkregMyb.mjs";
|
|
2
|
+
import { listEnvelopeSchema, outputFlags, wrapList } from "./error-BYn4eqJH.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-DHJQOqZu.mjs";
|
|
4
|
+
import { renderList } from "./capabilities-Dj3NgPHg.mjs";
|
|
5
|
+
import { loadVisibleSkills } from "./skills-BDPVoBWU.mjs";
|
|
8
6
|
import { z } from "zod";
|
|
9
7
|
|
|
10
8
|
//#region src/commands/skills/list.ts
|
|
@@ -1,9 +1,8 @@
|
|
|
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 { Segment, SegmentCompact, segmentView } from "./segment-DhBmcr_E.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 { Segment, SegmentCompact, segmentView } from "./segment-Be2v4ilr.mjs";
|
|
7
6
|
import { z } from "zod";
|
|
8
7
|
|
|
9
8
|
//#region src/commands/segment/list.ts
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import "./command-augment-BH9qgQ5u.mjs";
|
|
2
|
-
import { connectionFlags, listEnvelopeSchema, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand, parseEnum } from "./runtime-
|
|
4
|
-
import "./capabilities-
|
|
5
|
-
import
|
|
6
|
-
import "./
|
|
7
|
-
import "./
|
|
8
|
-
import { Database, DatabaseCompact, databaseView } from "./database-BXiue1in.mjs";
|
|
2
|
+
import { connectionFlags, listEnvelopeSchema, outputFlags, profileFlag } from "./error-BYn4eqJH.mjs";
|
|
3
|
+
import { defineMetabaseCommand, parseEnum } from "./runtime-DHJQOqZu.mjs";
|
|
4
|
+
import { renderList } from "./capabilities-Dj3NgPHg.mjs";
|
|
5
|
+
import "./field-MGxpNQUH.mjs";
|
|
6
|
+
import "./table-CkWja2UH.mjs";
|
|
7
|
+
import { Database, DatabaseCompact, databaseView } from "./database-_Td7rG4o.mjs";
|
|
9
8
|
import { z } from "zod";
|
|
10
9
|
|
|
11
10
|
//#region src/commands/db/list.ts
|
|
@@ -1,9 +1,8 @@
|
|
|
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 { Measure, MeasureCompact, measureView } from "./measure-Bt3InQsA.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 { Measure, MeasureCompact, measureView } from "./measure-ClESGxIb.mjs";
|
|
7
6
|
import { z } from "zod";
|
|
8
7
|
|
|
9
8
|
//#region src/commands/measure/list.ts
|
|
@@ -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 { parseEnumFlag } from "./parse-enum-CrEWOhuY.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 "./field-MGxpNQUH.mjs";
|
|
6
|
+
import { Card, CardCompact, cardView } from "./card-BtPiKjbB.mjs";
|
|
7
|
+
import { parseEnumFlag } from "./parse-enum-Dr7ACrTR.mjs";
|
|
9
8
|
import { z } from "zod";
|
|
10
9
|
|
|
11
10
|
//#region src/commands/card/list.ts
|
|
@@ -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 { Dashboard, DashboardCompact, dashboardView } from "./dashboard-B4bn3z6t.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 { parseEnumFlag } from "./parse-enum-Dr7ACrTR.mjs";
|
|
6
|
+
import { Dashboard, DashboardCompact, dashboardView } from "./dashboard-FY5UzJ_Z.mjs";
|
|
8
7
|
import { z } from "zod";
|
|
9
8
|
|
|
10
9
|
//#region src/commands/dashboard/list.ts
|
|
@@ -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 { Table, TableCompact, tableView } 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 "./field-MGxpNQUH.mjs";
|
|
6
|
+
import { parseId } from "./parse-id-sz7USsM2.mjs";
|
|
7
|
+
import { Table, TableCompact, tableView } from "./table-CkWja2UH.mjs";
|
|
9
8
|
import { z } from "zod";
|
|
10
9
|
|
|
11
10
|
//#region src/commands/table/list.ts
|
|
@@ -1,9 +1,8 @@
|
|
|
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 { Snippet, SnippetCompact, snippetView } from "./snippet-bi_0XbNT.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 { Snippet, SnippetCompact, snippetView } from "./snippet-xh42tYly.mjs";
|
|
7
6
|
import { z } from "zod";
|
|
8
7
|
|
|
9
8
|
//#region src/commands/snippet/list.ts
|
|
@@ -1,9 +1,8 @@
|
|
|
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 { Setting, SettingCompact, settingView } from "./setting-BzCng1Ub.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 { Setting, SettingCompact, settingView } from "./setting-oL97SNeO.mjs";
|
|
7
6
|
import { z } from "zod";
|
|
8
7
|
|
|
9
8
|
//#region src/commands/setting/list.ts
|
|
@@ -1,9 +1,8 @@
|
|
|
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 { TransformJob, TransformJobCompact, transformJobView } from "./transform-job-DjhoJbiV.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 { TransformJob, TransformJobCompact, transformJobView } from "./transform-job-DpDGoqQt.mjs";
|
|
7
6
|
import { z } from "zod";
|
|
8
7
|
|
|
9
8
|
//#region src/commands/transform-job/list.ts
|
|
@@ -1,9 +1,8 @@
|
|
|
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 { Transform, TransformCompact, transformView } from "./transform-BKahefz_.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 { Transform, TransformCompact, transformView } from "./transform-DyJb0bV0.mjs";
|
|
7
6
|
import { z } from "zod";
|
|
8
7
|
|
|
9
8
|
//#region src/commands/transform/list.ts
|
|
@@ -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 { Collection, CollectionCompact, collectionView } from "./collection-Bcy8cWYH.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 { parseEnumFlag } from "./parse-enum-Dr7ACrTR.mjs";
|
|
6
|
+
import { Collection, CollectionCompact, collectionView } from "./collection-B3sPXRLs.mjs";
|
|
8
7
|
import { z } from "zod";
|
|
9
8
|
|
|
10
9
|
//#region src/commands/collection/list.ts
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import "./command-augment-BH9qgQ5u.mjs";
|
|
2
|
-
import { listEnvelopeSchema, outputFlags, wrapList } from "./error-
|
|
3
|
-
import { ParsedVersionSchema, ProbedUser, ProfileLastFailure, TokenFeatures, defineMetabaseCommand, listProfileRecords, originOnly, readProfile, writeProbeFailure, writeProbeResult } from "./runtime-
|
|
4
|
-
import { verifyAndProbe } from "./verify-
|
|
5
|
-
import { warn } from "./capabilities-
|
|
6
|
-
import {
|
|
7
|
-
import { renderTimestamp, renderUserRole, renderVersionTag } from "./render-khznBlla.mjs";
|
|
2
|
+
import { listEnvelopeSchema, outputFlags, wrapList } from "./error-BYn4eqJH.mjs";
|
|
3
|
+
import { ParsedVersionSchema, ProbedUser, ProfileLastFailure, TokenFeatures, defineMetabaseCommand, listProfileRecords, originOnly, readProfile, writeProbeFailure, writeProbeResult } from "./runtime-DHJQOqZu.mjs";
|
|
4
|
+
import { verifyAndProbe } from "./verify-D8wLpHse.mjs";
|
|
5
|
+
import { renderList, warn } from "./capabilities-Dj3NgPHg.mjs";
|
|
6
|
+
import { renderTimestamp, renderUserRole, renderVersionTag } from "./render-BQHJhSP1.mjs";
|
|
8
7
|
import { z } from "zod";
|
|
9
8
|
|
|
10
9
|
//#region src/commands/auth/list.ts
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { ConfigError, errorMessage } from "./command-augment-BH9qgQ5u.mjs";
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { DEFAULT_PROFILE, ParsedVersionSchema, ProbedUser, defineMetabaseCommand, explicitProfileName, keyringFallbackWarning, normalizeUrl, readEnvCredentials, writeProbeFailure, writeProbeResult, writeProfile } from "./runtime-
|
|
4
|
-
import { verifyAndProbe } from "./verify-
|
|
5
|
-
import { warn } from "./capabilities-
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import { readInput } from "./input-cMSEqISy.mjs";
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-BYn4eqJH.mjs";
|
|
3
|
+
import { DEFAULT_PROFILE, ParsedVersionSchema, ProbedUser, defineMetabaseCommand, explicitProfileName, keyringFallbackWarning, normalizeUrl, readEnvCredentials, writeProbeFailure, writeProbeResult, writeProfile } from "./runtime-DHJQOqZu.mjs";
|
|
4
|
+
import { verifyAndProbe } from "./verify-D8wLpHse.mjs";
|
|
5
|
+
import { renderSummary, warn } from "./capabilities-Dj3NgPHg.mjs";
|
|
6
|
+
import { EMPTY_CELL, renderUserName, renderUserRole, renderVersionTag } from "./render-BQHJhSP1.mjs";
|
|
7
|
+
import { promptPassword, promptText } from "./prompt-u4WhE4T5.mjs";
|
|
8
|
+
import { readInput } from "./input-xewHccej.mjs";
|
|
10
9
|
import { z } from "zod";
|
|
11
10
|
|
|
12
11
|
//#region src/commands/auth/login.ts
|
|
@@ -84,7 +83,7 @@ var login_default = defineMetabaseCommand({
|
|
|
84
83
|
url,
|
|
85
84
|
apiKey
|
|
86
85
|
}, profileName);
|
|
87
|
-
if (location$1.backend === "file") warn(keyringFallbackWarning(location$1
|
|
86
|
+
if (location$1.backend === "file") warn(keyringFallbackWarning(location$1));
|
|
88
87
|
renderSummary({
|
|
89
88
|
profile: profileName,
|
|
90
89
|
url,
|
|
@@ -106,7 +105,7 @@ var login_default = defineMetabaseCommand({
|
|
|
106
105
|
url,
|
|
107
106
|
apiKey
|
|
108
107
|
}, profileName);
|
|
109
|
-
if (location.backend === "file") warn(keyringFallbackWarning(location
|
|
108
|
+
if (location.backend === "file") warn(keyringFallbackWarning(location));
|
|
110
109
|
await writeProbeResult(profileName, {
|
|
111
110
|
user: result.user,
|
|
112
111
|
server: result.server
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import "./command-augment-BH9qgQ5u.mjs";
|
|
2
|
-
import { outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { clearProfile, defineMetabaseCommand, resolveProfileName } from "./runtime-
|
|
4
|
-
import "./capabilities-
|
|
5
|
-
import {
|
|
6
|
-
import { promptConfirm } from "./prompt-CFKoys7k.mjs";
|
|
2
|
+
import { outputFlags, profileFlag } from "./error-BYn4eqJH.mjs";
|
|
3
|
+
import { clearProfile, defineMetabaseCommand, resolveProfileName } from "./runtime-DHJQOqZu.mjs";
|
|
4
|
+
import { renderSummary } from "./capabilities-Dj3NgPHg.mjs";
|
|
5
|
+
import { promptConfirm } from "./prompt-u4WhE4T5.mjs";
|
|
7
6
|
import { z } from "zod";
|
|
8
7
|
|
|
9
8
|
//#region src/commands/auth/logout.ts
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { getMetabaseAugment, resolveCitty, toAliasArray } from "./command-augment-BH9qgQ5u.mjs";
|
|
2
|
-
import { Capabilities } from "./capabilities-
|
|
3
|
-
import { writeJson } from "./render-0_GsapXa.mjs";
|
|
2
|
+
import { Capabilities, writeJson } from "./capabilities-Dj3NgPHg.mjs";
|
|
4
3
|
import { defineCommand } from "citty";
|
|
5
4
|
import { z } from "zod";
|
|
6
5
|
|