@metabase/cli 0.1.2 → 0.1.3
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 +46 -0
- package/dist/add-collection-BOnW3n0Z.mjs +11 -0
- package/dist/{add-collection-DwxQDXzL.mjs → add-collection-CYzLXtm5.mjs} +4 -4
- package/dist/{api-key-BktzvPb7.mjs → api-key-PuKAaQ7V.mjs} +1 -1
- package/dist/{archive-kYoy5LK5.mjs → archive-BO29HssD.mjs} +5 -5
- package/dist/{archive-Cq4WKmJt.mjs → archive-TLtE0kDm.mjs} +5 -5
- package/dist/{archive-C1mF-9Kj.mjs → archive-mnPwvARh.mjs} +5 -5
- package/dist/{archive-CLWtbvvH.mjs → archive-rMwM-zTz.mjs} +5 -5
- package/dist/auth-6xSQV9_O.mjs +19 -0
- package/dist/{body-rDrR-C1c.mjs → body-DyJdyUnm.mjs} +3 -3
- package/dist/{branches-CH2UcCpX.mjs → branches-DfmU7c7o.mjs} +6 -6
- package/dist/{cancel-CgLZcItQ.mjs → cancel-CMZDt-Oq.mjs} +5 -5
- package/dist/{cancel-task-DcYrFsM6.mjs → cancel-task-CgZTaU3M.mjs} +6 -6
- package/dist/card-BPRuWt1L.mjs +20 -0
- package/dist/{cards-C4NIaERo.mjs → cards-CHbQGafh.mjs} +5 -5
- package/dist/cli.mjs +25 -24
- package/dist/collection-ubrm8jOv.mjs +19 -0
- package/dist/{create-CzfNOhOF.mjs → create-8Hv7mPeZ.mjs} +8 -8
- package/dist/{create-Dh0p-c2Y.mjs → create-9Eixx15H.mjs} +6 -6
- package/dist/{create-CB0Yp__0.mjs → create-BBUS1QQj.mjs} +8 -8
- package/dist/{create-CNvd5T8h.mjs → create-BCuXOmjv.mjs} +7 -7
- package/dist/{create-DvrVZ2hS.mjs → create-BwTWnEI9.mjs} +8 -8
- package/dist/{create-QgN369N5.mjs → create-C0rMO9hM.mjs} +8 -8
- package/dist/{create-Cbh1cGj9.mjs → create-CicN3zvl.mjs} +8 -8
- package/dist/{create-BUCLNqiN.mjs → create-DSYimCdi.mjs} +8 -8
- package/dist/{create-DU0ZhnZu.mjs → create-DmoCeGvG.mjs} +6 -6
- package/dist/{create-bqc_rmix.mjs → create-DxEFGyTl.mjs} +6 -6
- package/dist/{create-branch-BJFH9Hda.mjs → create-branch-CyGWseMj.mjs} +6 -6
- package/dist/{credentials-DTP1xuKz.mjs → credentials-BsyxKKpn.mjs} +9 -8
- package/dist/{current-task-z_TiJ0kt.mjs → current-task-Cp2TOV2G.mjs} +6 -6
- package/dist/dashboard-DMXwndg8.mjs +20 -0
- package/dist/{database-DQkUxTLd.mjs → database-u753FytI.mjs} +3 -3
- package/dist/db-Br0VA1nL.mjs +22 -0
- package/dist/{delete-CVYII8mq.mjs → delete-QRsN6npe.mjs} +7 -7
- package/dist/{delete-DeZQ1r9w.mjs → delete-_9bnRv2O.mjs} +7 -7
- package/dist/{delete-runtime-BMzvfj_B.mjs → delete-runtime-BkAdygbs.mjs} +2 -2
- package/dist/{delete-table-ZiR9-ndv.mjs → delete-table-DTLdSkjp.mjs} +7 -7
- package/dist/{deprovision-BhD3J-Am.mjs → deprovision-CRV8Isc3.mjs} +11 -11
- package/dist/{dirty-D9agt7Os.mjs → dirty-CEH3GeaE.mjs} +6 -6
- package/dist/{docker-CHpV8PRz.mjs → docker-BYQ0FHrT.mjs} +5 -102
- package/dist/{eid-B5wawMmO.mjs → eid-C4-Vk0tN.mjs} +1 -1
- package/dist/{export-Bfk7JAlR.mjs → export-D7sASe7p.mjs} +7 -7
- package/dist/field-DN3Mtvjy.mjs +18 -0
- package/dist/{fields-7ByLsxLg.mjs → fields-BcqomXOj.mjs} +5 -5
- package/dist/{flag-pair-DtR1AiBQ.mjs → flag-pair-Fmcdkrfx.mjs} +1 -1
- package/dist/{get-gOT_RarI.mjs → get-B3N93OEi.mjs} +5 -5
- package/dist/{get-BE6Izpus.mjs → get-BRwM-_QR.mjs} +5 -5
- package/dist/{get-DUSR5i99.mjs → get-BrLtlgsJ.mjs} +5 -5
- package/dist/{get-DKy3DAJX.mjs → get-By8D2ZCD.mjs} +5 -5
- package/dist/{get-tISo-cmg.mjs → get-C8mOGKNU.mjs} +5 -5
- package/dist/{get-cuHp9-6U.mjs → get-C9ddaeGp.mjs} +5 -5
- package/dist/{get-DikegGzi.mjs → get-Cv5O0Nzp.mjs} +5 -5
- package/dist/{get-CQGeF-eP.mjs → get-Cw74jQSg.mjs} +5 -5
- package/dist/{get-StkjKuh0.mjs → get-DGPgyqzM.mjs} +5 -5
- package/dist/{get-C3CcAJGg.mjs → get-DNdDX5ON.mjs} +5 -5
- package/dist/{get-D2m4jhwT.mjs → get-DVTJi4o0.mjs} +5 -5
- package/dist/{get-bYc7eGYe.mjs → get-REcs9xfF.mjs} +5 -5
- package/dist/{get-run-D59Yqaoh.mjs → get-run-DY8GOsfI.mjs} +5 -5
- package/dist/git-sync-C3DyWKLP.mjs +28 -0
- package/dist/{has-remote-changes-B1TciDVD.mjs → has-remote-changes-Bw_X8TI6.mjs} +6 -6
- package/dist/{import-DnnmmJbp.mjs → import-QVwrtIFF.mjs} +7 -7
- package/dist/{input-ikCiip6x.mjs → input-BQ-BZA8h.mjs} +1 -1
- package/dist/{is-dirty-DlfX7e39.mjs → is-dirty-BHucbgY2.mjs} +3 -3
- package/dist/is-dirty-YZTcIZmy.mjs +10 -0
- package/dist/{items-DQFQSpjF.mjs → items-BrLOFmIa.mjs} +6 -6
- package/dist/{key-NDEARu2L.mjs → key-CCJdVWKc.mjs} +1 -1
- package/dist/{license-DBh13sc8.mjs → license-B3KaSSS3.mjs} +3 -3
- package/dist/{list-GFfR9SuT.mjs → list-B1_XSq0O.mjs} +4 -4
- package/dist/{list-4kYCGv01.mjs → list-B8WxxlSA.mjs} +5 -5
- package/dist/{list-DQj-QJAs.mjs → list-CYYq46ca.mjs} +4 -4
- package/dist/{list-Cy0VhXQs.mjs → list-D35m483Y.mjs} +4 -4
- package/dist/{list-DJN-OvTZ.mjs → list-Dgaxc0kI.mjs} +4 -4
- package/dist/{list-DAZP-IM5.mjs → list-Dygi5MBO.mjs} +4 -4
- package/dist/{list-CP5RNjO6.mjs → list-HcYQlqJr.mjs} +5 -5
- package/dist/{list-DlKzgnqo.mjs → list-ThlZXdtA.mjs} +4 -4
- package/dist/{list-Di529OJD.mjs → list-W_G0Wupl.mjs} +4 -4
- package/dist/{list-BwjqQ6pp.mjs → list-YwqpLfkl.mjs} +4 -4
- package/dist/{list-D067ZSE5.mjs → list-g2xt5jvY.mjs} +4 -4
- package/dist/{list-9AOWhxqp.mjs → list-mSYy6xIm.mjs} +4 -4
- package/dist/{list-iFVEdi2J.mjs → list-wyaVSZpU.mjs} +4 -4
- package/dist/{login-DxgkosGx.mjs → login-DVBsPahM.mjs} +6 -6
- package/dist/{logout-BlVwqBog.mjs → logout-CPGsbP2z.mjs} +5 -5
- package/dist/{logs-CudNEkT4.mjs → logs-CDdM2nW-.mjs} +7 -6
- package/dist/{manifest-Dv5B9Blc.mjs → manifest-CGM7XNLC.mjs} +2 -2
- package/dist/measure-C-2Zimtc.mjs +19 -0
- package/dist/{metadata-B2Td415K.mjs → metadata-CpGxasPK.mjs} +5 -5
- package/dist/{metadata-BTJAFVvZ.mjs → metadata-Djyv6HKF.mjs} +5 -5
- package/dist/{package-DV6Asqim.mjs → package-BeJ9DFrO.mjs} +3 -1
- package/dist/{parse-id-B38zTlYs.mjs → parse-id-DcoC0Z3o.mjs} +1 -1
- package/dist/{parse-ref-DGvh4aDn.mjs → parse-ref-D1yeDOn8.mjs} +1 -1
- package/dist/{parse-schemas-Ds-cVE-O.mjs → parse-schemas-NgeC8-ba.mjs} +2 -2
- package/dist/{poll-Bh6oAifO.mjs → poll-CPn_4eae.mjs} +2 -2
- package/dist/{poll-task-vPwV31Fs.mjs → poll-task-YHJL7Q94.mjs} +2 -2
- package/dist/{predicates-DiIiS3k7.mjs → predicates-CGO17Q15.mjs} +1 -1
- package/dist/{preflight-DxJb-hUV.mjs → preflight-UP6MOkcY.mjs} +3 -3
- package/dist/process-FjsqDwKo.mjs +105 -0
- package/dist/{prompt-Bf3DQ-qE.mjs → prompt-DgDNy_Pc.mjs} +1 -1
- package/dist/{provision-B-I0zuDe.mjs → provision-Cw4yFtn9.mjs} +12 -12
- package/dist/{ps-CaiOFCv2.mjs → ps-CmGyds34.mjs} +3 -3
- package/dist/ps-D7kAMsc0.mjs +11 -0
- package/dist/{query-BtF1yWZZ.mjs → query-CWM06uYl.mjs} +8 -8
- package/dist/{query-jmfqaXRP.mjs → query-DXYFK2Dn.mjs} +5 -5
- package/dist/{remove-C2iv0g03.mjs → remove-BJiq8Bna.mjs} +9 -8
- package/dist/{remove-xskleeru.mjs → remove-DtSkkvp3.mjs} +5 -5
- package/dist/{remove-collection-DhZghaZy.mjs → remove-collection-CfdSGSSW.mjs} +8 -8
- package/dist/{render-DXv-D6fU.mjs → render-DuoDUTVL.mjs} +1 -1
- package/dist/{rescan-values-DW6u90ep.mjs → rescan-values-DmZSi8y2.mjs} +5 -5
- package/dist/{run-DxVzhcF3.mjs → run-By3Hx4Sv.mjs} +7 -7
- package/dist/{runs-BOHk1XnM.mjs → runs-OxCc7uCv.mjs} +5 -5
- package/dist/{runtime-cwBS8wwK.mjs → runtime-CqLG3Q3o.mjs} +3 -3
- package/dist/{schema-tables-CcFbY_jN.mjs → schema-tables-gCfMALFX.mjs} +5 -5
- package/dist/{schemas-DZmv_V62.mjs → schemas-CelnP-JJ.mjs} +5 -5
- package/dist/{search-CYMuc7Fg.mjs → search-Ccc2XHFA.mjs} +5 -5
- package/dist/segment-ZWbF5Lw8.mjs +19 -0
- package/dist/{set-B_rrVwU4.mjs → set-CwZkyHao.mjs} +6 -6
- package/dist/{set-CbGfQ7Ye.mjs → set-DQoW10tq.mjs} +7 -7
- package/dist/{setting-DqZY9NXP.mjs → setting-DrI9j2k_.mjs} +3 -3
- package/dist/{setup-DxmcAorA.mjs → setup-flXHfxYc.mjs} +6 -6
- package/dist/snippet-C7Y7BV-k.mjs +19 -0
- package/dist/{start-Cn0epTks.mjs → start-B6jtccng.mjs} +10 -9
- package/dist/{stash-BFZIl9F4.mjs → stash-Bhp_hRrV.mjs} +7 -7
- package/dist/{status-BjCeJNLp.mjs → status-BxWCQzCv.mjs} +7 -7
- package/dist/{status-FDIDmqvM.mjs → status-DGw7jG9b.mjs} +4 -4
- package/dist/{status-UALK3OJl.mjs → status-fw5qhKyj.mjs} +4 -4
- package/dist/{stop-DUwrDWw8.mjs → stop-x6EOdIVT.mjs} +9 -8
- package/dist/{summary-CS4UGiFJ.mjs → summary-Da1JIhhv.mjs} +5 -5
- package/dist/{sync-schema-IrHdJxmX.mjs → sync-schema-Do916yAq.mjs} +5 -5
- package/dist/table-BsJDzYMc.mjs +19 -0
- package/dist/transform-BFOkT-X-.mjs +24 -0
- package/dist/transform-job-CvAq4Qdm.mjs +19 -0
- package/dist/{translate-B__zbDKm.mjs → translate-CEnaytH7.mjs} +7 -7
- package/dist/{tree-Mh0uQ_Wy.mjs → tree-pWV930zt.mjs} +4 -4
- package/dist/{update-j9vgemKR.mjs → update-Bd-Hk_z8.mjs} +7 -7
- package/dist/{update-Masp5WeT.mjs → update-BncXiS3T.mjs} +7 -7
- package/dist/{update-Cp1789qq.mjs → update-C-VOpeVi.mjs} +7 -7
- package/dist/{update-1Di9hbPo.mjs → update-CA7f8M_E.mjs} +9 -9
- package/dist/{update-D2VI_5cy.mjs → update-CN3LI4St.mjs} +9 -9
- package/dist/{update-B5_pp6Jj.mjs → update-CvujE0sT.mjs} +9 -9
- package/dist/{update-B9DBMo30.mjs → update-DLMn9cXk.mjs} +7 -7
- package/dist/{update-D8GwQTcL.mjs → update-Db0rN6W1.mjs} +9 -9
- package/dist/{update-dashcard-CNiQw1MD.mjs → update-dashcard-C13FmMd8.mjs} +7 -7
- package/dist/{update-Bw0WZix_.mjs → update-jLIPP2pF.mjs} +12 -12
- package/dist/{update-BfBsM_y1.mjs → update-w3N6O04l.mjs} +9 -9
- package/dist/upgrade-Cko0ScCj.mjs +432 -0
- package/dist/{url-GFM76VIK.mjs → url-BKzUneYx.mjs} +8 -7
- package/dist/{uuid-Uif0lNk8.mjs → uuid-D9TBeO2v.mjs} +4 -4
- package/dist/{validate-DCYx6jdL.mjs → validate-CLdliJUz.mjs} +1 -1
- package/dist/{validate-query-B07oGG4K.mjs → validate-query-C34T9ZUr.mjs} +3 -3
- package/dist/{values-DrwNHUAI.mjs → values-CFO1KoS0.mjs} +5 -5
- package/dist/{wait-DO7tS7NI.mjs → wait-CM59nNh3.mjs} +2 -2
- package/dist/{wait-flags-CjX2sEGm.mjs → wait-flags-6QBmhHw9.mjs} +2 -2
- package/dist/{wait-BoKk8CJy.mjs → wait-h9MABbYJ.mjs} +7 -7
- package/dist/workspace-AJjCGa9h.mjs +24 -0
- package/dist/{workspace-credentials-B6BL-X0d.mjs → workspace-credentials-Cctumbru.mjs} +1 -1
- package/package.json +3 -1
- package/dist/add-collection-SL08iMub.mjs +0 -11
- package/dist/auth-DfYkakP3.mjs +0 -19
- package/dist/card-ZCGU2JEh.mjs +0 -20
- package/dist/collection-D_uFLIAS.mjs +0 -19
- package/dist/dashboard-G1-dGLUR.mjs +0 -20
- package/dist/db-CBaEfumR.mjs +0 -22
- package/dist/field-BDJ1pEgr.mjs +0 -18
- package/dist/git-sync-BiTWfLgY.mjs +0 -28
- package/dist/is-dirty-DClGFOGV.mjs +0 -10
- package/dist/measure-C7SbdYQk.mjs +0 -19
- package/dist/ps-BmYQYC7t.mjs +0 -10
- package/dist/segment-Df4pfjco.mjs +0 -19
- package/dist/snippet-CwSHjQyn.mjs +0 -19
- package/dist/table-Cdr5bKp1.mjs +0 -19
- package/dist/transform-CeZusR_w.mjs +0 -24
- package/dist/transform-job-BOn9-CGa.mjs +0 -19
- package/dist/workspace-CyEX40D-.mjs +0 -24
- /package/dist/{workspace-DVuqKJGG.mjs → workspace-C5q4nbpY.mjs} +0 -0
package/README.md
CHANGED
|
@@ -1408,6 +1408,52 @@ Output: text mode prints one UUID per line; JSON mode prints a `string[]`. Defau
|
|
|
1408
1408
|
|
|
1409
1409
|
Exit codes: `0` success, `2` invalid `--count`.
|
|
1410
1410
|
|
|
1411
|
+
## Upgrade
|
|
1412
|
+
|
|
1413
|
+
### `metabase upgrade`
|
|
1414
|
+
|
|
1415
|
+
Self-update the CLI. Fetches the latest published version from the npm registry's `/-/package/<pkg>/dist-tags` endpoint, detects how the binary was installed (npm-global / npm-local / npx / dev / unknown — for the global case, also which package manager: npm, pnpm, yarn, or bun), and either runs the matching install command (for npm-style globals, after confirmation) or prints the exact command to run by hand.
|
|
1416
|
+
|
|
1417
|
+
```sh
|
|
1418
|
+
metabase upgrade # interactive: check + confirm + run for global installs
|
|
1419
|
+
metabase upgrade --check # print status only, never install
|
|
1420
|
+
metabase upgrade --check --json # structured plan for agents
|
|
1421
|
+
metabase upgrade --yes # skip the confirmation prompt
|
|
1422
|
+
metabase upgrade --to 0.1.2 # pin a specific version (also valid for downgrades)
|
|
1423
|
+
```
|
|
1424
|
+
|
|
1425
|
+
Flags:
|
|
1426
|
+
|
|
1427
|
+
- `--check` — print the upgrade plan without installing.
|
|
1428
|
+
- `--yes` / `-y` — skip the confirmation prompt; only meaningful when the install method is auto-installable.
|
|
1429
|
+
- `--to <version>` — target a specific semver instead of the registry `latest`. Useful for pinning or rolling back.
|
|
1430
|
+
- `--registry <url>` — override the npm registry (default `https://registry.npmjs.org`). The same URL the CLI hits to fetch dist-tags; the actual install always goes through your local `npm` / `pnpm` / `yarn` / `bun` which use their own configured registry.
|
|
1431
|
+
|
|
1432
|
+
JSON output (UpgradeStatus):
|
|
1433
|
+
|
|
1434
|
+
```json
|
|
1435
|
+
{
|
|
1436
|
+
"packageName": "@metabase/cli",
|
|
1437
|
+
"currentVersion": "0.1.2",
|
|
1438
|
+
"latestVersion": "0.1.3",
|
|
1439
|
+
"targetVersion": "0.1.3",
|
|
1440
|
+
"updateAvailable": true,
|
|
1441
|
+
"changeRequired": true,
|
|
1442
|
+
"installMethod": "npm-global",
|
|
1443
|
+
"packageManager": "npm",
|
|
1444
|
+
"binaryPath": "/usr/local/lib/node_modules/@metabase/cli/dist/cli.mjs",
|
|
1445
|
+
"command": {
|
|
1446
|
+
"argv": ["npm", "install", "-g", "@metabase/cli@0.1.3"],
|
|
1447
|
+
"display": "npm install -g @metabase/cli@0.1.3"
|
|
1448
|
+
},
|
|
1449
|
+
"canAutoInstall": true
|
|
1450
|
+
}
|
|
1451
|
+
```
|
|
1452
|
+
|
|
1453
|
+
Auto-install happens only when `installMethod === "npm-global"`; everything else (local installs, npx, dev checkouts) prints the upgrade command and exits. In non-TTY runs without `--yes`, the command never prompts.
|
|
1454
|
+
|
|
1455
|
+
Exit codes: `0` success (including up-to-date / printed-instructions), `1` registry or install failure, `2` invalid `--to` value, `130` user cancelled the prompt.
|
|
1456
|
+
|
|
1411
1457
|
## Environment variables
|
|
1412
1458
|
|
|
1413
1459
|
| Variable | Effect |
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import "./package-BeJ9DFrO.mjs";
|
|
2
|
+
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
+
import "./render-DuoDUTVL.mjs";
|
|
4
|
+
import "./predicates-CGO17Q15.mjs";
|
|
5
|
+
import "./runtime-CqLG3Q3o.mjs";
|
|
6
|
+
import "./parse-id-DcoC0Z3o.mjs";
|
|
7
|
+
import "./poll-task-YHJL7Q94.mjs";
|
|
8
|
+
import "./poll-CPn_4eae.mjs";
|
|
9
|
+
import { SyncSettingsUpdateResult, add_collection_default, setCollectionRemoteSynced, syncSettingsUpdateView } from "./add-collection-CYzLXtm5.mjs";
|
|
10
|
+
|
|
11
|
+
export { add_collection_default as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { renderItem } from "./render-
|
|
2
|
-
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-
|
|
3
|
-
import { parseId } from "./parse-id-
|
|
4
|
-
import { REMOTE_SYNC_PATHS } from "./poll-task-
|
|
1
|
+
import { renderItem } from "./render-DuoDUTVL.mjs";
|
|
2
|
+
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-CqLG3Q3o.mjs";
|
|
3
|
+
import { parseId } from "./parse-id-DcoC0Z3o.mjs";
|
|
4
|
+
import { REMOTE_SYNC_PATHS } from "./poll-task-YHJL7Q94.mjs";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
|
|
7
7
|
//#region src/commands/git-sync/add-collection.ts
|
|
@@ -6,7 +6,7 @@ var api_key_default = defineCommand({
|
|
|
6
6
|
name: "api-key",
|
|
7
7
|
description: "Manage Metabase API keys"
|
|
8
8
|
},
|
|
9
|
-
subCommands: { create: () => import("./create-
|
|
9
|
+
subCommands: { create: () => import("./create-BwTWnEI9.mjs").then((mod) => mod.default) }
|
|
10
10
|
});
|
|
11
11
|
|
|
12
12
|
//#endregion
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import "./package-
|
|
1
|
+
import "./package-BeJ9DFrO.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
-
import { renderItem } from "./render-
|
|
4
|
-
import "./predicates-
|
|
5
|
-
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-
|
|
6
|
-
import { parseId } from "./parse-id-
|
|
3
|
+
import { renderItem } from "./render-DuoDUTVL.mjs";
|
|
4
|
+
import "./predicates-CGO17Q15.mjs";
|
|
5
|
+
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-CqLG3Q3o.mjs";
|
|
6
|
+
import { parseId } from "./parse-id-DcoC0Z3o.mjs";
|
|
7
7
|
import { Snippet, snippetView } from "./snippet-Dw0Sjzkr.mjs";
|
|
8
8
|
|
|
9
9
|
//#region src/commands/snippet/archive.ts
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import "./package-
|
|
1
|
+
import "./package-BeJ9DFrO.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
-
import { renderItem } from "./render-
|
|
4
|
-
import "./predicates-
|
|
5
|
-
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-
|
|
6
|
-
import { parseId } from "./parse-id-
|
|
3
|
+
import { renderItem } from "./render-DuoDUTVL.mjs";
|
|
4
|
+
import "./predicates-CGO17Q15.mjs";
|
|
5
|
+
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-CqLG3Q3o.mjs";
|
|
6
|
+
import { parseId } from "./parse-id-DcoC0Z3o.mjs";
|
|
7
7
|
import { Measure, measureView } from "./measure-BEQfnLdN.mjs";
|
|
8
8
|
import { revisionMessageFlag } from "./revision-message-flag-CWQbKhdl.mjs";
|
|
9
9
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import "./package-
|
|
1
|
+
import "./package-BeJ9DFrO.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
-
import { renderItem } from "./render-
|
|
4
|
-
import "./predicates-
|
|
5
|
-
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-
|
|
6
|
-
import { parseId } from "./parse-id-
|
|
3
|
+
import { renderItem } from "./render-DuoDUTVL.mjs";
|
|
4
|
+
import "./predicates-CGO17Q15.mjs";
|
|
5
|
+
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-CqLG3Q3o.mjs";
|
|
6
|
+
import { parseId } from "./parse-id-DcoC0Z3o.mjs";
|
|
7
7
|
import "./field-B3gvaqpK.mjs";
|
|
8
8
|
import { Card, cardView } from "./card-CQxvHeyP.mjs";
|
|
9
9
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import "./package-
|
|
1
|
+
import "./package-BeJ9DFrO.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
-
import { renderItem } from "./render-
|
|
4
|
-
import "./predicates-
|
|
5
|
-
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-
|
|
6
|
-
import { parseId } from "./parse-id-
|
|
3
|
+
import { renderItem } from "./render-DuoDUTVL.mjs";
|
|
4
|
+
import "./predicates-CGO17Q15.mjs";
|
|
5
|
+
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-CqLG3Q3o.mjs";
|
|
6
|
+
import { parseId } from "./parse-id-DcoC0Z3o.mjs";
|
|
7
7
|
import { revisionMessageFlag } from "./revision-message-flag-CWQbKhdl.mjs";
|
|
8
8
|
import { Segment, segmentView } from "./segment-BMrUBz94.mjs";
|
|
9
9
|
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { defineCommand } from "citty";
|
|
2
|
+
|
|
3
|
+
//#region src/commands/auth/index.ts
|
|
4
|
+
var auth_default = defineCommand({
|
|
5
|
+
meta: {
|
|
6
|
+
name: "auth",
|
|
7
|
+
description: "Authenticate against a Metabase instance"
|
|
8
|
+
},
|
|
9
|
+
default: "login",
|
|
10
|
+
subCommands: {
|
|
11
|
+
login: () => import("./login-DVBsPahM.mjs").then((m) => m.default),
|
|
12
|
+
status: () => import("./status-DGw7jG9b.mjs").then((m) => m.default),
|
|
13
|
+
list: () => import("./list-W_G0Wupl.mjs").then((m) => m.default),
|
|
14
|
+
logout: () => import("./logout-CPGsbP2z.mjs").then((m) => m.default)
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
|
|
18
|
+
//#endregion
|
|
19
|
+
export { auth_default as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ConfigError } from "./predicates-
|
|
2
|
-
import { readInput } from "./input-
|
|
3
|
-
import { parseJson } from "./runtime-
|
|
1
|
+
import { ConfigError } from "./predicates-CGO17Q15.mjs";
|
|
2
|
+
import { readInput } from "./input-BQ-BZA8h.mjs";
|
|
3
|
+
import { parseJson } from "./runtime-CqLG3Q3o.mjs";
|
|
4
4
|
|
|
5
5
|
//#region src/runtime/body.ts
|
|
6
6
|
async function readBody(sources, schema) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import "./package-
|
|
1
|
+
import "./package-BeJ9DFrO.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
-
import { renderList } from "./render-
|
|
4
|
-
import "./predicates-
|
|
5
|
-
import { connectionFlags, defineMetabaseCommand, listEnvelopeSchema, outputFlags, profileFlag, wrapList } from "./runtime-
|
|
6
|
-
import { REMOTE_SYNC_PATHS } from "./poll-task-
|
|
7
|
-
import "./poll-
|
|
3
|
+
import { renderList } from "./render-DuoDUTVL.mjs";
|
|
4
|
+
import "./predicates-CGO17Q15.mjs";
|
|
5
|
+
import { connectionFlags, defineMetabaseCommand, listEnvelopeSchema, outputFlags, profileFlag, wrapList } from "./runtime-CqLG3Q3o.mjs";
|
|
6
|
+
import { REMOTE_SYNC_PATHS } from "./poll-task-YHJL7Q94.mjs";
|
|
7
|
+
import "./poll-CPn_4eae.mjs";
|
|
8
8
|
import { z } from "zod";
|
|
9
9
|
|
|
10
10
|
//#region src/commands/git-sync/branches.ts
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import "./package-
|
|
1
|
+
import "./package-BeJ9DFrO.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
-
import { renderItem } from "./render-
|
|
4
|
-
import "./predicates-
|
|
5
|
-
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-
|
|
6
|
-
import { parseId } from "./parse-id-
|
|
3
|
+
import { renderItem } from "./render-DuoDUTVL.mjs";
|
|
4
|
+
import "./predicates-CGO17Q15.mjs";
|
|
5
|
+
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-CqLG3Q3o.mjs";
|
|
6
|
+
import { parseId } from "./parse-id-DcoC0Z3o.mjs";
|
|
7
7
|
import { z } from "zod";
|
|
8
8
|
|
|
9
9
|
//#region src/commands/transform/cancel.ts
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import "./package-
|
|
1
|
+
import "./package-BeJ9DFrO.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
-
import { renderItem } from "./render-
|
|
4
|
-
import "./predicates-
|
|
5
|
-
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-
|
|
6
|
-
import { REMOTE_SYNC_PATHS, SyncTask, syncTaskView } from "./poll-task-
|
|
7
|
-
import "./poll-
|
|
3
|
+
import { renderItem } from "./render-DuoDUTVL.mjs";
|
|
4
|
+
import "./predicates-CGO17Q15.mjs";
|
|
5
|
+
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-CqLG3Q3o.mjs";
|
|
6
|
+
import { REMOTE_SYNC_PATHS, SyncTask, syncTaskView } from "./poll-task-YHJL7Q94.mjs";
|
|
7
|
+
import "./poll-CPn_4eae.mjs";
|
|
8
8
|
|
|
9
9
|
//#region src/commands/git-sync/cancel-task.ts
|
|
10
10
|
var cancel_task_default = defineMetabaseCommand({
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { defineCommand } from "citty";
|
|
2
|
+
|
|
3
|
+
//#region src/commands/card/index.ts
|
|
4
|
+
var card_default = defineCommand({
|
|
5
|
+
meta: {
|
|
6
|
+
name: "card",
|
|
7
|
+
description: "Manage Metabase cards (questions, models, metrics)"
|
|
8
|
+
},
|
|
9
|
+
subCommands: {
|
|
10
|
+
list: () => import("./list-ThlZXdtA.mjs").then((mod) => mod.default),
|
|
11
|
+
get: () => import("./get-C9ddaeGp.mjs").then((mod) => mod.default),
|
|
12
|
+
query: () => import("./query-DXYFK2Dn.mjs").then((mod) => mod.default),
|
|
13
|
+
create: () => import("./create-C0rMO9hM.mjs").then((mod) => mod.default),
|
|
14
|
+
update: () => import("./update-Db0rN6W1.mjs").then((mod) => mod.default),
|
|
15
|
+
archive: () => import("./archive-mnPwvARh.mjs").then((mod) => mod.default)
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
|
|
19
|
+
//#endregion
|
|
20
|
+
export { card_default as default };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import "./package-
|
|
1
|
+
import "./package-BeJ9DFrO.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
-
import { renderList } from "./render-
|
|
4
|
-
import "./predicates-
|
|
5
|
-
import { connectionFlags, defineMetabaseCommand, listEnvelopeSchema, outputFlags, profileFlag, wrapList } from "./runtime-
|
|
6
|
-
import { parseId } from "./parse-id-
|
|
3
|
+
import { renderList } from "./render-DuoDUTVL.mjs";
|
|
4
|
+
import "./predicates-CGO17Q15.mjs";
|
|
5
|
+
import { connectionFlags, defineMetabaseCommand, listEnvelopeSchema, outputFlags, profileFlag, wrapList } from "./runtime-CqLG3Q3o.mjs";
|
|
6
|
+
import { parseId } from "./parse-id-DcoC0Z3o.mjs";
|
|
7
7
|
import { DashboardDetail, DashcardCompact, dashcardView } from "./dashboard-CnMD04PQ.mjs";
|
|
8
8
|
|
|
9
9
|
//#region src/commands/dashboard/cards.ts
|
package/dist/cli.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { package_default } from "./package-
|
|
2
|
+
import { package_default } from "./package-BeJ9DFrO.mjs";
|
|
3
3
|
import { getMetabaseAugment } from "./command-augment-D9pI9Vbh.mjs";
|
|
4
4
|
import { defineCommand, renderUsage, runMain } from "citty";
|
|
5
5
|
|
|
@@ -11,29 +11,30 @@ const main = defineCommand({
|
|
|
11
11
|
description: package_default.description
|
|
12
12
|
},
|
|
13
13
|
subCommands: {
|
|
14
|
-
auth: () => import("./auth-
|
|
15
|
-
license: () => import("./license-
|
|
16
|
-
db: () => import("./db-
|
|
17
|
-
table: () => import("./table-
|
|
18
|
-
field: () => import("./field-
|
|
19
|
-
card: () => import("./card-
|
|
20
|
-
dashboard: () => import("./dashboard-
|
|
21
|
-
collection: () => import("./collection-
|
|
22
|
-
transform: () => import("./transform-
|
|
23
|
-
"transform-job": () => import("./transform-job-
|
|
24
|
-
setting: () => import("./setting-
|
|
25
|
-
search: () => import("./search-
|
|
26
|
-
"git-sync": () => import("./git-sync-
|
|
27
|
-
workspace: () => import("./workspace-
|
|
28
|
-
setup: () => import("./setup-
|
|
29
|
-
"api-key": () => import("./api-key-
|
|
30
|
-
snippet: () => import("./snippet-
|
|
31
|
-
segment: () => import("./segment-
|
|
32
|
-
measure: () => import("./measure-
|
|
33
|
-
eid: () => import("./eid-
|
|
34
|
-
query: () => import("./query-
|
|
35
|
-
uuid: () => import("./uuid-
|
|
36
|
-
|
|
14
|
+
auth: () => import("./auth-6xSQV9_O.mjs").then((mod) => mod.default),
|
|
15
|
+
license: () => import("./license-B3KaSSS3.mjs").then((mod) => mod.default),
|
|
16
|
+
db: () => import("./db-Br0VA1nL.mjs").then((mod) => mod.default),
|
|
17
|
+
table: () => import("./table-BsJDzYMc.mjs").then((mod) => mod.default),
|
|
18
|
+
field: () => import("./field-DN3Mtvjy.mjs").then((mod) => mod.default),
|
|
19
|
+
card: () => import("./card-BPRuWt1L.mjs").then((mod) => mod.default),
|
|
20
|
+
dashboard: () => import("./dashboard-DMXwndg8.mjs").then((mod) => mod.default),
|
|
21
|
+
collection: () => import("./collection-ubrm8jOv.mjs").then((mod) => mod.default),
|
|
22
|
+
transform: () => import("./transform-BFOkT-X-.mjs").then((mod) => mod.default),
|
|
23
|
+
"transform-job": () => import("./transform-job-CvAq4Qdm.mjs").then((mod) => mod.default),
|
|
24
|
+
setting: () => import("./setting-DrI9j2k_.mjs").then((mod) => mod.default),
|
|
25
|
+
search: () => import("./search-Ccc2XHFA.mjs").then((mod) => mod.default),
|
|
26
|
+
"git-sync": () => import("./git-sync-C3DyWKLP.mjs").then((mod) => mod.default),
|
|
27
|
+
workspace: () => import("./workspace-AJjCGa9h.mjs").then((mod) => mod.default),
|
|
28
|
+
setup: () => import("./setup-flXHfxYc.mjs").then((mod) => mod.default),
|
|
29
|
+
"api-key": () => import("./api-key-PuKAaQ7V.mjs").then((mod) => mod.default),
|
|
30
|
+
snippet: () => import("./snippet-C7Y7BV-k.mjs").then((mod) => mod.default),
|
|
31
|
+
segment: () => import("./segment-ZWbF5Lw8.mjs").then((mod) => mod.default),
|
|
32
|
+
measure: () => import("./measure-C-2Zimtc.mjs").then((mod) => mod.default),
|
|
33
|
+
eid: () => import("./eid-C4-Vk0tN.mjs").then((mod) => mod.default),
|
|
34
|
+
query: () => import("./query-CWM06uYl.mjs").then((mod) => mod.default),
|
|
35
|
+
uuid: () => import("./uuid-D9TBeO2v.mjs").then((mod) => mod.default),
|
|
36
|
+
upgrade: () => import("./upgrade-Cko0ScCj.mjs").then((mod) => mod.default),
|
|
37
|
+
__manifest: () => import("./manifest-CGM7XNLC.mjs").then((mod) => mod.createManifestCommand(main))
|
|
37
38
|
}
|
|
38
39
|
});
|
|
39
40
|
var main_default = main;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { defineCommand } from "citty";
|
|
2
|
+
|
|
3
|
+
//#region src/commands/collection/index.ts
|
|
4
|
+
var collection_default = defineCommand({
|
|
5
|
+
meta: {
|
|
6
|
+
name: "collection",
|
|
7
|
+
description: "Browse Metabase collections"
|
|
8
|
+
},
|
|
9
|
+
subCommands: {
|
|
10
|
+
list: () => import("./list-Dgaxc0kI.mjs").then((mod) => mod.default),
|
|
11
|
+
get: () => import("./get-C8mOGKNU.mjs").then((mod) => mod.default),
|
|
12
|
+
items: () => import("./items-BrLOFmIa.mjs").then((mod) => mod.default),
|
|
13
|
+
tree: () => import("./tree-pWV930zt.mjs").then((mod) => mod.default),
|
|
14
|
+
create: () => import("./create-DmoCeGvG.mjs").then((mod) => mod.default)
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
|
|
18
|
+
//#endregion
|
|
19
|
+
export { collection_default as default };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import "./package-
|
|
1
|
+
import "./package-BeJ9DFrO.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
-
import { renderItem } from "./render-
|
|
4
|
-
import "./predicates-
|
|
5
|
-
import "./input-
|
|
6
|
-
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-
|
|
7
|
-
import { readBody } from "./body-
|
|
3
|
+
import { renderItem } from "./render-DuoDUTVL.mjs";
|
|
4
|
+
import "./predicates-CGO17Q15.mjs";
|
|
5
|
+
import "./input-BQ-BZA8h.mjs";
|
|
6
|
+
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-CqLG3Q3o.mjs";
|
|
7
|
+
import { readBody } from "./body-DyJdyUnm.mjs";
|
|
8
8
|
import { bodyInputFlags } from "./body-flags-BK7J6Daz.mjs";
|
|
9
|
-
import "./validate-
|
|
10
|
-
import { SEGMENT_DEFINITION_LABELS, preflightMbql5Query, skipValidateFlag } from "./validate-query-
|
|
9
|
+
import "./validate-CLdliJUz.mjs";
|
|
10
|
+
import { SEGMENT_DEFINITION_LABELS, preflightMbql5Query, skipValidateFlag } from "./validate-query-C34T9ZUr.mjs";
|
|
11
11
|
import { Segment, SegmentCreateInput, segmentView } from "./segment-BMrUBz94.mjs";
|
|
12
12
|
|
|
13
13
|
//#region src/commands/segment/create.ts
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import "./package-
|
|
1
|
+
import "./package-BeJ9DFrO.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
-
import { renderItem } from "./render-
|
|
4
|
-
import "./predicates-
|
|
5
|
-
import "./input-
|
|
6
|
-
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-
|
|
7
|
-
import { readBody } from "./body-
|
|
3
|
+
import { renderItem } from "./render-DuoDUTVL.mjs";
|
|
4
|
+
import "./predicates-CGO17Q15.mjs";
|
|
5
|
+
import "./input-BQ-BZA8h.mjs";
|
|
6
|
+
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-CqLG3Q3o.mjs";
|
|
7
|
+
import { readBody } from "./body-DyJdyUnm.mjs";
|
|
8
8
|
import { bodyInputFlags } from "./body-flags-BK7J6Daz.mjs";
|
|
9
9
|
import { Snippet, SnippetCreateInput, snippetView } from "./snippet-Dw0Sjzkr.mjs";
|
|
10
10
|
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import "./package-
|
|
1
|
+
import "./package-BeJ9DFrO.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
-
import { renderItem } from "./render-
|
|
4
|
-
import "./predicates-
|
|
5
|
-
import "./input-
|
|
6
|
-
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-
|
|
7
|
-
import { readBody } from "./body-
|
|
3
|
+
import { renderItem } from "./render-DuoDUTVL.mjs";
|
|
4
|
+
import "./predicates-CGO17Q15.mjs";
|
|
5
|
+
import "./input-BQ-BZA8h.mjs";
|
|
6
|
+
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-CqLG3Q3o.mjs";
|
|
7
|
+
import { readBody } from "./body-DyJdyUnm.mjs";
|
|
8
8
|
import { bodyInputFlags } from "./body-flags-BK7J6Daz.mjs";
|
|
9
9
|
import "./field-B3gvaqpK.mjs";
|
|
10
10
|
import "./card-CQxvHeyP.mjs";
|
|
11
|
-
import "./validate-
|
|
11
|
+
import "./validate-CLdliJUz.mjs";
|
|
12
12
|
import { Dashboard, DashboardCreateInput, DashboardDetail, dashboardView } from "./dashboard-CnMD04PQ.mjs";
|
|
13
|
-
import { preflightDashcardCardReferences, wrapChainedDashboardWriteError } from "./preflight-
|
|
13
|
+
import { preflightDashcardCardReferences, wrapChainedDashboardWriteError } from "./preflight-UP6MOkcY.mjs";
|
|
14
14
|
|
|
15
15
|
//#region src/commands/dashboard/create.ts
|
|
16
16
|
var create_default = defineMetabaseCommand({
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import "./package-
|
|
1
|
+
import "./package-BeJ9DFrO.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
-
import { renderItem } from "./render-
|
|
4
|
-
import "./predicates-
|
|
5
|
-
import "./input-
|
|
6
|
-
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-
|
|
7
|
-
import { readBody } from "./body-
|
|
3
|
+
import { renderItem } from "./render-DuoDUTVL.mjs";
|
|
4
|
+
import "./predicates-CGO17Q15.mjs";
|
|
5
|
+
import "./input-BQ-BZA8h.mjs";
|
|
6
|
+
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-CqLG3Q3o.mjs";
|
|
7
|
+
import { readBody } from "./body-DyJdyUnm.mjs";
|
|
8
8
|
import { bodyInputFlags } from "./body-flags-BK7J6Daz.mjs";
|
|
9
|
-
import { Workspace, WorkspaceCreateInput, workspaceView } from "./workspace-
|
|
9
|
+
import { Workspace, WorkspaceCreateInput, workspaceView } from "./workspace-C5q4nbpY.mjs";
|
|
10
10
|
|
|
11
11
|
//#region src/commands/workspace/create.ts
|
|
12
12
|
var create_default = defineMetabaseCommand({
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import "./package-
|
|
1
|
+
import "./package-BeJ9DFrO.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
-
import { renderItem } from "./render-
|
|
4
|
-
import "./predicates-
|
|
5
|
-
import "./input-
|
|
6
|
-
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-
|
|
7
|
-
import { readBody } from "./body-
|
|
3
|
+
import { renderItem } from "./render-DuoDUTVL.mjs";
|
|
4
|
+
import "./predicates-CGO17Q15.mjs";
|
|
5
|
+
import "./input-BQ-BZA8h.mjs";
|
|
6
|
+
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-CqLG3Q3o.mjs";
|
|
7
|
+
import { readBody } from "./body-DyJdyUnm.mjs";
|
|
8
8
|
import { bodyInputFlags } from "./body-flags-BK7J6Daz.mjs";
|
|
9
|
-
import { requireBothOrNeither } from "./flag-pair-
|
|
10
|
-
import { parseId } from "./parse-id-
|
|
9
|
+
import { requireBothOrNeither } from "./flag-pair-Fmcdkrfx.mjs";
|
|
10
|
+
import { parseId } from "./parse-id-DcoC0Z3o.mjs";
|
|
11
11
|
import { z } from "zod";
|
|
12
12
|
|
|
13
13
|
//#region src/domain/api-key.ts
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import "./package-
|
|
1
|
+
import "./package-BeJ9DFrO.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
-
import { renderItem } from "./render-
|
|
4
|
-
import "./predicates-
|
|
5
|
-
import "./input-
|
|
6
|
-
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-
|
|
7
|
-
import { readBody } from "./body-
|
|
3
|
+
import { renderItem } from "./render-DuoDUTVL.mjs";
|
|
4
|
+
import "./predicates-CGO17Q15.mjs";
|
|
5
|
+
import "./input-BQ-BZA8h.mjs";
|
|
6
|
+
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-CqLG3Q3o.mjs";
|
|
7
|
+
import { readBody } from "./body-DyJdyUnm.mjs";
|
|
8
8
|
import { bodyInputFlags } from "./body-flags-BK7J6Daz.mjs";
|
|
9
9
|
import "./field-B3gvaqpK.mjs";
|
|
10
10
|
import { Card, CardCreateInput, cardView } from "./card-CQxvHeyP.mjs";
|
|
11
|
-
import "./validate-
|
|
12
|
-
import { CARD_DATASET_QUERY_LABELS, preflightMbql5Query, skipValidateFlag } from "./validate-query-
|
|
11
|
+
import "./validate-CLdliJUz.mjs";
|
|
12
|
+
import { CARD_DATASET_QUERY_LABELS, preflightMbql5Query, skipValidateFlag } from "./validate-query-C34T9ZUr.mjs";
|
|
13
13
|
|
|
14
14
|
//#region src/commands/card/create.ts
|
|
15
15
|
var create_default = defineMetabaseCommand({
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import "./package-
|
|
1
|
+
import "./package-BeJ9DFrO.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
-
import { renderItem } from "./render-
|
|
4
|
-
import "./predicates-
|
|
5
|
-
import "./input-
|
|
6
|
-
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-
|
|
7
|
-
import { readBody } from "./body-
|
|
3
|
+
import { renderItem } from "./render-DuoDUTVL.mjs";
|
|
4
|
+
import "./predicates-CGO17Q15.mjs";
|
|
5
|
+
import "./input-BQ-BZA8h.mjs";
|
|
6
|
+
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-CqLG3Q3o.mjs";
|
|
7
|
+
import { readBody } from "./body-DyJdyUnm.mjs";
|
|
8
8
|
import { bodyInputFlags } from "./body-flags-BK7J6Daz.mjs";
|
|
9
|
-
import "./validate-
|
|
10
|
-
import { MEASURE_DEFINITION_LABELS, preflightMbql5Query, skipValidateFlag } from "./validate-query-
|
|
9
|
+
import "./validate-CLdliJUz.mjs";
|
|
10
|
+
import { MEASURE_DEFINITION_LABELS, preflightMbql5Query, skipValidateFlag } from "./validate-query-C34T9ZUr.mjs";
|
|
11
11
|
import { Measure, MeasureCreateInput, measureView } from "./measure-BEQfnLdN.mjs";
|
|
12
12
|
|
|
13
13
|
//#region src/commands/measure/create.ts
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import "./package-
|
|
1
|
+
import "./package-BeJ9DFrO.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
-
import { renderItem } from "./render-
|
|
4
|
-
import "./predicates-
|
|
5
|
-
import "./input-
|
|
6
|
-
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-
|
|
7
|
-
import { readBody } from "./body-
|
|
3
|
+
import { renderItem } from "./render-DuoDUTVL.mjs";
|
|
4
|
+
import "./predicates-CGO17Q15.mjs";
|
|
5
|
+
import "./input-BQ-BZA8h.mjs";
|
|
6
|
+
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-CqLG3Q3o.mjs";
|
|
7
|
+
import { readBody } from "./body-DyJdyUnm.mjs";
|
|
8
8
|
import { bodyInputFlags } from "./body-flags-BK7J6Daz.mjs";
|
|
9
|
-
import "./validate-
|
|
10
|
-
import { TRANSFORM_SOURCE_QUERY_LABELS, preflightMbql5Query, skipValidateFlag } from "./validate-query-
|
|
9
|
+
import "./validate-CLdliJUz.mjs";
|
|
10
|
+
import { TRANSFORM_SOURCE_QUERY_LABELS, preflightMbql5Query, skipValidateFlag } from "./validate-query-C34T9ZUr.mjs";
|
|
11
11
|
import { Transform, TransformCreateInput, transformView } from "./transform-IEX4Mx3X.mjs";
|
|
12
12
|
|
|
13
13
|
//#region src/commands/transform/create.ts
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import "./package-
|
|
1
|
+
import "./package-BeJ9DFrO.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
-
import { renderItem } from "./render-
|
|
4
|
-
import "./predicates-
|
|
5
|
-
import "./input-
|
|
6
|
-
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-
|
|
7
|
-
import { readBody } from "./body-
|
|
3
|
+
import { renderItem } from "./render-DuoDUTVL.mjs";
|
|
4
|
+
import "./predicates-CGO17Q15.mjs";
|
|
5
|
+
import "./input-BQ-BZA8h.mjs";
|
|
6
|
+
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-CqLG3Q3o.mjs";
|
|
7
|
+
import { readBody } from "./body-DyJdyUnm.mjs";
|
|
8
8
|
import { bodyInputFlags } from "./body-flags-BK7J6Daz.mjs";
|
|
9
9
|
import { Collection, CollectionCreateInput, collectionView } from "./collection-B3sPXRLs.mjs";
|
|
10
10
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import "./package-
|
|
1
|
+
import "./package-BeJ9DFrO.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
-
import { renderItem } from "./render-
|
|
4
|
-
import "./predicates-
|
|
5
|
-
import "./input-
|
|
6
|
-
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-
|
|
7
|
-
import { readBody } from "./body-
|
|
3
|
+
import { renderItem } from "./render-DuoDUTVL.mjs";
|
|
4
|
+
import "./predicates-CGO17Q15.mjs";
|
|
5
|
+
import "./input-BQ-BZA8h.mjs";
|
|
6
|
+
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-CqLG3Q3o.mjs";
|
|
7
|
+
import { readBody } from "./body-DyJdyUnm.mjs";
|
|
8
8
|
import { bodyInputFlags } from "./body-flags-BK7J6Daz.mjs";
|
|
9
9
|
import { TransformJob, TransformJobCreateInput, transformJobView } from "./transform-job-Csr86muI.mjs";
|
|
10
10
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import "./package-
|
|
1
|
+
import "./package-BeJ9DFrO.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
-
import { renderItem } from "./render-
|
|
4
|
-
import { ConfigError } from "./predicates-
|
|
5
|
-
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-
|
|
6
|
-
import { REMOTE_SYNC_PATHS } from "./poll-task-
|
|
7
|
-
import "./poll-
|
|
3
|
+
import { renderItem } from "./render-DuoDUTVL.mjs";
|
|
4
|
+
import { ConfigError } from "./predicates-CGO17Q15.mjs";
|
|
5
|
+
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-CqLG3Q3o.mjs";
|
|
6
|
+
import { REMOTE_SYNC_PATHS } from "./poll-task-YHJL7Q94.mjs";
|
|
7
|
+
import "./poll-CPn_4eae.mjs";
|
|
8
8
|
import { z } from "zod";
|
|
9
9
|
|
|
10
10
|
//#region src/commands/git-sync/create-branch.ts
|