@metabase/cli 0.1.11 → 0.1.12
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-BPtBMh8Y.mjs +10 -0
- package/dist/{add-collection-DKULSPwT.mjs → add-collection-DEME4IOy.mjs} +4 -4
- package/dist/{archive-BLxX3J6I.mjs → archive-BFk-oupo.mjs} +3 -3
- package/dist/{archive-BJ6uL3hh.mjs → archive-BNioNJtG.mjs} +3 -3
- package/dist/{archive-y-_m3XID.mjs → archive-BtDvBsr8.mjs} +3 -3
- package/dist/{archive-ibJVYsBC.mjs → archive-CMeTr8jv.mjs} +3 -3
- package/dist/{archive-BL_0fXhf.mjs → archive-DUlrUlok.mjs} +3 -3
- package/dist/{archive-BLbaqc-5.mjs → archive-Dc-FwNZm.mjs} +3 -3
- package/dist/{archive-DQsV2uwy.mjs → archive-MTTQv3wR.mjs} +3 -3
- package/dist/auth-CjFnuPe9.mjs +19 -0
- package/dist/{body-DCQg78AF.mjs → body-89w3r7In.mjs} +2 -2
- package/dist/{branches-CJVscsZe.mjs → branches-DuVKH8Ye.mjs} +4 -4
- package/dist/{cancel-C8W0sPix.mjs → cancel-BEMQKVuR.mjs} +3 -3
- package/dist/{cancel-task-dDgQDswT.mjs → cancel-task-D2mSPFXO.mjs} +4 -4
- package/dist/card-DoDpwR4t.mjs +20 -0
- package/dist/{cards-B7HE8BT6.mjs → cards-L9jksUMD.mjs} +3 -3
- package/dist/cli.mjs +23 -23
- package/dist/collection-CF-1RIPY.mjs +20 -0
- package/dist/{collection-namespace-CBCApZJf.mjs → collection-namespace-w26SavJH.mjs} +1 -1
- package/dist/{create-Di9NY7kK.mjs → create-8hMjPz7j.mjs} +4 -4
- package/dist/{create-BQA6nM5n.mjs → create-Bu9Jayck.mjs} +5 -5
- package/dist/{create-BWaBYzhC.mjs → create-C3b3MoIN.mjs} +4 -4
- package/dist/{create-vNcD4jfq.mjs → create-Cxg_h8Kf.mjs} +4 -4
- package/dist/{create-84jcfY4N.mjs → create-D6QqOX6u.mjs} +4 -4
- package/dist/{create-DPASPFGi.mjs → create-DCYc032c.mjs} +5 -5
- package/dist/{create-VjvMdgM5.mjs → create-Dew3rKsR.mjs} +4 -4
- package/dist/{create-DN8us8si.mjs → create-DoeqRVmx.mjs} +4 -4
- package/dist/{create-branch-CCoDX2Qf.mjs → create-branch-C5P2y8U5.mjs} +4 -4
- package/dist/{create-B6mzc8UK.mjs → create-zEq4ZJAT.mjs} +4 -4
- package/dist/{current-task-QdxA3mSX.mjs → current-task-uD4QO5bM.mjs} +4 -4
- package/dist/dashboard-C5zTX345.mjs +21 -0
- package/dist/db-4y5Z1CQw.mjs +22 -0
- package/dist/{delete-ByJ6guaH.mjs → delete-Bftif2R3.mjs} +3 -3
- package/dist/{delete-CE_Jfjni.mjs → delete-DGaNAFdQ.mjs} +3 -3
- package/dist/{delete-table-D5LDUkOk.mjs → delete-table-C0qxP6FE.mjs} +3 -3
- package/dist/{dirty-C6yzkIPn.mjs → dirty-CZZLpWt1.mjs} +4 -4
- package/dist/document-97l9Non_.mjs +19 -0
- package/dist/{eid-ZOyix96k.mjs → eid-C8xTmR8e.mjs} +4 -4
- package/dist/{error-C1bUYXn7.mjs → error-BGH4gxGN.mjs} +1 -1
- package/dist/{export-BhbBX-pl.mjs → export-DWdjnBKo.mjs} +6 -6
- package/dist/field-BwUTrelF.mjs +18 -0
- package/dist/{fields-CZ6IK8Qf.mjs → fields-Cq08PQec.mjs} +3 -3
- package/dist/{get-BKWZA_22.mjs → get-7IhxPyE_.mjs} +2 -2
- package/dist/{get-D49EdHgH.mjs → get-8nAjRL2H.mjs} +3 -3
- package/dist/{get-157SWRte.mjs → get-B2vGW7Aw.mjs} +3 -3
- package/dist/{get-DclzgC5G.mjs → get-B_BJ10pV.mjs} +3 -3
- package/dist/{get-CqKttHWW.mjs → get-BaKKF50e.mjs} +3 -3
- package/dist/{get-B03gdAun.mjs → get-Bbij6RjC.mjs} +3 -3
- package/dist/{get-C0emTO1r.mjs → get-Bcr_5fAb.mjs} +2 -2
- package/dist/{get-DIyv2a7h.mjs → get-Cr8oz_jr.mjs} +3 -3
- package/dist/{get-Bbo2Y-aL.mjs → get-DHPN1716.mjs} +3 -3
- package/dist/{get-nl41R-2q.mjs → get-DtKv-gl3.mjs} +3 -3
- package/dist/{get-BtqQ98nb.mjs → get-DzLAmSKd.mjs} +2 -2
- package/dist/{get-9b0ZEWh1.mjs → get-Rqz7UHv1.mjs} +3 -3
- package/dist/{get-mR01pCNG.mjs → get-f5ENeUNw.mjs} +3 -3
- package/dist/{get-run-_dlMCGp5.mjs → get-run-DhbHXaZE.mjs} +3 -3
- package/dist/{get-DlzC0xCg.mjs → get-ug26gcOI.mjs} +3 -3
- package/dist/git-sync-JIMEYW-E.mjs +28 -0
- package/dist/{has-remote-changes-CToITRyl.mjs → has-remote-changes-CTLh3WjZ.mjs} +4 -4
- package/dist/{import-xnYHb4QX.mjs → import-XakIQfRp.mjs} +6 -6
- package/dist/{input-xewHccej.mjs → input-BZwm4yby.mjs} +25 -3
- package/dist/is-dirty-4gf8ujws.mjs +9 -0
- package/dist/{is-dirty-BHyMmUVV.mjs → is-dirty-DkOOyjsZ.mjs} +3 -3
- package/dist/{items-D3AmbIOO.mjs → items-DC985V8K.mjs} +3 -3
- package/dist/{list-C5NywUBH.mjs → list-B83-hnq5.mjs} +2 -2
- package/dist/{list-C_d7ppOJ.mjs → list-BtNboYpZ.mjs} +3 -3
- package/dist/{list-CIu1zfpU.mjs → list-CEbMS6g3.mjs} +2 -2
- package/dist/{list-D7Np4fwk.mjs → list-CIEI8XK_.mjs} +2 -2
- package/dist/{list-BtTRJyrR.mjs → list-Cnb9mQdd.mjs} +2 -2
- package/dist/{list-CA6MlByL.mjs → list-CtAFlkLe.mjs} +2 -2
- package/dist/{list-DSJwMHXB.mjs → list-CyIgwqFB.mjs} +2 -2
- package/dist/{list-BhZYkbc9.mjs → list-Df4MhR2A.mjs} +2 -2
- package/dist/{list-5ZZfaOzm.mjs → list-DfPwBQrZ.mjs} +2 -2
- package/dist/{list-BHCVZh7Q.mjs → list-OGkVAG6b.mjs} +2 -2
- package/dist/{list-Byn-dRW4.mjs → list-PYNFVJGM.mjs} +3 -3
- package/dist/{list-BkzrFyJO.mjs → list-STlBcPs8.mjs} +2 -2
- package/dist/{list-BdStkg8G.mjs → list-gy64AAWO.mjs} +2 -2
- package/dist/{list-DKPhFATP.mjs → list-xfmTxHNu.mjs} +2 -2
- package/dist/{login-jWvDDvEm.mjs → login-C0VFlX8y.mjs} +4 -4
- package/dist/{logout-Bltlsm6u.mjs → logout-BUgUTFol.mjs} +2 -2
- package/dist/measure-BmcmxRQ3.mjs +19 -0
- package/dist/{metadata-Bf2TfG8F.mjs → metadata-B1EmV1l5.mjs} +3 -3
- package/dist/{metadata-BKcyjsoA.mjs → metadata-Dwkcsa1c.mjs} +3 -3
- package/dist/{parse-id-CWRJlQVK.mjs → parse-id-sKNP6yu5.mjs} +1 -1
- package/dist/{path-Djw9IARu.mjs → path-BZJR7YLR.mjs} +2 -2
- package/dist/{poll-hJrV0cPm.mjs → poll-Cyw-dQi4.mjs} +1 -1
- package/dist/{poll-task-DK6X9Juu.mjs → poll-task-BG0oVnfZ.mjs} +2 -2
- package/dist/{preflight-DjSPp3Ct.mjs → preflight-BjR63JnX.mjs} +1 -1
- package/dist/{query-Cc-9oPsW.mjs → query-C2xqnz24.mjs} +3 -3
- package/dist/{query-Do5n5SZc.mjs → query-Dk55Wp2p.mjs} +4 -4
- package/dist/{remove-collection-DVvnmU06.mjs → remove-collection-DbVNWGyb.mjs} +6 -6
- package/dist/{rescan-values-CHluR3JC.mjs → rescan-values-CuLQ9UHP.mjs} +3 -3
- package/dist/{run-CcJbcaw8.mjs → run-PDN33QjN.mjs} +5 -5
- package/dist/{runs-Dc8qZBhl.mjs → runs-B9T-7lei.mjs} +3 -3
- package/dist/{runtime-jWkzCPlL.mjs → runtime-DgHh4T6t.mjs} +1 -1
- package/dist/{schema-tables-CZ6EMHUZ.mjs → schema-tables-DjmNwrlT.mjs} +3 -3
- package/dist/{schemas-Br1cpOZc.mjs → schemas-CWL8gv1C.mjs} +3 -3
- package/dist/{search-DB2joPgt.mjs → search-D7JzmvfR.mjs} +3 -3
- package/dist/segment-DrZNuxsM.mjs +19 -0
- package/dist/{set-BRhVzEWd.mjs → set-C0dCLnUA.mjs} +4 -4
- package/dist/{setting-CuxO4T1n.mjs → setting-Licy7ZSs.mjs} +3 -3
- package/dist/{setup-Bn4jwxdl.mjs → setup-BL4fqxoU.mjs} +4 -4
- package/dist/{skills-Db1r65S5.mjs → skills-Cn8FMCxG.mjs} +3 -3
- package/dist/snippet-C5_4nPGj.mjs +19 -0
- package/dist/{stash-Dp2JFgmp.mjs → stash-SGod4B8-.mjs} +6 -6
- package/dist/{status-j09luNai.mjs → status-BCb5iCsQ.mjs} +5 -5
- package/dist/{status-BxGBwALE.mjs → status-CvUuZVvC.mjs} +2 -2
- package/dist/{summary-DVrj7DSa.mjs → summary-qaTPTLWs.mjs} +3 -3
- package/dist/{sync-schema-BVHvjzGX.mjs → sync-schema-CjjAYTbO.mjs} +5 -5
- package/dist/table-DK1B8Hzq.mjs +19 -0
- package/dist/transform-Dh5746zH.mjs +24 -0
- package/dist/transform-job-D0nRGPYN.mjs +19 -0
- package/dist/{tree-BEPw6xbY.mjs → tree-C0MFcweC.mjs} +2 -2
- package/dist/{update-B5VBJFU9.mjs → update-BImaz9vj.mjs} +6 -6
- package/dist/{update-fVqLtZ_t.mjs → update-BTzsE8GU.mjs} +5 -5
- package/dist/{update-C5vlBTII.mjs → update-BUoWwmQV.mjs} +5 -5
- package/dist/{update-Bd0ASKUG.mjs → update-BqsGGrzx.mjs} +6 -6
- package/dist/{update-DiG6SSGm.mjs → update-CHUUY-IB.mjs} +5 -5
- package/dist/{update-BXaT0Faw.mjs → update-CJASCsG4.mjs} +5 -5
- package/dist/{update-CAoOJRwz.mjs → update-DCR0wFNl.mjs} +5 -5
- package/dist/{update-DzKPxRBE.mjs → update-Dty6LvU2.mjs} +5 -5
- package/dist/{update-dashcard-7bZtw04E.mjs → update-dashcard-BkJaVVvf.mjs} +5 -5
- package/dist/{update-Bn5wUyTQ.mjs → update-qoP7hZTg.mjs} +5 -5
- package/dist/{update-C875_WGf.mjs → update-vk_M0eOR.mjs} +5 -5
- package/dist/{upgrade-DdCxE9Ml.mjs → upgrade-TdaiAYbH.mjs} +2 -2
- package/dist/{uuid-DywghRXO.mjs → uuid-BeUz8VpP.mjs} +2 -2
- package/dist/{values-DSul3siC.mjs → values-DR-3HcK6.mjs} +3 -3
- package/dist/{verify-DzDyKXOa.mjs → verify-D2uBlvmt.mjs} +1 -1
- package/dist/{wait-CacFZI5Y.mjs → wait-FAnqO-LT.mjs} +5 -5
- package/dist/{wait-flags-DV419apK.mjs → wait-flags-B5BI_xob.mjs} +2 -2
- package/package.json +1 -1
- package/dist/add-collection-DyEe_xRO.mjs +0 -10
- package/dist/auth-BKaQjcmP.mjs +0 -19
- package/dist/card-CGBvUmCW.mjs +0 -20
- package/dist/collection-Ch7pPKHD.mjs +0 -20
- package/dist/dashboard-BDb2krMr.mjs +0 -21
- package/dist/db-CoVdkdVm.mjs +0 -22
- package/dist/document-BA2S1ev3.mjs +0 -19
- package/dist/field-B5bptFqL.mjs +0 -18
- package/dist/git-sync-DqJmONiB.mjs +0 -28
- package/dist/is-dirty-BvA3yzRc.mjs +0 -9
- package/dist/measure-DBX4k13t.mjs +0 -19
- package/dist/segment-BWcyA1P-.mjs +0 -19
- package/dist/snippet-C9UM6NwC.mjs +0 -19
- package/dist/table-DYI8K12W.mjs +0 -19
- package/dist/transform-CvbMbJtI.mjs +0 -24
- package/dist/transform-job-CtzgvccZ.mjs +0 -19
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import "./command-augment-BH9qgQ5u.mjs";
|
|
2
|
+
import "./error-BGH4gxGN.mjs";
|
|
3
|
+
import "./runtime-DgHh4T6t.mjs";
|
|
4
|
+
import "./capabilities-7L9GVMd_.mjs";
|
|
5
|
+
import "./parse-id-sKNP6yu5.mjs";
|
|
6
|
+
import "./poll-Cyw-dQi4.mjs";
|
|
7
|
+
import "./poll-task-BG0oVnfZ.mjs";
|
|
8
|
+
import { SyncSettingsUpdateResult, add_collection_default, setCollectionRemoteSynced, syncSettingsUpdateView } from "./add-collection-DEME4IOy.mjs";
|
|
9
|
+
|
|
10
|
+
export { add_collection_default as default };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
2
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
1
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-BGH4gxGN.mjs";
|
|
2
|
+
import { defineMetabaseCommand } from "./runtime-DgHh4T6t.mjs";
|
|
3
3
|
import { renderSummary } from "./capabilities-7L9GVMd_.mjs";
|
|
4
|
-
import { parseId } from "./parse-id-
|
|
5
|
-
import { REMOTE_SYNC_PATHS } from "./poll-task-
|
|
4
|
+
import { parseId } from "./parse-id-sKNP6yu5.mjs";
|
|
5
|
+
import { REMOTE_SYNC_PATHS } from "./poll-task-BG0oVnfZ.mjs";
|
|
6
6
|
import { z } from "zod";
|
|
7
7
|
|
|
8
8
|
//#region src/commands/git-sync/add-collection.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "./command-augment-BH9qgQ5u.mjs";
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-BGH4gxGN.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-DgHh4T6t.mjs";
|
|
4
4
|
import { renderSummary } from "./capabilities-7L9GVMd_.mjs";
|
|
5
|
-
import { parseId } from "./parse-id-
|
|
5
|
+
import { parseId } from "./parse-id-sKNP6yu5.mjs";
|
|
6
6
|
import { Document, documentView } from "./document-CcfiiV3b.mjs";
|
|
7
7
|
|
|
8
8
|
//#region src/commands/document/archive.ts
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import "./command-augment-BH9qgQ5u.mjs";
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-BGH4gxGN.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-DgHh4T6t.mjs";
|
|
4
4
|
import { renderSummary } from "./capabilities-7L9GVMd_.mjs";
|
|
5
5
|
import "./field-MGxpNQUH.mjs";
|
|
6
6
|
import { Card, cardView } from "./card-DnIeMmUn.mjs";
|
|
7
|
-
import { parseId } from "./parse-id-
|
|
7
|
+
import { parseId } from "./parse-id-sKNP6yu5.mjs";
|
|
8
8
|
|
|
9
9
|
//#region src/commands/card/archive.ts
|
|
10
10
|
var archive_default = defineMetabaseCommand({
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "./command-augment-BH9qgQ5u.mjs";
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-BGH4gxGN.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-DgHh4T6t.mjs";
|
|
4
4
|
import { renderSummary } from "./capabilities-7L9GVMd_.mjs";
|
|
5
|
-
import { parseId } from "./parse-id-
|
|
5
|
+
import { parseId } from "./parse-id-sKNP6yu5.mjs";
|
|
6
6
|
import { Collection, collectionView } from "./collection-BPTlcFw5.mjs";
|
|
7
7
|
|
|
8
8
|
//#region src/commands/collection/archive.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "./command-augment-BH9qgQ5u.mjs";
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-BGH4gxGN.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-DgHh4T6t.mjs";
|
|
4
4
|
import { renderSummary } from "./capabilities-7L9GVMd_.mjs";
|
|
5
|
-
import { parseId } from "./parse-id-
|
|
5
|
+
import { parseId } from "./parse-id-sKNP6yu5.mjs";
|
|
6
6
|
import { Dashboard, dashboardView } from "./dashboard-FY5UzJ_Z.mjs";
|
|
7
7
|
|
|
8
8
|
//#region src/commands/dashboard/archive.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "./command-augment-BH9qgQ5u.mjs";
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-BGH4gxGN.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-DgHh4T6t.mjs";
|
|
4
4
|
import { renderSummary } from "./capabilities-7L9GVMd_.mjs";
|
|
5
|
-
import { parseId } from "./parse-id-
|
|
5
|
+
import { parseId } from "./parse-id-sKNP6yu5.mjs";
|
|
6
6
|
import { Snippet, snippetView } from "./snippet-BZvo05ua.mjs";
|
|
7
7
|
|
|
8
8
|
//#region src/commands/snippet/archive.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "./command-augment-BH9qgQ5u.mjs";
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-BGH4gxGN.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-DgHh4T6t.mjs";
|
|
4
4
|
import { renderSummary } from "./capabilities-7L9GVMd_.mjs";
|
|
5
|
-
import { parseId } from "./parse-id-
|
|
5
|
+
import { parseId } from "./parse-id-sKNP6yu5.mjs";
|
|
6
6
|
import { revisionMessageFlag } from "./revision-message-flag-Bo-Kvv6F.mjs";
|
|
7
7
|
import { Segment, segmentView } from "./segment-d-708KKO.mjs";
|
|
8
8
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "./command-augment-BH9qgQ5u.mjs";
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-BGH4gxGN.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-DgHh4T6t.mjs";
|
|
4
4
|
import { renderSummary } from "./capabilities-7L9GVMd_.mjs";
|
|
5
|
-
import { parseId } from "./parse-id-
|
|
5
|
+
import { parseId } from "./parse-id-sKNP6yu5.mjs";
|
|
6
6
|
import { Measure, measureView } from "./measure-COGAoZpo.mjs";
|
|
7
7
|
import { revisionMessageFlag } from "./revision-message-flag-Bo-Kvv6F.mjs";
|
|
8
8
|
|
|
@@ -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-C0VFlX8y.mjs").then((m) => m.default),
|
|
12
|
+
status: () => import("./status-CvUuZVvC.mjs").then((m) => m.default),
|
|
13
|
+
list: () => import("./list-BtNboYpZ.mjs").then((m) => m.default),
|
|
14
|
+
logout: () => import("./logout-BUgUTFol.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 "./command-augment-BH9qgQ5u.mjs";
|
|
2
|
-
import { parseJson } from "./runtime-
|
|
3
|
-
import { DEFAULT_FLAG_NAME, readInput } from "./input-
|
|
2
|
+
import { parseJson } from "./runtime-DgHh4T6t.mjs";
|
|
3
|
+
import { DEFAULT_FLAG_NAME, readInput } from "./input-BZwm4yby.mjs";
|
|
4
4
|
|
|
5
5
|
//#region src/runtime/body.ts
|
|
6
6
|
async function readBody(sources, schema) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "./command-augment-BH9qgQ5u.mjs";
|
|
2
|
-
import { connectionFlags, listEnvelopeSchema, outputFlags, profileFlag, wrapList } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
2
|
+
import { connectionFlags, listEnvelopeSchema, outputFlags, profileFlag, wrapList } from "./error-BGH4gxGN.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-DgHh4T6t.mjs";
|
|
4
4
|
import { renderList } from "./capabilities-7L9GVMd_.mjs";
|
|
5
|
-
import "./poll-
|
|
6
|
-
import { REMOTE_SYNC_PATHS } from "./poll-task-
|
|
5
|
+
import "./poll-Cyw-dQi4.mjs";
|
|
6
|
+
import { REMOTE_SYNC_PATHS } from "./poll-task-BG0oVnfZ.mjs";
|
|
7
7
|
import { z } from "zod";
|
|
8
8
|
|
|
9
9
|
//#region src/commands/git-sync/branches.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "./command-augment-BH9qgQ5u.mjs";
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-BGH4gxGN.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-DgHh4T6t.mjs";
|
|
4
4
|
import { renderSummary } from "./capabilities-7L9GVMd_.mjs";
|
|
5
|
-
import { parseId } from "./parse-id-
|
|
5
|
+
import { parseId } from "./parse-id-sKNP6yu5.mjs";
|
|
6
6
|
import { z } from "zod";
|
|
7
7
|
|
|
8
8
|
//#region src/commands/transform/cancel.ts
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "./command-augment-BH9qgQ5u.mjs";
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-BGH4gxGN.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-DgHh4T6t.mjs";
|
|
4
4
|
import { renderSummary } from "./capabilities-7L9GVMd_.mjs";
|
|
5
|
-
import "./poll-
|
|
6
|
-
import { REMOTE_SYNC_PATHS, SyncTask, syncTaskView } from "./poll-task-
|
|
5
|
+
import "./poll-Cyw-dQi4.mjs";
|
|
6
|
+
import { REMOTE_SYNC_PATHS, SyncTask, syncTaskView } from "./poll-task-BG0oVnfZ.mjs";
|
|
7
7
|
|
|
8
8
|
//#region src/commands/git-sync/cancel-task.ts
|
|
9
9
|
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-Df4MhR2A.mjs").then((mod) => mod.default),
|
|
11
|
+
get: () => import("./get-8nAjRL2H.mjs").then((mod) => mod.default),
|
|
12
|
+
query: () => import("./query-C2xqnz24.mjs").then((mod) => mod.default),
|
|
13
|
+
create: () => import("./create-DoeqRVmx.mjs").then((mod) => mod.default),
|
|
14
|
+
update: () => import("./update-Dty6LvU2.mjs").then((mod) => mod.default),
|
|
15
|
+
archive: () => import("./archive-BNioNJtG.mjs").then((mod) => mod.default)
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
|
|
19
|
+
//#endregion
|
|
20
|
+
export { card_default as default };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "./command-augment-BH9qgQ5u.mjs";
|
|
2
|
-
import { connectionFlags, listEnvelopeSchema, outputFlags, profileFlag, wrapList } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
2
|
+
import { connectionFlags, listEnvelopeSchema, outputFlags, profileFlag, wrapList } from "./error-BGH4gxGN.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-DgHh4T6t.mjs";
|
|
4
4
|
import { renderList } from "./capabilities-7L9GVMd_.mjs";
|
|
5
|
-
import { parseId } from "./parse-id-
|
|
5
|
+
import { parseId } from "./parse-id-sKNP6yu5.mjs";
|
|
6
6
|
import { DashboardDetail, DashcardCompact, dashcardView } from "./dashboard-FY5UzJ_Z.mjs";
|
|
7
7
|
|
|
8
8
|
//#region src/commands/dashboard/cards.ts
|
package/dist/cli.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { ConfigError, flagConsumesValue, getMetabaseAugment, normalizeFlag, resolveCitty, toAliasArray } from "./command-augment-BH9qgQ5u.mjs";
|
|
3
|
-
import { connectionFlags, outputFlags, package_default, profileFlag, reportError } from "./error-
|
|
3
|
+
import { connectionFlags, outputFlags, package_default, profileFlag, reportError } from "./error-BGH4gxGN.mjs";
|
|
4
4
|
import { defineCommand, renderUsage, runMain } from "citty";
|
|
5
5
|
|
|
6
6
|
//#region src/commands/global-flags.ts
|
|
@@ -58,28 +58,28 @@ const main = defineCommand({
|
|
|
58
58
|
description: package_default.description
|
|
59
59
|
},
|
|
60
60
|
subCommands: {
|
|
61
|
-
auth: () => import("./auth-
|
|
62
|
-
db: () => import("./db-
|
|
63
|
-
table: () => import("./table-
|
|
64
|
-
field: () => import("./field-
|
|
65
|
-
card: () => import("./card-
|
|
66
|
-
dashboard: () => import("./dashboard-
|
|
67
|
-
collection: () => import("./collection-
|
|
68
|
-
document: () => import("./document-
|
|
69
|
-
transform: () => import("./transform-
|
|
70
|
-
"transform-job": () => import("./transform-job-
|
|
71
|
-
setting: () => import("./setting-
|
|
72
|
-
search: () => import("./search-
|
|
73
|
-
"git-sync": () => import("./git-sync-
|
|
74
|
-
setup: () => import("./setup-
|
|
75
|
-
snippet: () => import("./snippet-
|
|
76
|
-
segment: () => import("./segment-
|
|
77
|
-
measure: () => import("./measure-
|
|
78
|
-
eid: () => import("./eid-
|
|
79
|
-
query: () => import("./query-
|
|
80
|
-
uuid: () => import("./uuid-
|
|
81
|
-
upgrade: () => import("./upgrade-
|
|
82
|
-
skills: () => import("./skills-
|
|
61
|
+
auth: () => import("./auth-CjFnuPe9.mjs").then((mod) => mod.default),
|
|
62
|
+
db: () => import("./db-4y5Z1CQw.mjs").then((mod) => mod.default),
|
|
63
|
+
table: () => import("./table-DK1B8Hzq.mjs").then((mod) => mod.default),
|
|
64
|
+
field: () => import("./field-BwUTrelF.mjs").then((mod) => mod.default),
|
|
65
|
+
card: () => import("./card-DoDpwR4t.mjs").then((mod) => mod.default),
|
|
66
|
+
dashboard: () => import("./dashboard-C5zTX345.mjs").then((mod) => mod.default),
|
|
67
|
+
collection: () => import("./collection-CF-1RIPY.mjs").then((mod) => mod.default),
|
|
68
|
+
document: () => import("./document-97l9Non_.mjs").then((mod) => mod.default),
|
|
69
|
+
transform: () => import("./transform-Dh5746zH.mjs").then((mod) => mod.default),
|
|
70
|
+
"transform-job": () => import("./transform-job-D0nRGPYN.mjs").then((mod) => mod.default),
|
|
71
|
+
setting: () => import("./setting-Licy7ZSs.mjs").then((mod) => mod.default),
|
|
72
|
+
search: () => import("./search-D7JzmvfR.mjs").then((mod) => mod.default),
|
|
73
|
+
"git-sync": () => import("./git-sync-JIMEYW-E.mjs").then((mod) => mod.default),
|
|
74
|
+
setup: () => import("./setup-BL4fqxoU.mjs").then((mod) => mod.default),
|
|
75
|
+
snippet: () => import("./snippet-C5_4nPGj.mjs").then((mod) => mod.default),
|
|
76
|
+
segment: () => import("./segment-DrZNuxsM.mjs").then((mod) => mod.default),
|
|
77
|
+
measure: () => import("./measure-BmcmxRQ3.mjs").then((mod) => mod.default),
|
|
78
|
+
eid: () => import("./eid-C8xTmR8e.mjs").then((mod) => mod.default),
|
|
79
|
+
query: () => import("./query-Dk55Wp2p.mjs").then((mod) => mod.default),
|
|
80
|
+
uuid: () => import("./uuid-BeUz8VpP.mjs").then((mod) => mod.default),
|
|
81
|
+
upgrade: () => import("./upgrade-TdaiAYbH.mjs").then((mod) => mod.default),
|
|
82
|
+
skills: () => import("./skills-Cn8FMCxG.mjs").then((mod) => mod.default),
|
|
83
83
|
__manifest: () => import("./manifest-BPHqF5LY.mjs").then((mod) => mod.createManifestCommand(main))
|
|
84
84
|
}
|
|
85
85
|
});
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { defineCommand } from "citty";
|
|
2
|
+
|
|
3
|
+
//#region src/commands/collection/index.ts
|
|
4
|
+
var collection_default = defineCommand({
|
|
5
|
+
meta: {
|
|
6
|
+
name: "collection",
|
|
7
|
+
description: "Manage Metabase collections"
|
|
8
|
+
},
|
|
9
|
+
subCommands: {
|
|
10
|
+
list: () => import("./list-CyIgwqFB.mjs").then((mod) => mod.default),
|
|
11
|
+
get: () => import("./get-Bcr_5fAb.mjs").then((mod) => mod.default),
|
|
12
|
+
items: () => import("./items-DC985V8K.mjs").then((mod) => mod.default),
|
|
13
|
+
tree: () => import("./tree-C0MFcweC.mjs").then((mod) => mod.default),
|
|
14
|
+
create: () => import("./create-D6QqOX6u.mjs").then((mod) => mod.default),
|
|
15
|
+
archive: () => import("./archive-BtDvBsr8.mjs").then((mod) => mod.default)
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
|
|
19
|
+
//#endregion
|
|
20
|
+
export { collection_default as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ConfigError } from "./command-augment-BH9qgQ5u.mjs";
|
|
2
|
-
import { HttpError } from "./runtime-
|
|
2
|
+
import { HttpError } from "./runtime-DgHh4T6t.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/commands/transform/collection-namespace.ts
|
|
5
5
|
const TRANSFORMS_NAMESPACE_HINT = "transforms can only be filed in a :transforms-namespace collection. Create one with `mb collection create --body '{\"name\":\"…\"}' --namespace transforms` and pass its id as collection_id, or omit collection_id to leave the transform uncollected.";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "./command-augment-BH9qgQ5u.mjs";
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-BGH4gxGN.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-DgHh4T6t.mjs";
|
|
4
4
|
import { renderSummary } from "./capabilities-7L9GVMd_.mjs";
|
|
5
|
-
import "./input-
|
|
6
|
-
import { readBody } from "./body-
|
|
5
|
+
import "./input-BZwm4yby.mjs";
|
|
6
|
+
import { readBody } from "./body-89w3r7In.mjs";
|
|
7
7
|
import { bodyInputFlags } from "./body-flags-D78h_-Ua.mjs";
|
|
8
8
|
import { Document, DocumentCreateInput, documentView } from "./document-CcfiiV3b.mjs";
|
|
9
9
|
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import "./command-augment-BH9qgQ5u.mjs";
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-BGH4gxGN.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-DgHh4T6t.mjs";
|
|
4
4
|
import { renderSummary } from "./capabilities-7L9GVMd_.mjs";
|
|
5
|
-
import "./input-
|
|
5
|
+
import "./input-BZwm4yby.mjs";
|
|
6
6
|
import "./field-MGxpNQUH.mjs";
|
|
7
7
|
import "./card-DnIeMmUn.mjs";
|
|
8
|
-
import { readBody } from "./body-
|
|
8
|
+
import { readBody } from "./body-89w3r7In.mjs";
|
|
9
9
|
import { bodyInputFlags } from "./body-flags-D78h_-Ua.mjs";
|
|
10
10
|
import "./validate-B62TRDGV.mjs";
|
|
11
11
|
import { Dashboard, DashboardCreateInput, DashboardDetail, dashboardView } from "./dashboard-FY5UzJ_Z.mjs";
|
|
12
|
-
import { preflightDashcardCardReferences, wrapChainedDashboardWriteError } from "./preflight-
|
|
12
|
+
import { preflightDashcardCardReferences, wrapChainedDashboardWriteError } from "./preflight-BjR63JnX.mjs";
|
|
13
13
|
|
|
14
14
|
//#region src/commands/dashboard/create.ts
|
|
15
15
|
var create_default = defineMetabaseCommand({
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "./command-augment-BH9qgQ5u.mjs";
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-BGH4gxGN.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-DgHh4T6t.mjs";
|
|
4
4
|
import { renderSummary } from "./capabilities-7L9GVMd_.mjs";
|
|
5
|
-
import "./input-
|
|
6
|
-
import { readBody } from "./body-
|
|
5
|
+
import "./input-BZwm4yby.mjs";
|
|
6
|
+
import { readBody } from "./body-89w3r7In.mjs";
|
|
7
7
|
import { bodyInputFlags } from "./body-flags-D78h_-Ua.mjs";
|
|
8
8
|
import "./validate-B62TRDGV.mjs";
|
|
9
9
|
import { SEGMENT_DEFINITION_LABELS, preflightMbql5Query, skipValidateFlag } from "./validate-query-BpiN1CFu.mjs";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "./command-augment-BH9qgQ5u.mjs";
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-BGH4gxGN.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-DgHh4T6t.mjs";
|
|
4
4
|
import { renderSummary } from "./capabilities-7L9GVMd_.mjs";
|
|
5
|
-
import "./input-
|
|
6
|
-
import { readBody } from "./body-
|
|
5
|
+
import "./input-BZwm4yby.mjs";
|
|
6
|
+
import { readBody } from "./body-89w3r7In.mjs";
|
|
7
7
|
import { bodyInputFlags } from "./body-flags-D78h_-Ua.mjs";
|
|
8
8
|
import "./validate-B62TRDGV.mjs";
|
|
9
9
|
import { MEASURE_DEFINITION_LABELS, preflightMbql5Query, skipValidateFlag } from "./validate-query-BpiN1CFu.mjs";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "./command-augment-BH9qgQ5u.mjs";
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-BGH4gxGN.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-DgHh4T6t.mjs";
|
|
4
4
|
import { renderSummary } from "./capabilities-7L9GVMd_.mjs";
|
|
5
|
-
import "./input-
|
|
6
|
-
import { readBody } from "./body-
|
|
5
|
+
import "./input-BZwm4yby.mjs";
|
|
6
|
+
import { readBody } from "./body-89w3r7In.mjs";
|
|
7
7
|
import { bodyInputFlags } from "./body-flags-D78h_-Ua.mjs";
|
|
8
8
|
import { parseEnumFlag } from "./parse-enum-Dr7ACrTR.mjs";
|
|
9
9
|
import { Collection, CollectionCreateInput, CollectionNamespace, collectionView } from "./collection-BPTlcFw5.mjs";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import "./command-augment-BH9qgQ5u.mjs";
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-BGH4gxGN.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-DgHh4T6t.mjs";
|
|
4
4
|
import { renderSummary } from "./capabilities-7L9GVMd_.mjs";
|
|
5
|
-
import "./input-
|
|
6
|
-
import { readBody } from "./body-
|
|
5
|
+
import "./input-BZwm4yby.mjs";
|
|
6
|
+
import { readBody } from "./body-89w3r7In.mjs";
|
|
7
7
|
import { bodyInputFlags } from "./body-flags-D78h_-Ua.mjs";
|
|
8
8
|
import "./validate-B62TRDGV.mjs";
|
|
9
9
|
import { TRANSFORM_SOURCE_QUERY_LABELS, preflightMbql5Query, skipValidateFlag } from "./validate-query-BpiN1CFu.mjs";
|
|
10
10
|
import { Transform, TransformCreateInput, transformView } from "./transform--dviwMA1.mjs";
|
|
11
|
-
import { enrichTransformCollectionError } from "./collection-namespace-
|
|
11
|
+
import { enrichTransformCollectionError } from "./collection-namespace-w26SavJH.mjs";
|
|
12
12
|
|
|
13
13
|
//#region src/commands/transform/create.ts
|
|
14
14
|
var create_default = defineMetabaseCommand({
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "./command-augment-BH9qgQ5u.mjs";
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-BGH4gxGN.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-DgHh4T6t.mjs";
|
|
4
4
|
import { renderSummary } from "./capabilities-7L9GVMd_.mjs";
|
|
5
|
-
import "./input-
|
|
6
|
-
import { readBody } from "./body-
|
|
5
|
+
import "./input-BZwm4yby.mjs";
|
|
6
|
+
import { readBody } from "./body-89w3r7In.mjs";
|
|
7
7
|
import { bodyInputFlags } from "./body-flags-D78h_-Ua.mjs";
|
|
8
8
|
import { TransformJob, TransformJobCreateInput, transformJobView } from "./transform-job-n8W6tLqF.mjs";
|
|
9
9
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import "./command-augment-BH9qgQ5u.mjs";
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-BGH4gxGN.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-DgHh4T6t.mjs";
|
|
4
4
|
import { renderSummary } from "./capabilities-7L9GVMd_.mjs";
|
|
5
|
-
import "./input-
|
|
5
|
+
import "./input-BZwm4yby.mjs";
|
|
6
6
|
import "./field-MGxpNQUH.mjs";
|
|
7
7
|
import { Card, CardCreateInput, cardView } from "./card-DnIeMmUn.mjs";
|
|
8
|
-
import { readBody } from "./body-
|
|
8
|
+
import { readBody } from "./body-89w3r7In.mjs";
|
|
9
9
|
import { bodyInputFlags } from "./body-flags-D78h_-Ua.mjs";
|
|
10
10
|
import "./validate-B62TRDGV.mjs";
|
|
11
11
|
import { CARD_DATASET_QUERY_LABELS, preflightMbql5Query, skipValidateFlag } from "./validate-query-BpiN1CFu.mjs";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ConfigError } from "./command-augment-BH9qgQ5u.mjs";
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-BGH4gxGN.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-DgHh4T6t.mjs";
|
|
4
4
|
import { renderSummary } from "./capabilities-7L9GVMd_.mjs";
|
|
5
|
-
import "./poll-
|
|
6
|
-
import { REMOTE_SYNC_PATHS } from "./poll-task-
|
|
5
|
+
import "./poll-Cyw-dQi4.mjs";
|
|
6
|
+
import { REMOTE_SYNC_PATHS } from "./poll-task-BG0oVnfZ.mjs";
|
|
7
7
|
import { z } from "zod";
|
|
8
8
|
|
|
9
9
|
//#region src/commands/git-sync/create-branch.ts
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "./command-augment-BH9qgQ5u.mjs";
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-BGH4gxGN.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-DgHh4T6t.mjs";
|
|
4
4
|
import { renderSummary } from "./capabilities-7L9GVMd_.mjs";
|
|
5
|
-
import "./input-
|
|
6
|
-
import { readBody } from "./body-
|
|
5
|
+
import "./input-BZwm4yby.mjs";
|
|
6
|
+
import { readBody } from "./body-89w3r7In.mjs";
|
|
7
7
|
import { bodyInputFlags } from "./body-flags-D78h_-Ua.mjs";
|
|
8
8
|
import { Snippet, SnippetCreateInput, snippetView } from "./snippet-BZvo05ua.mjs";
|
|
9
9
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "./command-augment-BH9qgQ5u.mjs";
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-BGH4gxGN.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-DgHh4T6t.mjs";
|
|
4
4
|
import { renderSummary } from "./capabilities-7L9GVMd_.mjs";
|
|
5
|
-
import "./poll-
|
|
6
|
-
import { SyncTaskOrIdle, fetchCurrentTask, formatSyncTask, syncTaskIdleView, syncTaskView } from "./poll-task-
|
|
5
|
+
import "./poll-Cyw-dQi4.mjs";
|
|
6
|
+
import { SyncTaskOrIdle, fetchCurrentTask, formatSyncTask, syncTaskIdleView, syncTaskView } from "./poll-task-BG0oVnfZ.mjs";
|
|
7
7
|
|
|
8
8
|
//#region src/commands/git-sync/current-task.ts
|
|
9
9
|
const CurrentTaskResult = SyncTaskOrIdle;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { defineCommand } from "citty";
|
|
2
|
+
|
|
3
|
+
//#region src/commands/dashboard/index.ts
|
|
4
|
+
var dashboard_default = defineCommand({
|
|
5
|
+
meta: {
|
|
6
|
+
name: "dashboard",
|
|
7
|
+
description: "Manage Metabase dashboards"
|
|
8
|
+
},
|
|
9
|
+
subCommands: {
|
|
10
|
+
list: () => import("./list-OGkVAG6b.mjs").then((mod) => mod.default),
|
|
11
|
+
get: () => import("./get-B2vGW7Aw.mjs").then((mod) => mod.default),
|
|
12
|
+
cards: () => import("./cards-L9jksUMD.mjs").then((mod) => mod.default),
|
|
13
|
+
create: () => import("./create-Bu9Jayck.mjs").then((mod) => mod.default),
|
|
14
|
+
update: () => import("./update-BqsGGrzx.mjs").then((mod) => mod.default),
|
|
15
|
+
"update-dashcard": () => import("./update-dashcard-BkJaVVvf.mjs").then((mod) => mod.default),
|
|
16
|
+
archive: () => import("./archive-CMeTr8jv.mjs").then((mod) => mod.default)
|
|
17
|
+
}
|
|
18
|
+
});
|
|
19
|
+
|
|
20
|
+
//#endregion
|
|
21
|
+
export { dashboard_default as default };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { defineCommand } from "citty";
|
|
2
|
+
|
|
3
|
+
//#region src/commands/db/index.ts
|
|
4
|
+
var db_default = defineCommand({
|
|
5
|
+
meta: {
|
|
6
|
+
name: "db",
|
|
7
|
+
description: "Inspect and sync Metabase databases",
|
|
8
|
+
alias: "database"
|
|
9
|
+
},
|
|
10
|
+
subCommands: {
|
|
11
|
+
list: () => import("./list-Cnb9mQdd.mjs").then((m) => m.default),
|
|
12
|
+
get: () => import("./get-ug26gcOI.mjs").then((m) => m.default),
|
|
13
|
+
metadata: () => import("./metadata-Dwkcsa1c.mjs").then((m) => m.default),
|
|
14
|
+
schemas: () => import("./schemas-CWL8gv1C.mjs").then((m) => m.default),
|
|
15
|
+
"schema-tables": () => import("./schema-tables-DjmNwrlT.mjs").then((m) => m.default),
|
|
16
|
+
"sync-schema": () => import("./sync-schema-CjjAYTbO.mjs").then((m) => m.default),
|
|
17
|
+
"rescan-values": () => import("./rescan-values-CuLQ9UHP.mjs").then((m) => m.default)
|
|
18
|
+
}
|
|
19
|
+
});
|
|
20
|
+
|
|
21
|
+
//#endregion
|
|
22
|
+
export { db_default as default };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "./command-augment-BH9qgQ5u.mjs";
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-BGH4gxGN.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-DgHh4T6t.mjs";
|
|
4
4
|
import "./capabilities-7L9GVMd_.mjs";
|
|
5
5
|
import "./prompt-u4WhE4T5.mjs";
|
|
6
|
-
import { parseId } from "./parse-id-
|
|
6
|
+
import { parseId } from "./parse-id-sKNP6yu5.mjs";
|
|
7
7
|
import { DeleteResult, confirmAndDelete } from "./delete-runtime-CjFc69tS.mjs";
|
|
8
8
|
|
|
9
9
|
//#region src/commands/transform-job/delete.ts
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "./command-augment-BH9qgQ5u.mjs";
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-BGH4gxGN.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-DgHh4T6t.mjs";
|
|
4
4
|
import "./capabilities-7L9GVMd_.mjs";
|
|
5
5
|
import "./prompt-u4WhE4T5.mjs";
|
|
6
|
-
import { parseId } from "./parse-id-
|
|
6
|
+
import { parseId } from "./parse-id-sKNP6yu5.mjs";
|
|
7
7
|
import { DeleteResult, confirmAndDelete } from "./delete-runtime-CjFc69tS.mjs";
|
|
8
8
|
|
|
9
9
|
//#region src/commands/transform/delete.ts
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "./command-augment-BH9qgQ5u.mjs";
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-BGH4gxGN.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-DgHh4T6t.mjs";
|
|
4
4
|
import "./capabilities-7L9GVMd_.mjs";
|
|
5
5
|
import "./prompt-u4WhE4T5.mjs";
|
|
6
|
-
import { parseId } from "./parse-id-
|
|
6
|
+
import { parseId } from "./parse-id-sKNP6yu5.mjs";
|
|
7
7
|
import { DeleteResult, confirmAndDelete } from "./delete-runtime-CjFc69tS.mjs";
|
|
8
8
|
|
|
9
9
|
//#region src/commands/transform/delete-table.ts
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "./command-augment-BH9qgQ5u.mjs";
|
|
2
|
-
import { connectionFlags, listEnvelopeSchema, outputFlags, profileFlag, wrapList } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
2
|
+
import { connectionFlags, listEnvelopeSchema, outputFlags, profileFlag, wrapList } from "./error-BGH4gxGN.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-DgHh4T6t.mjs";
|
|
4
4
|
import { renderList } from "./capabilities-7L9GVMd_.mjs";
|
|
5
|
-
import "./poll-
|
|
6
|
-
import { REMOTE_SYNC_PATHS, SyncDirtyItem, SyncDirtyItemCompact, syncDirtyItemView } from "./poll-task-
|
|
5
|
+
import "./poll-Cyw-dQi4.mjs";
|
|
6
|
+
import { REMOTE_SYNC_PATHS, SyncDirtyItem, SyncDirtyItemCompact, syncDirtyItemView } from "./poll-task-BG0oVnfZ.mjs";
|
|
7
7
|
import { z } from "zod";
|
|
8
8
|
|
|
9
9
|
//#region src/commands/git-sync/dirty.ts
|