@metabase/cli 0.1.4 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude-plugin/marketplace.json +19 -0
- package/README.md +40 -7
- package/dist/{add-collection-CffaBB-Y.mjs → add-collection-C_iovi9i.mjs} +3 -3
- package/dist/{add-collection-CPL1njYZ.mjs → add-collection-ucsyAMkV.mjs} +6 -6
- package/dist/{api-key-9p1UPnXn.mjs → api-key-BENHbTbV.mjs} +1 -1
- package/dist/{archive-BAcEXbT9.mjs → archive-BKPO8lEO.mjs} +3 -3
- package/dist/{archive-B_B3MQp0.mjs → archive-DdaP94H3.mjs} +3 -3
- package/dist/{archive-uJrslh9r.mjs → archive-Dvzrmdbk.mjs} +3 -3
- package/dist/{archive-GdGm7l2e.mjs → archive-WaEW85NB.mjs} +4 -4
- package/dist/auth-DICRtJDy.mjs +19 -0
- package/dist/{body-D6dHGjMT.mjs → body-XtR7-uCO.mjs} +1 -1
- package/dist/{branches-Bpe40fEd.mjs → branches-XUY4JY-X.mjs} +4 -4
- package/dist/{cancel-BWTY6oYI.mjs → cancel-BrUVO_ax.mjs} +3 -3
- package/dist/{cancel-task--BfiAXfS.mjs → cancel-task-oXheTOB6.mjs} +4 -4
- package/dist/card-l-UmrUIo.mjs +20 -0
- package/dist/{cards-CVlFJxYh.mjs → cards-CONTTAG9.mjs} +3 -3
- package/dist/cli.mjs +28 -25
- package/dist/collection-oV0olVY-.mjs +19 -0
- package/dist/{create-izE3EKCt.mjs → create-Ca9lIDwP.mjs} +3 -3
- package/dist/{create-ov-De5dO.mjs → create-CrUq6sib.mjs} +4 -4
- package/dist/{create-DQVdMT2Y.mjs → create-Cs2xntFG.mjs} +4 -4
- package/dist/{create-doyv3SxU.mjs → create-D3Z878yr.mjs} +3 -3
- package/dist/{create-Bu-YhIDL.mjs → create-DZxUeqdf.mjs} +4 -4
- package/dist/{create-DP8RrLDi.mjs → create-Dq25vsMu.mjs} +4 -4
- package/dist/{create-BzElku2l.mjs → create-Le3Bqn7b.mjs} +3 -3
- package/dist/{create-BykvNpSA.mjs → create-V-q2rU0T.mjs} +4 -4
- package/dist/{create-branch-B49UQyCK.mjs → create-branch-D5u14AxL.mjs} +4 -4
- package/dist/{create-DYoc9IXW.mjs → create-kYpjobrq.mjs} +4 -4
- package/dist/{create-Cz3_Wxdt.mjs → create-swbIXdo5.mjs} +3 -3
- package/dist/{credentials-xKSoP6eh.mjs → credentials-BIQ1cEzM.mjs} +8 -7
- package/dist/{current-task-DweHmjlk.mjs → current-task-DCq7rk9V.mjs} +4 -4
- package/dist/dashboard-hbKDd36X.mjs +20 -0
- package/dist/{database-BNlvldUL.mjs → database-BSvzYlRe.mjs} +3 -3
- package/dist/db-qVK6NsdB.mjs +22 -0
- package/dist/{delete-DojHmKeM.mjs → delete-CUx6RT9e.mjs} +4 -4
- package/dist/{delete-DIz9Tgz5.mjs → delete-VTAS9EUt.mjs} +4 -4
- package/dist/{delete-table-DjN8E3sd.mjs → delete-table-DzUneMKe.mjs} +4 -4
- package/dist/{deprovision-_HDcBApz.mjs → deprovision-CpJfGgCt.mjs} +8 -8
- package/dist/{dirty-Co8V0SZ3.mjs → dirty-nkAOXxgC.mjs} +4 -4
- package/dist/{docker-D9sC_37H.mjs → docker-D5FTIoD0.mjs} +3 -3
- package/dist/{eid-Cr5r-t9B.mjs → eid-CDFXX_6H.mjs} +1 -1
- package/dist/{export-CVMFxoo1.mjs → export-BWvY7X_G.mjs} +5 -5
- package/dist/field-C0LE7RQI.mjs +18 -0
- package/dist/{fields-Coha7vKv.mjs → fields-dH16G5UV.mjs} +3 -3
- package/dist/get-7macOPAI.mjs +79 -0
- package/dist/{get-AOvWo48B.mjs → get-B08K82JV.mjs} +4 -4
- package/dist/{get-bNtA7vWe.mjs → get-B7i_nYJB.mjs} +4 -4
- package/dist/{get-CJwzbVjc.mjs → get-BcqxMVC1.mjs} +3 -3
- package/dist/{get-DXv2FkA7.mjs → get-BnBRKHr7.mjs} +3 -3
- package/dist/{get-BVTz9B_H.mjs → get-C6SR3A9t.mjs} +2 -2
- package/dist/{get-BSKoL8ek.mjs → get-CACaBFLt.mjs} +3 -3
- package/dist/{get-C_6K7MSW.mjs → get-CKxlhMy1.mjs} +2 -2
- package/dist/{get-Be6EFh94.mjs → get-D8e_RzZ0.mjs} +3 -3
- package/dist/{get-Br6WayZv.mjs → get-D96QEU49.mjs} +3 -3
- package/dist/{get-DZrV7v9d.mjs → get-DAWofnzK.mjs} +3 -3
- package/dist/{get-BOtKerj8.mjs → get-DNN1X2gN.mjs} +3 -3
- package/dist/{get-BxzCKVC6.mjs → get-R7OaVL_t.mjs} +4 -4
- package/dist/{get-run-CSrXHDGS.mjs → get-run-CwFuR4Uw.mjs} +4 -4
- package/dist/git-sync-DV7YjniX.mjs +28 -0
- package/dist/{has-remote-changes-D6xgsuUr.mjs → has-remote-changes-BAnIXQXU.mjs} +4 -4
- package/dist/{import-Dv0ORSNw.mjs → import-CfdPEMng.mjs} +5 -5
- package/dist/{is-dirty-WNi8a6O9.mjs → is-dirty-CZWcG0vj.mjs} +2 -2
- package/dist/is-dirty-LxVbm2C5.mjs +10 -0
- package/dist/{items-CTcAMknV.mjs → items-DqwahOKf.mjs} +3 -3
- package/dist/{license-DLLTpFvP.mjs → license-Cb6ewEJO.mjs} +3 -3
- package/dist/{list-DjhZU-FY.mjs → list-Bkd7Nbds.mjs} +2 -2
- package/dist/{list-DhWG5jiW.mjs → list-BpNU1neq.mjs} +2 -2
- package/dist/{list-CocYwmnI.mjs → list-BqNMpIXy.mjs} +2 -2
- package/dist/{list-DvUjMQze.mjs → list-CQkDqphl.mjs} +2 -2
- package/dist/{list-xQmtQPSl.mjs → list-D41gfkKb.mjs} +2 -2
- package/dist/{list-CbJeP0Z6.mjs → list-DBOYoJtA.mjs} +3 -3
- package/dist/{list-NiwCL_1X.mjs → list-DJcGwJ4W.mjs} +3 -3
- package/dist/{list-BNzdnE1c.mjs → list-DV6CONhp.mjs} +2 -2
- package/dist/{list-DI7K3K6k.mjs → list-J277Qtki.mjs} +3 -3
- package/dist/list-L63TpX1t.mjs +44 -0
- package/dist/{list-DSs0Q78i.mjs → list-ViT2KWhv.mjs} +3 -3
- package/dist/{list-BxdXvGTK.mjs → list-oftHLFbE.mjs} +2 -2
- package/dist/{list-FXuSCYpa.mjs → list-vF4EneaE.mjs} +3 -3
- package/dist/{list-8oVMvlLV.mjs → list-yxVAE1S7.mjs} +2 -2
- package/dist/{login-SXsSH0I1.mjs → login-D1nZwgKv.mjs} +2 -2
- package/dist/{logout-bgOXjxbN.mjs → logout-DD4q5whi.mjs} +2 -2
- package/dist/{logs-BnwVbFuD.mjs → logs-Ci3mJE2z.mjs} +6 -6
- package/dist/measure-XhJuL77y.mjs +19 -0
- package/dist/{metadata-B0WZT3Yb.mjs → metadata-29_qlqbz.mjs} +3 -3
- package/dist/{metadata-Bu2HOmuX.mjs → metadata-BDat-jN9.mjs} +3 -3
- package/dist/{package-D-aVYFKM.mjs → package-DFUprkSZ.mjs} +7 -2
- package/dist/{parse-id-B3B-0hUA.mjs → parse-id-CysSaCbf.mjs} +1 -1
- package/dist/{parse-schemas-DgtVLikM.mjs → parse-schemas-B10n01ez.mjs} +1 -1
- package/dist/path-DLByFMMA.mjs +58 -0
- package/dist/{poll-BCnrcUVf.mjs → poll-p9Y7-JEQ.mjs} +1 -1
- package/dist/{poll-task-0b1V6G-8.mjs → poll-task-BQe0NvJZ.mjs} +2 -2
- package/dist/{preflight-5ACaYnDp.mjs → preflight-CvFu0Cct.mjs} +1 -1
- package/dist/{provision-29Zt62Ft.mjs → provision-BP-b4Are.mjs} +9 -9
- package/dist/{ps-C5FOLwL2.mjs → ps-Bk6unzaX.mjs} +6 -6
- package/dist/{ps-BMFiRCi4.mjs → ps-BxQdpkr5.mjs} +2 -2
- package/dist/{query-aba8MEe_.mjs → query-C7zTlFJA.mjs} +3 -3
- package/dist/{query-DxA353Hy.mjs → query-CFH4nBlK.mjs} +3 -3
- package/dist/{remove-BfgU_CQi.mjs → remove-BuWxx3hY.mjs} +2 -2
- package/dist/{remove-B3ZEqBF7.mjs → remove-C6bS0Z6w.mjs} +6 -6
- package/dist/{remove-collection-Brv72xUe.mjs → remove-collection-Bc4roCq0.mjs} +6 -6
- package/dist/{rescan-values-DIAdjoq7.mjs → rescan-values-DabyRYQ_.mjs} +3 -3
- package/dist/{run-CgXRo0hD.mjs → run-Cl-9RtC4.mjs} +6 -6
- package/dist/{runs-DtLRw6xg.mjs → runs-BH6s1Zao.mjs} +4 -4
- package/dist/{runtime-Br8L4NPm.mjs → runtime-CDu6fykq.mjs} +1 -1
- package/dist/{schema-tables-DiKMY6lx.mjs → schema-tables-i58wp_p3.mjs} +3 -3
- package/dist/{schemas-Bvr8cOzo.mjs → schemas-_m8RYRl9.mjs} +3 -3
- package/dist/{search-BT_TCcTd.mjs → search-DObOsjbP.mjs} +3 -3
- package/dist/segment-DfxZdJmR.mjs +19 -0
- package/dist/{set-DtG0KH6P.mjs → set-CJA9dpK6.mjs} +2 -2
- package/dist/{set-CAIkXlPy.mjs → set-CwVWeAsi.mjs} +3 -3
- package/dist/{setting-BDOi5fk_.mjs → setting-Czy4ws6h.mjs} +3 -3
- package/dist/{setup-LjTvvlJy.mjs → setup-DqBOe3HZ.mjs} +3 -3
- package/dist/skills-C2rTVj0n.mjs +18 -0
- package/dist/skills-CHU7uuDU.mjs +191 -0
- package/dist/snippet-BCY4KHBU.mjs +19 -0
- package/dist/{start-CXKt0Q7A.mjs → start-CfruN4wF.mjs} +9 -8
- package/dist/{stash-dRw1UEwg.mjs → stash-CWuXKSZq.mjs} +5 -5
- package/dist/{status-BWep0PFe.mjs → status-1oUnw803.mjs} +2 -2
- package/dist/{status-C2niMfrQ.mjs → status-D-RYZB9G.mjs} +5 -5
- package/dist/{status-BEONmJWv.mjs → status-J9HIDcA5.mjs} +2 -2
- package/dist/{stop-BdedYfwU.mjs → stop-D8Hr4cKX.mjs} +7 -7
- package/dist/{summary-BPDA4K99.mjs → summary-Lt2XLBK9.mjs} +3 -3
- package/dist/{sync-schema-D95LLRpf.mjs → sync-schema-BDElSynU.mjs} +3 -3
- package/dist/table-BwX3Ib5f.mjs +19 -0
- package/dist/transform-iaAi37V0.mjs +24 -0
- package/dist/transform-job-Bemonf82.mjs +19 -0
- package/dist/{translate-CG_Ka0dO.mjs → translate-Cqsd0Px5.mjs} +3 -3
- package/dist/{tree-DazZT7dR.mjs → tree-DfvjDjmk.mjs} +2 -2
- package/dist/{update-DTIWJxob.mjs → update-B0bjPqKC.mjs} +4 -4
- package/dist/{update-CJSDB6S8.mjs → update-BYduslhn.mjs} +9 -9
- package/dist/{update-BBfvArCx.mjs → update-BgcroYkF.mjs} +5 -5
- package/dist/{update-djgvzO3K.mjs → update-CVxOxmt6.mjs} +4 -4
- package/dist/{update-DE6kjV-f.mjs → update-CqnDMNtZ.mjs} +5 -5
- package/dist/{update-bW-i6gjZ.mjs → update-D9Z8cL7h.mjs} +4 -4
- package/dist/{update-659eQR1L.mjs → update-DuA8-cCq.mjs} +4 -4
- package/dist/{update-9kVyE3BJ.mjs → update-DzgXF082.mjs} +5 -5
- package/dist/{update-dashcard-BhD5x__K.mjs → update-dashcard-CQ3kmmss.mjs} +4 -4
- package/dist/{update-WyRKlQPh.mjs → update-qnFY5IuC.mjs} +5 -5
- package/dist/{update-DSWZSfpw.mjs → update-zp7pCBZH.mjs} +4 -4
- package/dist/{upgrade-D58rvXHM.mjs → upgrade-CIgTr2CG.mjs} +3 -3
- package/dist/{url-DKkSu2D8.mjs → url-B5MgZXzg.mjs} +6 -6
- package/dist/{uuid-BF20B59s.mjs → uuid-CJz9TmHI.mjs} +2 -2
- package/dist/{values-DyjmpcbT.mjs → values-BXN6tx1i.mjs} +3 -3
- package/dist/{wait-CeUPCgdc.mjs → wait-BFqBlg0y.mjs} +2 -2
- package/dist/{wait-flags-BR-yqe7y.mjs → wait-flags-CN-e9zNq.mjs} +2 -2
- package/dist/{wait-DhkTaV6E.mjs → wait-tDp9ZOou.mjs} +5 -5
- package/dist/workspace-BBsT0H0g.mjs +24 -0
- package/dist/{workspace-credentials-Cctumbru.mjs → workspace-credentials-4lIxxz4g.mjs} +2 -41
- package/dist/yaml-ECiog374.mjs +43 -0
- package/package.json +5 -2
- package/skill-data/core/SKILL.md +575 -0
- package/skill-data/git-sync/SKILL.md +196 -0
- package/skill-data/transform/SKILL.md +235 -0
- package/skill-data/workspace/SKILL.md +408 -0
- package/skills/metabase-cli/SKILL.md +42 -0
- package/dist/auth-N4w5xtwW.mjs +0 -19
- package/dist/card-4rZRb5bc.mjs +0 -20
- package/dist/collection-Cp_B02I4.mjs +0 -19
- package/dist/dashboard-BYBiA-IG.mjs +0 -20
- package/dist/db-CObVU22j.mjs +0 -22
- package/dist/field-CbljasCH.mjs +0 -18
- package/dist/git-sync-BGkS8o5b.mjs +0 -28
- package/dist/is-dirty-BOZ4xz92.mjs +0 -10
- package/dist/measure-B54VtKym.mjs +0 -19
- package/dist/segment-C2ui5dSd.mjs +0 -19
- package/dist/snippet-BcgVYsoR.mjs +0 -19
- package/dist/table-lCNGbvej.mjs +0 -19
- package/dist/transform-BGAm1s4f.mjs +0 -24
- package/dist/transform-job-cNTJ30pm.mjs +0 -19
- package/dist/workspace-DtcBldk0.mjs +0 -24
- /package/dist/{delete-runtime-BkAdygbs.mjs → delete-runtime-DfFMWJJ6.mjs} +0 -0
- /package/dist/{process-FjsqDwKo.mjs → process-zJeVJZTM.mjs} +0 -0
- /package/dist/{snippet-Dw0Sjzkr.mjs → snippet-CSWqkslB.mjs} +0 -0
- /package/dist/{transform-IEX4Mx3X.mjs → transform-DR4ejuPM.mjs} +0 -0
- /package/dist/{transform-job-Csr86muI.mjs → transform-job-BrhOLO4M.mjs} +0 -0
- /package/dist/{workspace-C5q4nbpY.mjs → workspace-DUfqhPm5.mjs} +0 -0
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://anthropic.com/claude-code/marketplace.schema.json",
|
|
3
|
+
"name": "metabase",
|
|
4
|
+
"description": "Official Metabase tooling for Claude Code",
|
|
5
|
+
"owner": {
|
|
6
|
+
"name": "Metabase",
|
|
7
|
+
"email": "support@metabase.com"
|
|
8
|
+
},
|
|
9
|
+
"plugins": [
|
|
10
|
+
{
|
|
11
|
+
"name": "metabase-cli",
|
|
12
|
+
"description": "Drive a Metabase instance from the terminal via the `mb` CLI: auth, list/get/create/update/delete on every resource, run queries and transforms, git-sync content to and from a remote, manage Enterprise workspaces. Bundles workspace, transform, and git-sync references as on-demand skills served by `mb skills get`.",
|
|
13
|
+
"source": "./",
|
|
14
|
+
"strict": false,
|
|
15
|
+
"skills": ["./skills/metabase-cli"],
|
|
16
|
+
"category": "development"
|
|
17
|
+
}
|
|
18
|
+
]
|
|
19
|
+
}
|
package/README.md
CHANGED
|
@@ -1454,15 +1454,48 @@ Auto-install happens only when `installMethod === "npm-global"`; everything else
|
|
|
1454
1454
|
|
|
1455
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
1456
|
|
|
1457
|
+
## Skills
|
|
1458
|
+
|
|
1459
|
+
The CLI ships with bundled agent skills (Claude Code / `npx skills add` compatible) that document `mb` itself. Content is served at runtime from the installed CLI version, so the instructions an agent fetches always match the binary it's about to run — no drift between a separately-installed skill copy and the CLI.
|
|
1460
|
+
|
|
1461
|
+
```sh
|
|
1462
|
+
mb skills list # discover bundled skills (table or JSON)
|
|
1463
|
+
mb skills get core # print the top-level guide
|
|
1464
|
+
mb skills get core --full # include references and templates
|
|
1465
|
+
mb skills get workspace,transform # comma-separated, multi-skill fetch
|
|
1466
|
+
mb skills get --all --json --max-bytes 0 # every non-hidden skill, structured (default cap truncates)
|
|
1467
|
+
mb skills path # absolute paths for direct Read
|
|
1468
|
+
mb skills path core # one path
|
|
1469
|
+
```
|
|
1470
|
+
|
|
1471
|
+
`mb skills get` honors the shared `--max-bytes` list cap. With the default 65 536 cap, `--all` will return only the first skill and emit a truncation notice — pass `--max-bytes 0` to dump every skill in one envelope.
|
|
1472
|
+
|
|
1473
|
+
Bundled skills:
|
|
1474
|
+
|
|
1475
|
+
| Name | Use |
|
|
1476
|
+
| ----------- | -------------------------------------------------------------------------------------- |
|
|
1477
|
+
| `core` | Top-level guide: auth, flag conventions, output flags, body input, every command group |
|
|
1478
|
+
| `workspace` | Enterprise workspace lifecycle (create, provision, start, child credentials, diagnose) |
|
|
1479
|
+
| `transform` | Authoring and running transforms (native SQL + MBQL 5), iteration, run inspection |
|
|
1480
|
+
| `git-sync` | Round-tripping Metabase content to/from a git remote |
|
|
1481
|
+
|
|
1482
|
+
Discovery surfaces:
|
|
1483
|
+
|
|
1484
|
+
- **Claude Code plugin marketplace**: `.claude-plugin/marketplace.json` declares a `metabase-cli` plugin pointing at the in-repo discovery stub. Users install with `/plugin marketplace add metabase/mb-cli` then `/plugin install metabase-cli@metabase`.
|
|
1485
|
+
- **`npx skills add`**: the same stub at `skills/metabase-cli/SKILL.md` is picked up by `npx skills add metabase/mb-cli`. The stub is intentionally minimal — it redirects the agent at `mb skills get core` so the real workflow content always comes from the installed CLI version.
|
|
1486
|
+
|
|
1487
|
+
Exit codes: `0` success, `2` `ConfigError` (missing name, unknown name, `MB_SKILLS_DIR` not a directory), `1` unexpected I/O.
|
|
1488
|
+
|
|
1457
1489
|
## Environment variables
|
|
1458
1490
|
|
|
1459
|
-
| Variable | Effect
|
|
1460
|
-
| ------------------------ |
|
|
1461
|
-
| `METABASE_URL` | Default URL for `auth login` and config resolution.
|
|
1462
|
-
| `METABASE_API_KEY` | Default API key (overrides interactive prompt; not stored).
|
|
1463
|
-
| `METABASE_PROFILE` | Default profile when `--profile` is omitted. Falls back to `default`.
|
|
1464
|
-
| `METABASE_LICENSE_TOKEN` | Default license token for `license set`.
|
|
1465
|
-
| `METABASE_VERBOSE` | When set to `1`, prints structured developer-detail JSON to stderr on failure.
|
|
1491
|
+
| Variable | Effect |
|
|
1492
|
+
| ------------------------ | ---------------------------------------------------------------------------------------------------------------------- |
|
|
1493
|
+
| `METABASE_URL` | Default URL for `auth login` and config resolution. |
|
|
1494
|
+
| `METABASE_API_KEY` | Default API key (overrides interactive prompt; not stored). |
|
|
1495
|
+
| `METABASE_PROFILE` | Default profile when `--profile` is omitted. Falls back to `default`. |
|
|
1496
|
+
| `METABASE_LICENSE_TOKEN` | Default license token for `license set`. |
|
|
1497
|
+
| `METABASE_VERBOSE` | When set to `1`, prints structured developer-detail JSON to stderr on failure. |
|
|
1498
|
+
| `MB_SKILLS_DIR` | Override the directory `mb skills` scans (dev/test only; defaults to the CLI's bundled `skills` + `skill-data` trees). |
|
|
1466
1499
|
|
|
1467
1500
|
## Agent integration
|
|
1468
1501
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { renderItem } from "./render-DuoDUTVL.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-CDu6fykq.mjs";
|
|
3
|
+
import { parseId } from "./parse-id-CysSaCbf.mjs";
|
|
4
|
+
import { REMOTE_SYNC_PATHS } from "./poll-task-BQe0NvJZ.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-DFUprkSZ.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
3
|
import "./render-DuoDUTVL.mjs";
|
|
4
4
|
import "./predicates-CGO17Q15.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-CDu6fykq.mjs";
|
|
6
|
+
import "./parse-id-CysSaCbf.mjs";
|
|
7
|
+
import "./poll-task-BQe0NvJZ.mjs";
|
|
8
|
+
import "./poll-p9Y7-JEQ.mjs";
|
|
9
|
+
import { SyncSettingsUpdateResult, add_collection_default, setCollectionRemoteSynced, syncSettingsUpdateView } from "./add-collection-C_iovi9i.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-CrUq6sib.mjs").then((mod) => mod.default) }
|
|
10
10
|
});
|
|
11
11
|
|
|
12
12
|
//#endregion
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import "./package-
|
|
1
|
+
import "./package-DFUprkSZ.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
3
|
import { renderItem } from "./render-DuoDUTVL.mjs";
|
|
4
4
|
import "./predicates-CGO17Q15.mjs";
|
|
5
|
-
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-
|
|
6
|
-
import { parseId } from "./parse-id-
|
|
5
|
+
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-CDu6fykq.mjs";
|
|
6
|
+
import { parseId } from "./parse-id-CysSaCbf.mjs";
|
|
7
7
|
import { Measure, measureView } from "./measure-BEQfnLdN.mjs";
|
|
8
8
|
import { revisionMessageFlag } from "./revision-message-flag-oyq2xrDU.mjs";
|
|
9
9
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import "./package-
|
|
1
|
+
import "./package-DFUprkSZ.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
3
|
import { renderItem } from "./render-DuoDUTVL.mjs";
|
|
4
4
|
import "./predicates-CGO17Q15.mjs";
|
|
5
|
-
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-
|
|
6
|
-
import { parseId } from "./parse-id-
|
|
5
|
+
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-CDu6fykq.mjs";
|
|
6
|
+
import { parseId } from "./parse-id-CysSaCbf.mjs";
|
|
7
7
|
import { revisionMessageFlag } from "./revision-message-flag-oyq2xrDU.mjs";
|
|
8
8
|
import { Segment, segmentView } from "./segment-BMrUBz94.mjs";
|
|
9
9
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import "./package-
|
|
1
|
+
import "./package-DFUprkSZ.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
3
|
import { renderItem } from "./render-DuoDUTVL.mjs";
|
|
4
4
|
import "./predicates-CGO17Q15.mjs";
|
|
5
|
-
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-
|
|
6
|
-
import { parseId } from "./parse-id-
|
|
5
|
+
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-CDu6fykq.mjs";
|
|
6
|
+
import { parseId } from "./parse-id-CysSaCbf.mjs";
|
|
7
7
|
import "./field-B3gvaqpK.mjs";
|
|
8
8
|
import { Card, cardView } from "./card-CQxvHeyP.mjs";
|
|
9
9
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import "./package-
|
|
1
|
+
import "./package-DFUprkSZ.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
3
|
import { renderItem } from "./render-DuoDUTVL.mjs";
|
|
4
4
|
import "./predicates-CGO17Q15.mjs";
|
|
5
|
-
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-
|
|
6
|
-
import { parseId } from "./parse-id-
|
|
7
|
-
import { Snippet, snippetView } from "./snippet-
|
|
5
|
+
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-CDu6fykq.mjs";
|
|
6
|
+
import { parseId } from "./parse-id-CysSaCbf.mjs";
|
|
7
|
+
import { Snippet, snippetView } from "./snippet-CSWqkslB.mjs";
|
|
8
8
|
|
|
9
9
|
//#region src/commands/snippet/archive.ts
|
|
10
10
|
var archive_default = defineMetabaseCommand({
|
|
@@ -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-D1nZwgKv.mjs").then((m) => m.default),
|
|
12
|
+
status: () => import("./status-1oUnw803.mjs").then((m) => m.default),
|
|
13
|
+
list: () => import("./list-DV6CONhp.mjs").then((m) => m.default),
|
|
14
|
+
logout: () => import("./logout-DD4q5whi.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-CGO17Q15.mjs";
|
|
2
2
|
import { readInput } from "./input-BQ-BZA8h.mjs";
|
|
3
|
-
import { parseJson } from "./runtime-
|
|
3
|
+
import { parseJson } from "./runtime-CDu6fykq.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-DFUprkSZ.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
3
|
import { renderList } from "./render-DuoDUTVL.mjs";
|
|
4
4
|
import "./predicates-CGO17Q15.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-CDu6fykq.mjs";
|
|
6
|
+
import { REMOTE_SYNC_PATHS } from "./poll-task-BQe0NvJZ.mjs";
|
|
7
|
+
import "./poll-p9Y7-JEQ.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-DFUprkSZ.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
3
|
import { renderItem } from "./render-DuoDUTVL.mjs";
|
|
4
4
|
import "./predicates-CGO17Q15.mjs";
|
|
5
|
-
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-
|
|
6
|
-
import { parseId } from "./parse-id-
|
|
5
|
+
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-CDu6fykq.mjs";
|
|
6
|
+
import { parseId } from "./parse-id-CysSaCbf.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-DFUprkSZ.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
3
|
import { renderItem } from "./render-DuoDUTVL.mjs";
|
|
4
4
|
import "./predicates-CGO17Q15.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-CDu6fykq.mjs";
|
|
6
|
+
import { REMOTE_SYNC_PATHS, SyncTask, syncTaskView } from "./poll-task-BQe0NvJZ.mjs";
|
|
7
|
+
import "./poll-p9Y7-JEQ.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-D41gfkKb.mjs").then((mod) => mod.default),
|
|
11
|
+
get: () => import("./get-DNN1X2gN.mjs").then((mod) => mod.default),
|
|
12
|
+
query: () => import("./query-CFH4nBlK.mjs").then((mod) => mod.default),
|
|
13
|
+
create: () => import("./create-D3Z878yr.mjs").then((mod) => mod.default),
|
|
14
|
+
update: () => import("./update-CVxOxmt6.mjs").then((mod) => mod.default),
|
|
15
|
+
archive: () => import("./archive-Dvzrmdbk.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-DFUprkSZ.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
3
|
import { renderList } from "./render-DuoDUTVL.mjs";
|
|
4
4
|
import "./predicates-CGO17Q15.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-CDu6fykq.mjs";
|
|
6
|
+
import { parseId } from "./parse-id-CysSaCbf.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-DFUprkSZ.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
|
-
upgrade: () => import("./upgrade-
|
|
14
|
+
auth: () => import("./auth-DICRtJDy.mjs").then((mod) => mod.default),
|
|
15
|
+
license: () => import("./license-Cb6ewEJO.mjs").then((mod) => mod.default),
|
|
16
|
+
db: () => import("./db-qVK6NsdB.mjs").then((mod) => mod.default),
|
|
17
|
+
table: () => import("./table-BwX3Ib5f.mjs").then((mod) => mod.default),
|
|
18
|
+
field: () => import("./field-C0LE7RQI.mjs").then((mod) => mod.default),
|
|
19
|
+
card: () => import("./card-l-UmrUIo.mjs").then((mod) => mod.default),
|
|
20
|
+
dashboard: () => import("./dashboard-hbKDd36X.mjs").then((mod) => mod.default),
|
|
21
|
+
collection: () => import("./collection-oV0olVY-.mjs").then((mod) => mod.default),
|
|
22
|
+
transform: () => import("./transform-iaAi37V0.mjs").then((mod) => mod.default),
|
|
23
|
+
"transform-job": () => import("./transform-job-Bemonf82.mjs").then((mod) => mod.default),
|
|
24
|
+
setting: () => import("./setting-Czy4ws6h.mjs").then((mod) => mod.default),
|
|
25
|
+
search: () => import("./search-DObOsjbP.mjs").then((mod) => mod.default),
|
|
26
|
+
"git-sync": () => import("./git-sync-DV7YjniX.mjs").then((mod) => mod.default),
|
|
27
|
+
workspace: () => import("./workspace-BBsT0H0g.mjs").then((mod) => mod.default),
|
|
28
|
+
setup: () => import("./setup-DqBOe3HZ.mjs").then((mod) => mod.default),
|
|
29
|
+
"api-key": () => import("./api-key-BENHbTbV.mjs").then((mod) => mod.default),
|
|
30
|
+
snippet: () => import("./snippet-BCY4KHBU.mjs").then((mod) => mod.default),
|
|
31
|
+
segment: () => import("./segment-DfxZdJmR.mjs").then((mod) => mod.default),
|
|
32
|
+
measure: () => import("./measure-XhJuL77y.mjs").then((mod) => mod.default),
|
|
33
|
+
eid: () => import("./eid-CDFXX_6H.mjs").then((mod) => mod.default),
|
|
34
|
+
query: () => import("./query-C7zTlFJA.mjs").then((mod) => mod.default),
|
|
35
|
+
uuid: () => import("./uuid-CJz9TmHI.mjs").then((mod) => mod.default),
|
|
36
|
+
upgrade: () => import("./upgrade-CIgTr2CG.mjs").then((mod) => mod.default),
|
|
37
|
+
skills: () => import("./skills-C2rTVj0n.mjs").then((mod) => mod.default),
|
|
37
38
|
__manifest: () => import("./manifest-CGM7XNLC.mjs").then((mod) => mod.createManifestCommand(main))
|
|
38
39
|
}
|
|
39
40
|
});
|
|
@@ -43,9 +44,11 @@ var main_default = main;
|
|
|
43
44
|
//#region src/output/help.ts
|
|
44
45
|
const ANSI_ESC = String.fromCharCode(27);
|
|
45
46
|
const BREADCRUMB_SUFFIX = new RegExp(` \\([^()]*\\)(${ANSI_ESC}\\[\\d+m)?\\s*$`);
|
|
47
|
+
const TRAILING_WHITESPACE = /[ \t]+$/;
|
|
46
48
|
async function showUsage(cmd, parent) {
|
|
47
49
|
const raw = await renderUsage(cmd, parent);
|
|
48
|
-
const
|
|
50
|
+
const lines = raw.split("\n").map((line) => line.replace(TRAILING_WHITESPACE, ""));
|
|
51
|
+
const [first, ...rest] = lines;
|
|
49
52
|
const stripped = first === void 0 ? "" : first.replace(BREADCRUMB_SUFFIX, "$1");
|
|
50
53
|
const body = [stripped, ...rest].join("\n");
|
|
51
54
|
const examples = getMetabaseAugment(cmd)?.examples ?? [];
|
|
@@ -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-BpNU1neq.mjs").then((mod) => mod.default),
|
|
11
|
+
get: () => import("./get-CKxlhMy1.mjs").then((mod) => mod.default),
|
|
12
|
+
items: () => import("./items-DqwahOKf.mjs").then((mod) => mod.default),
|
|
13
|
+
tree: () => import("./tree-DfvjDjmk.mjs").then((mod) => mod.default),
|
|
14
|
+
create: () => import("./create-Ca9lIDwP.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-DFUprkSZ.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
3
|
import { renderItem } from "./render-DuoDUTVL.mjs";
|
|
4
4
|
import "./predicates-CGO17Q15.mjs";
|
|
5
5
|
import "./input-BQ-BZA8h.mjs";
|
|
6
|
-
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-
|
|
7
|
-
import { readBody } from "./body-
|
|
6
|
+
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-CDu6fykq.mjs";
|
|
7
|
+
import { readBody } from "./body-XtR7-uCO.mjs";
|
|
8
8
|
import { bodyInputFlags } from "./body-flags-BK7J6Daz.mjs";
|
|
9
9
|
import { Collection, CollectionCreateInput, collectionView } from "./collection-B3sPXRLs.mjs";
|
|
10
10
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import "./package-
|
|
1
|
+
import "./package-DFUprkSZ.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
3
|
import { renderItem } from "./render-DuoDUTVL.mjs";
|
|
4
4
|
import "./predicates-CGO17Q15.mjs";
|
|
5
5
|
import "./input-BQ-BZA8h.mjs";
|
|
6
|
-
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-
|
|
7
|
-
import { readBody } from "./body-
|
|
6
|
+
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-CDu6fykq.mjs";
|
|
7
|
+
import { readBody } from "./body-XtR7-uCO.mjs";
|
|
8
8
|
import { bodyInputFlags } from "./body-flags-BK7J6Daz.mjs";
|
|
9
9
|
import { requireBothOrNeither } from "./flag-pair-Fmcdkrfx.mjs";
|
|
10
|
-
import { parseId } from "./parse-id-
|
|
10
|
+
import { parseId } from "./parse-id-CysSaCbf.mjs";
|
|
11
11
|
import { z } from "zod";
|
|
12
12
|
|
|
13
13
|
//#region src/domain/api-key.ts
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import "./package-
|
|
1
|
+
import "./package-DFUprkSZ.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
3
|
import { renderItem } from "./render-DuoDUTVL.mjs";
|
|
4
4
|
import "./predicates-CGO17Q15.mjs";
|
|
5
5
|
import "./input-BQ-BZA8h.mjs";
|
|
6
|
-
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-
|
|
7
|
-
import { readBody } from "./body-
|
|
6
|
+
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-CDu6fykq.mjs";
|
|
7
|
+
import { readBody } from "./body-XtR7-uCO.mjs";
|
|
8
8
|
import { bodyInputFlags } from "./body-flags-BK7J6Daz.mjs";
|
|
9
9
|
import "./field-B3gvaqpK.mjs";
|
|
10
10
|
import "./card-CQxvHeyP.mjs";
|
|
11
11
|
import "./validate-CB0bu50i.mjs";
|
|
12
12
|
import { Dashboard, DashboardCreateInput, DashboardDetail, dashboardView } from "./dashboard-CnMD04PQ.mjs";
|
|
13
|
-
import { preflightDashcardCardReferences, wrapChainedDashboardWriteError } from "./preflight-
|
|
13
|
+
import { preflightDashcardCardReferences, wrapChainedDashboardWriteError } from "./preflight-CvFu0Cct.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-DFUprkSZ.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
3
|
import { renderItem } from "./render-DuoDUTVL.mjs";
|
|
4
4
|
import "./predicates-CGO17Q15.mjs";
|
|
5
5
|
import "./input-BQ-BZA8h.mjs";
|
|
6
|
-
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-
|
|
7
|
-
import { readBody } from "./body-
|
|
6
|
+
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-CDu6fykq.mjs";
|
|
7
|
+
import { readBody } from "./body-XtR7-uCO.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";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import "./package-
|
|
1
|
+
import "./package-DFUprkSZ.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
3
|
import { renderItem } from "./render-DuoDUTVL.mjs";
|
|
4
4
|
import "./predicates-CGO17Q15.mjs";
|
|
5
5
|
import "./input-BQ-BZA8h.mjs";
|
|
6
|
-
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-
|
|
7
|
-
import { readBody } from "./body-
|
|
6
|
+
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-CDu6fykq.mjs";
|
|
7
|
+
import { readBody } from "./body-XtR7-uCO.mjs";
|
|
8
8
|
import { bodyInputFlags } from "./body-flags-BK7J6Daz.mjs";
|
|
9
|
-
import { Snippet, SnippetCreateInput, snippetView } from "./snippet-
|
|
9
|
+
import { Snippet, SnippetCreateInput, snippetView } from "./snippet-CSWqkslB.mjs";
|
|
10
10
|
|
|
11
11
|
//#region src/commands/snippet/create.ts
|
|
12
12
|
var create_default = defineMetabaseCommand({
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import "./package-
|
|
1
|
+
import "./package-DFUprkSZ.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
3
|
import { renderItem } from "./render-DuoDUTVL.mjs";
|
|
4
4
|
import "./predicates-CGO17Q15.mjs";
|
|
5
5
|
import "./input-BQ-BZA8h.mjs";
|
|
6
|
-
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-
|
|
7
|
-
import { readBody } from "./body-
|
|
6
|
+
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-CDu6fykq.mjs";
|
|
7
|
+
import { readBody } from "./body-XtR7-uCO.mjs";
|
|
8
8
|
import { bodyInputFlags } from "./body-flags-BK7J6Daz.mjs";
|
|
9
|
-
import { TransformJob, TransformJobCreateInput, transformJobView } from "./transform-job-
|
|
9
|
+
import { TransformJob, TransformJobCreateInput, transformJobView } from "./transform-job-BrhOLO4M.mjs";
|
|
10
10
|
|
|
11
11
|
//#region src/commands/transform-job/create.ts
|
|
12
12
|
var create_default = defineMetabaseCommand({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import "./package-
|
|
1
|
+
import "./package-DFUprkSZ.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
3
|
import { renderItem } from "./render-DuoDUTVL.mjs";
|
|
4
4
|
import "./predicates-CGO17Q15.mjs";
|
|
5
5
|
import "./input-BQ-BZA8h.mjs";
|
|
6
|
-
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-
|
|
7
|
-
import { readBody } from "./body-
|
|
6
|
+
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-CDu6fykq.mjs";
|
|
7
|
+
import { readBody } from "./body-XtR7-uCO.mjs";
|
|
8
8
|
import { bodyInputFlags } from "./body-flags-BK7J6Daz.mjs";
|
|
9
9
|
import "./validate-CB0bu50i.mjs";
|
|
10
10
|
import { SEGMENT_DEFINITION_LABELS, preflightMbql5Query, skipValidateFlag } from "./validate-query-CavIA0Q2.mjs";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import "./package-
|
|
1
|
+
import "./package-DFUprkSZ.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
3
|
import { renderItem } from "./render-DuoDUTVL.mjs";
|
|
4
4
|
import "./predicates-CGO17Q15.mjs";
|
|
5
5
|
import "./input-BQ-BZA8h.mjs";
|
|
6
|
-
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-
|
|
7
|
-
import { readBody } from "./body-
|
|
6
|
+
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-CDu6fykq.mjs";
|
|
7
|
+
import { readBody } from "./body-XtR7-uCO.mjs";
|
|
8
8
|
import { bodyInputFlags } from "./body-flags-BK7J6Daz.mjs";
|
|
9
9
|
import "./validate-CB0bu50i.mjs";
|
|
10
10
|
import { TRANSFORM_SOURCE_QUERY_LABELS, preflightMbql5Query, skipValidateFlag } from "./validate-query-CavIA0Q2.mjs";
|
|
11
|
-
import { Transform, TransformCreateInput, transformView } from "./transform-
|
|
11
|
+
import { Transform, TransformCreateInput, transformView } from "./transform-DR4ejuPM.mjs";
|
|
12
12
|
|
|
13
13
|
//#region src/commands/transform/create.ts
|
|
14
14
|
var create_default = defineMetabaseCommand({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import "./package-
|
|
1
|
+
import "./package-DFUprkSZ.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
3
|
import { renderItem } from "./render-DuoDUTVL.mjs";
|
|
4
4
|
import { ConfigError } from "./predicates-CGO17Q15.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-CDu6fykq.mjs";
|
|
6
|
+
import { REMOTE_SYNC_PATHS } from "./poll-task-BQe0NvJZ.mjs";
|
|
7
|
+
import "./poll-p9Y7-JEQ.mjs";
|
|
8
8
|
import { z } from "zod";
|
|
9
9
|
|
|
10
10
|
//#region src/commands/git-sync/create-branch.ts
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import "./package-
|
|
1
|
+
import "./package-DFUprkSZ.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
3
|
import { renderItem } from "./render-DuoDUTVL.mjs";
|
|
4
4
|
import "./predicates-CGO17Q15.mjs";
|
|
5
5
|
import "./input-BQ-BZA8h.mjs";
|
|
6
|
-
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-
|
|
7
|
-
import { readBody } from "./body-
|
|
6
|
+
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-CDu6fykq.mjs";
|
|
7
|
+
import { readBody } from "./body-XtR7-uCO.mjs";
|
|
8
8
|
import { bodyInputFlags } from "./body-flags-BK7J6Daz.mjs";
|
|
9
|
-
import { Workspace, WorkspaceCreateInput, workspaceView } from "./workspace-
|
|
9
|
+
import { Workspace, WorkspaceCreateInput, workspaceView } from "./workspace-DUfqhPm5.mjs";
|
|
10
10
|
|
|
11
11
|
//#region src/commands/workspace/create.ts
|
|
12
12
|
var create_default = defineMetabaseCommand({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import "./package-
|
|
1
|
+
import "./package-DFUprkSZ.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
3
|
import { renderItem } from "./render-DuoDUTVL.mjs";
|
|
4
4
|
import "./predicates-CGO17Q15.mjs";
|
|
5
5
|
import "./input-BQ-BZA8h.mjs";
|
|
6
|
-
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-
|
|
7
|
-
import { readBody } from "./body-
|
|
6
|
+
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-CDu6fykq.mjs";
|
|
7
|
+
import { readBody } from "./body-XtR7-uCO.mjs";
|
|
8
8
|
import { bodyInputFlags } from "./body-flags-BK7J6Daz.mjs";
|
|
9
9
|
import "./validate-CB0bu50i.mjs";
|
|
10
10
|
import { MEASURE_DEFINITION_LABELS, preflightMbql5Query, skipValidateFlag } from "./validate-query-CavIA0Q2.mjs";
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
import "./package-
|
|
1
|
+
import "./package-DFUprkSZ.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
3
|
import { renderItem } from "./render-DuoDUTVL.mjs";
|
|
4
4
|
import "./predicates-CGO17Q15.mjs";
|
|
5
|
-
import { defineMetabaseCommand, localUrl, outputFlags, parseJson } from "./runtime-
|
|
6
|
-
import { parseId } from "./parse-id-
|
|
7
|
-
import "./poll-
|
|
8
|
-
import "./
|
|
9
|
-
import
|
|
10
|
-
import {
|
|
5
|
+
import { defineMetabaseCommand, localUrl, outputFlags, parseJson } from "./runtime-CDu6fykq.mjs";
|
|
6
|
+
import { parseId } from "./parse-id-CysSaCbf.mjs";
|
|
7
|
+
import "./poll-p9Y7-JEQ.mjs";
|
|
8
|
+
import "./yaml-ECiog374.mjs";
|
|
9
|
+
import "./process-zJeVJZTM.mjs";
|
|
10
|
+
import { checkDockerReady, readContainerCredentialsFile, requireWorkspaceContainerLocation } from "./docker-D5FTIoD0.mjs";
|
|
11
|
+
import { WorkspaceCredentials } from "./workspace-credentials-4lIxxz4g.mjs";
|
|
11
12
|
import { z } from "zod";
|
|
12
13
|
|
|
13
14
|
//#region src/commands/workspace/credentials.ts
|