@metabase/cli 0.1.10 → 0.1.11
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 +9 -6
- package/dist/{add-collection-DUqTrC5T.mjs → add-collection-DKULSPwT.mjs} +4 -4
- package/dist/add-collection-DyEe_xRO.mjs +10 -0
- package/dist/{archive-44EWiXud.mjs → archive-BJ6uL3hh.mjs} +3 -3
- package/dist/{archive-BEIyIsin.mjs → archive-BL_0fXhf.mjs} +3 -3
- package/dist/{archive-DtE2H4A6.mjs → archive-BLbaqc-5.mjs} +3 -3
- package/dist/{archive-_GMNY8wH.mjs → archive-BLxX3J6I.mjs} +3 -3
- package/dist/{archive-B59Y7ajB.mjs → archive-DQsV2uwy.mjs} +3 -3
- package/dist/{archive-0krZxAXq.mjs → archive-ibJVYsBC.mjs} +3 -3
- package/dist/{archive-BZfpjMir.mjs → archive-y-_m3XID.mjs} +3 -3
- package/dist/auth-BKaQjcmP.mjs +19 -0
- package/dist/{body-BdRyuvU4.mjs → body-DCQg78AF.mjs} +1 -1
- package/dist/{branches-Jpv-FNds.mjs → branches-CJVscsZe.mjs} +4 -4
- package/dist/{cancel-ChC4lFd4.mjs → cancel-C8W0sPix.mjs} +3 -3
- package/dist/{cancel-task-DyhIkNaL.mjs → cancel-task-dDgQDswT.mjs} +4 -4
- package/dist/card-CGBvUmCW.mjs +20 -0
- package/dist/{cards-O-nKkQKP.mjs → cards-B7HE8BT6.mjs} +3 -3
- package/dist/cli.mjs +23 -23
- package/dist/collection-Ch7pPKHD.mjs +20 -0
- package/dist/{collection-namespace-7724zUMx.mjs → collection-namespace-CBCApZJf.mjs} +1 -1
- package/dist/{create-DS52EhPd.mjs → create-84jcfY4N.mjs} +3 -3
- package/dist/{create-BuKx7kw6.mjs → create-B6mzc8UK.mjs} +3 -3
- package/dist/{create-B4f4Pldw.mjs → create-BQA6nM5n.mjs} +4 -4
- package/dist/{create-BxRsXQrm.mjs → create-BWaBYzhC.mjs} +3 -3
- package/dist/{create-CvYKJOcE.mjs → create-DN8us8si.mjs} +3 -3
- package/dist/{create-BbF9zVFP.mjs → create-DPASPFGi.mjs} +4 -4
- package/dist/{create-D45uFXlo.mjs → create-Di9NY7kK.mjs} +3 -3
- package/dist/{create-BnFHcnlL.mjs → create-VjvMdgM5.mjs} +3 -3
- package/dist/{create-branch-KOWUIE72.mjs → create-branch-CCoDX2Qf.mjs} +4 -4
- package/dist/{create-DeZ2x2Db.mjs → create-vNcD4jfq.mjs} +3 -3
- package/dist/{current-task-ClcWPPMc.mjs → current-task-QdxA3mSX.mjs} +4 -4
- package/dist/dashboard-BDb2krMr.mjs +21 -0
- package/dist/db-CoVdkdVm.mjs +22 -0
- package/dist/{delete-D68oS73R.mjs → delete-ByJ6guaH.mjs} +3 -3
- package/dist/{delete-CX2VUA5R.mjs → delete-CE_Jfjni.mjs} +3 -3
- package/dist/{delete-table-DLvL9mDA.mjs → delete-table-D5LDUkOk.mjs} +3 -3
- package/dist/{dirty-1OrXpc7E.mjs → dirty-C6yzkIPn.mjs} +4 -4
- package/dist/document-BA2S1ev3.mjs +19 -0
- package/dist/{eid-CzLhHZMW.mjs → eid-ZOyix96k.mjs} +3 -3
- package/dist/{error-BWXBhqLW.mjs → error-C1bUYXn7.mjs} +2 -1
- package/dist/{export-B5z8w-xo.mjs → export-BhbBX-pl.mjs} +6 -6
- package/dist/field-B5bptFqL.mjs +18 -0
- package/dist/{fields-sC7pzmPX.mjs → fields-CZ6IK8Qf.mjs} +3 -3
- package/dist/{get-ByZ4HR2T.mjs → get-157SWRte.mjs} +3 -3
- package/dist/{get-Bo1FGyFs.mjs → get-9b0ZEWh1.mjs} +3 -3
- package/dist/{get-Dl62Fy6Y.mjs → get-B03gdAun.mjs} +3 -3
- package/dist/{get-CHb6J908.mjs → get-BKWZA_22.mjs} +2 -2
- package/dist/{get-DTHLETau.mjs → get-Bbo2Y-aL.mjs} +3 -3
- package/dist/{get-ZesERdyk.mjs → get-BtqQ98nb.mjs} +2 -2
- package/dist/{get-reSMTfQi.mjs → get-C0emTO1r.mjs} +2 -2
- package/dist/{get-DLwb_gUh.mjs → get-CqKttHWW.mjs} +3 -3
- package/dist/{get-BYw3xS0X.mjs → get-D49EdHgH.mjs} +3 -3
- package/dist/{get-lcX52Skc.mjs → get-DIyv2a7h.mjs} +3 -3
- package/dist/{get-BC60bhel.mjs → get-DclzgC5G.mjs} +3 -3
- package/dist/{get-Fn9WkNhS.mjs → get-DlzC0xCg.mjs} +3 -3
- package/dist/{get-4GEDd9YN.mjs → get-mR01pCNG.mjs} +3 -3
- package/dist/{get-C6n86-dS.mjs → get-nl41R-2q.mjs} +3 -3
- package/dist/{get-run-CpCbHJad.mjs → get-run-_dlMCGp5.mjs} +3 -3
- package/dist/git-sync-DqJmONiB.mjs +28 -0
- package/dist/{has-remote-changes-CPz_-uxd.mjs → has-remote-changes-CToITRyl.mjs} +4 -4
- package/dist/{import-DaWgprK6.mjs → import-xnYHb4QX.mjs} +6 -6
- package/dist/{is-dirty-DZlI7lQx.mjs → is-dirty-BHyMmUVV.mjs} +3 -3
- package/dist/is-dirty-BvA3yzRc.mjs +9 -0
- package/dist/{items-hgbRYsYD.mjs → items-D3AmbIOO.mjs} +3 -3
- package/dist/{list-DO8T-nmF.mjs → list-5ZZfaOzm.mjs} +2 -2
- package/dist/{list-DBlsRSpZ.mjs → list-BHCVZh7Q.mjs} +2 -2
- package/dist/{list-CCZnH2-Z.mjs → list-BdStkg8G.mjs} +2 -2
- package/dist/{list-CGdOC9zX.mjs → list-BhZYkbc9.mjs} +2 -2
- package/dist/{list-kath_2cX.mjs → list-BkzrFyJO.mjs} +2 -2
- package/dist/{list-Cd2nOCAx.mjs → list-BtTRJyrR.mjs} +2 -2
- package/dist/{list-DOVX3vCb.mjs → list-Byn-dRW4.mjs} +3 -3
- package/dist/{list-BgHESP7b.mjs → list-C5NywUBH.mjs} +2 -2
- package/dist/{list-B9J3ujwn.mjs → list-CA6MlByL.mjs} +2 -2
- package/dist/{list-BWv5y307.mjs → list-CIu1zfpU.mjs} +2 -2
- package/dist/{list-BGerkRHH.mjs → list-C_d7ppOJ.mjs} +3 -3
- package/dist/{list-CKeVS1IZ.mjs → list-D7Np4fwk.mjs} +2 -2
- package/dist/{list-D9EuxFHO.mjs → list-DKPhFATP.mjs} +2 -2
- package/dist/{list-36H-dvJZ.mjs → list-DSJwMHXB.mjs} +2 -2
- package/dist/{login-BzrAGJfu.mjs → login-jWvDDvEm.mjs} +3 -3
- package/dist/{logout-CKBiltoS.mjs → logout-Bltlsm6u.mjs} +2 -2
- package/dist/measure-DBX4k13t.mjs +19 -0
- package/dist/{metadata-BjOrKtnv.mjs → metadata-BKcyjsoA.mjs} +3 -3
- package/dist/{metadata-BcGcUEVJ.mjs → metadata-Bf2TfG8F.mjs} +3 -3
- package/dist/{parse-id--iVTCKSo.mjs → parse-id-CWRJlQVK.mjs} +1 -1
- package/dist/{path-LgGU6Bd0.mjs → path-Djw9IARu.mjs} +2 -2
- package/dist/{poll-BucRFJT-.mjs → poll-hJrV0cPm.mjs} +1 -1
- package/dist/{poll-task-DTzKB3T3.mjs → poll-task-DK6X9Juu.mjs} +2 -2
- package/dist/{preflight-CzqVX0PP.mjs → preflight-DjSPp3Ct.mjs} +1 -1
- package/dist/{query-BVZkK6Qk.mjs → query-Cc-9oPsW.mjs} +3 -3
- package/dist/{query-DG_jygDF.mjs → query-Do5n5SZc.mjs} +3 -3
- package/dist/{remove-collection-HdeAfLyi.mjs → remove-collection-DVvnmU06.mjs} +6 -6
- package/dist/{rescan-values-hWubCruZ.mjs → rescan-values-CHluR3JC.mjs} +3 -3
- package/dist/{run-C1-lDmQF.mjs → run-CcJbcaw8.mjs} +5 -5
- package/dist/{runs-Q6DYQyqj.mjs → runs-Dc8qZBhl.mjs} +3 -3
- package/dist/{runtime-colqvhLf.mjs → runtime-jWkzCPlL.mjs} +1 -1
- package/dist/{schema-tables-BEastV_8.mjs → schema-tables-CZ6EMHUZ.mjs} +3 -3
- package/dist/{schemas-CgawwI_k.mjs → schemas-Br1cpOZc.mjs} +3 -3
- package/dist/{search-BWo7xSPP.mjs → search-DB2joPgt.mjs} +3 -3
- package/dist/segment-BWcyA1P-.mjs +19 -0
- package/dist/{set-7Nm2ZTb_.mjs → set-BRhVzEWd.mjs} +3 -3
- package/dist/{setting-DSGXJehQ.mjs → setting-CuxO4T1n.mjs} +3 -3
- package/dist/{setup-aJLGLrIT.mjs → setup-Bn4jwxdl.mjs} +3 -3
- package/dist/{skills-Q2AFsYvc.mjs → skills-Db1r65S5.mjs} +3 -3
- package/dist/snippet-C9UM6NwC.mjs +19 -0
- package/dist/{stash-DPQ0c-Cd.mjs → stash-Dp2JFgmp.mjs} +6 -6
- package/dist/{status-CvAATvV0.mjs → status-BxGBwALE.mjs} +2 -2
- package/dist/{status-CvKPrV5X.mjs → status-j09luNai.mjs} +5 -5
- package/dist/{summary-CeOnoOq2.mjs → summary-DVrj7DSa.mjs} +3 -3
- package/dist/{sync-schema-aOPBc3CY.mjs → sync-schema-BVHvjzGX.mjs} +5 -5
- package/dist/table-DYI8K12W.mjs +19 -0
- package/dist/transform-CvbMbJtI.mjs +24 -0
- package/dist/transform-job-CtzgvccZ.mjs +19 -0
- package/dist/{tree-MOQOBeAP.mjs → tree-BEPw6xbY.mjs} +2 -2
- package/dist/{update-BWyCK8QV.mjs → update-B5VBJFU9.mjs} +5 -5
- package/dist/{update-Bj9s0ri8.mjs → update-BXaT0Faw.mjs} +4 -4
- package/dist/{update-CitS-QRN.mjs → update-Bd0ASKUG.mjs} +5 -5
- package/dist/{update-BD9xkglP.mjs → update-Bn5wUyTQ.mjs} +4 -4
- package/dist/{update-BRrnfG0q.mjs → update-C5vlBTII.mjs} +4 -4
- package/dist/{update-Dri4Zg2H.mjs → update-C875_WGf.mjs} +4 -4
- package/dist/{update-DfNKr_vS.mjs → update-CAoOJRwz.mjs} +4 -4
- package/dist/{update-57uxZWcR.mjs → update-DiG6SSGm.mjs} +4 -4
- package/dist/{update-BkMWBzvk.mjs → update-DzKPxRBE.mjs} +4 -4
- package/dist/{update-dashcard-D_-ura3Y.mjs → update-dashcard-7bZtw04E.mjs} +4 -4
- package/dist/{update-B6mg3AZD.mjs → update-fVqLtZ_t.mjs} +4 -4
- package/dist/{upgrade-CFkZ4USY.mjs → upgrade-DdCxE9Ml.mjs} +2 -2
- package/dist/{uuid-DpinhSxA.mjs → uuid-DywghRXO.mjs} +2 -2
- package/dist/{values-BSS4DRxk.mjs → values-DSul3siC.mjs} +3 -3
- package/dist/{verify-B_A7v8TY.mjs → verify-DzDyKXOa.mjs} +1 -1
- package/dist/{wait-D3iSnjMM.mjs → wait-CacFZI5Y.mjs} +5 -5
- package/dist/{wait-flags-_LnHOeBA.mjs → wait-flags-DV419apK.mjs} +2 -2
- package/package.json +2 -1
- package/skill-data/core/SKILL.md +22 -23
- package/skill-data/data-analysis/SKILL.md +65 -0
- package/skill-data/data-transformation/SKILL.md +200 -0
- package/skill-data/document/SKILL.md +4 -4
- package/skill-data/mbql/SKILL.md +20 -20
- package/skill-data/robot-data-engineer/SKILL.md +142 -0
- package/skill-data/semantic-layer/SKILL.md +166 -0
- package/skill-data/transform/SKILL.md +46 -48
- package/skill-data/visualization/SKILL.md +5 -3
- package/skills/metabase-cli/SKILL.md +6 -0
- package/dist/add-collection-D9wXgmRj.mjs +0 -10
- package/dist/auth-cFC5m69m.mjs +0 -19
- package/dist/card-ClvGX6dQ.mjs +0 -20
- package/dist/collection-DjvowSJC.mjs +0 -20
- package/dist/dashboard-BFeURTOw.mjs +0 -21
- package/dist/db-CSH1kwQr.mjs +0 -22
- package/dist/document-KdT_Xj6r.mjs +0 -19
- package/dist/field-CTFnZI8G.mjs +0 -18
- package/dist/git-sync-C2vib8rx.mjs +0 -28
- package/dist/is-dirty-Bb0Rtj7x.mjs +0 -9
- package/dist/measure-Dw1QpRZa.mjs +0 -19
- package/dist/segment-DMuYvFjg.mjs +0 -19
- package/dist/snippet-Df2TrP7-.mjs +0 -19
- package/dist/table-pK4OkVtL.mjs +0 -19
- package/dist/transform-D60veFH8.mjs +0 -24
- package/dist/transform-job-DXt5LsrY.mjs +0 -19
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"plugins": [
|
|
10
10
|
{
|
|
11
11
|
"name": "metabase-cli",
|
|
12
|
-
"description": "
|
|
12
|
+
"description": "Be your data analyst / data engineer for Metabase, from the terminal via the `mb` CLI. Go from raw data to something a non-technical person can use: clean tables, reusable metrics, dashboards, and written answers. Use when someone wants to \"make sense of my data\", \"build a data model\", \"go from raw data to a dashboard\", \"answer questions about my data\", \"report on who registered / signed up / responded\", or \"set up analytics for X\". Also full CRUD on every Metabase resource (cards, dashboards, transforms, queries), git-sync content to and from a remote, and on-demand workflow skills served by `mb skills get`.",
|
|
13
13
|
"source": "./",
|
|
14
14
|
"strict": false,
|
|
15
15
|
"skills": ["./skills/metabase-cli"],
|
package/README.md
CHANGED
|
@@ -1338,12 +1338,15 @@ mb skills path core # one path
|
|
|
1338
1338
|
|
|
1339
1339
|
Bundled skills:
|
|
1340
1340
|
|
|
1341
|
-
| Name
|
|
1342
|
-
|
|
|
1343
|
-
| `core`
|
|
1344
|
-
| `transform`
|
|
1345
|
-
| `
|
|
1346
|
-
| `
|
|
1341
|
+
| Name | Use |
|
|
1342
|
+
| --------------------- | --------------------------------------------------------------------------------------------- |
|
|
1343
|
+
| `core` | Top-level guide: auth, flag conventions, output flags, body input, every command group |
|
|
1344
|
+
| `transform` | Authoring and running transforms (native SQL + MBQL 5), iteration, run inspection |
|
|
1345
|
+
| `data-transformation` | Raw, normalized source database → clean, wide, analysis-ready tables for a non-technical user |
|
|
1346
|
+
| `semantic-layer` | Turning clean tables into reusable segments, measures, and metrics for a non-technical user |
|
|
1347
|
+
| `robot-data-engineer` | Front-door router for the whole journey (raw → tables → definitions → dashboards) |
|
|
1348
|
+
| `document` | Authoring document bodies: the TipTap JSON tree, embedding cards, entity links |
|
|
1349
|
+
| `git-sync` | Round-tripping Metabase content to/from a git remote |
|
|
1347
1350
|
|
|
1348
1351
|
Discovery surfaces:
|
|
1349
1352
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
2
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
1
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-C1bUYXn7.mjs";
|
|
2
|
+
import { defineMetabaseCommand } from "./runtime-jWkzCPlL.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-CWRJlQVK.mjs";
|
|
5
|
+
import { REMOTE_SYNC_PATHS } from "./poll-task-DK6X9Juu.mjs";
|
|
6
6
|
import { z } from "zod";
|
|
7
7
|
|
|
8
8
|
//#region src/commands/git-sync/add-collection.ts
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import "./command-augment-BH9qgQ5u.mjs";
|
|
2
|
+
import "./error-C1bUYXn7.mjs";
|
|
3
|
+
import "./runtime-jWkzCPlL.mjs";
|
|
4
|
+
import "./capabilities-7L9GVMd_.mjs";
|
|
5
|
+
import "./parse-id-CWRJlQVK.mjs";
|
|
6
|
+
import "./poll-hJrV0cPm.mjs";
|
|
7
|
+
import "./poll-task-DK6X9Juu.mjs";
|
|
8
|
+
import { SyncSettingsUpdateResult, add_collection_default, setCollectionRemoteSynced, syncSettingsUpdateView } from "./add-collection-DKULSPwT.mjs";
|
|
9
|
+
|
|
10
|
+
export { add_collection_default as default };
|
|
@@ -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-C1bUYXn7.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-jWkzCPlL.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-CWRJlQVK.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-C1bUYXn7.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-jWkzCPlL.mjs";
|
|
4
4
|
import { renderSummary } from "./capabilities-7L9GVMd_.mjs";
|
|
5
|
-
import { parseId } from "./parse-id
|
|
5
|
+
import { parseId } from "./parse-id-CWRJlQVK.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-C1bUYXn7.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-jWkzCPlL.mjs";
|
|
4
4
|
import { renderSummary } from "./capabilities-7L9GVMd_.mjs";
|
|
5
|
-
import { parseId } from "./parse-id
|
|
5
|
+
import { parseId } from "./parse-id-CWRJlQVK.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-C1bUYXn7.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-jWkzCPlL.mjs";
|
|
4
4
|
import { renderSummary } from "./capabilities-7L9GVMd_.mjs";
|
|
5
|
-
import { parseId } from "./parse-id
|
|
5
|
+
import { parseId } from "./parse-id-CWRJlQVK.mjs";
|
|
6
6
|
import { Document, documentView } from "./document-CcfiiV3b.mjs";
|
|
7
7
|
|
|
8
8
|
//#region src/commands/document/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-C1bUYXn7.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-jWkzCPlL.mjs";
|
|
4
4
|
import { renderSummary } from "./capabilities-7L9GVMd_.mjs";
|
|
5
|
-
import { parseId } from "./parse-id
|
|
5
|
+
import { parseId } from "./parse-id-CWRJlQVK.mjs";
|
|
6
6
|
import { Measure, measureView } from "./measure-COGAoZpo.mjs";
|
|
7
7
|
import { revisionMessageFlag } from "./revision-message-flag-Bo-Kvv6F.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-C1bUYXn7.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-jWkzCPlL.mjs";
|
|
4
4
|
import { renderSummary } from "./capabilities-7L9GVMd_.mjs";
|
|
5
|
-
import { parseId } from "./parse-id
|
|
5
|
+
import { parseId } from "./parse-id-CWRJlQVK.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-C1bUYXn7.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-jWkzCPlL.mjs";
|
|
4
4
|
import { renderSummary } from "./capabilities-7L9GVMd_.mjs";
|
|
5
|
-
import { parseId } from "./parse-id
|
|
5
|
+
import { parseId } from "./parse-id-CWRJlQVK.mjs";
|
|
6
6
|
import { Collection, collectionView } from "./collection-BPTlcFw5.mjs";
|
|
7
7
|
|
|
8
8
|
//#region src/commands/collection/archive.ts
|
|
@@ -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-jWvDDvEm.mjs").then((m) => m.default),
|
|
12
|
+
status: () => import("./status-BxGBwALE.mjs").then((m) => m.default),
|
|
13
|
+
list: () => import("./list-C_d7ppOJ.mjs").then((m) => m.default),
|
|
14
|
+
logout: () => import("./logout-Bltlsm6u.mjs").then((m) => m.default)
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
|
|
18
|
+
//#endregion
|
|
19
|
+
export { auth_default as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ConfigError } from "./command-augment-BH9qgQ5u.mjs";
|
|
2
|
-
import { parseJson } from "./runtime-
|
|
2
|
+
import { parseJson } from "./runtime-jWkzCPlL.mjs";
|
|
3
3
|
import { DEFAULT_FLAG_NAME, readInput } from "./input-xewHccej.mjs";
|
|
4
4
|
|
|
5
5
|
//#region src/runtime/body.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-C1bUYXn7.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-jWkzCPlL.mjs";
|
|
4
4
|
import { renderList } from "./capabilities-7L9GVMd_.mjs";
|
|
5
|
-
import "./poll-
|
|
6
|
-
import { REMOTE_SYNC_PATHS } from "./poll-task-
|
|
5
|
+
import "./poll-hJrV0cPm.mjs";
|
|
6
|
+
import { REMOTE_SYNC_PATHS } from "./poll-task-DK6X9Juu.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-C1bUYXn7.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-jWkzCPlL.mjs";
|
|
4
4
|
import { renderSummary } from "./capabilities-7L9GVMd_.mjs";
|
|
5
|
-
import { parseId } from "./parse-id
|
|
5
|
+
import { parseId } from "./parse-id-CWRJlQVK.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-C1bUYXn7.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-jWkzCPlL.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-hJrV0cPm.mjs";
|
|
6
|
+
import { REMOTE_SYNC_PATHS, SyncTask, syncTaskView } from "./poll-task-DK6X9Juu.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-BhZYkbc9.mjs").then((mod) => mod.default),
|
|
11
|
+
get: () => import("./get-D49EdHgH.mjs").then((mod) => mod.default),
|
|
12
|
+
query: () => import("./query-Cc-9oPsW.mjs").then((mod) => mod.default),
|
|
13
|
+
create: () => import("./create-DN8us8si.mjs").then((mod) => mod.default),
|
|
14
|
+
update: () => import("./update-DzKPxRBE.mjs").then((mod) => mod.default),
|
|
15
|
+
archive: () => import("./archive-BJ6uL3hh.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-C1bUYXn7.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-jWkzCPlL.mjs";
|
|
4
4
|
import { renderList } from "./capabilities-7L9GVMd_.mjs";
|
|
5
|
-
import { parseId } from "./parse-id
|
|
5
|
+
import { parseId } from "./parse-id-CWRJlQVK.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-C1bUYXn7.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-BKaQjcmP.mjs").then((mod) => mod.default),
|
|
62
|
+
db: () => import("./db-CoVdkdVm.mjs").then((mod) => mod.default),
|
|
63
|
+
table: () => import("./table-DYI8K12W.mjs").then((mod) => mod.default),
|
|
64
|
+
field: () => import("./field-B5bptFqL.mjs").then((mod) => mod.default),
|
|
65
|
+
card: () => import("./card-CGBvUmCW.mjs").then((mod) => mod.default),
|
|
66
|
+
dashboard: () => import("./dashboard-BDb2krMr.mjs").then((mod) => mod.default),
|
|
67
|
+
collection: () => import("./collection-Ch7pPKHD.mjs").then((mod) => mod.default),
|
|
68
|
+
document: () => import("./document-BA2S1ev3.mjs").then((mod) => mod.default),
|
|
69
|
+
transform: () => import("./transform-CvbMbJtI.mjs").then((mod) => mod.default),
|
|
70
|
+
"transform-job": () => import("./transform-job-CtzgvccZ.mjs").then((mod) => mod.default),
|
|
71
|
+
setting: () => import("./setting-CuxO4T1n.mjs").then((mod) => mod.default),
|
|
72
|
+
search: () => import("./search-DB2joPgt.mjs").then((mod) => mod.default),
|
|
73
|
+
"git-sync": () => import("./git-sync-DqJmONiB.mjs").then((mod) => mod.default),
|
|
74
|
+
setup: () => import("./setup-Bn4jwxdl.mjs").then((mod) => mod.default),
|
|
75
|
+
snippet: () => import("./snippet-C9UM6NwC.mjs").then((mod) => mod.default),
|
|
76
|
+
segment: () => import("./segment-BWcyA1P-.mjs").then((mod) => mod.default),
|
|
77
|
+
measure: () => import("./measure-DBX4k13t.mjs").then((mod) => mod.default),
|
|
78
|
+
eid: () => import("./eid-ZOyix96k.mjs").then((mod) => mod.default),
|
|
79
|
+
query: () => import("./query-Do5n5SZc.mjs").then((mod) => mod.default),
|
|
80
|
+
uuid: () => import("./uuid-DywghRXO.mjs").then((mod) => mod.default),
|
|
81
|
+
upgrade: () => import("./upgrade-DdCxE9Ml.mjs").then((mod) => mod.default),
|
|
82
|
+
skills: () => import("./skills-Db1r65S5.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-DSJwMHXB.mjs").then((mod) => mod.default),
|
|
11
|
+
get: () => import("./get-C0emTO1r.mjs").then((mod) => mod.default),
|
|
12
|
+
items: () => import("./items-D3AmbIOO.mjs").then((mod) => mod.default),
|
|
13
|
+
tree: () => import("./tree-BEPw6xbY.mjs").then((mod) => mod.default),
|
|
14
|
+
create: () => import("./create-84jcfY4N.mjs").then((mod) => mod.default),
|
|
15
|
+
archive: () => import("./archive-y-_m3XID.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-jWkzCPlL.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-C1bUYXn7.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-jWkzCPlL.mjs";
|
|
4
4
|
import { renderSummary } from "./capabilities-7L9GVMd_.mjs";
|
|
5
5
|
import "./input-xewHccej.mjs";
|
|
6
|
-
import { readBody } from "./body-
|
|
6
|
+
import { readBody } from "./body-DCQg78AF.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,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-C1bUYXn7.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-jWkzCPlL.mjs";
|
|
4
4
|
import { renderSummary } from "./capabilities-7L9GVMd_.mjs";
|
|
5
5
|
import "./input-xewHccej.mjs";
|
|
6
|
-
import { readBody } from "./body-
|
|
6
|
+
import { readBody } from "./body-DCQg78AF.mjs";
|
|
7
7
|
import { bodyInputFlags } from "./body-flags-D78h_-Ua.mjs";
|
|
8
8
|
import { Snippet, SnippetCreateInput, snippetView } from "./snippet-BZvo05ua.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-C1bUYXn7.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-jWkzCPlL.mjs";
|
|
4
4
|
import { renderSummary } from "./capabilities-7L9GVMd_.mjs";
|
|
5
5
|
import "./input-xewHccej.mjs";
|
|
6
6
|
import "./field-MGxpNQUH.mjs";
|
|
7
7
|
import "./card-DnIeMmUn.mjs";
|
|
8
|
-
import { readBody } from "./body-
|
|
8
|
+
import { readBody } from "./body-DCQg78AF.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-DjSPp3Ct.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-C1bUYXn7.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-jWkzCPlL.mjs";
|
|
4
4
|
import { renderSummary } from "./capabilities-7L9GVMd_.mjs";
|
|
5
5
|
import "./input-xewHccej.mjs";
|
|
6
|
-
import { readBody } from "./body-
|
|
6
|
+
import { readBody } from "./body-DCQg78AF.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,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-C1bUYXn7.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-jWkzCPlL.mjs";
|
|
4
4
|
import { renderSummary } from "./capabilities-7L9GVMd_.mjs";
|
|
5
5
|
import "./input-xewHccej.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-DCQg78AF.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,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-C1bUYXn7.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-jWkzCPlL.mjs";
|
|
4
4
|
import { renderSummary } from "./capabilities-7L9GVMd_.mjs";
|
|
5
5
|
import "./input-xewHccej.mjs";
|
|
6
|
-
import { readBody } from "./body-
|
|
6
|
+
import { readBody } from "./body-DCQg78AF.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-CBCApZJf.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-C1bUYXn7.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-jWkzCPlL.mjs";
|
|
4
4
|
import { renderSummary } from "./capabilities-7L9GVMd_.mjs";
|
|
5
5
|
import "./input-xewHccej.mjs";
|
|
6
|
-
import { readBody } from "./body-
|
|
6
|
+
import { readBody } from "./body-DCQg78AF.mjs";
|
|
7
7
|
import { bodyInputFlags } from "./body-flags-D78h_-Ua.mjs";
|
|
8
8
|
import { Document, DocumentCreateInput, documentView } from "./document-CcfiiV3b.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-C1bUYXn7.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-jWkzCPlL.mjs";
|
|
4
4
|
import { renderSummary } from "./capabilities-7L9GVMd_.mjs";
|
|
5
5
|
import "./input-xewHccej.mjs";
|
|
6
|
-
import { readBody } from "./body-
|
|
6
|
+
import { readBody } from "./body-DCQg78AF.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,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-C1bUYXn7.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-jWkzCPlL.mjs";
|
|
4
4
|
import { renderSummary } from "./capabilities-7L9GVMd_.mjs";
|
|
5
|
-
import "./poll-
|
|
6
|
-
import { REMOTE_SYNC_PATHS } from "./poll-task-
|
|
5
|
+
import "./poll-hJrV0cPm.mjs";
|
|
6
|
+
import { REMOTE_SYNC_PATHS } from "./poll-task-DK6X9Juu.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-C1bUYXn7.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-jWkzCPlL.mjs";
|
|
4
4
|
import { renderSummary } from "./capabilities-7L9GVMd_.mjs";
|
|
5
5
|
import "./input-xewHccej.mjs";
|
|
6
|
-
import { readBody } from "./body-
|
|
6
|
+
import { readBody } from "./body-DCQg78AF.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-C1bUYXn7.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-jWkzCPlL.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-hJrV0cPm.mjs";
|
|
6
|
+
import { SyncTaskOrIdle, fetchCurrentTask, formatSyncTask, syncTaskIdleView, syncTaskView } from "./poll-task-DK6X9Juu.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-BHCVZh7Q.mjs").then((mod) => mod.default),
|
|
11
|
+
get: () => import("./get-157SWRte.mjs").then((mod) => mod.default),
|
|
12
|
+
cards: () => import("./cards-B7HE8BT6.mjs").then((mod) => mod.default),
|
|
13
|
+
create: () => import("./create-BQA6nM5n.mjs").then((mod) => mod.default),
|
|
14
|
+
update: () => import("./update-Bd0ASKUG.mjs").then((mod) => mod.default),
|
|
15
|
+
"update-dashcard": () => import("./update-dashcard-7bZtw04E.mjs").then((mod) => mod.default),
|
|
16
|
+
archive: () => import("./archive-ibJVYsBC.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-BtTRJyrR.mjs").then((m) => m.default),
|
|
12
|
+
get: () => import("./get-DlzC0xCg.mjs").then((m) => m.default),
|
|
13
|
+
metadata: () => import("./metadata-BKcyjsoA.mjs").then((m) => m.default),
|
|
14
|
+
schemas: () => import("./schemas-Br1cpOZc.mjs").then((m) => m.default),
|
|
15
|
+
"schema-tables": () => import("./schema-tables-CZ6EMHUZ.mjs").then((m) => m.default),
|
|
16
|
+
"sync-schema": () => import("./sync-schema-BVHvjzGX.mjs").then((m) => m.default),
|
|
17
|
+
"rescan-values": () => import("./rescan-values-CHluR3JC.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-C1bUYXn7.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-jWkzCPlL.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-CWRJlQVK.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-C1bUYXn7.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-jWkzCPlL.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-CWRJlQVK.mjs";
|
|
7
7
|
import { DeleteResult, confirmAndDelete } from "./delete-runtime-CjFc69tS.mjs";
|
|
8
8
|
|
|
9
9
|
//#region src/commands/transform/delete.ts
|