@metabase/cli 0.1.14 → 0.1.15
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/README.md +33 -0
- package/dist/add-collection-Bnuh0d4j.mjs +10 -0
- package/dist/{add-collection-Cubho2HN.mjs → add-collection-CXhrMjXU.mjs} +4 -4
- package/dist/{archive-C8G0KIPI.mjs → archive-BUwiCFnd.mjs} +3 -3
- package/dist/{archive-F2g-bAXf.mjs → archive-Blc1dz8Z.mjs} +3 -3
- package/dist/{archive-BBboJ-z3.mjs → archive-BxGSR7El.mjs} +3 -3
- package/dist/{archive-D6eMYNI5.mjs → archive-CQiaCBSj.mjs} +3 -3
- package/dist/{archive-BrzOTxSA.mjs → archive-D-Ovk0-E.mjs} +3 -3
- package/dist/{archive-DTN6Anme.mjs → archive-Drt-rWvU.mjs} +3 -3
- package/dist/{archive-DCIwtfv0.mjs → archive-yTvDRQUZ.mjs} +3 -3
- package/dist/auth-Bkue4Psy.mjs +19 -0
- package/dist/{body-CXpIB6hY.mjs → body-B9XTTDEu.mjs} +1 -1
- package/dist/{branches-r9SVJIV5.mjs → branches-Ct3PK5U3.mjs} +4 -4
- package/dist/{cancel-BbLZsVYQ.mjs → cancel-tST8Bh0w.mjs} +3 -3
- package/dist/{cancel-task-CojB-8XX.mjs → cancel-task-BHnzRQKL.mjs} +4 -4
- package/dist/card-faWo9ZWU.mjs +20 -0
- package/dist/{cards-e9Wgnbnq.mjs → cards-BySIFsLG.mjs} +3 -3
- package/dist/cli.mjs +24 -24
- package/dist/collection-DcRz7fmf.mjs +20 -0
- package/dist/{collection-namespace-DmKMqLr0.mjs → collection-namespace-D8ohM5gD.mjs} +1 -1
- package/dist/{create-C5-JhEUc.mjs → create-4mAGsBd0.mjs} +3 -3
- package/dist/{create-Cq-ay6cJ.mjs → create-BDWthCYq.mjs} +3 -3
- package/dist/{create-BzKW27Hh.mjs → create-C43RQYgj.mjs} +4 -4
- package/dist/{create-DFMpgUvH.mjs → create-C7FPeJqF.mjs} +3 -3
- package/dist/{create-Bbe2EM9f.mjs → create-D3cVDtxM.mjs} +3 -3
- package/dist/{create-C4G_z8qO.mjs → create-DGxZmbxh.mjs} +4 -4
- package/dist/{create-Bu9edPBn.mjs → create-DnT1Sayk.mjs} +3 -3
- package/dist/{create-onFRzFwS.mjs → create-DxDD6n1d.mjs} +5 -5
- package/dist/{create-Bz4hf7W0.mjs → create-HZ-9GMLx.mjs} +4 -4
- package/dist/{create-branch--GJ_RxIN.mjs → create-branch-jPE7nW-E.mjs} +4 -4
- package/dist/{create-UzeYyGq6.mjs → create-fIDFkdox.mjs} +3 -3
- package/dist/{current-task-C0mMBzdB.mjs → current-task-rW54KJax.mjs} +4 -4
- package/dist/dashboard-pXAxJTTx.mjs +21 -0
- package/dist/db-CmHHj5eI.mjs +22 -0
- package/dist/{delete-CGw1hwGZ.mjs → delete-BWO6uB4P.mjs} +4 -4
- package/dist/{delete-Dbzs51x3.mjs → delete-CBwztF6P.mjs} +4 -4
- package/dist/{delete-CxTPHzom.mjs → delete-CeigtfRI.mjs} +4 -4
- package/dist/{delete-table-B6obSpLU.mjs → delete-table-BXzvDEPG.mjs} +4 -4
- package/dist/{dependencies-DfkbJqzQ.mjs → dependencies-D2N9eqm1.mjs} +4 -4
- package/dist/{dirty-BqL_DE6p.mjs → dirty-DoEZRSGB.mjs} +4 -4
- package/dist/document-DQIhL75C.mjs +19 -0
- package/dist/{eid-C31VGHAM.mjs → eid-1mROiwJr.mjs} +3 -3
- package/dist/{error-BOi_ux9O.mjs → error-D5bZ5BUX.mjs} +1 -1
- package/dist/{export--_0e40xU.mjs → export-Bgv5B4_F.mjs} +6 -6
- package/dist/field-B-UcqFzm.mjs +18 -0
- package/dist/{fields-BRiL6KEF.mjs → fields-VA7tXHJz.mjs} +3 -3
- package/dist/{get-C6njgZmF.mjs → get-B8etVxWD.mjs} +3 -3
- package/dist/{get-CcGU3YaY.mjs → get-BgIE_YEg.mjs} +4 -4
- package/dist/{get-CCyfx_AY.mjs → get-BtAD26gc.mjs} +3 -3
- package/dist/{get-DMeF2FLQ.mjs → get-C-UeGtgW.mjs} +2 -2
- package/dist/{get-B_TdMKu-.mjs → get-CGkhSY5L.mjs} +3 -3
- package/dist/{get-ev4Zw3Gj.mjs → get-CqnCaosn.mjs} +3 -3
- package/dist/{get-DQOvqH9P.mjs → get-D9o38nK5.mjs} +2 -2
- package/dist/{get-LJam7ZQ-.mjs → get-DAsaor0n.mjs} +2 -2
- package/dist/{get-B2-RLrYJ.mjs → get-DLRBq8kR.mjs} +3 -3
- package/dist/{get-C-o2-vnf.mjs → get-DvQoDU2m.mjs} +4 -4
- package/dist/{get--bNbxDkk.mjs → get-RQFSmnpY.mjs} +3 -3
- package/dist/{get-Cs7a7s2Z.mjs → get-Wj88mnhn.mjs} +3 -3
- package/dist/{get-B-phl324.mjs → get-eUYDNALt.mjs} +3 -3
- package/dist/{get-DGZw_U0s.mjs → get-qnGGGRTa.mjs} +3 -3
- package/dist/{get-run-Cp7ATZPQ.mjs → get-run-CATz-XMS.mjs} +4 -4
- package/dist/git-sync-CwOvcUI2.mjs +28 -0
- package/dist/{has-remote-changes-Bw_Xp9Ii.mjs → has-remote-changes-B6YEMC90.mjs} +4 -4
- package/dist/{import-BmoC0ECq.mjs → import-Bl2Wj9Xf.mjs} +6 -6
- package/dist/{is-dirty-BDmXm34E.mjs → is-dirty-D9MoFj0T.mjs} +3 -3
- package/dist/is-dirty-MT0BT4CS.mjs +9 -0
- package/dist/{items-BI-O48Sc.mjs → items-LjtICjvX.mjs} +3 -3
- package/dist/{list-JCMQ06wX.mjs → list-B5Q7E2Km.mjs} +3 -3
- package/dist/{list-BcSjOiK1.mjs → list-Bjp9nd0o.mjs} +2 -2
- package/dist/{list-Cqvt6gpK.mjs → list-C410Ptw_.mjs} +2 -2
- package/dist/{list-CRUjh592.mjs → list-C6U3Ftg8.mjs} +3 -3
- package/dist/{list-Cz_2UyGV.mjs → list-CfWblVHJ.mjs} +2 -2
- package/dist/{list-Cju3N2kB.mjs → list-ChK06rJh.mjs} +2 -2
- package/dist/{list-DIFjjwBV.mjs → list-CoRX8Ruc.mjs} +2 -2
- package/dist/{list-RC1HQ2dg.mjs → list-Cx8JxS2C.mjs} +2 -2
- package/dist/{list-B7g2c9K7.mjs → list-DMik04Dh.mjs} +3 -3
- package/dist/{list-DM-Oa-oB.mjs → list-DaJk60dd.mjs} +3 -3
- package/dist/{list-CNeaMSjy.mjs → list-DcjenlTM.mjs} +2 -2
- package/dist/{list-BkEFHJe8.mjs → list-DfoNv0gb.mjs} +2 -2
- package/dist/{list-DhWVjE6U.mjs → list-Dq86BAMG.mjs} +2 -2
- package/dist/{list-CTfCgMTk.mjs → list-DtrfE0sF.mjs} +3 -3
- package/dist/{list-BE3wVc-a.mjs → list-cnqPlJgC.mjs} +2 -2
- package/dist/{login-BF6LkxPI.mjs → login-Cn2UtFUt.mjs} +3 -3
- package/dist/{logout-Cg8Z_XD_.mjs → logout-_HXgEmqA.mjs} +2 -2
- package/dist/measure-BIAoqgcS.mjs +19 -0
- package/dist/{metadata-CmvvOpKI.mjs → metadata-8yqT8OZI.mjs} +3 -3
- package/dist/{metadata-B15u_YYT.mjs → metadata-DHODjg1d.mjs} +3 -3
- package/dist/{parse-id-DMs04KM3.mjs → parse-id-DNPeV0Iu.mjs} +1 -1
- package/dist/{path-YsfpMb_h.mjs → path-BflajM08.mjs} +2 -2
- package/dist/{poll-13tgWrN_.mjs → poll-CYkX02Bm.mjs} +1 -1
- package/dist/{poll-task-BuAHsDEK.mjs → poll-task-oXpl3wzp.mjs} +2 -2
- package/dist/{preflight-wCSgVqbX.mjs → preflight-BdJr2amA.mjs} +1 -1
- package/dist/publish-CGUkIqSm.mjs +70 -0
- package/dist/{query-DnYdI0fl.mjs → query-CxTjguwp.mjs} +3 -3
- package/dist/{query-x6g6unDt.mjs → query-DWQaN7hO.mjs} +3 -3
- package/dist/{remove-collection-CLTqx7ys.mjs → remove-collection-BwcFi8Fs.mjs} +6 -6
- package/dist/{rescan-values-C7b78yA2.mjs → rescan-values-B9Qtsd32.mjs} +3 -3
- package/dist/{run-CsYI4Sqv.mjs → run-3eFtdI2Z.mjs} +6 -6
- package/dist/{run-DR5O1_EU.mjs → run-C-vftXCu.mjs} +3 -3
- package/dist/{runs-DWbtqOyw.mjs → runs-CpRTkn1W.mjs} +4 -4
- package/dist/{runtime-7JTC-usO.mjs → runtime-C1QgWHM7.mjs} +1 -1
- package/dist/{schema-tables-Cte09dhE.mjs → schema-tables-rdeupgsu.mjs} +3 -3
- package/dist/{schemas-DAmSPGiC.mjs → schemas-Cr7RjYqV.mjs} +3 -3
- package/dist/{search-Di-SFcZm.mjs → search-D7Yq2MDu.mjs} +3 -3
- package/dist/segment-BN8sFunv.mjs +19 -0
- package/dist/selectors-DPc2ZDdd.mjs +37 -0
- package/dist/{set-C1rIETEg.mjs → set-X2N6x7pe.mjs} +3 -3
- package/dist/{set-active-CJ1VaxEC.mjs → set-active-BoBa3pOw.mjs} +2 -2
- package/dist/{setting-6WqN3L3F.mjs → setting-zZjcOPyE.mjs} +3 -3
- package/dist/{setup-DbXhTopr.mjs → setup-C47WUieB.mjs} +3 -3
- package/dist/{skills-CfWrH-1L.mjs → skills-Po0YPVU5.mjs} +3 -3
- package/dist/snippet-DK0ZA8m5.mjs +19 -0
- package/dist/{stash-BCNSzoYQ.mjs → stash-BV4sEp73.mjs} +6 -6
- package/dist/{status-CG3Lbl5_.mjs → status-BKF9rRnk.mjs} +5 -5
- package/dist/{status-BocNdqNq.mjs → status-Cf8c0NON.mjs} +2 -2
- package/dist/{summary-TApK2JbW.mjs → summary-RgLcBcEh.mjs} +3 -3
- package/dist/{sync-schema-COA-OlO3.mjs → sync-schema-DKEel2Sv.mjs} +5 -5
- package/dist/table-COAKXNuj.mjs +21 -0
- package/dist/transform-Bto4U82j.mjs +25 -0
- package/dist/transform-job-_fW1y2tg.mjs +22 -0
- package/dist/transform-tag-C8n1oTr1.mjs +18 -0
- package/dist/{transforms-Bo4u0YqS.mjs → transforms-BOQ9CG0l.mjs} +4 -4
- package/dist/{tree-CGh-ZG4n.mjs → tree-CF8mscd9.mjs} +2 -2
- package/dist/unpublish-CmaRNjK3.mjs +76 -0
- package/dist/{update-CCIkTuxz.mjs → update-B59h7KmS.mjs} +5 -5
- package/dist/{update-BuJjTYAx.mjs → update-BXZBEeUp.mjs} +4 -4
- package/dist/{update-Br_cd74H.mjs → update-BuypOaXq.mjs} +4 -4
- package/dist/{update-ysNL-mE-.mjs → update-CgQOSuZt.mjs} +4 -4
- package/dist/{update-Bob7lvnr.mjs → update-DERsb0eO.mjs} +5 -5
- package/dist/{update-DLQygCXg.mjs → update-DQPg0_-d.mjs} +4 -4
- package/dist/{update-ETzjZl17.mjs → update-DR4WkAET.mjs} +4 -4
- package/dist/{update-DtUhmJar.mjs → update-DoQpy9SA.mjs} +4 -4
- package/dist/{update-DCvTlxUK.mjs → update-Kz4kyqY_.mjs} +5 -5
- package/dist/{update-dashcard-Du-h_8oY.mjs → update-dashcard-BJVeSGvO.mjs} +4 -4
- package/dist/{update-ZPsCSWR6.mjs → update-nwXgVNQa.mjs} +6 -6
- package/dist/{update-Co4WLVkK.mjs → update-rhfPHALN.mjs} +4 -4
- package/dist/{upgrade-CavKMkQ4.mjs → upgrade-CNrkJF6s.mjs} +2 -2
- package/dist/{uuid-BL33x41p.mjs → uuid-Dpl3ALKq.mjs} +2 -2
- package/dist/{values-DVu97Fcd.mjs → values-DMYpkoEH.mjs} +3 -3
- package/dist/{verify-BLUei79N.mjs → verify-By9ZYzx4.mjs} +1 -1
- package/dist/{wait-C0P8Qt37.mjs → wait-BzIAj8lJ.mjs} +5 -5
- package/dist/{wait-flags-Z_JC7x4L.mjs → wait-flags-DQrxnlwv.mjs} +2 -2
- package/package.json +1 -1
- package/skill-data/core/SKILL.md +1 -0
- package/dist/add-collection-Cdhj6DJb.mjs +0 -10
- package/dist/auth-D4cXDeiH.mjs +0 -19
- package/dist/card-BMN-mcxn.mjs +0 -20
- package/dist/collection-DZnA3zXr.mjs +0 -20
- package/dist/dashboard-PB_c3Irl.mjs +0 -21
- package/dist/db-q0lYg3k8.mjs +0 -22
- package/dist/document-4TwzGwl3.mjs +0 -19
- package/dist/field-Bi_O_Sdg.mjs +0 -18
- package/dist/git-sync-BOZdFF09.mjs +0 -28
- package/dist/is-dirty-B6usK-aU.mjs +0 -9
- package/dist/measure-BRzkMY5y.mjs +0 -19
- package/dist/segment-DiHHHk2a.mjs +0 -19
- package/dist/snippet-B-anQo6y.mjs +0 -19
- package/dist/table-Bnj8IBKx.mjs +0 -19
- package/dist/transform-QCDItglq.mjs +0 -25
- package/dist/transform-job-Dawm4Lag.mjs +0 -22
- package/dist/transform-tag-CN-bTSne.mjs +0 -18
- /package/dist/{delete-runtime-BhZAAvjc.mjs → delete-runtime-PzLFavb0.mjs} +0 -0
- /package/dist/{transform-job-B9pXBOwr.mjs → transform-job-C8lIS-7Q.mjs} +0 -0
- /package/dist/{transform-qczxOAzn.mjs → transform-n376akp8.mjs} +0 -0
- /package/dist/{transform-tag-BLAbrywB.mjs → transform-tag-DB46AhAj.mjs} +0 -0
package/README.md
CHANGED
|
@@ -469,6 +469,39 @@ mb table update 42 --file patch.json
|
|
|
469
469
|
echo '{"description":"Customer dimension"}' | mb table update 42
|
|
470
470
|
```
|
|
471
471
|
|
|
472
|
+
### `mb table publish`
|
|
473
|
+
|
|
474
|
+
Publish tables to a library collection (`POST /api/ee/data-studio/table/publish-tables`), surfacing them as trusted data sources. The selected tables and every upstream table they depend on are set to the target `library-data` collection. Select tables with `--table-ids`, whole databases with `--db-ids`, or schemas with `--schemas` — the filters are combined. Requires the `library` premium feature.
|
|
475
|
+
|
|
476
|
+
```sh
|
|
477
|
+
mb table publish --collection-id 12 --table-ids 1,2,3
|
|
478
|
+
mb table publish --collection-id 12 --db-ids 1 --json
|
|
479
|
+
mb table publish --collection-id 12 --schemas 1:public,1:analytics
|
|
480
|
+
```
|
|
481
|
+
|
|
482
|
+
| Flag | Description |
|
|
483
|
+
| ---------------------- | ----------------------------------------------------------------- |
|
|
484
|
+
| `--collection-id <id>` | Target library collection id (required). |
|
|
485
|
+
| `--table-ids <ids>` | Comma-separated table ids. |
|
|
486
|
+
| `--db-ids <ids>` | Comma-separated database ids. |
|
|
487
|
+
| `--schemas <ids>` | Comma-separated schema ids, each `<db-id>:<schema>` (`1:public`). |
|
|
488
|
+
|
|
489
|
+
### `mb table unpublish`
|
|
490
|
+
|
|
491
|
+
Unpublish tables from the library (`POST /api/ee/data-studio/table/unpublish-tables`). Clears the library collection for the selected tables and every downstream table that depends on them. Same selector flags as `publish` (minus `--collection-id`). Requires the `library` premium feature.
|
|
492
|
+
|
|
493
|
+
```sh
|
|
494
|
+
mb table unpublish --table-ids 1,2,3
|
|
495
|
+
mb table unpublish --db-ids 1 --json
|
|
496
|
+
mb table unpublish --schemas 1:public,1:analytics
|
|
497
|
+
```
|
|
498
|
+
|
|
499
|
+
| Flag | Description |
|
|
500
|
+
| ------------------- | ----------------------------------------------------------------- |
|
|
501
|
+
| `--table-ids <ids>` | Comma-separated table ids. |
|
|
502
|
+
| `--db-ids <ids>` | Comma-separated database ids. |
|
|
503
|
+
| `--schemas <ids>` | Comma-separated schema ids, each `<db-id>:<schema>` (`1:public`). |
|
|
504
|
+
|
|
472
505
|
## Fields
|
|
473
506
|
|
|
474
507
|
Inspect and edit individual columns via `/api/field`.
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import "./command-augment-CAur0XOQ.mjs";
|
|
2
|
+
import "./error-D5bZ5BUX.mjs";
|
|
3
|
+
import "./runtime-C1QgWHM7.mjs";
|
|
4
|
+
import "./capabilities-BX1rnVuH.mjs";
|
|
5
|
+
import "./parse-id-DNPeV0Iu.mjs";
|
|
6
|
+
import "./poll-CYkX02Bm.mjs";
|
|
7
|
+
import "./poll-task-oXpl3wzp.mjs";
|
|
8
|
+
import { SyncSettingsUpdateResult, add_collection_default, setCollectionRemoteSynced, syncSettingsUpdateView } from "./add-collection-CXhrMjXU.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-D5bZ5BUX.mjs";
|
|
2
|
+
import { defineMetabaseCommand } from "./runtime-C1QgWHM7.mjs";
|
|
3
3
|
import { renderSummary } from "./capabilities-BX1rnVuH.mjs";
|
|
4
|
-
import { parseId } from "./parse-id-
|
|
5
|
-
import { REMOTE_SYNC_PATHS } from "./poll-task-
|
|
4
|
+
import { parseId } from "./parse-id-DNPeV0Iu.mjs";
|
|
5
|
+
import { REMOTE_SYNC_PATHS } from "./poll-task-oXpl3wzp.mjs";
|
|
6
6
|
import { z } from "zod";
|
|
7
7
|
|
|
8
8
|
//#region src/commands/git-sync/add-collection.ts
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import "./command-augment-CAur0XOQ.mjs";
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-D5bZ5BUX.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-C1QgWHM7.mjs";
|
|
4
4
|
import { renderSummary } from "./capabilities-BX1rnVuH.mjs";
|
|
5
5
|
import "./field-E0IBy4Uw.mjs";
|
|
6
6
|
import { Card, cardView } from "./card-wCPcuKSi.mjs";
|
|
7
|
-
import { parseId } from "./parse-id-
|
|
7
|
+
import { parseId } from "./parse-id-DNPeV0Iu.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-CAur0XOQ.mjs";
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-D5bZ5BUX.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-C1QgWHM7.mjs";
|
|
4
4
|
import { renderSummary } from "./capabilities-BX1rnVuH.mjs";
|
|
5
|
-
import { parseId } from "./parse-id-
|
|
5
|
+
import { parseId } from "./parse-id-DNPeV0Iu.mjs";
|
|
6
6
|
import { revisionMessageFlag } from "./revision-message-flag-C7zBeWEt.mjs";
|
|
7
7
|
import { Segment, segmentView } from "./segment-B9SEv9V_.mjs";
|
|
8
8
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "./command-augment-CAur0XOQ.mjs";
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-D5bZ5BUX.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-C1QgWHM7.mjs";
|
|
4
4
|
import { renderSummary } from "./capabilities-BX1rnVuH.mjs";
|
|
5
|
-
import { parseId } from "./parse-id-
|
|
5
|
+
import { parseId } from "./parse-id-DNPeV0Iu.mjs";
|
|
6
6
|
import { Dashboard, dashboardView } from "./dashboard-B4bn3z6t.mjs";
|
|
7
7
|
|
|
8
8
|
//#region src/commands/dashboard/archive.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "./command-augment-CAur0XOQ.mjs";
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-D5bZ5BUX.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-C1QgWHM7.mjs";
|
|
4
4
|
import { renderSummary } from "./capabilities-BX1rnVuH.mjs";
|
|
5
|
-
import { parseId } from "./parse-id-
|
|
5
|
+
import { parseId } from "./parse-id-DNPeV0Iu.mjs";
|
|
6
6
|
import { Collection, collectionView } from "./collection-Deiziuu2.mjs";
|
|
7
7
|
|
|
8
8
|
//#region src/commands/collection/archive.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "./command-augment-CAur0XOQ.mjs";
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-D5bZ5BUX.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-C1QgWHM7.mjs";
|
|
4
4
|
import { renderSummary } from "./capabilities-BX1rnVuH.mjs";
|
|
5
|
-
import { parseId } from "./parse-id-
|
|
5
|
+
import { parseId } from "./parse-id-DNPeV0Iu.mjs";
|
|
6
6
|
import { Snippet, snippetView } from "./snippet-NNzqlksR.mjs";
|
|
7
7
|
|
|
8
8
|
//#region src/commands/snippet/archive.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "./command-augment-CAur0XOQ.mjs";
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-D5bZ5BUX.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-C1QgWHM7.mjs";
|
|
4
4
|
import { renderSummary } from "./capabilities-BX1rnVuH.mjs";
|
|
5
|
-
import { parseId } from "./parse-id-
|
|
5
|
+
import { parseId } from "./parse-id-DNPeV0Iu.mjs";
|
|
6
6
|
import { Measure, measureView } from "./measure-JJAdFoqK.mjs";
|
|
7
7
|
import { revisionMessageFlag } from "./revision-message-flag-C7zBeWEt.mjs";
|
|
8
8
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "./command-augment-CAur0XOQ.mjs";
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-D5bZ5BUX.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-C1QgWHM7.mjs";
|
|
4
4
|
import { renderSummary } from "./capabilities-BX1rnVuH.mjs";
|
|
5
|
-
import { parseId } from "./parse-id-
|
|
5
|
+
import { parseId } from "./parse-id-DNPeV0Iu.mjs";
|
|
6
6
|
import { Document, documentView } from "./document-qfwR0r63.mjs";
|
|
7
7
|
|
|
8
8
|
//#region src/commands/document/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-Cn2UtFUt.mjs").then((m) => m.default),
|
|
12
|
+
status: () => import("./status-Cf8c0NON.mjs").then((m) => m.default),
|
|
13
|
+
list: () => import("./list-C6U3Ftg8.mjs").then((m) => m.default),
|
|
14
|
+
logout: () => import("./logout-_HXgEmqA.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-CAur0XOQ.mjs";
|
|
2
|
-
import { parseJson } from "./runtime-
|
|
2
|
+
import { parseJson } from "./runtime-C1QgWHM7.mjs";
|
|
3
3
|
import { DEFAULT_FLAG_NAME, readInput } from "./input-BXWgdKiS.mjs";
|
|
4
4
|
|
|
5
5
|
//#region src/runtime/body.ts
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "./command-augment-CAur0XOQ.mjs";
|
|
2
|
-
import { connectionFlags, listEnvelopeSchema, outputFlags, profileFlag, wrapList } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
2
|
+
import { connectionFlags, listEnvelopeSchema, outputFlags, profileFlag, wrapList } from "./error-D5bZ5BUX.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-C1QgWHM7.mjs";
|
|
4
4
|
import { renderList } from "./capabilities-BX1rnVuH.mjs";
|
|
5
|
-
import "./poll-
|
|
6
|
-
import { REMOTE_SYNC_PATHS } from "./poll-task-
|
|
5
|
+
import "./poll-CYkX02Bm.mjs";
|
|
6
|
+
import { REMOTE_SYNC_PATHS } from "./poll-task-oXpl3wzp.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-CAur0XOQ.mjs";
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-D5bZ5BUX.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-C1QgWHM7.mjs";
|
|
4
4
|
import { renderSummary } from "./capabilities-BX1rnVuH.mjs";
|
|
5
|
-
import { parseId } from "./parse-id-
|
|
5
|
+
import { parseId } from "./parse-id-DNPeV0Iu.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-CAur0XOQ.mjs";
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-D5bZ5BUX.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-C1QgWHM7.mjs";
|
|
4
4
|
import { renderSummary } from "./capabilities-BX1rnVuH.mjs";
|
|
5
|
-
import "./poll-
|
|
6
|
-
import { REMOTE_SYNC_PATHS, SyncTask, syncTaskView } from "./poll-task-
|
|
5
|
+
import "./poll-CYkX02Bm.mjs";
|
|
6
|
+
import { REMOTE_SYNC_PATHS, SyncTask, syncTaskView } from "./poll-task-oXpl3wzp.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-C410Ptw_.mjs").then((mod) => mod.default),
|
|
11
|
+
get: () => import("./get-Wj88mnhn.mjs").then((mod) => mod.default),
|
|
12
|
+
query: () => import("./query-DWQaN7hO.mjs").then((mod) => mod.default),
|
|
13
|
+
create: () => import("./create-4mAGsBd0.mjs").then((mod) => mod.default),
|
|
14
|
+
update: () => import("./update-rhfPHALN.mjs").then((mod) => mod.default),
|
|
15
|
+
archive: () => import("./archive-BUwiCFnd.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-CAur0XOQ.mjs";
|
|
2
|
-
import { connectionFlags, listEnvelopeSchema, outputFlags, profileFlag, wrapList } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
2
|
+
import { connectionFlags, listEnvelopeSchema, outputFlags, profileFlag, wrapList } from "./error-D5bZ5BUX.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-C1QgWHM7.mjs";
|
|
4
4
|
import { renderList } from "./capabilities-BX1rnVuH.mjs";
|
|
5
|
-
import { parseId } from "./parse-id-
|
|
5
|
+
import { parseId } from "./parse-id-DNPeV0Iu.mjs";
|
|
6
6
|
import { DashboardDetail, DashcardCompact, dashcardView } from "./dashboard-B4bn3z6t.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-CAur0XOQ.mjs";
|
|
3
|
-
import { connectionFlags, outputFlags, package_default, profileFlag, reportError } from "./error-
|
|
3
|
+
import { connectionFlags, outputFlags, package_default, profileFlag, reportError } from "./error-D5bZ5BUX.mjs";
|
|
4
4
|
import { defineCommand, renderUsage, runMain } from "citty";
|
|
5
5
|
|
|
6
6
|
//#region src/commands/global-flags.ts
|
|
@@ -58,29 +58,29 @@ 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
|
-
"transform-tag": () => import("./transform-tag-
|
|
72
|
-
setting: () => import("./setting-
|
|
73
|
-
search: () => import("./search-
|
|
74
|
-
"git-sync": () => import("./git-sync-
|
|
75
|
-
setup: () => import("./setup-
|
|
76
|
-
snippet: () => import("./snippet-
|
|
77
|
-
segment: () => import("./segment-
|
|
78
|
-
measure: () => import("./measure-
|
|
79
|
-
eid: () => import("./eid-
|
|
80
|
-
query: () => import("./query-
|
|
81
|
-
uuid: () => import("./uuid-
|
|
82
|
-
upgrade: () => import("./upgrade-
|
|
83
|
-
skills: () => import("./skills-
|
|
61
|
+
auth: () => import("./auth-Bkue4Psy.mjs").then((mod) => mod.default),
|
|
62
|
+
db: () => import("./db-CmHHj5eI.mjs").then((mod) => mod.default),
|
|
63
|
+
table: () => import("./table-COAKXNuj.mjs").then((mod) => mod.default),
|
|
64
|
+
field: () => import("./field-B-UcqFzm.mjs").then((mod) => mod.default),
|
|
65
|
+
card: () => import("./card-faWo9ZWU.mjs").then((mod) => mod.default),
|
|
66
|
+
dashboard: () => import("./dashboard-pXAxJTTx.mjs").then((mod) => mod.default),
|
|
67
|
+
collection: () => import("./collection-DcRz7fmf.mjs").then((mod) => mod.default),
|
|
68
|
+
document: () => import("./document-DQIhL75C.mjs").then((mod) => mod.default),
|
|
69
|
+
transform: () => import("./transform-Bto4U82j.mjs").then((mod) => mod.default),
|
|
70
|
+
"transform-job": () => import("./transform-job-_fW1y2tg.mjs").then((mod) => mod.default),
|
|
71
|
+
"transform-tag": () => import("./transform-tag-C8n1oTr1.mjs").then((mod) => mod.default),
|
|
72
|
+
setting: () => import("./setting-zZjcOPyE.mjs").then((mod) => mod.default),
|
|
73
|
+
search: () => import("./search-D7Yq2MDu.mjs").then((mod) => mod.default),
|
|
74
|
+
"git-sync": () => import("./git-sync-CwOvcUI2.mjs").then((mod) => mod.default),
|
|
75
|
+
setup: () => import("./setup-C47WUieB.mjs").then((mod) => mod.default),
|
|
76
|
+
snippet: () => import("./snippet-DK0ZA8m5.mjs").then((mod) => mod.default),
|
|
77
|
+
segment: () => import("./segment-BN8sFunv.mjs").then((mod) => mod.default),
|
|
78
|
+
measure: () => import("./measure-BIAoqgcS.mjs").then((mod) => mod.default),
|
|
79
|
+
eid: () => import("./eid-1mROiwJr.mjs").then((mod) => mod.default),
|
|
80
|
+
query: () => import("./query-CxTjguwp.mjs").then((mod) => mod.default),
|
|
81
|
+
uuid: () => import("./uuid-Dpl3ALKq.mjs").then((mod) => mod.default),
|
|
82
|
+
upgrade: () => import("./upgrade-CNrkJF6s.mjs").then((mod) => mod.default),
|
|
83
|
+
skills: () => import("./skills-Po0YPVU5.mjs").then((mod) => mod.default),
|
|
84
84
|
__manifest: () => import("./manifest-DYeLri80.mjs").then((mod) => mod.createManifestCommand(main))
|
|
85
85
|
}
|
|
86
86
|
});
|
|
@@ -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-CfWblVHJ.mjs").then((mod) => mod.default),
|
|
11
|
+
get: () => import("./get-DAsaor0n.mjs").then((mod) => mod.default),
|
|
12
|
+
items: () => import("./items-LjtICjvX.mjs").then((mod) => mod.default),
|
|
13
|
+
tree: () => import("./tree-CF8mscd9.mjs").then((mod) => mod.default),
|
|
14
|
+
create: () => import("./create-C7FPeJqF.mjs").then((mod) => mod.default),
|
|
15
|
+
archive: () => import("./archive-CQiaCBSj.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-CAur0XOQ.mjs";
|
|
2
|
-
import { HttpError } from "./runtime-
|
|
2
|
+
import { HttpError } from "./runtime-C1QgWHM7.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,11 +1,11 @@
|
|
|
1
1
|
import "./command-augment-CAur0XOQ.mjs";
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-D5bZ5BUX.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-C1QgWHM7.mjs";
|
|
4
4
|
import { renderSummary } from "./capabilities-BX1rnVuH.mjs";
|
|
5
5
|
import "./input-BXWgdKiS.mjs";
|
|
6
6
|
import "./field-E0IBy4Uw.mjs";
|
|
7
7
|
import { Card, CardCreateInput, cardView } from "./card-wCPcuKSi.mjs";
|
|
8
|
-
import { readBody } from "./body-
|
|
8
|
+
import { readBody } from "./body-B9XTTDEu.mjs";
|
|
9
9
|
import { bodyInputFlags } from "./body-flags-D7q87Btw.mjs";
|
|
10
10
|
import "./validate-VawhJ5Sc.mjs";
|
|
11
11
|
import { CARD_DATASET_QUERY_LABELS, preflightMbql5Query, skipValidateFlag } from "./validate-query-CSV-TTnd.mjs";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "./command-augment-CAur0XOQ.mjs";
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-D5bZ5BUX.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-C1QgWHM7.mjs";
|
|
4
4
|
import { renderSummary } from "./capabilities-BX1rnVuH.mjs";
|
|
5
5
|
import "./input-BXWgdKiS.mjs";
|
|
6
|
-
import { readBody } from "./body-
|
|
6
|
+
import { readBody } from "./body-B9XTTDEu.mjs";
|
|
7
7
|
import { bodyInputFlags } from "./body-flags-D7q87Btw.mjs";
|
|
8
8
|
import { Snippet, SnippetCreateInput, snippetView } from "./snippet-NNzqlksR.mjs";
|
|
9
9
|
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import "./command-augment-CAur0XOQ.mjs";
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-D5bZ5BUX.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-C1QgWHM7.mjs";
|
|
4
4
|
import { renderSummary } from "./capabilities-BX1rnVuH.mjs";
|
|
5
5
|
import "./input-BXWgdKiS.mjs";
|
|
6
6
|
import "./field-E0IBy4Uw.mjs";
|
|
7
7
|
import "./card-wCPcuKSi.mjs";
|
|
8
|
-
import { readBody } from "./body-
|
|
8
|
+
import { readBody } from "./body-B9XTTDEu.mjs";
|
|
9
9
|
import { bodyInputFlags } from "./body-flags-D7q87Btw.mjs";
|
|
10
10
|
import "./validate-VawhJ5Sc.mjs";
|
|
11
11
|
import { Dashboard, DashboardCreateInput, DashboardDetail, dashboardView } from "./dashboard-B4bn3z6t.mjs";
|
|
12
|
-
import { preflightDashcardCardReferences, wrapChainedDashboardWriteError } from "./preflight-
|
|
12
|
+
import { preflightDashcardCardReferences, wrapChainedDashboardWriteError } from "./preflight-BdJr2amA.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-CAur0XOQ.mjs";
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-D5bZ5BUX.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-C1QgWHM7.mjs";
|
|
4
4
|
import { renderSummary } from "./capabilities-BX1rnVuH.mjs";
|
|
5
5
|
import "./input-BXWgdKiS.mjs";
|
|
6
|
-
import { readBody } from "./body-
|
|
6
|
+
import { readBody } from "./body-B9XTTDEu.mjs";
|
|
7
7
|
import { bodyInputFlags } from "./body-flags-D7q87Btw.mjs";
|
|
8
8
|
import { parseEnumFlag } from "./parse-enum-BatHQ-Gs.mjs";
|
|
9
9
|
import { Collection, CollectionCreateInput, CollectionNamespace, collectionView } from "./collection-Deiziuu2.mjs";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "./command-augment-CAur0XOQ.mjs";
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-D5bZ5BUX.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-C1QgWHM7.mjs";
|
|
4
4
|
import { renderSummary } from "./capabilities-BX1rnVuH.mjs";
|
|
5
5
|
import "./input-BXWgdKiS.mjs";
|
|
6
|
-
import { readBody } from "./body-
|
|
6
|
+
import { readBody } from "./body-B9XTTDEu.mjs";
|
|
7
7
|
import { bodyInputFlags } from "./body-flags-D7q87Btw.mjs";
|
|
8
8
|
import "./validate-VawhJ5Sc.mjs";
|
|
9
9
|
import { MEASURE_DEFINITION_LABELS, preflightMbql5Query, skipValidateFlag } from "./validate-query-CSV-TTnd.mjs";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import "./command-augment-CAur0XOQ.mjs";
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-D5bZ5BUX.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-C1QgWHM7.mjs";
|
|
4
4
|
import { renderSummary } from "./capabilities-BX1rnVuH.mjs";
|
|
5
5
|
import "./input-BXWgdKiS.mjs";
|
|
6
|
-
import { readBody } from "./body-
|
|
6
|
+
import { readBody } from "./body-B9XTTDEu.mjs";
|
|
7
7
|
import { bodyInputFlags } from "./body-flags-D7q87Btw.mjs";
|
|
8
|
-
import { TransformJob, TransformJobCreateInput, transformJobView } from "./transform-job-
|
|
8
|
+
import { TransformJob, TransformJobCreateInput, transformJobView } from "./transform-job-C8lIS-7Q.mjs";
|
|
9
9
|
|
|
10
10
|
//#region src/commands/transform-job/create.ts
|
|
11
11
|
var create_default = defineMetabaseCommand({
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "./command-augment-CAur0XOQ.mjs";
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-D5bZ5BUX.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-C1QgWHM7.mjs";
|
|
4
4
|
import { renderSummary } from "./capabilities-BX1rnVuH.mjs";
|
|
5
5
|
import "./input-BXWgdKiS.mjs";
|
|
6
|
-
import { readBody } from "./body-
|
|
6
|
+
import { readBody } from "./body-B9XTTDEu.mjs";
|
|
7
7
|
import { bodyInputFlags } from "./body-flags-D7q87Btw.mjs";
|
|
8
8
|
import { Document, DocumentCreateInput, documentView } from "./document-qfwR0r63.mjs";
|
|
9
9
|
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import "./command-augment-CAur0XOQ.mjs";
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-D5bZ5BUX.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-C1QgWHM7.mjs";
|
|
4
4
|
import { renderSummary } from "./capabilities-BX1rnVuH.mjs";
|
|
5
5
|
import "./input-BXWgdKiS.mjs";
|
|
6
|
-
import { readBody } from "./body-
|
|
6
|
+
import { readBody } from "./body-B9XTTDEu.mjs";
|
|
7
7
|
import { bodyInputFlags } from "./body-flags-D7q87Btw.mjs";
|
|
8
8
|
import "./validate-VawhJ5Sc.mjs";
|
|
9
9
|
import { TRANSFORM_SOURCE_QUERY_LABELS, preflightMbql5Query, skipValidateFlag } from "./validate-query-CSV-TTnd.mjs";
|
|
10
|
-
import { Transform, TransformCreateInput, transformView } from "./transform-
|
|
11
|
-
import { enrichTransformCollectionError } from "./collection-namespace-
|
|
10
|
+
import { Transform, TransformCreateInput, transformView } from "./transform-n376akp8.mjs";
|
|
11
|
+
import { enrichTransformCollectionError } from "./collection-namespace-D8ohM5gD.mjs";
|
|
12
12
|
|
|
13
13
|
//#region src/commands/transform/create.ts
|
|
14
14
|
var create_default = defineMetabaseCommand({
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import "./command-augment-CAur0XOQ.mjs";
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-D5bZ5BUX.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-C1QgWHM7.mjs";
|
|
4
4
|
import { renderSummary } from "./capabilities-BX1rnVuH.mjs";
|
|
5
5
|
import "./input-BXWgdKiS.mjs";
|
|
6
|
-
import { readBody } from "./body-
|
|
6
|
+
import { readBody } from "./body-B9XTTDEu.mjs";
|
|
7
7
|
import { bodyInputFlags } from "./body-flags-D7q87Btw.mjs";
|
|
8
|
-
import { TransformTag, TransformTagCreateInput, transformTagView } from "./transform-tag-
|
|
8
|
+
import { TransformTag, TransformTagCreateInput, transformTagView } from "./transform-tag-DB46AhAj.mjs";
|
|
9
9
|
|
|
10
10
|
//#region src/commands/transform-tag/create.ts
|
|
11
11
|
var create_default = defineMetabaseCommand({
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ConfigError } from "./command-augment-CAur0XOQ.mjs";
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-D5bZ5BUX.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-C1QgWHM7.mjs";
|
|
4
4
|
import { renderSummary } from "./capabilities-BX1rnVuH.mjs";
|
|
5
|
-
import "./poll-
|
|
6
|
-
import { REMOTE_SYNC_PATHS } from "./poll-task-
|
|
5
|
+
import "./poll-CYkX02Bm.mjs";
|
|
6
|
+
import { REMOTE_SYNC_PATHS } from "./poll-task-oXpl3wzp.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-CAur0XOQ.mjs";
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-D5bZ5BUX.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-C1QgWHM7.mjs";
|
|
4
4
|
import { renderSummary } from "./capabilities-BX1rnVuH.mjs";
|
|
5
5
|
import "./input-BXWgdKiS.mjs";
|
|
6
|
-
import { readBody } from "./body-
|
|
6
|
+
import { readBody } from "./body-B9XTTDEu.mjs";
|
|
7
7
|
import { bodyInputFlags } from "./body-flags-D7q87Btw.mjs";
|
|
8
8
|
import "./validate-VawhJ5Sc.mjs";
|
|
9
9
|
import { SEGMENT_DEFINITION_LABELS, preflightMbql5Query, skipValidateFlag } from "./validate-query-CSV-TTnd.mjs";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "./command-augment-CAur0XOQ.mjs";
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-D5bZ5BUX.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-C1QgWHM7.mjs";
|
|
4
4
|
import { renderSummary } from "./capabilities-BX1rnVuH.mjs";
|
|
5
|
-
import "./poll-
|
|
6
|
-
import { SyncTaskOrIdle, fetchCurrentTask, formatSyncTask, syncTaskIdleView, syncTaskView } from "./poll-task-
|
|
5
|
+
import "./poll-CYkX02Bm.mjs";
|
|
6
|
+
import { SyncTaskOrIdle, fetchCurrentTask, formatSyncTask, syncTaskIdleView, syncTaskView } from "./poll-task-oXpl3wzp.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-ChK06rJh.mjs").then((mod) => mod.default),
|
|
11
|
+
get: () => import("./get-qnGGGRTa.mjs").then((mod) => mod.default),
|
|
12
|
+
cards: () => import("./cards-BySIFsLG.mjs").then((mod) => mod.default),
|
|
13
|
+
create: () => import("./create-C43RQYgj.mjs").then((mod) => mod.default),
|
|
14
|
+
update: () => import("./update-DERsb0eO.mjs").then((mod) => mod.default),
|
|
15
|
+
"update-dashcard": () => import("./update-dashcard-BJVeSGvO.mjs").then((mod) => mod.default),
|
|
16
|
+
archive: () => import("./archive-BxGSR7El.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-Dq86BAMG.mjs").then((m) => m.default),
|
|
12
|
+
get: () => import("./get-CGkhSY5L.mjs").then((m) => m.default),
|
|
13
|
+
metadata: () => import("./metadata-8yqT8OZI.mjs").then((m) => m.default),
|
|
14
|
+
schemas: () => import("./schemas-Cr7RjYqV.mjs").then((m) => m.default),
|
|
15
|
+
"schema-tables": () => import("./schema-tables-rdeupgsu.mjs").then((m) => m.default),
|
|
16
|
+
"sync-schema": () => import("./sync-schema-DKEel2Sv.mjs").then((m) => m.default),
|
|
17
|
+
"rescan-values": () => import("./rescan-values-B9Qtsd32.mjs").then((m) => m.default)
|
|
18
|
+
}
|
|
19
|
+
});
|
|
20
|
+
|
|
21
|
+
//#endregion
|
|
22
|
+
export { db_default as default };
|