@metabase/cli 0.1.1 → 0.1.2
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 +12 -12
- package/dist/{add-collection-B1qe0D1U.mjs → add-collection-DwxQDXzL.mjs} +3 -3
- package/dist/{add-collection--zwkmE1S.mjs → add-collection-SL08iMub.mjs} +6 -6
- package/dist/{api-key-gzCbKDjL.mjs → api-key-BktzvPb7.mjs} +1 -1
- package/dist/{archive-CnhWegtR.mjs → archive-C1mF-9Kj.mjs} +5 -5
- package/dist/{archive-DQjBOXnx.mjs → archive-CLWtbvvH.mjs} +3 -3
- package/dist/{archive-Ni8-lQ1Y.mjs → archive-Cq4WKmJt.mjs} +3 -3
- package/dist/{archive-CitmlD1e.mjs → archive-kYoy5LK5.mjs} +3 -3
- package/dist/auth-DfYkakP3.mjs +19 -0
- package/dist/{body-DRBgxS6-.mjs → body-rDrR-C1c.mjs} +1 -1
- package/dist/{branches-C5Jcw8wu.mjs → branches-CH2UcCpX.mjs} +4 -4
- package/dist/{cancel-Ca3r7Y6v.mjs → cancel-CgLZcItQ.mjs} +3 -3
- package/dist/{cancel-task-C1-8vDKS.mjs → cancel-task-DcYrFsM6.mjs} +4 -4
- package/dist/{card-CAEZWixN.mjs → card-CQxvHeyP.mjs} +1 -1
- package/dist/card-ZCGU2JEh.mjs +20 -0
- package/dist/{cards-CILfMPUP.mjs → cards-C4NIaERo.mjs} +3 -3
- package/dist/cli.mjs +23 -23
- package/dist/collection-D_uFLIAS.mjs +19 -0
- package/dist/{create-QxDmleKJ.mjs → create-BUCLNqiN.mjs} +3 -3
- package/dist/{create-CeIi_QLj.mjs → create-CB0Yp__0.mjs} +6 -6
- package/dist/{create-C4OCclBD.mjs → create-CNvd5T8h.mjs} +3 -3
- package/dist/{create-COsD7Vzm.mjs → create-Cbh1cGj9.mjs} +3 -3
- package/dist/{create-DE_5NrFy.mjs → create-CzfNOhOF.mjs} +3 -3
- package/dist/{create-3Z6rm-4O.mjs → create-DU0ZhnZu.mjs} +3 -3
- package/dist/{create-BsY5RrVY.mjs → create-Dh0p-c2Y.mjs} +3 -3
- package/dist/{create-CP8ou91U.mjs → create-DvrVZ2hS.mjs} +4 -4
- package/dist/{create-CqNw6PmR.mjs → create-QgN369N5.mjs} +5 -5
- package/dist/{create-MEhhhgMC.mjs → create-bqc_rmix.mjs} +3 -3
- package/dist/{create-branch-CKMYaAHk.mjs → create-branch-BJFH9Hda.mjs} +4 -4
- package/dist/{credentials-CwRKvdP2.mjs → credentials-DTP1xuKz.mjs} +5 -5
- package/dist/{current-task-Dutjys16.mjs → current-task-z_TiJ0kt.mjs} +4 -4
- package/dist/dashboard-G1-dGLUR.mjs +20 -0
- package/dist/{database-BMTb0CzV.mjs → database-DQkUxTLd.mjs} +3 -3
- package/dist/{database-Dvkfy3JM.mjs → database-vvig8k4x.mjs} +1 -1
- package/dist/db-CBaEfumR.mjs +22 -0
- package/dist/{delete-BMQZuVXZ.mjs → delete-CVYII8mq.mjs} +3 -3
- package/dist/{delete-BvcA4jPj.mjs → delete-DeZQ1r9w.mjs} +3 -3
- package/dist/{delete-table-DUPjHKk4.mjs → delete-table-ZiR9-ndv.mjs} +3 -3
- package/dist/{deprovision-Bsc1S15j.mjs → deprovision-BhD3J-Am.mjs} +6 -6
- package/dist/{dirty-CXcdoUhY.mjs → dirty-D9agt7Os.mjs} +4 -4
- package/dist/{docker-D-ieBsP7.mjs → docker-CHpV8PRz.mjs} +2 -2
- package/dist/{eid-pvOsEMPZ.mjs → eid-B5wawMmO.mjs} +1 -1
- package/dist/{export-BjGhLEOi.mjs → export-Bfk7JAlR.mjs} +5 -5
- package/dist/{field-DciLbuv-.mjs → field-B3gvaqpK.mjs} +2 -0
- package/dist/field-BDJ1pEgr.mjs +18 -0
- package/dist/{fields-Do8HHm_T.mjs → fields-7ByLsxLg.mjs} +5 -5
- package/dist/{get-BmE_VHdl.mjs → get-BE6Izpus.mjs} +3 -3
- package/dist/{get-YCnVqq-z.mjs → get-C3CcAJGg.mjs} +6 -6
- package/dist/{get-C7sshmqF.mjs → get-CQGeF-eP.mjs} +4 -4
- package/dist/{get-DczxeETg.mjs → get-D2m4jhwT.mjs} +5 -5
- package/dist/{get-BGFGWkH0.mjs → get-DKy3DAJX.mjs} +3 -3
- package/dist/{get-DFrsi77F.mjs → get-DUSR5i99.mjs} +2 -2
- package/dist/{get-DhZ_dGUb.mjs → get-DikegGzi.mjs} +3 -3
- package/dist/{get-Cq5U_Eep.mjs → get-StkjKuh0.mjs} +3 -3
- package/dist/{get-CObKBj2J.mjs → get-bYc7eGYe.mjs} +3 -3
- package/dist/{get-DeQa3ThJ.mjs → get-cuHp9-6U.mjs} +5 -5
- package/dist/{get-DzCVafyO.mjs → get-gOT_RarI.mjs} +3 -3
- package/dist/{get-run-CTyW29s3.mjs → get-run-D59Yqaoh.mjs} +3 -3
- package/dist/{get-D4GUJBiX.mjs → get-tISo-cmg.mjs} +2 -2
- package/dist/git-sync-BiTWfLgY.mjs +28 -0
- package/dist/{has-remote-changes-xX8vMVsX.mjs → has-remote-changes-B1TciDVD.mjs} +4 -4
- package/dist/{import-CaAUNtXz.mjs → import-DnnmmJbp.mjs} +5 -5
- package/dist/is-dirty-DClGFOGV.mjs +10 -0
- package/dist/{is-dirty-mgxEwEk4.mjs → is-dirty-DlfX7e39.mjs} +2 -2
- package/dist/{items-Cg67tdto.mjs → items-DQFQSpjF.mjs} +3 -3
- package/dist/{license-CwKzVMD0.mjs → license-DBh13sc8.mjs} +3 -3
- package/dist/{list-CpyNn1Zn.mjs → list-4kYCGv01.mjs} +2 -2
- package/dist/{list-DLlq3FyS.mjs → list-9AOWhxqp.mjs} +5 -5
- package/dist/{list-DL-RWpIE.mjs → list-BwjqQ6pp.mjs} +2 -2
- package/dist/{list-DD8CQx8l.mjs → list-CP5RNjO6.mjs} +5 -5
- package/dist/{list-DzTMpoBs.mjs → list-Cy0VhXQs.mjs} +2 -2
- package/dist/{list-BqdNQ1nU.mjs → list-D067ZSE5.mjs} +2 -2
- package/dist/{list-BwGdD45N.mjs → list-DAZP-IM5.mjs} +2 -2
- package/dist/{list-DdQ4jmUQ.mjs → list-DJN-OvTZ.mjs} +2 -2
- package/dist/{list-CwwOoGLK.mjs → list-DQj-QJAs.mjs} +2 -2
- package/dist/{list-CfOVsAZz.mjs → list-Di529OJD.mjs} +2 -2
- package/dist/{list-DshbLoqR.mjs → list-DlKzgnqo.mjs} +4 -4
- package/dist/{list-JgRtCzz3.mjs → list-GFfR9SuT.mjs} +2 -2
- package/dist/{list-WzgJcwB5.mjs → list-iFVEdi2J.mjs} +2 -2
- package/dist/{login-DJnmR2wX.mjs → login-DxgkosGx.mjs} +18 -6
- package/dist/{logout-BMe_1Zp8.mjs → logout-BlVwqBog.mjs} +2 -2
- package/dist/{logs-CQxKJ3HG.mjs → logs-CudNEkT4.mjs} +5 -5
- package/dist/measure-C7SbdYQk.mjs +19 -0
- package/dist/{metadata-T-fNUWg_.mjs → metadata-B2Td415K.mjs} +6 -6
- package/dist/{metadata-CLIALntn.mjs → metadata-BTJAFVvZ.mjs} +5 -5
- package/dist/{package-DBsS7a5x.mjs → package-DV6Asqim.mjs} +1 -1
- package/dist/{parse-id-BUOZQqjp.mjs → parse-id-B38zTlYs.mjs} +1 -1
- package/dist/{parse-schemas-BnW4T1_I.mjs → parse-schemas-Ds-cVE-O.mjs} +1 -1
- package/dist/{poll-DMmmZWvi.mjs → poll-Bh6oAifO.mjs} +1 -1
- package/dist/{poll-task-2Ckiwp8U.mjs → poll-task-vPwV31Fs.mjs} +2 -2
- package/dist/{preflight-CC_g6EWU.mjs → preflight-DxJb-hUV.mjs} +2 -2
- package/dist/{provision-BUgWJWAV.mjs → provision-B-I0zuDe.mjs} +8 -8
- package/dist/{ps-BUNHygf-.mjs → ps-BmYQYC7t.mjs} +5 -5
- package/dist/{ps-Yv0JjLVN.mjs → ps-CaiOFCv2.mjs} +2 -2
- package/dist/{query-UIebHmbT.mjs → query-BtF1yWZZ.mjs} +5 -5
- package/dist/{query-CzfbuG8a.mjs → query-jmfqaXRP.mjs} +5 -5
- package/dist/{remove-BAUbcwuF.mjs → remove-C2iv0g03.mjs} +5 -5
- package/dist/{remove-collection-C6NxEh53.mjs → remove-collection-DhZghaZy.mjs} +6 -6
- package/dist/{remove-CN2PNGTR.mjs → remove-xskleeru.mjs} +2 -2
- package/dist/{rescan-values-CcB4F9qa.mjs → rescan-values-DW6u90ep.mjs} +6 -6
- package/dist/{run-BjXZtu_6.mjs → run-DxVzhcF3.mjs} +5 -5
- package/dist/{runs-CXx7l1NY.mjs → runs-BOHk1XnM.mjs} +3 -3
- package/dist/{runtime-D7jihh81.mjs → runtime-cwBS8wwK.mjs} +6 -3
- package/dist/{schema-tables-BCJT2DM_.mjs → schema-tables-CcFbY_jN.mjs} +5 -5
- package/dist/{schemas-DlNpbn4H.mjs → schemas-DZmv_V62.mjs} +3 -3
- package/dist/{search-Dt-6mdHZ.mjs → search-CYMuc7Fg.mjs} +3 -3
- package/dist/segment-Df4pfjco.mjs +19 -0
- package/dist/{set-DCESWpi3.mjs → set-B_rrVwU4.mjs} +2 -2
- package/dist/{set-L7cuHjVZ.mjs → set-CbGfQ7Ye.mjs} +3 -3
- package/dist/{setting-DysGAuYS.mjs → setting-DqZY9NXP.mjs} +3 -3
- package/dist/{setup-_ypJDPAY.mjs → setup-DxmcAorA.mjs} +3 -3
- package/dist/snippet-CwSHjQyn.mjs +19 -0
- package/dist/{start-BokXnb0V.mjs → start-Cn0epTks.mjs} +40 -10
- package/dist/{stash-CaGX6PfX.mjs → stash-BFZIl9F4.mjs} +5 -5
- package/dist/{status-BaX9vedb.mjs → status-BjCeJNLp.mjs} +5 -5
- package/dist/{status-CyecXzN4.mjs → status-FDIDmqvM.mjs} +2 -2
- package/dist/{status-RpVyPEty.mjs → status-UALK3OJl.mjs} +2 -2
- package/dist/{stop-BRuF_Cg1.mjs → stop-DUwrDWw8.mjs} +6 -6
- package/dist/{summary-CpEOiOlZ.mjs → summary-CS4UGiFJ.mjs} +4 -4
- package/dist/{sync-schema-4Cl4h8Jn.mjs → sync-schema-IrHdJxmX.mjs} +6 -6
- package/dist/{table-jljEqZ0R.mjs → table-B-PYcgGb.mjs} +1 -1
- package/dist/table-Cdr5bKp1.mjs +19 -0
- package/dist/transform-CeZusR_w.mjs +24 -0
- package/dist/transform-job-BOn9-CGa.mjs +19 -0
- package/dist/{translate-DqLlXXUx.mjs → translate-B__zbDKm.mjs} +3 -3
- package/dist/{tree-BT24nkLM.mjs → tree-Mh0uQ_Wy.mjs} +2 -2
- package/dist/{update-DFR46LsB.mjs → update-1Di9hbPo.mjs} +4 -4
- package/dist/{update-C5goGhNr.mjs → update-B5_pp6Jj.mjs} +4 -4
- package/dist/{update-C1Frz9GR.mjs → update-B9DBMo30.mjs} +4 -4
- package/dist/{update-DyLItrpV.mjs → update-BfBsM_y1.mjs} +4 -4
- package/dist/{update-CCOyB0iT.mjs → update-Bw0WZix_.mjs} +8 -8
- package/dist/{update-BCXKQi2n.mjs → update-Cp1789qq.mjs} +6 -6
- package/dist/{update-D6WVtNV1.mjs → update-D2VI_5cy.mjs} +7 -7
- package/dist/{update-D04NMueX.mjs → update-D8GwQTcL.mjs} +6 -6
- package/dist/{update-BXbLmC2b.mjs → update-Masp5WeT.mjs} +4 -4
- package/dist/{update-dashcard-av0_PYeg.mjs → update-dashcard-CNiQw1MD.mjs} +4 -4
- package/dist/{update-mrgvQF4i.mjs → update-j9vgemKR.mjs} +5 -5
- package/dist/{url-x4wn_l3k.mjs → url-GFM76VIK.mjs} +5 -5
- package/dist/{uuid-BZHbti8B.mjs → uuid-Uif0lNk8.mjs} +2 -2
- package/dist/{values-Be6i0Fs9.mjs → values-DrwNHUAI.mjs} +4 -4
- package/dist/{wait-BMqQD8k_.mjs → wait-BoKk8CJy.mjs} +5 -5
- package/dist/{wait-CWizX_sR.mjs → wait-DO7tS7NI.mjs} +1 -1
- package/dist/{wait-flags-DO3ar2tf.mjs → wait-flags-CjX2sEGm.mjs} +2 -2
- package/dist/workspace-CyEX40D-.mjs +24 -0
- package/package.json +1 -1
- package/dist/auth-BPjsrFxM.mjs +0 -19
- package/dist/card-BGAy3eIb.mjs +0 -20
- package/dist/collection-D8cnCB98.mjs +0 -19
- package/dist/dashboard-B4fVp392.mjs +0 -20
- package/dist/db-ACuuaEok.mjs +0 -22
- package/dist/field-BI2bt8e9.mjs +0 -18
- package/dist/git-sync-BOmT8HEU.mjs +0 -28
- package/dist/is-dirty-CPu-xqkW.mjs +0 -10
- package/dist/measure-BGyYbtqO.mjs +0 -19
- package/dist/segment-C52QNnSs.mjs +0 -19
- package/dist/snippet-vb3G9R8a.mjs +0 -19
- package/dist/table-BeMWuvzO.mjs +0 -19
- package/dist/transform-DwRc-w6y.mjs +0 -24
- package/dist/transform-job-BigWrctt.mjs +0 -19
- package/dist/workspace-CG1xyJ86.mjs +0 -24
package/README.md
CHANGED
|
@@ -1202,18 +1202,18 @@ By default `start` returns once the bundle has been consumed by the child (`stat
|
|
|
1202
1202
|
|
|
1203
1203
|
When `--repo <host-path>` is passed, the CLI bind-mounts the host directory at `/mnt/repo` inside the container and injects three settings into the workspace's `config.yml` so the child boots already wired to the repo: `remote-sync-url=file:///mnt/repo`, `remote-sync-branch=<branch>` (defaults to the current branch of the host repo, read via `git -C <path> symbolic-ref --short HEAD`; override with `--repo-branch`), and `remote-sync-type=<mode>` (defaults to `read-write`; override with `--repo-mode read-only`, which also makes the bind mount read-only). The bind mount is set at container-create time only — to add or change it after the fact, run `start --force` again with the new flags. The host path must be an existing directory; the CLI does not create or `git init` it for you.
|
|
1204
1204
|
|
|
1205
|
-
| Flag | Description
|
|
1206
|
-
| ---------------------- |
|
|
1207
|
-
| `--port <n>` | Host port (default: 3000; auto-shifts up to 100 ports if taken).
|
|
1208
|
-
| `--image <ref>` | Docker image (default: `metabase/metabase-dev:feature-workspaces-v2`).
|
|
1209
|
-
| `--wait` | Block until `/api/health` is ready. Default: return as soon as consumed.
|
|
1210
|
-
| `--timeout <ms>` | Per-phase readiness deadline (default: 240000). Covers post-create config consumption
|
|
1211
|
-
| `--no-pull` | Skip `docker pull` (useful if the image is already present).
|
|
1212
|
-
| `--no-metadata` | Skip the warehouse metadata export.
|
|
1213
|
-
| `--force` | If a container for this workspace already exists, remove it before starting.
|
|
1214
|
-
| `--repo <host-path>` | Bind-mount a host directory at `/mnt/repo` and set `remote-sync-url=file:///mnt/repo` in `config.yml`.
|
|
1215
|
-
| `--repo-branch <name>` | `remote-sync-branch` value (default: current branch of the host repo).
|
|
1216
|
-
| `--repo-mode <mode>` | `remote-sync-type`: `read-write` (default) or `read-only`. Read-only also makes the bind mount read-only.
|
|
1205
|
+
| Flag | Description |
|
|
1206
|
+
| ---------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
1207
|
+
| `--port <n>` | Host port (default: 3000; auto-shifts up to 100 ports if taken). |
|
|
1208
|
+
| `--image <ref>` | Docker image (default: `metabase/metabase-dev:feature-workspaces-v2`). |
|
|
1209
|
+
| `--wait` | Block until `/api/health` is ready. Default: return as soon as consumed. |
|
|
1210
|
+
| `--timeout <ms>` | Per-phase readiness deadline (default: 240000). Covers post-create config consumption, (with `--wait`) the `/api/health` probe, and (with `--metadata`) the metadata-import status poll. |
|
|
1211
|
+
| `--no-pull` | Skip `docker pull` (useful if the image is already present). |
|
|
1212
|
+
| `--no-metadata` | Skip the warehouse metadata export. |
|
|
1213
|
+
| `--force` | If a container for this workspace already exists, remove it before starting. |
|
|
1214
|
+
| `--repo <host-path>` | Bind-mount a host directory at `/mnt/repo` and set `remote-sync-url=file:///mnt/repo` in `config.yml`. |
|
|
1215
|
+
| `--repo-branch <name>` | `remote-sync-branch` value (default: current branch of the host repo). |
|
|
1216
|
+
| `--repo-mode <mode>` | `remote-sync-type`: `read-write` (default) or `read-only`. Read-only also makes the bind mount read-only. |
|
|
1217
1217
|
|
|
1218
1218
|
### `metabase workspace stop <id>`
|
|
1219
1219
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { renderItem } from "./render-DXv-D6fU.mjs";
|
|
2
|
-
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-
|
|
3
|
-
import { parseId } from "./parse-id-
|
|
4
|
-
import { REMOTE_SYNC_PATHS } from "./poll-task-
|
|
2
|
+
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-cwBS8wwK.mjs";
|
|
3
|
+
import { parseId } from "./parse-id-B38zTlYs.mjs";
|
|
4
|
+
import { REMOTE_SYNC_PATHS } from "./poll-task-vPwV31Fs.mjs";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
|
|
7
7
|
//#region src/commands/git-sync/add-collection.ts
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import "./package-
|
|
1
|
+
import "./package-DV6Asqim.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
3
|
import "./render-DXv-D6fU.mjs";
|
|
4
4
|
import "./predicates-DiIiS3k7.mjs";
|
|
5
|
-
import "./runtime-
|
|
6
|
-
import "./parse-id-
|
|
7
|
-
import "./poll-task-
|
|
8
|
-
import "./poll-
|
|
9
|
-
import { SyncSettingsUpdateResult, add_collection_default, setCollectionRemoteSynced, syncSettingsUpdateView } from "./add-collection-
|
|
5
|
+
import "./runtime-cwBS8wwK.mjs";
|
|
6
|
+
import "./parse-id-B38zTlYs.mjs";
|
|
7
|
+
import "./poll-task-vPwV31Fs.mjs";
|
|
8
|
+
import "./poll-Bh6oAifO.mjs";
|
|
9
|
+
import { SyncSettingsUpdateResult, add_collection_default, setCollectionRemoteSynced, syncSettingsUpdateView } from "./add-collection-DwxQDXzL.mjs";
|
|
10
10
|
|
|
11
11
|
export { add_collection_default as default };
|
|
@@ -6,7 +6,7 @@ var api_key_default = defineCommand({
|
|
|
6
6
|
name: "api-key",
|
|
7
7
|
description: "Manage Metabase API keys"
|
|
8
8
|
},
|
|
9
|
-
subCommands: { create: () => import("./create-
|
|
9
|
+
subCommands: { create: () => import("./create-DvrVZ2hS.mjs").then((mod) => mod.default) }
|
|
10
10
|
});
|
|
11
11
|
|
|
12
12
|
//#endregion
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import "./package-
|
|
1
|
+
import "./package-DV6Asqim.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
3
|
import { renderItem } from "./render-DXv-D6fU.mjs";
|
|
4
4
|
import "./predicates-DiIiS3k7.mjs";
|
|
5
|
-
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-
|
|
6
|
-
import { parseId } from "./parse-id-
|
|
7
|
-
import "./field-
|
|
8
|
-
import { Card, cardView } from "./card-
|
|
5
|
+
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-cwBS8wwK.mjs";
|
|
6
|
+
import { parseId } from "./parse-id-B38zTlYs.mjs";
|
|
7
|
+
import "./field-B3gvaqpK.mjs";
|
|
8
|
+
import { Card, cardView } from "./card-CQxvHeyP.mjs";
|
|
9
9
|
|
|
10
10
|
//#region src/commands/card/archive.ts
|
|
11
11
|
var archive_default = defineMetabaseCommand({
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import "./package-
|
|
1
|
+
import "./package-DV6Asqim.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
3
|
import { renderItem } from "./render-DXv-D6fU.mjs";
|
|
4
4
|
import "./predicates-DiIiS3k7.mjs";
|
|
5
|
-
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-
|
|
6
|
-
import { parseId } from "./parse-id-
|
|
5
|
+
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-cwBS8wwK.mjs";
|
|
6
|
+
import { parseId } from "./parse-id-B38zTlYs.mjs";
|
|
7
7
|
import { revisionMessageFlag } from "./revision-message-flag-CWQbKhdl.mjs";
|
|
8
8
|
import { Segment, segmentView } from "./segment-BMrUBz94.mjs";
|
|
9
9
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import "./package-
|
|
1
|
+
import "./package-DV6Asqim.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
3
|
import { renderItem } from "./render-DXv-D6fU.mjs";
|
|
4
4
|
import "./predicates-DiIiS3k7.mjs";
|
|
5
|
-
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-
|
|
6
|
-
import { parseId } from "./parse-id-
|
|
5
|
+
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-cwBS8wwK.mjs";
|
|
6
|
+
import { parseId } from "./parse-id-B38zTlYs.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-DV6Asqim.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
3
|
import { renderItem } from "./render-DXv-D6fU.mjs";
|
|
4
4
|
import "./predicates-DiIiS3k7.mjs";
|
|
5
|
-
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-
|
|
6
|
-
import { parseId } from "./parse-id-
|
|
5
|
+
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-cwBS8wwK.mjs";
|
|
6
|
+
import { parseId } from "./parse-id-B38zTlYs.mjs";
|
|
7
7
|
import { Snippet, snippetView } from "./snippet-Dw0Sjzkr.mjs";
|
|
8
8
|
|
|
9
9
|
//#region src/commands/snippet/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-DxgkosGx.mjs").then((m) => m.default),
|
|
12
|
+
status: () => import("./status-FDIDmqvM.mjs").then((m) => m.default),
|
|
13
|
+
list: () => import("./list-Di529OJD.mjs").then((m) => m.default),
|
|
14
|
+
logout: () => import("./logout-BlVwqBog.mjs").then((m) => m.default)
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
|
|
18
|
+
//#endregion
|
|
19
|
+
export { auth_default as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ConfigError } from "./predicates-DiIiS3k7.mjs";
|
|
2
2
|
import { readInput } from "./input-ikCiip6x.mjs";
|
|
3
|
-
import { parseJson } from "./runtime-
|
|
3
|
+
import { parseJson } from "./runtime-cwBS8wwK.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-DV6Asqim.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
3
|
import { renderList } from "./render-DXv-D6fU.mjs";
|
|
4
4
|
import "./predicates-DiIiS3k7.mjs";
|
|
5
|
-
import { connectionFlags, defineMetabaseCommand, listEnvelopeSchema, outputFlags, profileFlag, wrapList } from "./runtime-
|
|
6
|
-
import { REMOTE_SYNC_PATHS } from "./poll-task-
|
|
7
|
-
import "./poll-
|
|
5
|
+
import { connectionFlags, defineMetabaseCommand, listEnvelopeSchema, outputFlags, profileFlag, wrapList } from "./runtime-cwBS8wwK.mjs";
|
|
6
|
+
import { REMOTE_SYNC_PATHS } from "./poll-task-vPwV31Fs.mjs";
|
|
7
|
+
import "./poll-Bh6oAifO.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-DV6Asqim.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
3
|
import { renderItem } from "./render-DXv-D6fU.mjs";
|
|
4
4
|
import "./predicates-DiIiS3k7.mjs";
|
|
5
|
-
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-
|
|
6
|
-
import { parseId } from "./parse-id-
|
|
5
|
+
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-cwBS8wwK.mjs";
|
|
6
|
+
import { parseId } from "./parse-id-B38zTlYs.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-DV6Asqim.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
3
|
import { renderItem } from "./render-DXv-D6fU.mjs";
|
|
4
4
|
import "./predicates-DiIiS3k7.mjs";
|
|
5
|
-
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-
|
|
6
|
-
import { REMOTE_SYNC_PATHS, SyncTask, syncTaskView } from "./poll-task-
|
|
7
|
-
import "./poll-
|
|
5
|
+
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-cwBS8wwK.mjs";
|
|
6
|
+
import { REMOTE_SYNC_PATHS, SyncTask, syncTaskView } from "./poll-task-vPwV31Fs.mjs";
|
|
7
|
+
import "./poll-Bh6oAifO.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-DlKzgnqo.mjs").then((mod) => mod.default),
|
|
11
|
+
get: () => import("./get-cuHp9-6U.mjs").then((mod) => mod.default),
|
|
12
|
+
query: () => import("./query-jmfqaXRP.mjs").then((mod) => mod.default),
|
|
13
|
+
create: () => import("./create-QgN369N5.mjs").then((mod) => mod.default),
|
|
14
|
+
update: () => import("./update-D8GwQTcL.mjs").then((mod) => mod.default),
|
|
15
|
+
archive: () => import("./archive-C1mF-9Kj.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-DV6Asqim.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
3
|
import { renderList } from "./render-DXv-D6fU.mjs";
|
|
4
4
|
import "./predicates-DiIiS3k7.mjs";
|
|
5
|
-
import { connectionFlags, defineMetabaseCommand, listEnvelopeSchema, outputFlags, profileFlag, wrapList } from "./runtime-
|
|
6
|
-
import { parseId } from "./parse-id-
|
|
5
|
+
import { connectionFlags, defineMetabaseCommand, listEnvelopeSchema, outputFlags, profileFlag, wrapList } from "./runtime-cwBS8wwK.mjs";
|
|
6
|
+
import { parseId } from "./parse-id-B38zTlYs.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-DV6Asqim.mjs";
|
|
3
3
|
import { getMetabaseAugment } from "./command-augment-D9pI9Vbh.mjs";
|
|
4
4
|
import { defineCommand, renderUsage, runMain } from "citty";
|
|
5
5
|
|
|
@@ -11,28 +11,28 @@ 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-
|
|
14
|
+
auth: () => import("./auth-DfYkakP3.mjs").then((mod) => mod.default),
|
|
15
|
+
license: () => import("./license-DBh13sc8.mjs").then((mod) => mod.default),
|
|
16
|
+
db: () => import("./db-CBaEfumR.mjs").then((mod) => mod.default),
|
|
17
|
+
table: () => import("./table-Cdr5bKp1.mjs").then((mod) => mod.default),
|
|
18
|
+
field: () => import("./field-BDJ1pEgr.mjs").then((mod) => mod.default),
|
|
19
|
+
card: () => import("./card-ZCGU2JEh.mjs").then((mod) => mod.default),
|
|
20
|
+
dashboard: () => import("./dashboard-G1-dGLUR.mjs").then((mod) => mod.default),
|
|
21
|
+
collection: () => import("./collection-D_uFLIAS.mjs").then((mod) => mod.default),
|
|
22
|
+
transform: () => import("./transform-CeZusR_w.mjs").then((mod) => mod.default),
|
|
23
|
+
"transform-job": () => import("./transform-job-BOn9-CGa.mjs").then((mod) => mod.default),
|
|
24
|
+
setting: () => import("./setting-DqZY9NXP.mjs").then((mod) => mod.default),
|
|
25
|
+
search: () => import("./search-CYMuc7Fg.mjs").then((mod) => mod.default),
|
|
26
|
+
"git-sync": () => import("./git-sync-BiTWfLgY.mjs").then((mod) => mod.default),
|
|
27
|
+
workspace: () => import("./workspace-CyEX40D-.mjs").then((mod) => mod.default),
|
|
28
|
+
setup: () => import("./setup-DxmcAorA.mjs").then((mod) => mod.default),
|
|
29
|
+
"api-key": () => import("./api-key-BktzvPb7.mjs").then((mod) => mod.default),
|
|
30
|
+
snippet: () => import("./snippet-CwSHjQyn.mjs").then((mod) => mod.default),
|
|
31
|
+
segment: () => import("./segment-Df4pfjco.mjs").then((mod) => mod.default),
|
|
32
|
+
measure: () => import("./measure-C7SbdYQk.mjs").then((mod) => mod.default),
|
|
33
|
+
eid: () => import("./eid-B5wawMmO.mjs").then((mod) => mod.default),
|
|
34
|
+
query: () => import("./query-BtF1yWZZ.mjs").then((mod) => mod.default),
|
|
35
|
+
uuid: () => import("./uuid-Uif0lNk8.mjs").then((mod) => mod.default),
|
|
36
36
|
__manifest: () => import("./manifest-Dv5B9Blc.mjs").then((mod) => mod.createManifestCommand(main))
|
|
37
37
|
}
|
|
38
38
|
});
|
|
@@ -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-DJN-OvTZ.mjs").then((mod) => mod.default),
|
|
11
|
+
get: () => import("./get-tISo-cmg.mjs").then((mod) => mod.default),
|
|
12
|
+
items: () => import("./items-DQFQSpjF.mjs").then((mod) => mod.default),
|
|
13
|
+
tree: () => import("./tree-Mh0uQ_Wy.mjs").then((mod) => mod.default),
|
|
14
|
+
create: () => import("./create-DU0ZhnZu.mjs").then((mod) => mod.default)
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
|
|
18
|
+
//#endregion
|
|
19
|
+
export { collection_default as default };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import "./package-
|
|
1
|
+
import "./package-DV6Asqim.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
3
|
import { renderItem } from "./render-DXv-D6fU.mjs";
|
|
4
4
|
import "./predicates-DiIiS3k7.mjs";
|
|
5
5
|
import "./input-ikCiip6x.mjs";
|
|
6
|
-
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-
|
|
7
|
-
import { readBody } from "./body-
|
|
6
|
+
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-cwBS8wwK.mjs";
|
|
7
|
+
import { readBody } from "./body-rDrR-C1c.mjs";
|
|
8
8
|
import { bodyInputFlags } from "./body-flags-BK7J6Daz.mjs";
|
|
9
9
|
import "./validate-DCYx6jdL.mjs";
|
|
10
10
|
import { TRANSFORM_SOURCE_QUERY_LABELS, preflightMbql5Query, skipValidateFlag } from "./validate-query-B07oGG4K.mjs";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import "./package-
|
|
1
|
+
import "./package-DV6Asqim.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
3
|
import { renderItem } from "./render-DXv-D6fU.mjs";
|
|
4
4
|
import "./predicates-DiIiS3k7.mjs";
|
|
5
5
|
import "./input-ikCiip6x.mjs";
|
|
6
|
-
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-
|
|
7
|
-
import { readBody } from "./body-
|
|
6
|
+
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-cwBS8wwK.mjs";
|
|
7
|
+
import { readBody } from "./body-rDrR-C1c.mjs";
|
|
8
8
|
import { bodyInputFlags } from "./body-flags-BK7J6Daz.mjs";
|
|
9
|
-
import "./field-
|
|
10
|
-
import "./card-
|
|
9
|
+
import "./field-B3gvaqpK.mjs";
|
|
10
|
+
import "./card-CQxvHeyP.mjs";
|
|
11
11
|
import "./validate-DCYx6jdL.mjs";
|
|
12
12
|
import { Dashboard, DashboardCreateInput, DashboardDetail, dashboardView } from "./dashboard-CnMD04PQ.mjs";
|
|
13
|
-
import { preflightDashcardCardReferences, wrapChainedDashboardWriteError } from "./preflight-
|
|
13
|
+
import { preflightDashcardCardReferences, wrapChainedDashboardWriteError } from "./preflight-DxJb-hUV.mjs";
|
|
14
14
|
|
|
15
15
|
//#region src/commands/dashboard/create.ts
|
|
16
16
|
var create_default = defineMetabaseCommand({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import "./package-
|
|
1
|
+
import "./package-DV6Asqim.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
3
|
import { renderItem } from "./render-DXv-D6fU.mjs";
|
|
4
4
|
import "./predicates-DiIiS3k7.mjs";
|
|
5
5
|
import "./input-ikCiip6x.mjs";
|
|
6
|
-
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-
|
|
7
|
-
import { readBody } from "./body-
|
|
6
|
+
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-cwBS8wwK.mjs";
|
|
7
|
+
import { readBody } from "./body-rDrR-C1c.mjs";
|
|
8
8
|
import { bodyInputFlags } from "./body-flags-BK7J6Daz.mjs";
|
|
9
9
|
import { Workspace, WorkspaceCreateInput, workspaceView } from "./workspace-DVuqKJGG.mjs";
|
|
10
10
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import "./package-
|
|
1
|
+
import "./package-DV6Asqim.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
3
|
import { renderItem } from "./render-DXv-D6fU.mjs";
|
|
4
4
|
import "./predicates-DiIiS3k7.mjs";
|
|
5
5
|
import "./input-ikCiip6x.mjs";
|
|
6
|
-
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-
|
|
7
|
-
import { readBody } from "./body-
|
|
6
|
+
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-cwBS8wwK.mjs";
|
|
7
|
+
import { readBody } from "./body-rDrR-C1c.mjs";
|
|
8
8
|
import { bodyInputFlags } from "./body-flags-BK7J6Daz.mjs";
|
|
9
9
|
import "./validate-DCYx6jdL.mjs";
|
|
10
10
|
import { MEASURE_DEFINITION_LABELS, preflightMbql5Query, skipValidateFlag } from "./validate-query-B07oGG4K.mjs";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import "./package-
|
|
1
|
+
import "./package-DV6Asqim.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
3
|
import { renderItem } from "./render-DXv-D6fU.mjs";
|
|
4
4
|
import "./predicates-DiIiS3k7.mjs";
|
|
5
5
|
import "./input-ikCiip6x.mjs";
|
|
6
|
-
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-
|
|
7
|
-
import { readBody } from "./body-
|
|
6
|
+
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-cwBS8wwK.mjs";
|
|
7
|
+
import { readBody } from "./body-rDrR-C1c.mjs";
|
|
8
8
|
import { bodyInputFlags } from "./body-flags-BK7J6Daz.mjs";
|
|
9
9
|
import "./validate-DCYx6jdL.mjs";
|
|
10
10
|
import { SEGMENT_DEFINITION_LABELS, preflightMbql5Query, skipValidateFlag } from "./validate-query-B07oGG4K.mjs";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import "./package-
|
|
1
|
+
import "./package-DV6Asqim.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
3
|
import { renderItem } from "./render-DXv-D6fU.mjs";
|
|
4
4
|
import "./predicates-DiIiS3k7.mjs";
|
|
5
5
|
import "./input-ikCiip6x.mjs";
|
|
6
|
-
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-
|
|
7
|
-
import { readBody } from "./body-
|
|
6
|
+
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-cwBS8wwK.mjs";
|
|
7
|
+
import { readBody } from "./body-rDrR-C1c.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-DV6Asqim.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
3
|
import { renderItem } from "./render-DXv-D6fU.mjs";
|
|
4
4
|
import "./predicates-DiIiS3k7.mjs";
|
|
5
5
|
import "./input-ikCiip6x.mjs";
|
|
6
|
-
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-
|
|
7
|
-
import { readBody } from "./body-
|
|
6
|
+
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-cwBS8wwK.mjs";
|
|
7
|
+
import { readBody } from "./body-rDrR-C1c.mjs";
|
|
8
8
|
import { bodyInputFlags } from "./body-flags-BK7J6Daz.mjs";
|
|
9
9
|
import { Snippet, SnippetCreateInput, snippetView } from "./snippet-Dw0Sjzkr.mjs";
|
|
10
10
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import "./package-
|
|
1
|
+
import "./package-DV6Asqim.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
3
|
import { renderItem } from "./render-DXv-D6fU.mjs";
|
|
4
4
|
import "./predicates-DiIiS3k7.mjs";
|
|
5
5
|
import "./input-ikCiip6x.mjs";
|
|
6
|
-
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-
|
|
7
|
-
import { readBody } from "./body-
|
|
6
|
+
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-cwBS8wwK.mjs";
|
|
7
|
+
import { readBody } from "./body-rDrR-C1c.mjs";
|
|
8
8
|
import { bodyInputFlags } from "./body-flags-BK7J6Daz.mjs";
|
|
9
9
|
import { requireBothOrNeither } from "./flag-pair-DtR1AiBQ.mjs";
|
|
10
|
-
import { parseId } from "./parse-id-
|
|
10
|
+
import { parseId } from "./parse-id-B38zTlYs.mjs";
|
|
11
11
|
import { z } from "zod";
|
|
12
12
|
|
|
13
13
|
//#region src/domain/api-key.ts
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import "./package-
|
|
1
|
+
import "./package-DV6Asqim.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
3
|
import { renderItem } from "./render-DXv-D6fU.mjs";
|
|
4
4
|
import "./predicates-DiIiS3k7.mjs";
|
|
5
5
|
import "./input-ikCiip6x.mjs";
|
|
6
|
-
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-
|
|
7
|
-
import { readBody } from "./body-
|
|
6
|
+
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-cwBS8wwK.mjs";
|
|
7
|
+
import { readBody } from "./body-rDrR-C1c.mjs";
|
|
8
8
|
import { bodyInputFlags } from "./body-flags-BK7J6Daz.mjs";
|
|
9
|
-
import "./field-
|
|
10
|
-
import { Card, CardCreateInput, cardView } from "./card-
|
|
9
|
+
import "./field-B3gvaqpK.mjs";
|
|
10
|
+
import { Card, CardCreateInput, cardView } from "./card-CQxvHeyP.mjs";
|
|
11
11
|
import "./validate-DCYx6jdL.mjs";
|
|
12
12
|
import { CARD_DATASET_QUERY_LABELS, preflightMbql5Query, skipValidateFlag } from "./validate-query-B07oGG4K.mjs";
|
|
13
13
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import "./package-
|
|
1
|
+
import "./package-DV6Asqim.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
3
|
import { renderItem } from "./render-DXv-D6fU.mjs";
|
|
4
4
|
import "./predicates-DiIiS3k7.mjs";
|
|
5
5
|
import "./input-ikCiip6x.mjs";
|
|
6
|
-
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-
|
|
7
|
-
import { readBody } from "./body-
|
|
6
|
+
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-cwBS8wwK.mjs";
|
|
7
|
+
import { readBody } from "./body-rDrR-C1c.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-DV6Asqim.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
3
|
import { renderItem } from "./render-DXv-D6fU.mjs";
|
|
4
4
|
import { ConfigError } from "./predicates-DiIiS3k7.mjs";
|
|
5
|
-
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-
|
|
6
|
-
import { REMOTE_SYNC_PATHS } from "./poll-task-
|
|
7
|
-
import "./poll-
|
|
5
|
+
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-cwBS8wwK.mjs";
|
|
6
|
+
import { REMOTE_SYNC_PATHS } from "./poll-task-vPwV31Fs.mjs";
|
|
7
|
+
import "./poll-Bh6oAifO.mjs";
|
|
8
8
|
import { z } from "zod";
|
|
9
9
|
|
|
10
10
|
//#region src/commands/git-sync/create-branch.ts
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import "./package-
|
|
1
|
+
import "./package-DV6Asqim.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
3
|
import { renderItem } from "./render-DXv-D6fU.mjs";
|
|
4
4
|
import "./predicates-DiIiS3k7.mjs";
|
|
5
|
-
import { defineMetabaseCommand, localUrl, outputFlags, parseJson } from "./runtime-
|
|
6
|
-
import { parseId } from "./parse-id-
|
|
7
|
-
import "./poll-
|
|
8
|
-
import { checkDockerReady, readContainerCredentialsFile, requireWorkspaceContainerLocation } from "./docker-
|
|
5
|
+
import { defineMetabaseCommand, localUrl, outputFlags, parseJson } from "./runtime-cwBS8wwK.mjs";
|
|
6
|
+
import { parseId } from "./parse-id-B38zTlYs.mjs";
|
|
7
|
+
import "./poll-Bh6oAifO.mjs";
|
|
8
|
+
import { checkDockerReady, readContainerCredentialsFile, requireWorkspaceContainerLocation } from "./docker-CHpV8PRz.mjs";
|
|
9
9
|
import { WorkspaceCredentials } from "./workspace-credentials-B6BL-X0d.mjs";
|
|
10
10
|
import { z } from "zod";
|
|
11
11
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import "./package-
|
|
1
|
+
import "./package-DV6Asqim.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
3
|
import { renderItem } from "./render-DXv-D6fU.mjs";
|
|
4
4
|
import "./predicates-DiIiS3k7.mjs";
|
|
5
|
-
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-
|
|
6
|
-
import { SyncTaskOrIdle, fetchCurrentTask, syncTaskIdleView, syncTaskView } from "./poll-task-
|
|
7
|
-
import "./poll-
|
|
5
|
+
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-cwBS8wwK.mjs";
|
|
6
|
+
import { SyncTaskOrIdle, fetchCurrentTask, syncTaskIdleView, syncTaskView } from "./poll-task-vPwV31Fs.mjs";
|
|
7
|
+
import "./poll-Bh6oAifO.mjs";
|
|
8
8
|
|
|
9
9
|
//#region src/commands/git-sync/current-task.ts
|
|
10
10
|
const CurrentTaskResult = SyncTaskOrIdle;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { defineCommand } from "citty";
|
|
2
|
+
|
|
3
|
+
//#region src/commands/dashboard/index.ts
|
|
4
|
+
var dashboard_default = defineCommand({
|
|
5
|
+
meta: {
|
|
6
|
+
name: "dashboard",
|
|
7
|
+
description: "Manage Metabase dashboards"
|
|
8
|
+
},
|
|
9
|
+
subCommands: {
|
|
10
|
+
list: () => import("./list-D067ZSE5.mjs").then((mod) => mod.default),
|
|
11
|
+
get: () => import("./get-StkjKuh0.mjs").then((mod) => mod.default),
|
|
12
|
+
cards: () => import("./cards-C4NIaERo.mjs").then((mod) => mod.default),
|
|
13
|
+
create: () => import("./create-CB0Yp__0.mjs").then((mod) => mod.default),
|
|
14
|
+
update: () => import("./update-D2VI_5cy.mjs").then((mod) => mod.default),
|
|
15
|
+
"update-dashcard": () => import("./update-dashcard-CNiQw1MD.mjs").then((mod) => mod.default)
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
|
|
19
|
+
//#endregion
|
|
20
|
+
export { dashboard_default as default };
|
|
@@ -7,9 +7,9 @@ var database_default = defineCommand({
|
|
|
7
7
|
description: "Manage databases provisioned to a workspace"
|
|
8
8
|
},
|
|
9
9
|
subCommands: {
|
|
10
|
-
provision: () => import("./provision-
|
|
11
|
-
update: () => import("./update-
|
|
12
|
-
deprovision: () => import("./deprovision-
|
|
10
|
+
provision: () => import("./provision-B-I0zuDe.mjs").then((mod) => mod.default),
|
|
11
|
+
update: () => import("./update-Bw0WZix_.mjs").then((mod) => mod.default),
|
|
12
|
+
deprovision: () => import("./deprovision-BhD3J-Am.mjs").then((mod) => mod.default)
|
|
13
13
|
}
|
|
14
14
|
});
|
|
15
15
|
|