@metabase/cli 0.1.8 → 0.1.10
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 +89 -236
- package/dist/add-collection-D9wXgmRj.mjs +10 -0
- package/dist/{add-collection-CwrbKmC1.mjs → add-collection-DUqTrC5T.mjs} +5 -5
- package/dist/{archive-DqUtqRut.mjs → archive-0krZxAXq.mjs} +5 -6
- package/dist/{archive-ZnnJc2iT.mjs → archive-44EWiXud.mjs} +6 -7
- package/dist/{archive-BpKZsGAm.mjs → archive-B59Y7ajB.mjs} +6 -7
- package/dist/{archive-BO3DOWI4.mjs → archive-BEIyIsin.mjs} +5 -6
- package/dist/{archive-BzvqQd34.mjs → archive-BZfpjMir.mjs} +5 -6
- package/dist/{archive-BAjGIzhn.mjs → archive-DtE2H4A6.mjs} +6 -7
- package/dist/archive-_GMNY8wH.mjs +39 -0
- package/dist/auth-cFC5m69m.mjs +19 -0
- package/dist/{body-DDYKoyMt.mjs → body-BdRyuvU4.mjs} +2 -2
- package/dist/{branches-DjiGsjAz.mjs → branches-Jpv-FNds.mjs} +5 -6
- package/dist/{cancel-BwtDQ2MR.mjs → cancel-ChC4lFd4.mjs} +4 -5
- package/dist/{cancel-task-uJp18RvR.mjs → cancel-task-DyhIkNaL.mjs} +5 -6
- package/dist/{render-0_GsapXa.mjs → capabilities-7L9GVMd_.mjs} +45 -4
- package/dist/card-ClvGX6dQ.mjs +20 -0
- package/dist/{card-ezYiriML.mjs → card-DnIeMmUn.mjs} +18 -2
- package/dist/{cards-z68PANDD.mjs → cards-O-nKkQKP.mjs} +5 -6
- package/dist/cli.mjs +24 -34
- package/dist/{collection-Bcy8cWYH.mjs → collection-BPTlcFw5.mjs} +8 -2
- package/dist/collection-DjvowSJC.mjs +20 -0
- package/dist/collection-namespace-7724zUMx.mjs +12 -0
- package/dist/{create-BzK59YlR.mjs → create-B4f4Pldw.mjs} +11 -12
- package/dist/{create-4EAGYVyp.mjs → create-BbF9zVFP.mjs} +12 -10
- package/dist/{create-Dd_Gyg_F.mjs → create-BnFHcnlL.mjs} +7 -8
- package/dist/{create-GVfCQU3B.mjs → create-BuKx7kw6.mjs} +7 -8
- package/dist/{create-CQ4Vg4Ge.mjs → create-BxRsXQrm.mjs} +9 -10
- package/dist/{create-7JOWFxqu.mjs → create-CvYKJOcE.mjs} +10 -11
- package/dist/create-D45uFXlo.mjs +44 -0
- package/dist/create-DS52EhPd.mjs +52 -0
- package/dist/{create-DHWfmO2L.mjs → create-DeZ2x2Db.mjs} +9 -10
- package/dist/{create-branch-CdWGiREu.mjs → create-branch-KOWUIE72.mjs} +5 -6
- package/dist/{current-task-nPs-iCLi.mjs → current-task-ClcWPPMc.mjs} +5 -6
- package/dist/dashboard-BFeURTOw.mjs +21 -0
- package/dist/{database-BXiue1in.mjs → database-Dsv4QBs0.mjs} +20 -10
- package/dist/db-CSH1kwQr.mjs +22 -0
- package/dist/{delete-CJqLgr6w.mjs → delete-CX2VUA5R.mjs} +6 -7
- package/dist/{delete-Do1agSiL.mjs → delete-D68oS73R.mjs} +6 -7
- package/dist/{delete-runtime-uuYbd4k2.mjs → delete-runtime-CjFc69tS.mjs} +2 -2
- package/dist/{delete-table-ZiJDpMFT.mjs → delete-table-DLvL9mDA.mjs} +6 -7
- package/dist/{dirty-BnTG7w7v.mjs → dirty-1OrXpc7E.mjs} +5 -6
- package/dist/document-CcfiiV3b.mjs +100 -0
- package/dist/document-KdT_Xj6r.mjs +19 -0
- package/dist/{eid-CwQ_smOD.mjs → eid-CzLhHZMW.mjs} +6 -7
- package/dist/{error-CTVL5CdB.mjs → error-BWXBhqLW.mjs} +1 -1
- package/dist/{export-DR2cC4rL.mjs → export-B5z8w-xo.mjs} +7 -8
- package/dist/field-CTFnZI8G.mjs +18 -0
- package/dist/{fields-Ck31lDz9.mjs → fields-sC7pzmPX.mjs} +6 -7
- package/dist/{get-pO0wiy1e.mjs → get-4GEDd9YN.mjs} +5 -6
- package/dist/get-BC60bhel.mjs +36 -0
- package/dist/{get-CyG_P55z.mjs → get-BYw3xS0X.mjs} +6 -7
- package/dist/{get-C71ypFQk.mjs → get-Bo1FGyFs.mjs} +5 -6
- package/dist/{get-BNKsNCcx.mjs → get-ByZ4HR2T.mjs} +5 -6
- package/dist/{get-DxqzDKKK.mjs → get-C6n86-dS.mjs} +5 -6
- package/dist/{get-DyArILlF.mjs → get-CHb6J908.mjs} +5 -6
- package/dist/{get-F338MOK-.mjs → get-DLwb_gUh.mjs} +5 -6
- package/dist/{get-CICzGFSW.mjs → get-DTHLETau.mjs} +6 -7
- package/dist/{get-BFJ3VBPa.mjs → get-Dl62Fy6Y.mjs} +5 -6
- package/dist/{get-BZiu-u-9.mjs → get-Fn9WkNhS.mjs} +7 -8
- package/dist/{get-GWRprk7k.mjs → get-ZesERdyk.mjs} +5 -7
- package/dist/{get-BPOd0Rm8.mjs → get-lcX52Skc.mjs} +5 -6
- package/dist/{get-DauAF3sm.mjs → get-reSMTfQi.mjs} +5 -6
- package/dist/{get-run-DhM_PyVy.mjs → get-run-CpCbHJad.mjs} +5 -6
- package/dist/git-sync-C2vib8rx.mjs +28 -0
- package/dist/{has-remote-changes-Ca0exJmb.mjs → has-remote-changes-CPz_-uxd.mjs} +5 -6
- package/dist/{import-DjclIzGP.mjs → import-DaWgprK6.mjs} +7 -8
- package/dist/is-dirty-Bb0Rtj7x.mjs +9 -0
- package/dist/{is-dirty-Cke0a1ie.mjs → is-dirty-DZlI7lQx.mjs} +4 -4
- package/dist/{items-BSpapmCU.mjs → items-hgbRYsYD.mjs} +7 -8
- package/dist/{list-BI1PfPjn.mjs → list-36H-dvJZ.mjs} +5 -6
- package/dist/list-B9J3ujwn.mjs +32 -0
- package/dist/{list-BRXGDSMo.mjs → list-BGerkRHH.mjs} +5 -6
- package/dist/{list-CEE9yKNp.mjs → list-BWv5y307.mjs} +4 -5
- package/dist/{list-V5IuMr_5.mjs → list-BgHESP7b.mjs} +4 -5
- package/dist/{list-DWWGcUTg.mjs → list-CCZnH2-Z.mjs} +5 -7
- package/dist/{list-Fjjtpghb.mjs → list-CGdOC9zX.mjs} +6 -7
- package/dist/{list-DmO4ADQq.mjs → list-CKeVS1IZ.mjs} +4 -5
- package/dist/{list-D1qhCQn0.mjs → list-Cd2nOCAx.mjs} +6 -7
- package/dist/{list-fIV-P6wP.mjs → list-D9EuxFHO.mjs} +4 -5
- package/dist/{list-Br77Mw6U.mjs → list-DBlsRSpZ.mjs} +5 -6
- package/dist/{list-bVlCwg8g.mjs → list-DO8T-nmF.mjs} +4 -5
- package/dist/{list-Brt4oKO7.mjs → list-DOVX3vCb.mjs} +6 -7
- package/dist/{list-DUyWON1F.mjs → list-kath_2cX.mjs} +4 -5
- package/dist/{login-BJGhZLgZ.mjs → login-BzrAGJfu.mjs} +9 -10
- package/dist/{logout-BAGLqtnV.mjs → logout-CKBiltoS.mjs} +4 -5
- package/dist/{manifest-BNh0Lw6p.mjs → manifest-BPHqF5LY.mjs} +1 -2
- package/dist/measure-Dw1QpRZa.mjs +19 -0
- package/dist/{metadata-B-GOcWqL.mjs → metadata-BcGcUEVJ.mjs} +6 -7
- package/dist/{metadata-DJAdsOoh.mjs → metadata-BjOrKtnv.mjs} +7 -8
- package/dist/{parse-id-D1LTTt9L.mjs → parse-id--iVTCKSo.mjs} +1 -1
- package/dist/{path-D5kX-msX.mjs → path-LgGU6Bd0.mjs} +4 -6
- package/dist/{poll-DxpnK1wW.mjs → poll-BucRFJT-.mjs} +1 -1
- package/dist/{poll-task-D8mG49IN.mjs → poll-task-DTzKB3T3.mjs} +2 -2
- package/dist/{preflight-Df_FqJ6o.mjs → preflight-CzqVX0PP.mjs} +3 -3
- package/dist/{query-zWFRDH3T.mjs → query-BVZkK6Qk.mjs} +7 -8
- package/dist/{query-OIuumiXN.mjs → query-DG_jygDF.mjs} +11 -12
- package/dist/{query-result-ABPLz6I4.mjs → query-result-B4kTRid7.mjs} +1 -1
- package/dist/{remove-collection-BxmiXWKz.mjs → remove-collection-HdeAfLyi.mjs} +7 -8
- package/dist/{rescan-values-M7g81KIl.mjs → rescan-values-hWubCruZ.mjs} +8 -11
- package/dist/run-C1-lDmQF.mjs +136 -0
- package/dist/{runs-CqfJIuh_.mjs → runs-Q6DYQyqj.mjs} +6 -7
- package/dist/{runtime-B40L_bj8.mjs → runtime-colqvhLf.mjs} +11 -78
- package/dist/{schema-tables-CjBRF0_0.mjs → schema-tables-BEastV_8.mjs} +6 -7
- package/dist/{schemas-GIIbek2O.mjs → schemas-CgawwI_k.mjs} +4 -5
- package/dist/{search-h78uOYec.mjs → search-BWo7xSPP.mjs} +4 -5
- package/dist/segment-DMuYvFjg.mjs +19 -0
- package/dist/{set-BRDxcLcQ.mjs → set-7Nm2ZTb_.mjs} +7 -8
- package/dist/{setting-mKzZJpQY.mjs → setting-DSGXJehQ.mjs} +3 -3
- package/dist/{setup-WTIT2WbM.mjs → setup-aJLGLrIT.mjs} +6 -7
- package/dist/{skills-BkregMyb.mjs → skills-CY_FmaPo.mjs} +33 -2
- package/dist/skills-Q2AFsYvc.mjs +18 -0
- package/dist/snippet-Df2TrP7-.mjs +19 -0
- package/dist/{stash-DxoAJzcK.mjs → stash-DPQ0c-Cd.mjs} +7 -8
- package/dist/{status-B1dc3bbQ.mjs → status-CvAATvV0.mjs} +4 -5
- package/dist/{status-D0Ukfodl.mjs → status-CvKPrV5X.mjs} +6 -7
- package/dist/{summary-3qOMUcEX.mjs → summary-CeOnoOq2.mjs} +5 -6
- package/dist/sync-schema-aOPBc3CY.mjs +55 -0
- package/dist/{table-qDD2kApF.mjs → table-CkWja2UH.mjs} +1 -1
- package/dist/table-pK4OkVtL.mjs +19 -0
- package/dist/{transform-BKahefz_.mjs → transform--dviwMA1.mjs} +1 -0
- package/dist/transform-D60veFH8.mjs +24 -0
- package/dist/transform-job-DXt5LsrY.mjs +19 -0
- package/dist/{tree-DsnIPFyE.mjs → tree-MOQOBeAP.mjs} +4 -5
- package/dist/update-57uxZWcR.mjs +52 -0
- package/dist/{update-CLsqoEJ8.mjs → update-B6mg3AZD.mjs} +8 -9
- package/dist/{update-CZEd_Eej.mjs → update-BD9xkglP.mjs} +9 -10
- package/dist/{update-BEtl9LpG.mjs → update-BRrnfG0q.mjs} +8 -9
- package/dist/{update-DPouQi4U.mjs → update-BWyCK8QV.mjs} +13 -11
- package/dist/{update-DWn-nLPo.mjs → update-Bj9s0ri8.mjs} +8 -9
- package/dist/{update-BsgHRoZ8.mjs → update-BkMWBzvk.mjs} +11 -12
- package/dist/{update-Baya6OkO.mjs → update-CitS-QRN.mjs} +12 -13
- package/dist/{update-BRLcnSwK.mjs → update-DfNKr_vS.mjs} +10 -11
- package/dist/{update-UaPqSfPN.mjs → update-Dri4Zg2H.mjs} +10 -11
- package/dist/{update-dashcard-DK9X91ha.mjs → update-dashcard-D_-ura3Y.mjs} +8 -9
- package/dist/{upgrade-UqdvTikR.mjs → upgrade-CFkZ4USY.mjs} +34 -7
- package/dist/{uuid-BWCaWG4O.mjs → uuid-DpinhSxA.mjs} +3 -4
- package/dist/{validate-dPEOnOf8.mjs → validate-B62TRDGV.mjs} +1 -1
- package/dist/{validate-query-CYvOP8Ld.mjs → validate-query-BpiN1CFu.mjs} +2 -2
- package/dist/{values-D_wycrcr.mjs → values-BSS4DRxk.mjs} +5 -6
- package/dist/{verify-D7hb6VMy.mjs → verify-B_A7v8TY.mjs} +1 -1
- package/dist/{wait-B5IpNFCG.mjs → wait-D3iSnjMM.mjs} +6 -7
- package/dist/{wait-flags-CNIeSq0_.mjs → wait-flags-_LnHOeBA.mjs} +2 -2
- package/package.json +1 -1
- package/skill-data/core/SKILL.md +19 -32
- package/skill-data/document/SKILL.md +162 -0
- package/skill-data/git-sync/SKILL.md +8 -63
- package/skill-data/mbql/SKILL.md +95 -28
- package/skill-data/mbql/references/operators.md +13 -13
- package/skill-data/transform/SKILL.md +18 -7
- package/skills/metabase-cli/SKILL.md +1 -1
- package/dist/add-collection-DxtuNxeP.mjs +0 -11
- package/dist/auth-B9B4pUaH.mjs +0 -19
- package/dist/capabilities-7e9MgquN.mjs +0 -29
- package/dist/card-D54unw6r.mjs +0 -20
- package/dist/collection-B5kIKRTL.mjs +0 -20
- package/dist/create-6XE7GYxk.mjs +0 -45
- package/dist/create-C8gA-XP2.mjs +0 -54
- package/dist/credentials-CFA9iGZG.mjs +0 -88
- package/dist/dashboard-lw6IFfOs.mjs +0 -21
- package/dist/database-BPT6BrmF.mjs +0 -17
- package/dist/db-CBCj8sBg.mjs +0 -22
- package/dist/delete-CiV6f69N.mjs +0 -104
- package/dist/deprovision-C-qEnh-P.mjs +0 -67
- package/dist/docker-B-QQWThD.mjs +0 -515
- package/dist/field-DJmQ2pul.mjs +0 -18
- package/dist/git-sync-rmjYOGFK.mjs +0 -28
- package/dist/is-dirty-DFGgGLDi.mjs +0 -10
- package/dist/license-j0tDQLKI.mjs +0 -17
- package/dist/list-evetBTcH.mjs +0 -36
- package/dist/logs-jx5b_YDk.mjs +0 -60
- package/dist/measure-BfgxqewH.mjs +0 -19
- package/dist/parse-schemas-DDK9nXuh.mjs +0 -12
- package/dist/process-CM7Uu5q_.mjs +0 -105
- package/dist/provision-BJd6zO1D.mjs +0 -83
- package/dist/ps-CpyHEvv7.mjs +0 -11
- package/dist/ps-dEqRGeB3.mjs +0 -80
- package/dist/remove-BNQ1c6hB.mjs +0 -64
- package/dist/run-DTsx8bLb.mjs +0 -96
- package/dist/segment-CoElN2b-.mjs +0 -19
- package/dist/set-Dclba9xF.mjs +0 -68
- package/dist/skills-tMYd5d9v.mjs +0 -18
- package/dist/snippet-B84H3tfp.mjs +0 -19
- package/dist/start-B7ByBicB.mjs +0 -414
- package/dist/status-DAzD1Cn_.mjs +0 -34
- package/dist/stop-Cvexagxh.mjs +0 -87
- package/dist/sync-schema-CrmVX1cy.mjs +0 -44
- package/dist/table-B0fRQv91.mjs +0 -19
- package/dist/transform-K_kp6Rdm.mjs +0 -24
- package/dist/transform-job-CuNN8zgv.mjs +0 -19
- package/dist/update-hiJdbbsb.mjs +0 -78
- package/dist/url-LMJZRDv4.mjs +0 -56
- package/dist/wait-DHjXk3jD.mjs +0 -19
- package/dist/workspace-Bt8n3ojY.mjs +0 -25
- package/dist/workspace-D8HtUN0y.mjs +0 -72
- package/dist/workspace-credentials-8CBMQJFz.mjs +0 -100
- package/dist/yaml-Gv6wRFMF.mjs +0 -43
- package/skill-data/workspace/SKILL.md +0 -390
- /package/dist/{body-flags-D7q87Btw.mjs → body-flags-D78h_-Ua.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-y4TtxKwU.mjs} +0 -0
- /package/dist/{measure-Bt3InQsA.mjs → measure-COGAoZpo.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-Bo-Kvv6F.mjs} +0 -0
- /package/dist/{segment-DhBmcr_E.mjs → segment-d-708KKO.mjs} +0 -0
- /package/dist/{setting-BzCng1Ub.mjs → setting-CSJvi1-6.mjs} +0 -0
- /package/dist/{snippet-bi_0XbNT.mjs → snippet-BZvo05ua.mjs} +0 -0
- /package/dist/{transform-job-DjhoJbiV.mjs → transform-job-n8W6tLqF.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 { parseId } from "./parse-id-D1LTTt9L.mjs";
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-BWXBhqLW.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-colqvhLf.mjs";
|
|
4
|
+
import { renderItem } from "./capabilities-7L9GVMd_.mjs";
|
|
5
|
+
import { Field, fieldView } from "./field-MGxpNQUH.mjs";
|
|
6
|
+
import { parseId } from "./parse-id--iVTCKSo.mjs";
|
|
8
7
|
|
|
9
8
|
//#region src/commands/field/get.ts
|
|
10
9
|
var get_default = defineMetabaseCommand({
|
|
@@ -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-BWXBhqLW.mjs";
|
|
3
|
+
import { defineMetabaseCommand, parseEnum } from "./runtime-colqvhLf.mjs";
|
|
4
|
+
import { renderItem } from "./capabilities-7L9GVMd_.mjs";
|
|
5
|
+
import "./field-MGxpNQUH.mjs";
|
|
6
|
+
import { parseId } from "./parse-id--iVTCKSo.mjs";
|
|
7
|
+
import "./table-CkWja2UH.mjs";
|
|
8
|
+
import { Database, databaseView } from "./database-Dsv4QBs0.mjs";
|
|
10
9
|
import { z } from "zod";
|
|
11
10
|
|
|
12
11
|
//#region src/commands/db/get.ts
|
|
@@ -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-BWXBhqLW.mjs";
|
|
3
|
+
import { defineMetabaseCommand, parseCsv } from "./runtime-colqvhLf.mjs";
|
|
4
|
+
import { renderList, writeText } from "./capabilities-7L9GVMd_.mjs";
|
|
5
|
+
import { SkillContent, loadAllSkills, loadVisibleSkills, readSkillContent, selectSkillsByNames } from "./skills-CY_FmaPo.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 { Transform, transformView } from "./transform-BKahefz_.mjs";
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-BWXBhqLW.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-colqvhLf.mjs";
|
|
4
|
+
import { renderItem } from "./capabilities-7L9GVMd_.mjs";
|
|
5
|
+
import { parseId } from "./parse-id--iVTCKSo.mjs";
|
|
6
|
+
import { Transform, transformView } from "./transform--dviwMA1.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 } from "./runtime-
|
|
4
|
-
import "./capabilities-
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { parseCollectionRef } from "./parse-ref-DKag6a6I.mjs";
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-BWXBhqLW.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-colqvhLf.mjs";
|
|
4
|
+
import { renderItem } from "./capabilities-7L9GVMd_.mjs";
|
|
5
|
+
import { Collection, collectionView } from "./collection-BPTlcFw5.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 { TransformRun, transformRunView } from "./transform-BKahefz_.mjs";
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-BWXBhqLW.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-colqvhLf.mjs";
|
|
4
|
+
import { renderItem } from "./capabilities-7L9GVMd_.mjs";
|
|
5
|
+
import { parseId } from "./parse-id--iVTCKSo.mjs";
|
|
6
|
+
import { TransformRun, transformRunView } from "./transform--dviwMA1.mjs";
|
|
8
7
|
|
|
9
8
|
//#region src/commands/transform/get-run.ts
|
|
10
9
|
var get_run_default = defineMetabaseCommand({
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { defineCommand } from "citty";
|
|
2
|
+
|
|
3
|
+
//#region src/commands/git-sync/index.ts
|
|
4
|
+
var git_sync_default = defineCommand({
|
|
5
|
+
meta: {
|
|
6
|
+
name: "git-sync",
|
|
7
|
+
description: "Sync Metabase content with a git remote"
|
|
8
|
+
},
|
|
9
|
+
subCommands: {
|
|
10
|
+
status: () => import("./status-CvKPrV5X.mjs").then((mod) => mod.default),
|
|
11
|
+
"is-dirty": () => import("./is-dirty-Bb0Rtj7x.mjs").then((mod) => mod.default),
|
|
12
|
+
"has-remote-changes": () => import("./has-remote-changes-CPz_-uxd.mjs").then((mod) => mod.default),
|
|
13
|
+
dirty: () => import("./dirty-1OrXpc7E.mjs").then((mod) => mod.default),
|
|
14
|
+
"current-task": () => import("./current-task-ClcWPPMc.mjs").then((mod) => mod.default),
|
|
15
|
+
"cancel-task": () => import("./cancel-task-DyhIkNaL.mjs").then((mod) => mod.default),
|
|
16
|
+
wait: () => import("./wait-D3iSnjMM.mjs").then((mod) => mod.default),
|
|
17
|
+
import: () => import("./import-DaWgprK6.mjs").then((mod) => mod.default),
|
|
18
|
+
export: () => import("./export-B5z8w-xo.mjs").then((mod) => mod.default),
|
|
19
|
+
stash: () => import("./stash-DPQ0c-Cd.mjs").then((mod) => mod.default),
|
|
20
|
+
branches: () => import("./branches-Jpv-FNds.mjs").then((mod) => mod.default),
|
|
21
|
+
"create-branch": () => import("./create-branch-KOWUIE72.mjs").then((mod) => mod.default),
|
|
22
|
+
"add-collection": () => import("./add-collection-D9wXgmRj.mjs").then((mod) => mod.default),
|
|
23
|
+
"remove-collection": () => import("./remove-collection-HdeAfLyi.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 { REMOTE_SYNC_PATHS } from "./poll-task-
|
|
7
|
-
import "./poll-DxpnK1wW.mjs";
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-BWXBhqLW.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-colqvhLf.mjs";
|
|
4
|
+
import { renderSummary } from "./capabilities-7L9GVMd_.mjs";
|
|
5
|
+
import "./poll-BucRFJT-.mjs";
|
|
6
|
+
import { REMOTE_SYNC_PATHS } from "./poll-task-DTzKB3T3.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 "./poll-
|
|
9
|
-
import { gitSyncWaitFlags, parseWaitFlags } from "./wait-flags-CNIeSq0_.mjs";
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-BWXBhqLW.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-colqvhLf.mjs";
|
|
4
|
+
import { renderSummary } from "./capabilities-7L9GVMd_.mjs";
|
|
5
|
+
import "./parse-id--iVTCKSo.mjs";
|
|
6
|
+
import "./poll-BucRFJT-.mjs";
|
|
7
|
+
import { gitSyncWaitFlags, parseWaitFlags } from "./wait-flags-_LnHOeBA.mjs";
|
|
8
|
+
import { REMOTE_SYNC_PATHS, SyncTask, formatSyncTask, pollSyncTask, throwIfFailedTask } from "./poll-task-DTzKB3T3.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-BWXBhqLW.mjs";
|
|
3
|
+
import "./runtime-colqvhLf.mjs";
|
|
4
|
+
import "./capabilities-7L9GVMd_.mjs";
|
|
5
|
+
import "./poll-BucRFJT-.mjs";
|
|
6
|
+
import "./poll-task-DTzKB3T3.mjs";
|
|
7
|
+
import { IsDirtyResult, is_dirty_default } from "./is-dirty-DZlI7lQx.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-BWXBhqLW.mjs";
|
|
2
|
+
import { defineMetabaseCommand } from "./runtime-colqvhLf.mjs";
|
|
3
|
+
import { renderSummary } from "./capabilities-7L9GVMd_.mjs";
|
|
4
|
+
import { REMOTE_SYNC_PATHS } from "./poll-task-DTzKB3T3.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-BWXBhqLW.mjs";
|
|
3
|
+
import { defineMetabaseCommand, parseEnum, parseEnumCsv } from "./runtime-colqvhLf.mjs";
|
|
4
|
+
import { renderList } from "./capabilities-7L9GVMd_.mjs";
|
|
5
|
+
import { parseId } from "./parse-id--iVTCKSo.mjs";
|
|
6
|
+
import { COLLECTION_ITEM_FILTER_MODELS, COLLECTION_PINNED_STATES, CollectionItem, CollectionItemCompact, CollectionItemFilterModel, CollectionPinnedState, collectionItemView } from "./collection-BPTlcFw5.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,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-BWXBhqLW.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-colqvhLf.mjs";
|
|
4
|
+
import { renderList } from "./capabilities-7L9GVMd_.mjs";
|
|
5
|
+
import { parseEnumFlag } from "./parse-enum-Dr7ACrTR.mjs";
|
|
6
|
+
import { Collection, CollectionCompact, collectionView } from "./collection-BPTlcFw5.mjs";
|
|
8
7
|
import { z } from "zod";
|
|
9
8
|
|
|
10
9
|
//#region src/commands/collection/list.ts
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import "./command-augment-BH9qgQ5u.mjs";
|
|
2
|
+
import { connectionFlags, listEnvelopeSchema, outputFlags, profileFlag, wrapList } from "./error-BWXBhqLW.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-colqvhLf.mjs";
|
|
4
|
+
import { renderList } from "./capabilities-7L9GVMd_.mjs";
|
|
5
|
+
import { Document, DocumentCompact, documentView } from "./document-CcfiiV3b.mjs";
|
|
6
|
+
import { z } from "zod";
|
|
7
|
+
|
|
8
|
+
//#region src/commands/document/list.ts
|
|
9
|
+
const DocumentApiList = z.object({ items: z.array(Document) }).loose();
|
|
10
|
+
const DocumentListEnvelope = listEnvelopeSchema(DocumentCompact);
|
|
11
|
+
var list_default = defineMetabaseCommand({
|
|
12
|
+
meta: {
|
|
13
|
+
name: "list",
|
|
14
|
+
description: "List documents"
|
|
15
|
+
},
|
|
16
|
+
capabilities: { minVersion: 58 },
|
|
17
|
+
args: {
|
|
18
|
+
...outputFlags,
|
|
19
|
+
...profileFlag,
|
|
20
|
+
...connectionFlags
|
|
21
|
+
},
|
|
22
|
+
outputSchema: DocumentListEnvelope,
|
|
23
|
+
examples: ["mb document list", "mb document list --json"],
|
|
24
|
+
async run({ ctx, getClient }) {
|
|
25
|
+
const client = await getClient();
|
|
26
|
+
const response = await client.requestParsed(DocumentApiList, "/api/document");
|
|
27
|
+
renderList(wrapList(response.items), documentView, ctx);
|
|
28
|
+
}
|
|
29
|
+
});
|
|
30
|
+
|
|
31
|
+
//#endregion
|
|
32
|
+
export { list_default as default };
|
|
@@ -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-BWXBhqLW.mjs";
|
|
3
|
+
import { ParsedVersionSchema, ProbedUser, ProfileLastFailure, TokenFeatures, defineMetabaseCommand, listProfileRecords, originOnly, readProfile, writeProbeFailure, writeProbeResult } from "./runtime-colqvhLf.mjs";
|
|
4
|
+
import { verifyAndProbe } from "./verify-B_A7v8TY.mjs";
|
|
5
|
+
import { renderList, warn } from "./capabilities-7L9GVMd_.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,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-BWXBhqLW.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-colqvhLf.mjs";
|
|
4
|
+
import { renderList } from "./capabilities-7L9GVMd_.mjs";
|
|
5
|
+
import { Snippet, SnippetCompact, snippetView } from "./snippet-BZvo05ua.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-BWXBhqLW.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-colqvhLf.mjs";
|
|
4
|
+
import { renderList } from "./capabilities-7L9GVMd_.mjs";
|
|
5
|
+
import { Setting, SettingCompact, settingView } from "./setting-CSJvi1-6.mjs";
|
|
7
6
|
import { z } from "zod";
|
|
8
7
|
|
|
9
8
|
//#region src/commands/setting/list.ts
|
|
@@ -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-BWXBhqLW.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-colqvhLf.mjs";
|
|
4
|
+
import { renderList } from "./capabilities-7L9GVMd_.mjs";
|
|
5
|
+
import { loadVisibleSkills } from "./skills-CY_FmaPo.mjs";
|
|
8
6
|
import { z } from "zod";
|
|
9
7
|
|
|
10
8
|
//#region src/commands/skills/list.ts
|
|
@@ -26,7 +24,7 @@ const skillSummaryView = {
|
|
|
26
24
|
var list_default = defineMetabaseCommand({
|
|
27
25
|
meta: {
|
|
28
26
|
name: "list",
|
|
29
|
-
description: "List skills
|
|
27
|
+
description: "List CLI-bundled skills — always consult the matching skill before acting on a task; they are the source of truth for every workflow."
|
|
30
28
|
},
|
|
31
29
|
args: { ...outputFlags },
|
|
32
30
|
outputSchema: SkillListEnvelope,
|
|
@@ -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-BWXBhqLW.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-colqvhLf.mjs";
|
|
4
|
+
import { renderList } from "./capabilities-7L9GVMd_.mjs";
|
|
5
|
+
import "./field-MGxpNQUH.mjs";
|
|
6
|
+
import { Card, CardCompact, cardView } from "./card-DnIeMmUn.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,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-BWXBhqLW.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-colqvhLf.mjs";
|
|
4
|
+
import { renderList } from "./capabilities-7L9GVMd_.mjs";
|
|
5
|
+
import { Measure, MeasureCompact, measureView } from "./measure-COGAoZpo.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 } 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-BWXBhqLW.mjs";
|
|
3
|
+
import { defineMetabaseCommand, parseEnum } from "./runtime-colqvhLf.mjs";
|
|
4
|
+
import { renderList } from "./capabilities-7L9GVMd_.mjs";
|
|
5
|
+
import "./field-MGxpNQUH.mjs";
|
|
6
|
+
import "./table-CkWja2UH.mjs";
|
|
7
|
+
import { Database, DatabaseCompact, databaseView } from "./database-Dsv4QBs0.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 { TransformJob, TransformJobCompact, transformJobView } from "./transform-job-DjhoJbiV.mjs";
|
|
2
|
+
import { connectionFlags, listEnvelopeSchema, outputFlags, profileFlag, wrapList } from "./error-BWXBhqLW.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-colqvhLf.mjs";
|
|
4
|
+
import { renderList } from "./capabilities-7L9GVMd_.mjs";
|
|
5
|
+
import { TransformJob, TransformJobCompact, transformJobView } from "./transform-job-n8W6tLqF.mjs";
|
|
7
6
|
import { z } from "zod";
|
|
8
7
|
|
|
9
8
|
//#region src/commands/transform-job/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-BWXBhqLW.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-colqvhLf.mjs";
|
|
4
|
+
import { renderList } from "./capabilities-7L9GVMd_.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,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-BWXBhqLW.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-colqvhLf.mjs";
|
|
4
|
+
import { renderList } from "./capabilities-7L9GVMd_.mjs";
|
|
5
|
+
import { Transform, TransformCompact, transformView } from "./transform--dviwMA1.mjs";
|
|
7
6
|
import { z } from "zod";
|
|
8
7
|
|
|
9
8
|
//#region src/commands/transform/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-BWXBhqLW.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-colqvhLf.mjs";
|
|
4
|
+
import { renderList } from "./capabilities-7L9GVMd_.mjs";
|
|
5
|
+
import "./field-MGxpNQUH.mjs";
|
|
6
|
+
import { parseId } from "./parse-id--iVTCKSo.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 { Segment, SegmentCompact, segmentView } from "./segment-DhBmcr_E.mjs";
|
|
2
|
+
import { connectionFlags, listEnvelopeSchema, outputFlags, profileFlag, wrapList } from "./error-BWXBhqLW.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-colqvhLf.mjs";
|
|
4
|
+
import { renderList } from "./capabilities-7L9GVMd_.mjs";
|
|
5
|
+
import { Segment, SegmentCompact, segmentView } from "./segment-d-708KKO.mjs";
|
|
7
6
|
import { z } from "zod";
|
|
8
7
|
|
|
9
8
|
//#region src/commands/segment/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-BWXBhqLW.mjs";
|
|
3
|
+
import { DEFAULT_PROFILE, ParsedVersionSchema, ProbedUser, defineMetabaseCommand, explicitProfileName, keyringFallbackWarning, normalizeUrl, readEnvCredentials, writeProbeFailure, writeProbeResult, writeProfile } from "./runtime-colqvhLf.mjs";
|
|
4
|
+
import { verifyAndProbe } from "./verify-B_A7v8TY.mjs";
|
|
5
|
+
import { renderSummary, warn } from "./capabilities-7L9GVMd_.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-BWXBhqLW.mjs";
|
|
3
|
+
import { clearProfile, defineMetabaseCommand, resolveProfileName } from "./runtime-colqvhLf.mjs";
|
|
4
|
+
import { renderSummary } from "./capabilities-7L9GVMd_.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-7L9GVMd_.mjs";
|
|
4
3
|
import { defineCommand } from "citty";
|
|
5
4
|
import { z } from "zod";
|
|
6
5
|
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { defineCommand } from "citty";
|
|
2
|
+
|
|
3
|
+
//#region src/commands/measure/index.ts
|
|
4
|
+
var measure_default = defineCommand({
|
|
5
|
+
meta: {
|
|
6
|
+
name: "measure",
|
|
7
|
+
description: "Manage Metabase measures"
|
|
8
|
+
},
|
|
9
|
+
subCommands: {
|
|
10
|
+
list: () => import("./list-CKeVS1IZ.mjs").then((mod) => mod.default),
|
|
11
|
+
get: () => import("./get-C6n86-dS.mjs").then((mod) => mod.default),
|
|
12
|
+
create: () => import("./create-DeZ2x2Db.mjs").then((mod) => mod.default),
|
|
13
|
+
update: () => import("./update-Dri4Zg2H.mjs").then((mod) => mod.default),
|
|
14
|
+
archive: () => import("./archive-B59Y7ajB.mjs").then((mod) => mod.default)
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
|
|
18
|
+
//#endregion
|
|
19
|
+
export { measure_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 { TableQueryMetadata, tableView } from "./table-qDD2kApF.mjs";
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-BWXBhqLW.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-colqvhLf.mjs";
|
|
4
|
+
import { renderItem } from "./capabilities-7L9GVMd_.mjs";
|
|
5
|
+
import "./field-MGxpNQUH.mjs";
|
|
6
|
+
import { parseId } from "./parse-id--iVTCKSo.mjs";
|
|
7
|
+
import { TableQueryMetadata, tableView } from "./table-CkWja2UH.mjs";
|
|
9
8
|
|
|
10
9
|
//#region src/commands/table/metadata.ts
|
|
11
10
|
var metadata_default = defineMetabaseCommand({
|