@metabase/cli 0.1.0-alpha.workspaces-commands.2c53ab6 → 0.1.0-alpha.workspaces-commands.28a297a
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/dist/{add-collection-CglWilCW.mjs → add-collection-DB2C0Pdw.mjs} +3 -3
- package/dist/{add-collection-DJyCI-0s.mjs → add-collection-Dwu5Rcn3.mjs} +6 -6
- package/dist/{api-key-df2ZsJBo.mjs → api-key-BqZV1nLg.mjs} +1 -1
- package/dist/{archive-DHseQfsj.mjs → archive-B1keZ1oV.mjs} +3 -3
- package/dist/{archive-Dta_mr4o.mjs → archive-CuYuesnm.mjs} +3 -3
- package/dist/{archive-D3reknjN.mjs → archive-c6NmnA8k.mjs} +3 -3
- package/dist/{archive-CCVNS2SS.mjs → archive-e-4fxNMq.mjs} +3 -3
- package/dist/auth-DHOpcw11.mjs +19 -0
- package/dist/{body-Dhcf1O4J.mjs → body-D_BRIb1g.mjs} +1 -1
- package/dist/{branches-DV7_2s8y.mjs → branches-Dy_8vIh4.mjs} +4 -4
- package/dist/{cancel-DNbb4CBS.mjs → cancel-Djld5ex0.mjs} +3 -3
- package/dist/{cancel-task-CDjt9-vy.mjs → cancel-task-DX_5nq_N.mjs} +4 -4
- package/dist/card-D1JLv6cG.mjs +20 -0
- package/dist/{cards-coJN4bZN.mjs → cards-Bhu7cd67.mjs} +3 -3
- package/dist/cli.mjs +22 -22
- package/dist/collection-C2C4HUz_.mjs +19 -0
- package/dist/{create-D2H_tAy9.mjs → create-B2QidM_x.mjs} +3 -3
- package/dist/{create-BjiAKAtp.mjs → create-BLntykb-.mjs} +3 -3
- package/dist/{create-DVxYduNp.mjs → create-C7306Nj2.mjs} +3 -3
- package/dist/{create-D6mskDx3.mjs → create-CXqsPb0D.mjs} +3 -3
- package/dist/{create-CssxnW-h.mjs → create-CeaThiSk.mjs} +3 -3
- package/dist/{create-BZKCfIc9.mjs → create-D52ykhxx.mjs} +4 -4
- package/dist/{create-2ufjukAT.mjs → create-DObs_ZQY.mjs} +3 -3
- package/dist/{create-DdlYGYMQ.mjs → create-Dm32X31o.mjs} +3 -3
- package/dist/{create-branch-BxdlgUF3.mjs → create-branch-B7GstHWB.mjs} +4 -4
- package/dist/{create-BBYkUPJr.mjs → create-gL677HA2.mjs} +3 -3
- package/dist/{create-CytUU9ZM.mjs → create-u53lHBvb.mjs} +3 -3
- package/dist/{credentials-C0XoCrdj.mjs → credentials-3xkVaa31.mjs} +5 -5
- package/dist/{current-task-D4ESrhJg.mjs → current-task-MW424eQU.mjs} +4 -4
- package/dist/dashboard-BLr8iCSU.mjs +20 -0
- package/dist/{database-CRiXkFXN.mjs → database-zA2GgRgJ.mjs} +3 -3
- package/dist/db-CBCfAbIZ.mjs +22 -0
- package/dist/{delete-CGsM3A9N.mjs → delete-5RYMpau4.mjs} +3 -3
- package/dist/{delete-dmfeaLnL.mjs → delete-CuUZ7fBH.mjs} +3 -3
- package/dist/{delete-table-DrLiWAcy.mjs → delete-table-DdtjSOzx.mjs} +3 -3
- package/dist/{deprovision-DUOEcrED.mjs → deprovision-BD9cBJHd.mjs} +6 -6
- package/dist/{dirty-7iiqqjBz.mjs → dirty-6hyoJZf4.mjs} +4 -4
- package/dist/{docker-BZjPjatS.mjs → docker-W7ITnCLd.mjs} +2 -2
- package/dist/{eid-BroD_GP3.mjs → eid-AISoTK5d.mjs} +1 -1
- package/dist/{export-B3eYlEi7.mjs → export-Dfki7m6s.mjs} +5 -5
- package/dist/field-DbuCWbv9.mjs +18 -0
- package/dist/{fields-DyTkwb75.mjs → fields-DV4ytEF-.mjs} +3 -3
- package/dist/{get-CcC1nGEb.mjs → get-AUwMskl2.mjs} +3 -3
- package/dist/{get-T36pllqi.mjs → get-B-UkMh-Y.mjs} +2 -2
- package/dist/{get-DNUPiMmh.mjs → get-BPRZaF53.mjs} +3 -3
- package/dist/{get-KrXvSLOx.mjs → get-BnRMSv1G.mjs} +3 -3
- package/dist/{get-lncPdHmT.mjs → get-BnXEaySB.mjs} +3 -3
- package/dist/{get-BE1MwBTF.mjs → get-CNhRpCvU.mjs} +2 -2
- package/dist/{get-DGIYvzKJ.mjs → get-CSiojYCN.mjs} +3 -3
- package/dist/{get-BGWeW5cp.mjs → get-CcUzva2o.mjs} +3 -3
- package/dist/{get-DHP5AeV_.mjs → get-DNOdvjBL.mjs} +3 -3
- package/dist/{get-DtlMXBPa.mjs → get-DpDiG-Kd.mjs} +3 -3
- package/dist/{get-A9FQMAbD.mjs → get-Er4CIEdM.mjs} +3 -3
- package/dist/{get-DgIz7LEl.mjs → get-TNKECwY7.mjs} +3 -3
- package/dist/{get-run-CAFGtvMv.mjs → get-run-Dyv3Bm6R.mjs} +3 -3
- package/dist/{has-remote-changes-BQMJmg1p.mjs → has-remote-changes-CYrO6398.mjs} +4 -4
- package/dist/{import-yZJ4v4W7.mjs → import-CyAT3jWh.mjs} +5 -5
- package/dist/{is-dirty-Bu8nOhQa.mjs → is-dirty-0l6YxY-x.mjs} +2 -2
- package/dist/is-dirty-ChP4hRvg.mjs +10 -0
- package/dist/{items-B1c7eCtM.mjs → items-DJp96l7n.mjs} +3 -3
- package/dist/{license-Bl7tz7XB.mjs → license-CHccrjDp.mjs} +3 -3
- package/dist/{list-C3BiNPb-.mjs → list-0k71E5wJ.mjs} +2 -2
- package/dist/{list-DwvTiRJM.mjs → list-B-Kt_Mm-.mjs} +2 -2
- package/dist/{list-ffNPfhjn.mjs → list-BJn9elDD.mjs} +2 -2
- package/dist/{list-DdzkvpfC.mjs → list-BLxdaPvq.mjs} +2 -2
- package/dist/{list-DnVt2DI6.mjs → list-BseZmPLw.mjs} +2 -2
- package/dist/{list-b-d_WQtD.mjs → list-C0vbiU9Q.mjs} +2 -2
- package/dist/{list-CiXwABFC.mjs → list-CI_jCedk.mjs} +2 -2
- package/dist/{list-BR1ga_lK.mjs → list-C_sUJ2Yc.mjs} +2 -2
- package/dist/{list-CcKluubc.mjs → list-CpsaUvI3.mjs} +3 -3
- package/dist/{list-DKGrW6ds.mjs → list-DkaTIDOc.mjs} +2 -2
- package/dist/{list-Cs6U1iyJ.mjs → list-DlWhwK41.mjs} +2 -2
- package/dist/{list-DQdAUZNJ.mjs → list-RDJdCGOR.mjs} +2 -2
- package/dist/{list-C5MvVG_k.mjs → list-oRK_VvRO.mjs} +2 -2
- package/dist/{login-DWZ3237S.mjs → login-CxCs_C85.mjs} +2 -2
- package/dist/{logout-BQQXb8Yz.mjs → logout-f05owqsV.mjs} +2 -2
- package/dist/{logs-DmLSVBBI.mjs → logs-XUAbckH-.mjs} +5 -5
- package/dist/measure-CDMN4H2K.mjs +19 -0
- package/dist/{metadata-CSXl30nB.mjs → metadata-Bl8qs0rn.mjs} +3 -3
- package/dist/{metadata-bbnwhok9.mjs → metadata-MEAm5q9I.mjs} +3 -3
- package/dist/{package-CPA0hL4E.mjs → package-CtkDnX1U.mjs} +1 -1
- package/dist/{parse-id-B6lwJaSN.mjs → parse-id-jvzdqaO1.mjs} +1 -1
- package/dist/{parse-schemas-D-SskXW5.mjs → parse-schemas-Dr5c5urd.mjs} +1 -1
- package/dist/{poll-txMmreGz.mjs → poll-48PVbWIx.mjs} +1 -1
- package/dist/{poll-task-Br9sXlAY.mjs → poll-task-DlcGug4o.mjs} +2 -2
- package/dist/{provision-yQ_U65mn.mjs → provision-BqKjBXr6.mjs} +8 -8
- package/dist/{ps-gOyo1hvO.mjs → ps-DFLSO-al.mjs} +2 -2
- package/dist/{ps-Cme4djhG.mjs → ps-R3DY2-cz.mjs} +5 -5
- package/dist/{query-8QKziTh6.mjs → query-BoIeOotH.mjs} +3 -3
- package/dist/{query-BEdVNMoh.mjs → query-Cv5RkyWm.mjs} +3 -3
- package/dist/{remove-E-GvBZlu.mjs → remove-BZFVrrRi.mjs} +5 -5
- package/dist/{remove-CcLnrQn3.mjs → remove-CtOb1Exs.mjs} +2 -2
- package/dist/{remove-collection-e91EDPU0.mjs → remove-collection-CiRwsouq.mjs} +6 -6
- package/dist/{rescan-values-DpnBq_8O.mjs → rescan-values-LuCZs_-Y.mjs} +3 -3
- package/dist/{run-znsYOoVE.mjs → run-f5GaSWrR.mjs} +5 -5
- package/dist/{runs-CUKCYtQ9.mjs → runs-ChAmvhjK.mjs} +3 -3
- package/dist/{runtime-BosOjtk8.mjs → runtime-BfWVLqFk.mjs} +1 -1
- package/dist/{schema-tables-CpzG9dGB.mjs → schema-tables-BPF2GaD5.mjs} +3 -3
- package/dist/{schemas-C7qPExUI.mjs → schemas-DEprqU5v.mjs} +3 -3
- package/dist/{search-CdZXuKMD.mjs → search-BU6MBJkj.mjs} +3 -3
- package/dist/segment-CYr8A0Qx.mjs +19 -0
- package/dist/{set-QLnnGXA-.mjs → set-B65rz1rA.mjs} +3 -3
- package/dist/{set-B5LrZvTf.mjs → set-D_MQ_q20.mjs} +2 -2
- package/dist/{setting-VdsV1zJU.mjs → setting-BDbBiriX.mjs} +3 -3
- package/dist/{setup-PfuxdpC2.mjs → setup-DfWKuwgQ.mjs} +3 -3
- package/dist/snippet-CbNr7l5W.mjs +19 -0
- package/dist/{start-CcKJAPgj.mjs → start-qqtkW4kF.mjs} +8 -8
- package/dist/{stash-BOsZ3D2a.mjs → stash-RjmKwTnL.mjs} +5 -5
- package/dist/{status-C9HOIR6B.mjs → status-Bq9Or4ap.mjs} +5 -5
- package/dist/{status-BUqpX1A6.mjs → status-C9OI3uvE.mjs} +2 -2
- package/dist/{status-m3vjBsvZ.mjs → status-CMV_Y9s8.mjs} +2 -2
- package/dist/{stop-CmtMjLTX.mjs → stop-DYG1Hk0D.mjs} +6 -6
- package/dist/{summary-FQ1HuTaZ.mjs → summary-CFIZw6Z_.mjs} +3 -3
- package/dist/sync-CHqSTijq.mjs +28 -0
- package/dist/{sync-schema-toerKFPx.mjs → sync-schema-DHP2ut3W.mjs} +3 -3
- package/dist/table-BjX5aZ_b.mjs +19 -0
- package/dist/transform-hfQvOcAS.mjs +24 -0
- package/dist/transform-job-BtJZYt5N.mjs +19 -0
- package/dist/{translate-DH9gj3A1.mjs → translate-C1KCIueR.mjs} +3 -3
- package/dist/{tree-e5lsaBMb.mjs → tree-DN8mtMcc.mjs} +2 -2
- package/dist/{update-DJZezcI8.mjs → update-B_rysKwt.mjs} +4 -4
- package/dist/{update-CYDjM57D.mjs → update-C4IrhfoO.mjs} +4 -4
- package/dist/{update-_D3IOLob.mjs → update-D876ZU92.mjs} +4 -4
- package/dist/{update-Drz-xQbM.mjs → update-DF5zkSQK.mjs} +4 -4
- package/dist/{update-BcXRa34z.mjs → update-DPDC9Z5Z.mjs} +4 -4
- package/dist/{update-dashcard-hd6u-wic.mjs → update-dashcard-DDsQTcDm.mjs} +4 -4
- package/dist/{update-Clsuv_an.mjs → update-gilP1tVa.mjs} +4 -4
- package/dist/{update-DOGMjGIX.mjs → update-oct4Rsd_.mjs} +4 -4
- package/dist/{update-BC5oAGMa.mjs → update-pM-Gf5JQ.mjs} +4 -4
- package/dist/{update-Bzorlabk.mjs → update-qh8LxZtb.mjs} +4 -4
- package/dist/{update-2K6P3N8w.mjs → update-vJoiGxbD.mjs} +8 -8
- package/dist/{url-w4yNSMK8.mjs → url-sg5mpmoG.mjs} +5 -5
- package/dist/{values-Bc7KrzM8.mjs → values-Bifff37r.mjs} +3 -3
- package/dist/{wait-BcS6YYo4.mjs → wait-BNcrEoQa.mjs} +1 -1
- package/dist/{wait-DSN55m4Q.mjs → wait-CmT20Yfw.mjs} +5 -5
- package/dist/{wait-flags-CqeQ7xey.mjs → wait-flags-DNJCAYmz.mjs} +2 -2
- package/dist/workspace-DvZtoFEM.mjs +24 -0
- package/package.json +1 -1
- package/dist/auth-48hkspfk.mjs +0 -19
- package/dist/card-BYs0LI-2.mjs +0 -20
- package/dist/collection-DKHhQUaC.mjs +0 -19
- package/dist/dashboard-Do_DrOBD.mjs +0 -20
- package/dist/db-CA1COQRS.mjs +0 -22
- package/dist/field-DWyPAP-J.mjs +0 -18
- package/dist/is-dirty-DmdX_Bba.mjs +0 -10
- package/dist/measure-CHXwfh6U.mjs +0 -19
- package/dist/segment-CZueKbMG.mjs +0 -19
- package/dist/snippet-Dt6U2B_d.mjs +0 -19
- package/dist/sync-CGSQJVtH.mjs +0 -28
- package/dist/table-C-rXoinA.mjs +0 -19
- package/dist/transform-BYGryvCT.mjs +0 -24
- package/dist/transform-job-BPyH5JYX.mjs +0 -19
- package/dist/workspace-DZG1Sm5g.mjs +0 -24
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { renderItem } from "./render-BYWlZPEH.mjs";
|
|
2
|
-
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-
|
|
3
|
-
import { parseId } from "./parse-id-
|
|
4
|
-
import { REMOTE_SYNC_PATHS } from "./poll-task-
|
|
2
|
+
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-BfWVLqFk.mjs";
|
|
3
|
+
import { parseId } from "./parse-id-jvzdqaO1.mjs";
|
|
4
|
+
import { REMOTE_SYNC_PATHS } from "./poll-task-DlcGug4o.mjs";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
|
|
7
7
|
//#region src/commands/sync/add-collection.ts
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import "./package-
|
|
1
|
+
import "./package-CtkDnX1U.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
3
|
import "./render-BYWlZPEH.mjs";
|
|
4
4
|
import "./errors-C6w1eZ1F.mjs";
|
|
5
|
-
import "./runtime-
|
|
6
|
-
import "./parse-id-
|
|
7
|
-
import "./poll-task-
|
|
8
|
-
import "./poll-
|
|
9
|
-
import { SyncSettingsUpdateResult, add_collection_default, setCollectionRemoteSynced, syncSettingsUpdateView } from "./add-collection-
|
|
5
|
+
import "./runtime-BfWVLqFk.mjs";
|
|
6
|
+
import "./parse-id-jvzdqaO1.mjs";
|
|
7
|
+
import "./poll-task-DlcGug4o.mjs";
|
|
8
|
+
import "./poll-48PVbWIx.mjs";
|
|
9
|
+
import { SyncSettingsUpdateResult, add_collection_default, setCollectionRemoteSynced, syncSettingsUpdateView } from "./add-collection-DB2C0Pdw.mjs";
|
|
10
10
|
|
|
11
11
|
export { add_collection_default as default };
|
|
@@ -6,7 +6,7 @@ var api_key_default = defineCommand({
|
|
|
6
6
|
name: "api-key",
|
|
7
7
|
description: "Manage Metabase API keys"
|
|
8
8
|
},
|
|
9
|
-
subCommands: { create: () => import("./create-
|
|
9
|
+
subCommands: { create: () => import("./create-D52ykhxx.mjs").then((mod) => mod.default) }
|
|
10
10
|
});
|
|
11
11
|
|
|
12
12
|
//#endregion
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import "./package-
|
|
1
|
+
import "./package-CtkDnX1U.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
3
|
import { renderItem } from "./render-BYWlZPEH.mjs";
|
|
4
4
|
import "./errors-C6w1eZ1F.mjs";
|
|
5
|
-
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-
|
|
6
|
-
import { parseId } from "./parse-id-
|
|
5
|
+
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-BfWVLqFk.mjs";
|
|
6
|
+
import { parseId } from "./parse-id-jvzdqaO1.mjs";
|
|
7
7
|
import { revisionMessageFlag } from "./revision-message-flag-BJiGjb5m.mjs";
|
|
8
8
|
import { Segment, segmentView } from "./segment-CQ5w3M_W.mjs";
|
|
9
9
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import "./package-
|
|
1
|
+
import "./package-CtkDnX1U.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
3
|
import { renderItem } from "./render-BYWlZPEH.mjs";
|
|
4
4
|
import "./errors-C6w1eZ1F.mjs";
|
|
5
|
-
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-
|
|
6
|
-
import { parseId } from "./parse-id-
|
|
5
|
+
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-BfWVLqFk.mjs";
|
|
6
|
+
import { parseId } from "./parse-id-jvzdqaO1.mjs";
|
|
7
7
|
import { Card, cardView } from "./card-BOGKT258.mjs";
|
|
8
8
|
|
|
9
9
|
//#region src/commands/card/archive.ts
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import "./package-
|
|
1
|
+
import "./package-CtkDnX1U.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
3
|
import { renderItem } from "./render-BYWlZPEH.mjs";
|
|
4
4
|
import "./errors-C6w1eZ1F.mjs";
|
|
5
|
-
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-
|
|
6
|
-
import { parseId } from "./parse-id-
|
|
5
|
+
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-BfWVLqFk.mjs";
|
|
6
|
+
import { parseId } from "./parse-id-jvzdqaO1.mjs";
|
|
7
7
|
import { Snippet, snippetView } from "./snippet-DRTklDg3.mjs";
|
|
8
8
|
|
|
9
9
|
//#region src/commands/snippet/archive.ts
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import "./package-
|
|
1
|
+
import "./package-CtkDnX1U.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
3
|
import { renderItem } from "./render-BYWlZPEH.mjs";
|
|
4
4
|
import "./errors-C6w1eZ1F.mjs";
|
|
5
|
-
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-
|
|
6
|
-
import { parseId } from "./parse-id-
|
|
5
|
+
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-BfWVLqFk.mjs";
|
|
6
|
+
import { parseId } from "./parse-id-jvzdqaO1.mjs";
|
|
7
7
|
import { Measure, measureView } from "./measure-B1GKcZxO.mjs";
|
|
8
8
|
import { revisionMessageFlag } from "./revision-message-flag-BJiGjb5m.mjs";
|
|
9
9
|
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { defineCommand } from "citty";
|
|
2
|
+
|
|
3
|
+
//#region src/commands/auth/index.ts
|
|
4
|
+
var auth_default = defineCommand({
|
|
5
|
+
meta: {
|
|
6
|
+
name: "auth",
|
|
7
|
+
description: "Authenticate against a Metabase instance"
|
|
8
|
+
},
|
|
9
|
+
default: "login",
|
|
10
|
+
subCommands: {
|
|
11
|
+
login: () => import("./login-CxCs_C85.mjs").then((m) => m.default),
|
|
12
|
+
status: () => import("./status-C9OI3uvE.mjs").then((m) => m.default),
|
|
13
|
+
list: () => import("./list-B-Kt_Mm-.mjs").then((m) => m.default),
|
|
14
|
+
logout: () => import("./logout-f05owqsV.mjs").then((m) => m.default)
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
|
|
18
|
+
//#endregion
|
|
19
|
+
export { auth_default as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ConfigError } from "./errors-C6w1eZ1F.mjs";
|
|
2
2
|
import { readInput } from "./input-DMcm_A5s.mjs";
|
|
3
|
-
import { parseJson } from "./runtime-
|
|
3
|
+
import { parseJson } from "./runtime-BfWVLqFk.mjs";
|
|
4
4
|
|
|
5
5
|
//#region src/runtime/body.ts
|
|
6
6
|
async function readBody(sources, schema) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import "./package-
|
|
1
|
+
import "./package-CtkDnX1U.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
3
|
import { renderList } from "./render-BYWlZPEH.mjs";
|
|
4
4
|
import "./errors-C6w1eZ1F.mjs";
|
|
5
|
-
import { connectionFlags, defineMetabaseCommand, listEnvelopeSchema, outputFlags, profileFlag, wrapList } from "./runtime-
|
|
6
|
-
import { REMOTE_SYNC_PATHS } from "./poll-task-
|
|
7
|
-
import "./poll-
|
|
5
|
+
import { connectionFlags, defineMetabaseCommand, listEnvelopeSchema, outputFlags, profileFlag, wrapList } from "./runtime-BfWVLqFk.mjs";
|
|
6
|
+
import { REMOTE_SYNC_PATHS } from "./poll-task-DlcGug4o.mjs";
|
|
7
|
+
import "./poll-48PVbWIx.mjs";
|
|
8
8
|
import { z } from "zod";
|
|
9
9
|
|
|
10
10
|
//#region src/commands/sync/branches.ts
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import "./package-
|
|
1
|
+
import "./package-CtkDnX1U.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
3
|
import { renderItem } from "./render-BYWlZPEH.mjs";
|
|
4
4
|
import "./errors-C6w1eZ1F.mjs";
|
|
5
|
-
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-
|
|
6
|
-
import { parseId } from "./parse-id-
|
|
5
|
+
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-BfWVLqFk.mjs";
|
|
6
|
+
import { parseId } from "./parse-id-jvzdqaO1.mjs";
|
|
7
7
|
import { z } from "zod";
|
|
8
8
|
|
|
9
9
|
//#region src/commands/transform/cancel.ts
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import "./package-
|
|
1
|
+
import "./package-CtkDnX1U.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
3
|
import { renderItem } from "./render-BYWlZPEH.mjs";
|
|
4
4
|
import "./errors-C6w1eZ1F.mjs";
|
|
5
|
-
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-
|
|
6
|
-
import { REMOTE_SYNC_PATHS, SyncTask, syncTaskView } from "./poll-task-
|
|
7
|
-
import "./poll-
|
|
5
|
+
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-BfWVLqFk.mjs";
|
|
6
|
+
import { REMOTE_SYNC_PATHS, SyncTask, syncTaskView } from "./poll-task-DlcGug4o.mjs";
|
|
7
|
+
import "./poll-48PVbWIx.mjs";
|
|
8
8
|
|
|
9
9
|
//#region src/commands/sync/cancel-task.ts
|
|
10
10
|
var cancel_task_default = defineMetabaseCommand({
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { defineCommand } from "citty";
|
|
2
|
+
|
|
3
|
+
//#region src/commands/card/index.ts
|
|
4
|
+
var card_default = defineCommand({
|
|
5
|
+
meta: {
|
|
6
|
+
name: "card",
|
|
7
|
+
description: "Manage Metabase cards (questions, models, metrics)"
|
|
8
|
+
},
|
|
9
|
+
subCommands: {
|
|
10
|
+
list: () => import("./list-oRK_VvRO.mjs").then((mod) => mod.default),
|
|
11
|
+
get: () => import("./get-DNOdvjBL.mjs").then((mod) => mod.default),
|
|
12
|
+
query: () => import("./query-Cv5RkyWm.mjs").then((mod) => mod.default),
|
|
13
|
+
create: () => import("./create-gL677HA2.mjs").then((mod) => mod.default),
|
|
14
|
+
update: () => import("./update-qh8LxZtb.mjs").then((mod) => mod.default),
|
|
15
|
+
archive: () => import("./archive-CuYuesnm.mjs").then((mod) => mod.default)
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
|
|
19
|
+
//#endregion
|
|
20
|
+
export { card_default as default };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import "./package-
|
|
1
|
+
import "./package-CtkDnX1U.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
3
|
import { renderList } from "./render-BYWlZPEH.mjs";
|
|
4
4
|
import "./errors-C6w1eZ1F.mjs";
|
|
5
|
-
import { connectionFlags, defineMetabaseCommand, listEnvelopeSchema, outputFlags, profileFlag, wrapList } from "./runtime-
|
|
6
|
-
import { parseId } from "./parse-id-
|
|
5
|
+
import { connectionFlags, defineMetabaseCommand, listEnvelopeSchema, outputFlags, profileFlag, wrapList } from "./runtime-BfWVLqFk.mjs";
|
|
6
|
+
import { parseId } from "./parse-id-jvzdqaO1.mjs";
|
|
7
7
|
import { DashboardDetail, DashcardCompact, dashcardView } from "./dashboard-CztCJxke.mjs";
|
|
8
8
|
|
|
9
9
|
//#region src/commands/dashboard/cards.ts
|
package/dist/cli.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { package_default } from "./package-
|
|
2
|
+
import { package_default } from "./package-CtkDnX1U.mjs";
|
|
3
3
|
import { getMetabaseAugment } from "./command-augment-D9pI9Vbh.mjs";
|
|
4
4
|
import { defineCommand, renderUsage, runMain } from "citty";
|
|
5
5
|
|
|
@@ -11,27 +11,27 @@ const main = defineCommand({
|
|
|
11
11
|
description: package_default.description
|
|
12
12
|
},
|
|
13
13
|
subCommands: {
|
|
14
|
-
auth: () => import("./auth-
|
|
15
|
-
license: () => import("./license-
|
|
16
|
-
db: () => import("./db-
|
|
17
|
-
table: () => import("./table-
|
|
18
|
-
field: () => import("./field-
|
|
19
|
-
card: () => import("./card-
|
|
20
|
-
dashboard: () => import("./dashboard-
|
|
21
|
-
collection: () => import("./collection-
|
|
22
|
-
transform: () => import("./transform-
|
|
23
|
-
"transform-job": () => import("./transform-job-
|
|
24
|
-
setting: () => import("./setting-
|
|
25
|
-
search: () => import("./search-
|
|
26
|
-
sync: () => import("./sync-
|
|
27
|
-
workspace: () => import("./workspace-
|
|
28
|
-
setup: () => import("./setup-
|
|
29
|
-
"api-key": () => import("./api-key-
|
|
30
|
-
snippet: () => import("./snippet-
|
|
31
|
-
segment: () => import("./segment-
|
|
32
|
-
measure: () => import("./measure-
|
|
33
|
-
eid: () => import("./eid-
|
|
34
|
-
query: () => import("./query-
|
|
14
|
+
auth: () => import("./auth-DHOpcw11.mjs").then((mod) => mod.default),
|
|
15
|
+
license: () => import("./license-CHccrjDp.mjs").then((mod) => mod.default),
|
|
16
|
+
db: () => import("./db-CBCfAbIZ.mjs").then((mod) => mod.default),
|
|
17
|
+
table: () => import("./table-BjX5aZ_b.mjs").then((mod) => mod.default),
|
|
18
|
+
field: () => import("./field-DbuCWbv9.mjs").then((mod) => mod.default),
|
|
19
|
+
card: () => import("./card-D1JLv6cG.mjs").then((mod) => mod.default),
|
|
20
|
+
dashboard: () => import("./dashboard-BLr8iCSU.mjs").then((mod) => mod.default),
|
|
21
|
+
collection: () => import("./collection-C2C4HUz_.mjs").then((mod) => mod.default),
|
|
22
|
+
transform: () => import("./transform-hfQvOcAS.mjs").then((mod) => mod.default),
|
|
23
|
+
"transform-job": () => import("./transform-job-BtJZYt5N.mjs").then((mod) => mod.default),
|
|
24
|
+
setting: () => import("./setting-BDbBiriX.mjs").then((mod) => mod.default),
|
|
25
|
+
search: () => import("./search-BU6MBJkj.mjs").then((mod) => mod.default),
|
|
26
|
+
sync: () => import("./sync-CHqSTijq.mjs").then((mod) => mod.default),
|
|
27
|
+
workspace: () => import("./workspace-DvZtoFEM.mjs").then((mod) => mod.default),
|
|
28
|
+
setup: () => import("./setup-DfWKuwgQ.mjs").then((mod) => mod.default),
|
|
29
|
+
"api-key": () => import("./api-key-BqZV1nLg.mjs").then((mod) => mod.default),
|
|
30
|
+
snippet: () => import("./snippet-CbNr7l5W.mjs").then((mod) => mod.default),
|
|
31
|
+
segment: () => import("./segment-CYr8A0Qx.mjs").then((mod) => mod.default),
|
|
32
|
+
measure: () => import("./measure-CDMN4H2K.mjs").then((mod) => mod.default),
|
|
33
|
+
eid: () => import("./eid-AISoTK5d.mjs").then((mod) => mod.default),
|
|
34
|
+
query: () => import("./query-BoIeOotH.mjs").then((mod) => mod.default),
|
|
35
35
|
__manifest: () => import("./manifest-CdAV6-YB.mjs").then((mod) => mod.createManifestCommand(main))
|
|
36
36
|
}
|
|
37
37
|
});
|
|
@@ -0,0 +1,19 @@
|
|
|
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: "Browse Metabase collections"
|
|
8
|
+
},
|
|
9
|
+
subCommands: {
|
|
10
|
+
list: () => import("./list-0k71E5wJ.mjs").then((mod) => mod.default),
|
|
11
|
+
get: () => import("./get-B-UkMh-Y.mjs").then((mod) => mod.default),
|
|
12
|
+
items: () => import("./items-DJp96l7n.mjs").then((mod) => mod.default),
|
|
13
|
+
tree: () => import("./tree-DN8mtMcc.mjs").then((mod) => mod.default),
|
|
14
|
+
create: () => import("./create-C7306Nj2.mjs").then((mod) => mod.default)
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
|
|
18
|
+
//#endregion
|
|
19
|
+
export { collection_default as default };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import "./package-
|
|
1
|
+
import "./package-CtkDnX1U.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
3
|
import { renderItem } from "./render-BYWlZPEH.mjs";
|
|
4
4
|
import "./errors-C6w1eZ1F.mjs";
|
|
5
5
|
import "./input-DMcm_A5s.mjs";
|
|
6
|
-
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-
|
|
7
|
-
import { readBody } from "./body-
|
|
6
|
+
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-BfWVLqFk.mjs";
|
|
7
|
+
import { readBody } from "./body-D_BRIb1g.mjs";
|
|
8
8
|
import { bodyInputFlags } from "./body-flags-BK7J6Daz.mjs";
|
|
9
9
|
import { Dashboard, DashboardCreateInput, DashboardDetail, dashboardView } from "./dashboard-CztCJxke.mjs";
|
|
10
10
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import "./package-
|
|
1
|
+
import "./package-CtkDnX1U.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
3
|
import { renderItem } from "./render-BYWlZPEH.mjs";
|
|
4
4
|
import "./errors-C6w1eZ1F.mjs";
|
|
5
5
|
import "./input-DMcm_A5s.mjs";
|
|
6
|
-
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-
|
|
7
|
-
import { readBody } from "./body-
|
|
6
|
+
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-BfWVLqFk.mjs";
|
|
7
|
+
import { readBody } from "./body-D_BRIb1g.mjs";
|
|
8
8
|
import { bodyInputFlags } from "./body-flags-BK7J6Daz.mjs";
|
|
9
9
|
import { Measure, MeasureCreateInput, measureView } from "./measure-B1GKcZxO.mjs";
|
|
10
10
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import "./package-
|
|
1
|
+
import "./package-CtkDnX1U.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
3
|
import { renderItem } from "./render-BYWlZPEH.mjs";
|
|
4
4
|
import "./errors-C6w1eZ1F.mjs";
|
|
5
5
|
import "./input-DMcm_A5s.mjs";
|
|
6
|
-
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-
|
|
7
|
-
import { readBody } from "./body-
|
|
6
|
+
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-BfWVLqFk.mjs";
|
|
7
|
+
import { readBody } from "./body-D_BRIb1g.mjs";
|
|
8
8
|
import { bodyInputFlags } from "./body-flags-BK7J6Daz.mjs";
|
|
9
9
|
import { Collection, CollectionCreateInput, collectionView } from "./collection-BsiGRKXh.mjs";
|
|
10
10
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import "./package-
|
|
1
|
+
import "./package-CtkDnX1U.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
3
|
import { renderItem } from "./render-BYWlZPEH.mjs";
|
|
4
4
|
import "./errors-C6w1eZ1F.mjs";
|
|
5
5
|
import "./input-DMcm_A5s.mjs";
|
|
6
|
-
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-
|
|
7
|
-
import { readBody } from "./body-
|
|
6
|
+
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-BfWVLqFk.mjs";
|
|
7
|
+
import { readBody } from "./body-D_BRIb1g.mjs";
|
|
8
8
|
import { bodyInputFlags } from "./body-flags-BK7J6Daz.mjs";
|
|
9
9
|
import { Snippet, SnippetCreateInput, snippetView } from "./snippet-DRTklDg3.mjs";
|
|
10
10
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import "./package-
|
|
1
|
+
import "./package-CtkDnX1U.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
3
|
import { renderItem } from "./render-BYWlZPEH.mjs";
|
|
4
4
|
import "./errors-C6w1eZ1F.mjs";
|
|
5
5
|
import "./input-DMcm_A5s.mjs";
|
|
6
|
-
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-
|
|
7
|
-
import { readBody } from "./body-
|
|
6
|
+
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-BfWVLqFk.mjs";
|
|
7
|
+
import { readBody } from "./body-D_BRIb1g.mjs";
|
|
8
8
|
import { bodyInputFlags } from "./body-flags-BK7J6Daz.mjs";
|
|
9
9
|
import { Workspace, WorkspaceCreateInput, workspaceView } from "./workspace-D93cDL8-.mjs";
|
|
10
10
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import "./package-
|
|
1
|
+
import "./package-CtkDnX1U.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
3
|
import { renderItem } from "./render-BYWlZPEH.mjs";
|
|
4
4
|
import "./errors-C6w1eZ1F.mjs";
|
|
5
5
|
import "./input-DMcm_A5s.mjs";
|
|
6
|
-
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-
|
|
7
|
-
import { readBody } from "./body-
|
|
6
|
+
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-BfWVLqFk.mjs";
|
|
7
|
+
import { readBody } from "./body-D_BRIb1g.mjs";
|
|
8
8
|
import { bodyInputFlags } from "./body-flags-BK7J6Daz.mjs";
|
|
9
9
|
import { requireBothOrNeither } from "./flag-pair-Dz-mbq0z.mjs";
|
|
10
|
-
import { parseId } from "./parse-id-
|
|
10
|
+
import { parseId } from "./parse-id-jvzdqaO1.mjs";
|
|
11
11
|
import { z } from "zod";
|
|
12
12
|
|
|
13
13
|
//#region src/domain/api-key.ts
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import "./package-
|
|
1
|
+
import "./package-CtkDnX1U.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
3
|
import { renderItem } from "./render-BYWlZPEH.mjs";
|
|
4
4
|
import "./errors-C6w1eZ1F.mjs";
|
|
5
5
|
import "./input-DMcm_A5s.mjs";
|
|
6
|
-
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-
|
|
7
|
-
import { readBody } from "./body-
|
|
6
|
+
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-BfWVLqFk.mjs";
|
|
7
|
+
import { readBody } from "./body-D_BRIb1g.mjs";
|
|
8
8
|
import { bodyInputFlags } from "./body-flags-BK7J6Daz.mjs";
|
|
9
9
|
import { TransformJob, TransformJobCreateInput, transformJobView } from "./transform-job-DgApCViL.mjs";
|
|
10
10
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import "./package-
|
|
1
|
+
import "./package-CtkDnX1U.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
3
|
import { renderItem } from "./render-BYWlZPEH.mjs";
|
|
4
4
|
import "./errors-C6w1eZ1F.mjs";
|
|
5
5
|
import "./input-DMcm_A5s.mjs";
|
|
6
|
-
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-
|
|
7
|
-
import { readBody } from "./body-
|
|
6
|
+
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-BfWVLqFk.mjs";
|
|
7
|
+
import { readBody } from "./body-D_BRIb1g.mjs";
|
|
8
8
|
import { bodyInputFlags } from "./body-flags-BK7J6Daz.mjs";
|
|
9
9
|
import { Segment, SegmentCreateInput, segmentView } from "./segment-CQ5w3M_W.mjs";
|
|
10
10
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import "./package-
|
|
1
|
+
import "./package-CtkDnX1U.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
3
|
import { renderItem } from "./render-BYWlZPEH.mjs";
|
|
4
4
|
import { ConfigError } from "./errors-C6w1eZ1F.mjs";
|
|
5
|
-
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-
|
|
6
|
-
import { REMOTE_SYNC_PATHS } from "./poll-task-
|
|
7
|
-
import "./poll-
|
|
5
|
+
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-BfWVLqFk.mjs";
|
|
6
|
+
import { REMOTE_SYNC_PATHS } from "./poll-task-DlcGug4o.mjs";
|
|
7
|
+
import "./poll-48PVbWIx.mjs";
|
|
8
8
|
import { z } from "zod";
|
|
9
9
|
|
|
10
10
|
//#region src/commands/sync/create-branch.ts
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import "./package-
|
|
1
|
+
import "./package-CtkDnX1U.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
3
|
import { renderItem } from "./render-BYWlZPEH.mjs";
|
|
4
4
|
import "./errors-C6w1eZ1F.mjs";
|
|
5
5
|
import "./input-DMcm_A5s.mjs";
|
|
6
|
-
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-
|
|
7
|
-
import { readBody } from "./body-
|
|
6
|
+
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-BfWVLqFk.mjs";
|
|
7
|
+
import { readBody } from "./body-D_BRIb1g.mjs";
|
|
8
8
|
import { bodyInputFlags } from "./body-flags-BK7J6Daz.mjs";
|
|
9
9
|
import { Card, CardCreateInput, cardView } from "./card-BOGKT258.mjs";
|
|
10
10
|
import { preflightInternalMbql5Query, skipValidateFlag } from "./validate-query-D0aAFTUs.mjs";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import "./package-
|
|
1
|
+
import "./package-CtkDnX1U.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
3
|
import { renderItem } from "./render-BYWlZPEH.mjs";
|
|
4
4
|
import "./errors-C6w1eZ1F.mjs";
|
|
5
5
|
import "./input-DMcm_A5s.mjs";
|
|
6
|
-
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-
|
|
7
|
-
import { readBody } from "./body-
|
|
6
|
+
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-BfWVLqFk.mjs";
|
|
7
|
+
import { readBody } from "./body-D_BRIb1g.mjs";
|
|
8
8
|
import { bodyInputFlags } from "./body-flags-BK7J6Daz.mjs";
|
|
9
9
|
import { preflightInternalMbql5Query, skipValidateFlag } from "./validate-query-D0aAFTUs.mjs";
|
|
10
10
|
import { Transform, TransformCreateInput, transformView } from "./transform-92odFxg-.mjs";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import "./package-
|
|
1
|
+
import "./package-CtkDnX1U.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
3
|
import { renderItem } from "./render-BYWlZPEH.mjs";
|
|
4
4
|
import "./errors-C6w1eZ1F.mjs";
|
|
5
|
-
import { defineMetabaseCommand, localUrl, outputFlags, parseJson } from "./runtime-
|
|
6
|
-
import { parseId } from "./parse-id-
|
|
7
|
-
import "./poll-
|
|
8
|
-
import { checkDockerReady, readContainerCredentialsFile, requireWorkspaceContainerLocation } from "./docker-
|
|
5
|
+
import { defineMetabaseCommand, localUrl, outputFlags, parseJson } from "./runtime-BfWVLqFk.mjs";
|
|
6
|
+
import { parseId } from "./parse-id-jvzdqaO1.mjs";
|
|
7
|
+
import "./poll-48PVbWIx.mjs";
|
|
8
|
+
import { checkDockerReady, readContainerCredentialsFile, requireWorkspaceContainerLocation } from "./docker-W7ITnCLd.mjs";
|
|
9
9
|
import { WorkspaceCredentials } from "./workspace-credentials-D_ivv5vy.mjs";
|
|
10
10
|
import { z } from "zod";
|
|
11
11
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import "./package-
|
|
1
|
+
import "./package-CtkDnX1U.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
3
|
import { renderItem } from "./render-BYWlZPEH.mjs";
|
|
4
4
|
import "./errors-C6w1eZ1F.mjs";
|
|
5
|
-
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-
|
|
6
|
-
import { SyncTaskOrIdle, fetchCurrentTask, syncTaskIdleView, syncTaskView } from "./poll-task-
|
|
7
|
-
import "./poll-
|
|
5
|
+
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-BfWVLqFk.mjs";
|
|
6
|
+
import { SyncTaskOrIdle, fetchCurrentTask, syncTaskIdleView, syncTaskView } from "./poll-task-DlcGug4o.mjs";
|
|
7
|
+
import "./poll-48PVbWIx.mjs";
|
|
8
8
|
|
|
9
9
|
//#region src/commands/sync/current-task.ts
|
|
10
10
|
const CurrentTaskResult = SyncTaskOrIdle;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { defineCommand } from "citty";
|
|
2
|
+
|
|
3
|
+
//#region src/commands/dashboard/index.ts
|
|
4
|
+
var dashboard_default = defineCommand({
|
|
5
|
+
meta: {
|
|
6
|
+
name: "dashboard",
|
|
7
|
+
description: "Manage Metabase dashboards"
|
|
8
|
+
},
|
|
9
|
+
subCommands: {
|
|
10
|
+
list: () => import("./list-RDJdCGOR.mjs").then((mod) => mod.default),
|
|
11
|
+
get: () => import("./get-BPRZaF53.mjs").then((mod) => mod.default),
|
|
12
|
+
cards: () => import("./cards-Bhu7cd67.mjs").then((mod) => mod.default),
|
|
13
|
+
create: () => import("./create-B2QidM_x.mjs").then((mod) => mod.default),
|
|
14
|
+
update: () => import("./update-pM-Gf5JQ.mjs").then((mod) => mod.default),
|
|
15
|
+
"update-dashcard": () => import("./update-dashcard-DDsQTcDm.mjs").then((mod) => mod.default)
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
|
|
19
|
+
//#endregion
|
|
20
|
+
export { dashboard_default as default };
|
|
@@ -7,9 +7,9 @@ var database_default = defineCommand({
|
|
|
7
7
|
description: "Manage databases provisioned to a workspace"
|
|
8
8
|
},
|
|
9
9
|
subCommands: {
|
|
10
|
-
provision: () => import("./provision-
|
|
11
|
-
update: () => import("./update-
|
|
12
|
-
deprovision: () => import("./deprovision-
|
|
10
|
+
provision: () => import("./provision-BqKjBXr6.mjs").then((mod) => mod.default),
|
|
11
|
+
update: () => import("./update-vJoiGxbD.mjs").then((mod) => mod.default),
|
|
12
|
+
deprovision: () => import("./deprovision-BD9cBJHd.mjs").then((mod) => mod.default)
|
|
13
13
|
}
|
|
14
14
|
});
|
|
15
15
|
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { defineCommand } from "citty";
|
|
2
|
+
|
|
3
|
+
//#region src/commands/db/index.ts
|
|
4
|
+
var db_default = defineCommand({
|
|
5
|
+
meta: {
|
|
6
|
+
name: "db",
|
|
7
|
+
description: "Inspect Metabase databases",
|
|
8
|
+
alias: "database"
|
|
9
|
+
},
|
|
10
|
+
subCommands: {
|
|
11
|
+
list: () => import("./list-C_sUJ2Yc.mjs").then((m) => m.default),
|
|
12
|
+
get: () => import("./get-BnRMSv1G.mjs").then((m) => m.default),
|
|
13
|
+
metadata: () => import("./metadata-Bl8qs0rn.mjs").then((m) => m.default),
|
|
14
|
+
schemas: () => import("./schemas-DEprqU5v.mjs").then((m) => m.default),
|
|
15
|
+
"schema-tables": () => import("./schema-tables-BPF2GaD5.mjs").then((m) => m.default),
|
|
16
|
+
"sync-schema": () => import("./sync-schema-DHP2ut3W.mjs").then((m) => m.default),
|
|
17
|
+
"rescan-values": () => import("./rescan-values-LuCZs_-Y.mjs").then((m) => m.default)
|
|
18
|
+
}
|
|
19
|
+
});
|
|
20
|
+
|
|
21
|
+
//#endregion
|
|
22
|
+
export { db_default as default };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import "./package-
|
|
1
|
+
import "./package-CtkDnX1U.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
3
|
import "./render-BYWlZPEH.mjs";
|
|
4
4
|
import "./errors-C6w1eZ1F.mjs";
|
|
5
|
-
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-
|
|
6
|
-
import { parseId } from "./parse-id-
|
|
5
|
+
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-BfWVLqFk.mjs";
|
|
6
|
+
import { parseId } from "./parse-id-jvzdqaO1.mjs";
|
|
7
7
|
import "./prompt-k9s4Ntk5.mjs";
|
|
8
8
|
import { DeleteResult, confirmAndDelete } from "./delete-runtime-DCc3Hie4.mjs";
|
|
9
9
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import "./package-
|
|
1
|
+
import "./package-CtkDnX1U.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
3
|
import "./render-BYWlZPEH.mjs";
|
|
4
4
|
import "./errors-C6w1eZ1F.mjs";
|
|
5
|
-
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-
|
|
6
|
-
import { parseId } from "./parse-id-
|
|
5
|
+
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-BfWVLqFk.mjs";
|
|
6
|
+
import { parseId } from "./parse-id-jvzdqaO1.mjs";
|
|
7
7
|
import "./prompt-k9s4Ntk5.mjs";
|
|
8
8
|
import { DeleteResult, confirmAndDelete } from "./delete-runtime-DCc3Hie4.mjs";
|
|
9
9
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import "./package-
|
|
1
|
+
import "./package-CtkDnX1U.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
3
|
import "./render-BYWlZPEH.mjs";
|
|
4
4
|
import "./errors-C6w1eZ1F.mjs";
|
|
5
|
-
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-
|
|
6
|
-
import { parseId } from "./parse-id-
|
|
5
|
+
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-BfWVLqFk.mjs";
|
|
6
|
+
import { parseId } from "./parse-id-jvzdqaO1.mjs";
|
|
7
7
|
import "./prompt-k9s4Ntk5.mjs";
|
|
8
8
|
import { DeleteResult, confirmAndDelete } from "./delete-runtime-DCc3Hie4.mjs";
|
|
9
9
|
|