@metabase/cli 0.1.13 → 0.1.14

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.
Files changed (159) hide show
  1. package/README.md +75 -0
  2. package/dist/add-collection-Cdhj6DJb.mjs +10 -0
  3. package/dist/{add-collection-BQsx2Q-S.mjs → add-collection-Cubho2HN.mjs} +4 -4
  4. package/dist/{archive-D7qtYihp.mjs → archive-BBboJ-z3.mjs} +3 -3
  5. package/dist/{archive-BrYMa87Z.mjs → archive-BrzOTxSA.mjs} +3 -3
  6. package/dist/{archive-FLrOqODN.mjs → archive-C8G0KIPI.mjs} +3 -3
  7. package/dist/{archive-BP53zrzs.mjs → archive-D6eMYNI5.mjs} +3 -3
  8. package/dist/{archive-Dt5zuiwu.mjs → archive-DCIwtfv0.mjs} +3 -3
  9. package/dist/{archive-H8wBIt8q.mjs → archive-DTN6Anme.mjs} +3 -3
  10. package/dist/{archive-BS4U2_gi.mjs → archive-F2g-bAXf.mjs} +3 -3
  11. package/dist/auth-D4cXDeiH.mjs +19 -0
  12. package/dist/{body-3vzTm8Jj.mjs → body-CXpIB6hY.mjs} +1 -1
  13. package/dist/{branches-Lr1cCUdg.mjs → branches-r9SVJIV5.mjs} +4 -4
  14. package/dist/{cancel-Br3FHyDR.mjs → cancel-BbLZsVYQ.mjs} +3 -3
  15. package/dist/{cancel-task-BXgeq3MH.mjs → cancel-task-CojB-8XX.mjs} +4 -4
  16. package/dist/card-BMN-mcxn.mjs +20 -0
  17. package/dist/{cards-D-AkjCxr.mjs → cards-e9Wgnbnq.mjs} +3 -3
  18. package/dist/cli.mjs +24 -23
  19. package/dist/collection-DZnA3zXr.mjs +20 -0
  20. package/dist/{collection-namespace-BQ_ebqOP.mjs → collection-namespace-DmKMqLr0.mjs} +1 -1
  21. package/dist/{create-CDL9WHiR.mjs → create-Bbe2EM9f.mjs} +3 -3
  22. package/dist/{create-CcZEV9xx.mjs → create-Bu9edPBn.mjs} +3 -3
  23. package/dist/create-Bz4hf7W0.mjs +44 -0
  24. package/dist/{create-DUdkitlQ.mjs → create-BzKW27Hh.mjs} +4 -4
  25. package/dist/{create-C1xYECl-.mjs → create-C4G_z8qO.mjs} +3 -3
  26. package/dist/{create-DHUhRzcV.mjs → create-C5-JhEUc.mjs} +3 -3
  27. package/dist/{create-Dx1SDXyQ.mjs → create-Cq-ay6cJ.mjs} +3 -3
  28. package/dist/{create-BpAak62U.mjs → create-DFMpgUvH.mjs} +3 -3
  29. package/dist/{create-ux0yPpq1.mjs → create-UzeYyGq6.mjs} +3 -3
  30. package/dist/{create-branch-BvZKizC4.mjs → create-branch--GJ_RxIN.mjs} +4 -4
  31. package/dist/{create-y4j2I1aH.mjs → create-onFRzFwS.mjs} +4 -4
  32. package/dist/{current-task-DaWn0DYt.mjs → current-task-C0mMBzdB.mjs} +4 -4
  33. package/dist/dashboard-PB_c3Irl.mjs +21 -0
  34. package/dist/db-q0lYg3k8.mjs +22 -0
  35. package/dist/{delete-CW3cEHlr.mjs → delete-CGw1hwGZ.mjs} +3 -3
  36. package/dist/{delete-DFWjBpzl.mjs → delete-CxTPHzom.mjs} +3 -3
  37. package/dist/delete-Dbzs51x3.mjs +50 -0
  38. package/dist/{delete-table-Wa0yRsnM.mjs → delete-table-B6obSpLU.mjs} +3 -3
  39. package/dist/dependencies-DfkbJqzQ.mjs +40 -0
  40. package/dist/{dirty-CKcGYIpv.mjs → dirty-BqL_DE6p.mjs} +4 -4
  41. package/dist/document-4TwzGwl3.mjs +19 -0
  42. package/dist/{eid-m44hs7Ul.mjs → eid-C31VGHAM.mjs} +3 -3
  43. package/dist/{error-DR_i1hxJ.mjs → error-BOi_ux9O.mjs} +1 -1
  44. package/dist/{export-8C4F9pYn.mjs → export--_0e40xU.mjs} +6 -6
  45. package/dist/field-Bi_O_Sdg.mjs +18 -0
  46. package/dist/{fields-hXrRjf7e.mjs → fields-BRiL6KEF.mjs} +3 -3
  47. package/dist/{get-BjCQctuS.mjs → get--bNbxDkk.mjs} +3 -3
  48. package/dist/{get-Cit5liJv.mjs → get-B-phl324.mjs} +3 -3
  49. package/dist/{get-D7WUNQYY.mjs → get-B2-RLrYJ.mjs} +3 -3
  50. package/dist/{get-9MCrsgTf.mjs → get-B_TdMKu-.mjs} +3 -3
  51. package/dist/{get-C7EKJGTP.mjs → get-C-o2-vnf.mjs} +3 -3
  52. package/dist/{get-8r-_QuSr.mjs → get-C6njgZmF.mjs} +3 -3
  53. package/dist/{get-xVPjvf7O.mjs → get-CCyfx_AY.mjs} +3 -3
  54. package/dist/{get-cjqlMKF5.mjs → get-CcGU3YaY.mjs} +3 -3
  55. package/dist/{get-3zFOkcl_.mjs → get-Cs7a7s2Z.mjs} +3 -3
  56. package/dist/{get-CvLECgtm.mjs → get-DGZw_U0s.mjs} +3 -3
  57. package/dist/{get-CqU4xVSg.mjs → get-DMeF2FLQ.mjs} +2 -2
  58. package/dist/{get-DWg3riaY.mjs → get-DQOvqH9P.mjs} +2 -2
  59. package/dist/{get-BlNLGR-F.mjs → get-LJam7ZQ-.mjs} +2 -2
  60. package/dist/{get-BxgSKzca.mjs → get-ev4Zw3Gj.mjs} +3 -3
  61. package/dist/{get-run-CTDPEDcU.mjs → get-run-Cp7ATZPQ.mjs} +3 -3
  62. package/dist/git-sync-BOZdFF09.mjs +28 -0
  63. package/dist/{has-remote-changes-DYo4PQfC.mjs → has-remote-changes-Bw_Xp9Ii.mjs} +4 -4
  64. package/dist/{import-Cwd-_wYv.mjs → import-BmoC0ECq.mjs} +6 -6
  65. package/dist/is-dirty-B6usK-aU.mjs +9 -0
  66. package/dist/{is-dirty-HynZex-f.mjs → is-dirty-BDmXm34E.mjs} +3 -3
  67. package/dist/{items-D4pSBGxR.mjs → items-BI-O48Sc.mjs} +3 -3
  68. package/dist/{list-_xdr1WKh.mjs → list-B7g2c9K7.mjs} +2 -2
  69. package/dist/{list-B2QX8BZ3.mjs → list-BE3wVc-a.mjs} +2 -2
  70. package/dist/{list-ET066OdN.mjs → list-BcSjOiK1.mjs} +2 -2
  71. package/dist/{list-Bqy3rN6k.mjs → list-BkEFHJe8.mjs} +2 -2
  72. package/dist/{list-D7o0DOZe.mjs → list-CNeaMSjy.mjs} +2 -2
  73. package/dist/{list-F0BQNbaZ.mjs → list-CRUjh592.mjs} +3 -3
  74. package/dist/{list-De2qX1w8.mjs → list-CTfCgMTk.mjs} +3 -3
  75. package/dist/{list-XgdM17ix.mjs → list-Cju3N2kB.mjs} +2 -2
  76. package/dist/{list-CI1WQ8U3.mjs → list-Cqvt6gpK.mjs} +2 -2
  77. package/dist/{list-DBjOFesD.mjs → list-Cz_2UyGV.mjs} +2 -2
  78. package/dist/{list-DMZumpNv.mjs → list-DIFjjwBV.mjs} +2 -2
  79. package/dist/list-DM-Oa-oB.mjs +32 -0
  80. package/dist/{list-D-Ms9fhd.mjs → list-DhWVjE6U.mjs} +2 -2
  81. package/dist/{list-Ctze3nfU.mjs → list-JCMQ06wX.mjs} +2 -2
  82. package/dist/{list-D3BBrpoQ.mjs → list-RC1HQ2dg.mjs} +2 -2
  83. package/dist/{login-BHDdLJzw.mjs → login-BF6LkxPI.mjs} +3 -3
  84. package/dist/{logout-ClizU0OL.mjs → logout-Cg8Z_XD_.mjs} +2 -2
  85. package/dist/measure-BRzkMY5y.mjs +19 -0
  86. package/dist/{metadata-a_N6Sx30.mjs → metadata-B15u_YYT.mjs} +3 -3
  87. package/dist/{metadata-D23RdbEZ.mjs → metadata-CmvvOpKI.mjs} +3 -3
  88. package/dist/{parse-id-B1BlAunl.mjs → parse-id-DMs04KM3.mjs} +1 -1
  89. package/dist/{path-FSfPscAQ.mjs → path-YsfpMb_h.mjs} +2 -2
  90. package/dist/{poll-Dl5Zv4Ed.mjs → poll-13tgWrN_.mjs} +1 -1
  91. package/dist/{poll-task-BoRK94WQ.mjs → poll-task-BuAHsDEK.mjs} +2 -2
  92. package/dist/{preflight-CVlo39xa.mjs → preflight-wCSgVqbX.mjs} +1 -1
  93. package/dist/{query-yZ9HeaGp.mjs → query-DnYdI0fl.mjs} +3 -3
  94. package/dist/{query-CSvpJssD.mjs → query-x6g6unDt.mjs} +3 -3
  95. package/dist/{remove-collection-CV7ssevw.mjs → remove-collection-CLTqx7ys.mjs} +6 -6
  96. package/dist/{rescan-values-CMeOv6yx.mjs → rescan-values-C7b78yA2.mjs} +3 -3
  97. package/dist/{run-CIJOYXor.mjs → run-CsYI4Sqv.mjs} +5 -5
  98. package/dist/run-DR5O1_EU.mjs +59 -0
  99. package/dist/{runs--CzbmfPg.mjs → runs-DWbtqOyw.mjs} +3 -3
  100. package/dist/{runtime-DJTGfiKO.mjs → runtime-7JTC-usO.mjs} +1 -1
  101. package/dist/{schema-tables-BII9pHR8.mjs → schema-tables-Cte09dhE.mjs} +3 -3
  102. package/dist/{schemas-BzxVz71I.mjs → schemas-DAmSPGiC.mjs} +3 -3
  103. package/dist/{search-CjJZdaM0.mjs → search-Di-SFcZm.mjs} +3 -3
  104. package/dist/segment-DiHHHk2a.mjs +19 -0
  105. package/dist/{set-Ds_brNWu.mjs → set-C1rIETEg.mjs} +3 -3
  106. package/dist/set-active-CJ1VaxEC.mjs +56 -0
  107. package/dist/{setting-YDJRWd1m.mjs → setting-6WqN3L3F.mjs} +3 -3
  108. package/dist/{setup-DJb-NgSM.mjs → setup-DbXhTopr.mjs} +3 -3
  109. package/dist/{skills-Dn-kn8Wj.mjs → skills-CfWrH-1L.mjs} +3 -3
  110. package/dist/snippet-B-anQo6y.mjs +19 -0
  111. package/dist/{stash-DGujowmx.mjs → stash-BCNSzoYQ.mjs} +6 -6
  112. package/dist/{status-3-Tl07gu.mjs → status-BocNdqNq.mjs} +2 -2
  113. package/dist/{status-Cx0TIn1I.mjs → status-CG3Lbl5_.mjs} +5 -5
  114. package/dist/{summary-CT-xFvnX.mjs → summary-TApK2JbW.mjs} +3 -3
  115. package/dist/{sync-schema-BTF7O3FM.mjs → sync-schema-COA-OlO3.mjs} +5 -5
  116. package/dist/table-Bnj8IBKx.mjs +19 -0
  117. package/dist/transform-QCDItglq.mjs +25 -0
  118. package/dist/transform-job-Dawm4Lag.mjs +22 -0
  119. package/dist/transform-tag-BLAbrywB.mjs +36 -0
  120. package/dist/transform-tag-CN-bTSne.mjs +18 -0
  121. package/dist/transforms-Bo4u0YqS.mjs +40 -0
  122. package/dist/{tree-CLUxXw-Z.mjs → tree-CGh-ZG4n.mjs} +2 -2
  123. package/dist/{update-BfNmqvuN.mjs → update-Bob7lvnr.mjs} +5 -5
  124. package/dist/{update-I0t_6Mni.mjs → update-Br_cd74H.mjs} +4 -4
  125. package/dist/{update-Z_LMzsiz.mjs → update-BuJjTYAx.mjs} +4 -4
  126. package/dist/{update-DD5Q37bz.mjs → update-CCIkTuxz.mjs} +4 -4
  127. package/dist/{update-DdqzxPIr.mjs → update-Co4WLVkK.mjs} +4 -4
  128. package/dist/update-DCvTlxUK.mjs +51 -0
  129. package/dist/{update-tQvEYuzD.mjs → update-DLQygCXg.mjs} +4 -4
  130. package/dist/{update-DpCv5Mdo.mjs → update-DtUhmJar.mjs} +4 -4
  131. package/dist/{update-6IuvkFCk.mjs → update-ETzjZl17.mjs} +4 -4
  132. package/dist/{update-C_Ui5qPU.mjs → update-ZPsCSWR6.mjs} +5 -5
  133. package/dist/{update-dashcard-Bl3wbB8-.mjs → update-dashcard-Du-h_8oY.mjs} +4 -4
  134. package/dist/{update-BeH_S7h9.mjs → update-ysNL-mE-.mjs} +4 -4
  135. package/dist/{upgrade-r2ZlfstE.mjs → upgrade-CavKMkQ4.mjs} +2 -2
  136. package/dist/{uuid-BduDonqb.mjs → uuid-BL33x41p.mjs} +2 -2
  137. package/dist/{values-DuNE6Jxc.mjs → values-DVu97Fcd.mjs} +3 -3
  138. package/dist/{verify-D_yq68-R.mjs → verify-BLUei79N.mjs} +1 -1
  139. package/dist/{wait-CoDzO37B.mjs → wait-C0P8Qt37.mjs} +5 -5
  140. package/dist/{wait-flags-BxUfF5zy.mjs → wait-flags-Z_JC7x4L.mjs} +2 -2
  141. package/package.json +1 -1
  142. package/skill-data/core/SKILL.md +1 -1
  143. package/skill-data/transform/SKILL.md +17 -3
  144. package/dist/add-collection-BiBKEHwz.mjs +0 -10
  145. package/dist/auth-DWA7DSo9.mjs +0 -19
  146. package/dist/card-DQV8WOIa.mjs +0 -20
  147. package/dist/collection-DIUWkVFY.mjs +0 -20
  148. package/dist/dashboard-CohHWhkV.mjs +0 -21
  149. package/dist/db-BD8JZUDw.mjs +0 -22
  150. package/dist/document-CRuag6F5.mjs +0 -19
  151. package/dist/field-CuabjsR7.mjs +0 -18
  152. package/dist/git-sync-CKsGGVOm.mjs +0 -28
  153. package/dist/is-dirty-Mkgi21bq.mjs +0 -9
  154. package/dist/measure-SmyQt9Lg.mjs +0 -19
  155. package/dist/segment-dkO4Ualw.mjs +0 -19
  156. package/dist/snippet-DqTiC73e.mjs +0 -19
  157. package/dist/table-DNGPtV4P.mjs +0 -19
  158. package/dist/transform-DEbvouxo.mjs +0 -24
  159. package/dist/transform-job-Du8npb7F.mjs +0 -19
@@ -8,9 +8,9 @@ var skills_default = defineCommand({
8
8
  },
9
9
  default: "list",
10
10
  subCommands: {
11
- list: () => import("./list-D3BBrpoQ.mjs").then((m) => m.default),
12
- get: () => import("./get-CqU4xVSg.mjs").then((m) => m.default),
13
- path: () => import("./path-FSfPscAQ.mjs").then((m) => m.default)
11
+ list: () => import("./list-RC1HQ2dg.mjs").then((m) => m.default),
12
+ get: () => import("./get-DMeF2FLQ.mjs").then((m) => m.default),
13
+ path: () => import("./path-YsfpMb_h.mjs").then((m) => m.default)
14
14
  }
15
15
  });
16
16
 
@@ -0,0 +1,19 @@
1
+ import { defineCommand } from "citty";
2
+
3
+ //#region src/commands/snippet/index.ts
4
+ var snippet_default = defineCommand({
5
+ meta: {
6
+ name: "snippet",
7
+ description: "Manage Metabase native query snippets"
8
+ },
9
+ subCommands: {
10
+ list: () => import("./list-BE3wVc-a.mjs").then((mod) => mod.default),
11
+ get: () => import("./get-C6njgZmF.mjs").then((mod) => mod.default),
12
+ create: () => import("./create-Cq-ay6cJ.mjs").then((mod) => mod.default),
13
+ update: () => import("./update-Br_cd74H.mjs").then((mod) => mod.default),
14
+ archive: () => import("./archive-BrzOTxSA.mjs").then((mod) => mod.default)
15
+ }
16
+ });
17
+
18
+ //#endregion
19
+ export { snippet_default as default };
@@ -1,11 +1,11 @@
1
1
  import { ConfigError } from "./command-augment-CAur0XOQ.mjs";
2
- import { connectionFlags, outputFlags, profileFlag } from "./error-DR_i1hxJ.mjs";
3
- import { defineMetabaseCommand } from "./runtime-DJTGfiKO.mjs";
2
+ import { connectionFlags, outputFlags, profileFlag } from "./error-BOi_ux9O.mjs";
3
+ import { defineMetabaseCommand } from "./runtime-7JTC-usO.mjs";
4
4
  import { renderSummary } from "./capabilities-BX1rnVuH.mjs";
5
- import "./parse-id-B1BlAunl.mjs";
6
- import "./poll-Dl5Zv4Ed.mjs";
7
- import { gitSyncWaitFlags, parseWaitFlags } from "./wait-flags-BxUfF5zy.mjs";
8
- import { REMOTE_SYNC_PATHS, SyncTask, formatSyncTask, pollSyncTask, throwIfFailedTask } from "./poll-task-BoRK94WQ.mjs";
5
+ import "./parse-id-DMs04KM3.mjs";
6
+ import "./poll-13tgWrN_.mjs";
7
+ import { gitSyncWaitFlags, parseWaitFlags } from "./wait-flags-Z_JC7x4L.mjs";
8
+ import { REMOTE_SYNC_PATHS, SyncTask, formatSyncTask, pollSyncTask, throwIfFailedTask } from "./poll-task-BuAHsDEK.mjs";
9
9
  import { z } from "zod";
10
10
 
11
11
  //#region src/commands/git-sync/stash.ts
@@ -1,6 +1,6 @@
1
1
  import "./command-augment-CAur0XOQ.mjs";
2
- import { outputFlags, profileFlag } from "./error-DR_i1hxJ.mjs";
3
- import { ParsedVersionSchema, ProbedUser, ProfileAuthMethod, ProfileLastFailure, TokenFeatures, defineMetabaseCommand, displayUrl, profileAuthMethod, readProfileRecord, resolveProfileName } from "./runtime-DJTGfiKO.mjs";
2
+ import { outputFlags, profileFlag } from "./error-BOi_ux9O.mjs";
3
+ import { ParsedVersionSchema, ProbedUser, ProfileAuthMethod, ProfileLastFailure, TokenFeatures, defineMetabaseCommand, displayUrl, profileAuthMethod, readProfileRecord, resolveProfileName } from "./runtime-7JTC-usO.mjs";
4
4
  import { renderItem } from "./capabilities-BX1rnVuH.mjs";
5
5
  import { renderAuthMethod, renderTimestamp, renderUserName, renderUserRole, renderVersionTag } from "./render-CkuFkWlQ.mjs";
6
6
  import { z } from "zod";
@@ -1,10 +1,10 @@
1
1
  import "./command-augment-CAur0XOQ.mjs";
2
- import { connectionFlags, outputFlags, profileFlag } from "./error-DR_i1hxJ.mjs";
3
- import { defineMetabaseCommand } from "./runtime-DJTGfiKO.mjs";
2
+ import { connectionFlags, outputFlags, profileFlag } from "./error-BOi_ux9O.mjs";
3
+ import { defineMetabaseCommand } from "./runtime-7JTC-usO.mjs";
4
4
  import { renderSummary } from "./capabilities-BX1rnVuH.mjs";
5
- import "./poll-Dl5Zv4Ed.mjs";
6
- import { REMOTE_SYNC_PATHS, SyncTask, fetchCurrentTask, fetchOptionalParsed, formatSyncTask } from "./poll-task-BoRK94WQ.mjs";
7
- import { IsDirtyResult } from "./is-dirty-HynZex-f.mjs";
5
+ import "./poll-13tgWrN_.mjs";
6
+ import { REMOTE_SYNC_PATHS, SyncTask, fetchCurrentTask, fetchOptionalParsed, formatSyncTask } from "./poll-task-BuAHsDEK.mjs";
7
+ import { IsDirtyResult } from "./is-dirty-BDmXm34E.mjs";
8
8
  import { z } from "zod";
9
9
 
10
10
  //#region src/commands/git-sync/status.ts
@@ -1,9 +1,9 @@
1
1
  import "./command-augment-CAur0XOQ.mjs";
2
- import { connectionFlags, outputFlags, profileFlag } from "./error-DR_i1hxJ.mjs";
3
- import { defineMetabaseCommand } from "./runtime-DJTGfiKO.mjs";
2
+ import { connectionFlags, outputFlags, profileFlag } from "./error-BOi_ux9O.mjs";
3
+ import { defineMetabaseCommand } from "./runtime-7JTC-usO.mjs";
4
4
  import { renderItem } from "./capabilities-BX1rnVuH.mjs";
5
5
  import { FieldSummary, FieldSummaryRaw, fieldSummaryView } from "./field-E0IBy4Uw.mjs";
6
- import { parseId } from "./parse-id-B1BlAunl.mjs";
6
+ import { parseId } from "./parse-id-DMs04KM3.mjs";
7
7
 
8
8
  //#region src/commands/field/summary.ts
9
9
  var summary_default = defineMetabaseCommand({
@@ -1,13 +1,13 @@
1
1
  import "./command-augment-CAur0XOQ.mjs";
2
- import { connectionFlags, outputFlags, profileFlag } from "./error-DR_i1hxJ.mjs";
3
- import { defineMetabaseCommand } from "./runtime-DJTGfiKO.mjs";
2
+ import { connectionFlags, outputFlags, profileFlag } from "./error-BOi_ux9O.mjs";
3
+ import { defineMetabaseCommand } from "./runtime-7JTC-usO.mjs";
4
4
  import { renderSummary } from "./capabilities-BX1rnVuH.mjs";
5
5
  import "./field-E0IBy4Uw.mjs";
6
- import { parseId } from "./parse-id-B1BlAunl.mjs";
6
+ import { parseId } from "./parse-id-DMs04KM3.mjs";
7
7
  import "./table-qDD2kApF.mjs";
8
8
  import { Database, DatabaseSyncResult, DatabaseTaskAck, databaseSyncResultView } from "./database-BmsxuRmO.mjs";
9
- import { pollUntil } from "./poll-Dl5Zv4Ed.mjs";
10
- import { parseWaitFlags, waitFlags } from "./wait-flags-BxUfF5zy.mjs";
9
+ import { pollUntil } from "./poll-13tgWrN_.mjs";
10
+ import { parseWaitFlags, waitFlags } from "./wait-flags-Z_JC7x4L.mjs";
11
11
 
12
12
  //#region src/commands/db/sync-schema.ts
13
13
  var sync_schema_default = defineMetabaseCommand({
@@ -0,0 +1,19 @@
1
+ import { defineCommand } from "citty";
2
+
3
+ //#region src/commands/table/index.ts
4
+ var table_default = defineCommand({
5
+ meta: {
6
+ name: "table",
7
+ description: "Manage Metabase tables"
8
+ },
9
+ subCommands: {
10
+ list: () => import("./list-CTfCgMTk.mjs").then((m) => m.default),
11
+ get: () => import("./get-B-phl324.mjs").then((m) => m.default),
12
+ metadata: () => import("./metadata-B15u_YYT.mjs").then((m) => m.default),
13
+ fields: () => import("./fields-BRiL6KEF.mjs").then((m) => m.default),
14
+ update: () => import("./update-DLQygCXg.mjs").then((m) => m.default)
15
+ }
16
+ });
17
+
18
+ //#endregion
19
+ export { table_default as default };
@@ -0,0 +1,25 @@
1
+ import { defineCommand } from "citty";
2
+
3
+ //#region src/commands/transform/index.ts
4
+ var transform_default = defineCommand({
5
+ meta: {
6
+ name: "transform",
7
+ description: "Manage Metabase transforms"
8
+ },
9
+ subCommands: {
10
+ list: () => import("./list-B7g2c9K7.mjs").then((mod) => mod.default),
11
+ get: () => import("./get-CcGU3YaY.mjs").then((mod) => mod.default),
12
+ dependencies: () => import("./dependencies-DfkbJqzQ.mjs").then((mod) => mod.default),
13
+ create: () => import("./create-onFRzFwS.mjs").then((mod) => mod.default),
14
+ update: () => import("./update-ZPsCSWR6.mjs").then((mod) => mod.default),
15
+ delete: () => import("./delete-CGw1hwGZ.mjs").then((mod) => mod.default),
16
+ "delete-table": () => import("./delete-table-B6obSpLU.mjs").then((mod) => mod.default),
17
+ run: () => import("./run-CsYI4Sqv.mjs").then((mod) => mod.default),
18
+ cancel: () => import("./cancel-BbLZsVYQ.mjs").then((mod) => mod.default),
19
+ "get-run": () => import("./get-run-Cp7ATZPQ.mjs").then((mod) => mod.default),
20
+ runs: () => import("./runs-DWbtqOyw.mjs").then((mod) => mod.default)
21
+ }
22
+ });
23
+
24
+ //#endregion
25
+ export { transform_default as default };
@@ -0,0 +1,22 @@
1
+ import { defineCommand } from "citty";
2
+
3
+ //#region src/commands/transform-job/index.ts
4
+ var transform_job_default = defineCommand({
5
+ meta: {
6
+ name: "transform-job",
7
+ description: "Manage Metabase transform jobs"
8
+ },
9
+ subCommands: {
10
+ list: () => import("./list-JCMQ06wX.mjs").then((mod) => mod.default),
11
+ get: () => import("./get-C-o2-vnf.mjs").then((mod) => mod.default),
12
+ create: () => import("./create-C4G_z8qO.mjs").then((mod) => mod.default),
13
+ update: () => import("./update-CCIkTuxz.mjs").then((mod) => mod.default),
14
+ delete: () => import("./delete-CxTPHzom.mjs").then((mod) => mod.default),
15
+ run: () => import("./run-DR5O1_EU.mjs").then((mod) => mod.default),
16
+ transforms: () => import("./transforms-Bo4u0YqS.mjs").then((mod) => mod.default),
17
+ "set-active": () => import("./set-active-CJ1VaxEC.mjs").then((mod) => mod.default)
18
+ }
19
+ });
20
+
21
+ //#endregion
22
+ export { transform_job_default as default };
@@ -0,0 +1,36 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/domain/transform-tag.ts
4
+ const TransformTag = z.object({
5
+ id: z.number().int(),
6
+ name: z.string(),
7
+ entity_id: z.string().nullable(),
8
+ built_in_type: z.string().nullable()
9
+ }).loose();
10
+ const TransformTagCompact = TransformTag.pick({
11
+ id: true,
12
+ name: true,
13
+ built_in_type: true
14
+ }).strip();
15
+ const transformTagView = {
16
+ compactPick: TransformTagCompact,
17
+ tableColumns: [
18
+ {
19
+ key: "id",
20
+ label: "ID"
21
+ },
22
+ {
23
+ key: "name",
24
+ label: "Name"
25
+ },
26
+ {
27
+ key: "built_in_type",
28
+ label: "Built-in"
29
+ }
30
+ ]
31
+ };
32
+ const TransformTagCreateInput = z.object({ name: z.string().min(1) }).loose();
33
+ const TransformTagUpdateInput = TransformTagCreateInput;
34
+
35
+ //#endregion
36
+ export { TransformTag, TransformTagCompact, TransformTagCreateInput, TransformTagUpdateInput, transformTagView };
@@ -0,0 +1,18 @@
1
+ import { defineCommand } from "citty";
2
+
3
+ //#region src/commands/transform-tag/index.ts
4
+ var transform_tag_default = defineCommand({
5
+ meta: {
6
+ name: "transform-tag",
7
+ description: "Manage Metabase transform tags"
8
+ },
9
+ subCommands: {
10
+ list: () => import("./list-DM-Oa-oB.mjs").then((mod) => mod.default),
11
+ create: () => import("./create-Bz4hf7W0.mjs").then((mod) => mod.default),
12
+ update: () => import("./update-DCvTlxUK.mjs").then((mod) => mod.default),
13
+ delete: () => import("./delete-Dbzs51x3.mjs").then((mod) => mod.default)
14
+ }
15
+ });
16
+
17
+ //#endregion
18
+ export { transform_tag_default as default };
@@ -0,0 +1,40 @@
1
+ import "./command-augment-CAur0XOQ.mjs";
2
+ import { connectionFlags, listEnvelopeSchema, outputFlags, profileFlag, wrapList } from "./error-BOi_ux9O.mjs";
3
+ import { defineMetabaseCommand } from "./runtime-7JTC-usO.mjs";
4
+ import { renderList } from "./capabilities-BX1rnVuH.mjs";
5
+ import { parseId } from "./parse-id-DMs04KM3.mjs";
6
+ import { Transform, TransformCompact, transformView } from "./transform-qczxOAzn.mjs";
7
+ import { z } from "zod";
8
+
9
+ //#region src/commands/transform-job/transforms.ts
10
+ const TransformApiList = z.array(Transform);
11
+ const TransformJobTransformsEnvelope = listEnvelopeSchema(TransformCompact);
12
+ var transforms_default = defineMetabaseCommand({
13
+ meta: {
14
+ name: "transforms",
15
+ description: "List the transforms a job will run"
16
+ },
17
+ details: "Resolves the transforms a job would execute, matched by the job's tags. The positional id is a JOB id, not a transform id.",
18
+ capabilities: { minVersion: 59 },
19
+ args: {
20
+ ...outputFlags,
21
+ ...profileFlag,
22
+ ...connectionFlags,
23
+ id: {
24
+ type: "positional",
25
+ description: "Transform job id",
26
+ required: true
27
+ }
28
+ },
29
+ outputSchema: TransformJobTransformsEnvelope,
30
+ examples: ["mb transform-job transforms 1", "mb transform-job transforms 1 --json"],
31
+ async run({ args, ctx, getClient }) {
32
+ const id = parseId(args.id);
33
+ const client = await getClient();
34
+ const items = await client.requestParsed(TransformApiList, `/api/transform-job/${id}/transforms`);
35
+ renderList(wrapList(items), transformView, ctx);
36
+ }
37
+ });
38
+
39
+ //#endregion
40
+ export { transforms_default as default };
@@ -1,6 +1,6 @@
1
1
  import { ConfigError } from "./command-augment-CAur0XOQ.mjs";
2
- import { connectionFlags, outputFlags, profileFlag } from "./error-DR_i1hxJ.mjs";
3
- import { defineMetabaseCommand } from "./runtime-DJTGfiKO.mjs";
2
+ import { connectionFlags, outputFlags, profileFlag } from "./error-BOi_ux9O.mjs";
3
+ import { defineMetabaseCommand } from "./runtime-7JTC-usO.mjs";
4
4
  import { writeJson } from "./capabilities-BX1rnVuH.mjs";
5
5
  import { CollectionTreeNode } from "./collection-Deiziuu2.mjs";
6
6
  import { z } from "zod";
@@ -1,16 +1,16 @@
1
1
  import "./command-augment-CAur0XOQ.mjs";
2
- import { connectionFlags, outputFlags, profileFlag } from "./error-DR_i1hxJ.mjs";
3
- import { defineMetabaseCommand } from "./runtime-DJTGfiKO.mjs";
2
+ import { connectionFlags, outputFlags, profileFlag } from "./error-BOi_ux9O.mjs";
3
+ import { defineMetabaseCommand } from "./runtime-7JTC-usO.mjs";
4
4
  import { renderSummary } from "./capabilities-BX1rnVuH.mjs";
5
5
  import "./input-BXWgdKiS.mjs";
6
6
  import "./field-E0IBy4Uw.mjs";
7
7
  import "./card-wCPcuKSi.mjs";
8
- import { parseId } from "./parse-id-B1BlAunl.mjs";
9
- import { readBody } from "./body-3vzTm8Jj.mjs";
8
+ import { parseId } from "./parse-id-DMs04KM3.mjs";
9
+ import { readBody } from "./body-CXpIB6hY.mjs";
10
10
  import { bodyInputFlags } from "./body-flags-D7q87Btw.mjs";
11
11
  import "./validate-VawhJ5Sc.mjs";
12
12
  import { DashboardDetail, DashboardUpdateInput, dashboardView } from "./dashboard-B4bn3z6t.mjs";
13
- import { preflightDashcardCardReferences } from "./preflight-CVlo39xa.mjs";
13
+ import { preflightDashcardCardReferences } from "./preflight-wCSgVqbX.mjs";
14
14
 
15
15
  //#region src/commands/dashboard/update.ts
16
16
  var update_default = defineMetabaseCommand({
@@ -1,10 +1,10 @@
1
1
  import "./command-augment-CAur0XOQ.mjs";
2
- import { connectionFlags, outputFlags, profileFlag } from "./error-DR_i1hxJ.mjs";
3
- import { defineMetabaseCommand } from "./runtime-DJTGfiKO.mjs";
2
+ import { connectionFlags, outputFlags, profileFlag } from "./error-BOi_ux9O.mjs";
3
+ import { defineMetabaseCommand } from "./runtime-7JTC-usO.mjs";
4
4
  import { renderSummary } from "./capabilities-BX1rnVuH.mjs";
5
5
  import "./input-BXWgdKiS.mjs";
6
- import { parseId } from "./parse-id-B1BlAunl.mjs";
7
- import { readBody } from "./body-3vzTm8Jj.mjs";
6
+ import { parseId } from "./parse-id-DMs04KM3.mjs";
7
+ import { readBody } from "./body-CXpIB6hY.mjs";
8
8
  import { bodyInputFlags } from "./body-flags-D7q87Btw.mjs";
9
9
  import { Snippet, SnippetUpdateInput, snippetView } from "./snippet-NNzqlksR.mjs";
10
10
 
@@ -1,10 +1,10 @@
1
1
  import "./command-augment-CAur0XOQ.mjs";
2
- import { connectionFlags, outputFlags, profileFlag } from "./error-DR_i1hxJ.mjs";
3
- import { defineMetabaseCommand } from "./runtime-DJTGfiKO.mjs";
2
+ import { connectionFlags, outputFlags, profileFlag } from "./error-BOi_ux9O.mjs";
3
+ import { defineMetabaseCommand } from "./runtime-7JTC-usO.mjs";
4
4
  import { renderSummary } from "./capabilities-BX1rnVuH.mjs";
5
5
  import "./input-BXWgdKiS.mjs";
6
- import { parseId } from "./parse-id-B1BlAunl.mjs";
7
- import { readBody } from "./body-3vzTm8Jj.mjs";
6
+ import { parseId } from "./parse-id-DMs04KM3.mjs";
7
+ import { readBody } from "./body-CXpIB6hY.mjs";
8
8
  import { bodyInputFlags } from "./body-flags-D7q87Btw.mjs";
9
9
  import "./validate-VawhJ5Sc.mjs";
10
10
  import { MEASURE_DEFINITION_LABELS, preflightMbql5Query, skipValidateFlag } from "./validate-query-CSV-TTnd.mjs";
@@ -1,10 +1,10 @@
1
1
  import "./command-augment-CAur0XOQ.mjs";
2
- import { connectionFlags, outputFlags, profileFlag } from "./error-DR_i1hxJ.mjs";
3
- import { defineMetabaseCommand } from "./runtime-DJTGfiKO.mjs";
2
+ import { connectionFlags, outputFlags, profileFlag } from "./error-BOi_ux9O.mjs";
3
+ import { defineMetabaseCommand } from "./runtime-7JTC-usO.mjs";
4
4
  import { renderSummary } from "./capabilities-BX1rnVuH.mjs";
5
5
  import "./input-BXWgdKiS.mjs";
6
- import { parseId } from "./parse-id-B1BlAunl.mjs";
7
- import { readBody } from "./body-3vzTm8Jj.mjs";
6
+ import { parseId } from "./parse-id-DMs04KM3.mjs";
7
+ import { readBody } from "./body-CXpIB6hY.mjs";
8
8
  import { bodyInputFlags } from "./body-flags-D7q87Btw.mjs";
9
9
  import { TransformJob, TransformJobUpdateInput, transformJobView } from "./transform-job-B9pXBOwr.mjs";
10
10
 
@@ -1,12 +1,12 @@
1
1
  import "./command-augment-CAur0XOQ.mjs";
2
- import { connectionFlags, outputFlags, profileFlag } from "./error-DR_i1hxJ.mjs";
3
- import { defineMetabaseCommand } from "./runtime-DJTGfiKO.mjs";
2
+ import { connectionFlags, outputFlags, profileFlag } from "./error-BOi_ux9O.mjs";
3
+ import { defineMetabaseCommand } from "./runtime-7JTC-usO.mjs";
4
4
  import { renderSummary } from "./capabilities-BX1rnVuH.mjs";
5
5
  import "./input-BXWgdKiS.mjs";
6
6
  import "./field-E0IBy4Uw.mjs";
7
7
  import { Card, CardUpdateInput, cardView } from "./card-wCPcuKSi.mjs";
8
- import { parseId } from "./parse-id-B1BlAunl.mjs";
9
- import { readBody } from "./body-3vzTm8Jj.mjs";
8
+ import { parseId } from "./parse-id-DMs04KM3.mjs";
9
+ import { readBody } from "./body-CXpIB6hY.mjs";
10
10
  import { bodyInputFlags } from "./body-flags-D7q87Btw.mjs";
11
11
  import "./validate-VawhJ5Sc.mjs";
12
12
  import { CARD_DATASET_QUERY_LABELS, preflightMbql5Query, skipValidateFlag } from "./validate-query-CSV-TTnd.mjs";
@@ -0,0 +1,51 @@
1
+ import "./command-augment-CAur0XOQ.mjs";
2
+ import { connectionFlags, outputFlags, profileFlag } from "./error-BOi_ux9O.mjs";
3
+ import { defineMetabaseCommand } from "./runtime-7JTC-usO.mjs";
4
+ import { renderSummary } from "./capabilities-BX1rnVuH.mjs";
5
+ import "./input-BXWgdKiS.mjs";
6
+ import { parseId } from "./parse-id-DMs04KM3.mjs";
7
+ import { readBody } from "./body-CXpIB6hY.mjs";
8
+ import { bodyInputFlags } from "./body-flags-D7q87Btw.mjs";
9
+ import { TransformTag, TransformTagUpdateInput, transformTagView } from "./transform-tag-BLAbrywB.mjs";
10
+
11
+ //#region src/commands/transform-tag/update.ts
12
+ var update_default = defineMetabaseCommand({
13
+ meta: {
14
+ name: "update",
15
+ description: "Update a transform tag by id"
16
+ },
17
+ capabilities: { minVersion: 59 },
18
+ args: {
19
+ ...outputFlags,
20
+ ...profileFlag,
21
+ ...connectionFlags,
22
+ ...bodyInputFlags,
23
+ id: {
24
+ type: "positional",
25
+ description: "Transform tag id",
26
+ required: true
27
+ }
28
+ },
29
+ outputSchema: TransformTag,
30
+ examples: [
31
+ "mb transform-tag update 5 --body '{\"name\":\"renamed\"}'",
32
+ "mb transform-tag update 5 --file tag.json",
33
+ "echo '{\"name\":\"renamed\"}' | mb transform-tag update 5"
34
+ ],
35
+ async run({ args, ctx, getClient }) {
36
+ const id = parseId(args.id);
37
+ const body = await readBody({
38
+ flag: args.body,
39
+ file: args.file
40
+ }, TransformTagUpdateInput);
41
+ const client = await getClient();
42
+ const updated = await client.requestParsed(TransformTag, `/api/transform-tag/${id}`, {
43
+ method: "PUT",
44
+ body
45
+ });
46
+ renderSummary(updated, transformTagView, `Updated transform tag ${updated.id} "${updated.name}".`, ctx);
47
+ }
48
+ });
49
+
50
+ //#endregion
51
+ export { update_default as default };
@@ -1,11 +1,11 @@
1
1
  import "./command-augment-CAur0XOQ.mjs";
2
- import { connectionFlags, outputFlags, profileFlag } from "./error-DR_i1hxJ.mjs";
3
- import { defineMetabaseCommand } from "./runtime-DJTGfiKO.mjs";
2
+ import { connectionFlags, outputFlags, profileFlag } from "./error-BOi_ux9O.mjs";
3
+ import { defineMetabaseCommand } from "./runtime-7JTC-usO.mjs";
4
4
  import { renderSummary } from "./capabilities-BX1rnVuH.mjs";
5
5
  import "./input-BXWgdKiS.mjs";
6
6
  import "./field-E0IBy4Uw.mjs";
7
- import { parseId } from "./parse-id-B1BlAunl.mjs";
8
- import { readBody } from "./body-3vzTm8Jj.mjs";
7
+ import { parseId } from "./parse-id-DMs04KM3.mjs";
8
+ import { readBody } from "./body-CXpIB6hY.mjs";
9
9
  import { bodyInputFlags } from "./body-flags-D7q87Btw.mjs";
10
10
  import { Table, TableUpdateInput, tableView } from "./table-qDD2kApF.mjs";
11
11
 
@@ -1,11 +1,11 @@
1
1
  import "./command-augment-CAur0XOQ.mjs";
2
- import { connectionFlags, outputFlags, profileFlag } from "./error-DR_i1hxJ.mjs";
3
- import { defineMetabaseCommand } from "./runtime-DJTGfiKO.mjs";
2
+ import { connectionFlags, outputFlags, profileFlag } from "./error-BOi_ux9O.mjs";
3
+ import { defineMetabaseCommand } from "./runtime-7JTC-usO.mjs";
4
4
  import { renderSummary } from "./capabilities-BX1rnVuH.mjs";
5
5
  import "./input-BXWgdKiS.mjs";
6
6
  import { Field, FieldUpdateInput, fieldView } from "./field-E0IBy4Uw.mjs";
7
- import { parseId } from "./parse-id-B1BlAunl.mjs";
8
- import { readBody } from "./body-3vzTm8Jj.mjs";
7
+ import { parseId } from "./parse-id-DMs04KM3.mjs";
8
+ import { readBody } from "./body-CXpIB6hY.mjs";
9
9
  import { bodyInputFlags } from "./body-flags-D7q87Btw.mjs";
10
10
 
11
11
  //#region src/commands/field/update.ts
@@ -1,10 +1,10 @@
1
1
  import "./command-augment-CAur0XOQ.mjs";
2
- import { connectionFlags, outputFlags, profileFlag } from "./error-DR_i1hxJ.mjs";
3
- import { defineMetabaseCommand } from "./runtime-DJTGfiKO.mjs";
2
+ import { connectionFlags, outputFlags, profileFlag } from "./error-BOi_ux9O.mjs";
3
+ import { defineMetabaseCommand } from "./runtime-7JTC-usO.mjs";
4
4
  import { renderSummary } from "./capabilities-BX1rnVuH.mjs";
5
5
  import "./input-BXWgdKiS.mjs";
6
- import { parseId } from "./parse-id-B1BlAunl.mjs";
7
- import { readBody } from "./body-3vzTm8Jj.mjs";
6
+ import { parseId } from "./parse-id-DMs04KM3.mjs";
7
+ import { readBody } from "./body-CXpIB6hY.mjs";
8
8
  import { bodyInputFlags } from "./body-flags-D7q87Btw.mjs";
9
9
  import "./validate-VawhJ5Sc.mjs";
10
10
  import { SEGMENT_DEFINITION_LABELS, preflightMbql5Query, skipValidateFlag } from "./validate-query-CSV-TTnd.mjs";
@@ -1,15 +1,15 @@
1
1
  import "./command-augment-CAur0XOQ.mjs";
2
- import { connectionFlags, outputFlags, profileFlag } from "./error-DR_i1hxJ.mjs";
3
- import { defineMetabaseCommand } from "./runtime-DJTGfiKO.mjs";
2
+ import { connectionFlags, outputFlags, profileFlag } from "./error-BOi_ux9O.mjs";
3
+ import { defineMetabaseCommand } from "./runtime-7JTC-usO.mjs";
4
4
  import { renderSummary } from "./capabilities-BX1rnVuH.mjs";
5
5
  import "./input-BXWgdKiS.mjs";
6
- import { parseId } from "./parse-id-B1BlAunl.mjs";
7
- import { readBody } from "./body-3vzTm8Jj.mjs";
6
+ import { parseId } from "./parse-id-DMs04KM3.mjs";
7
+ import { readBody } from "./body-CXpIB6hY.mjs";
8
8
  import { bodyInputFlags } from "./body-flags-D7q87Btw.mjs";
9
9
  import "./validate-VawhJ5Sc.mjs";
10
10
  import { TRANSFORM_SOURCE_QUERY_LABELS, preflightMbql5Query, skipValidateFlag } from "./validate-query-CSV-TTnd.mjs";
11
11
  import { Transform, TransformUpdateInput, transformView } from "./transform-qczxOAzn.mjs";
12
- import { enrichTransformCollectionError } from "./collection-namespace-BQ_ebqOP.mjs";
12
+ import { enrichTransformCollectionError } from "./collection-namespace-DmKMqLr0.mjs";
13
13
 
14
14
  //#region src/commands/transform/update.ts
15
15
  var update_default = defineMetabaseCommand({
@@ -1,10 +1,10 @@
1
1
  import { ConfigError } from "./command-augment-CAur0XOQ.mjs";
2
- import { connectionFlags, outputFlags, profileFlag } from "./error-DR_i1hxJ.mjs";
3
- import { defineMetabaseCommand } from "./runtime-DJTGfiKO.mjs";
2
+ import { connectionFlags, outputFlags, profileFlag } from "./error-BOi_ux9O.mjs";
3
+ import { defineMetabaseCommand } from "./runtime-7JTC-usO.mjs";
4
4
  import { renderSummary } from "./capabilities-BX1rnVuH.mjs";
5
5
  import "./input-BXWgdKiS.mjs";
6
- import { parseId } from "./parse-id-B1BlAunl.mjs";
7
- import { readBody } from "./body-3vzTm8Jj.mjs";
6
+ import { parseId } from "./parse-id-DMs04KM3.mjs";
7
+ import { readBody } from "./body-CXpIB6hY.mjs";
8
8
  import { bodyInputFlags } from "./body-flags-D7q87Btw.mjs";
9
9
  import { DashboardDetail, Dashcard, DashcardPatchInput, dashcardView } from "./dashboard-B4bn3z6t.mjs";
10
10
 
@@ -1,10 +1,10 @@
1
1
  import "./command-augment-CAur0XOQ.mjs";
2
- import { connectionFlags, outputFlags, profileFlag } from "./error-DR_i1hxJ.mjs";
3
- import { defineMetabaseCommand } from "./runtime-DJTGfiKO.mjs";
2
+ import { connectionFlags, outputFlags, profileFlag } from "./error-BOi_ux9O.mjs";
3
+ import { defineMetabaseCommand } from "./runtime-7JTC-usO.mjs";
4
4
  import { renderSummary } from "./capabilities-BX1rnVuH.mjs";
5
5
  import "./input-BXWgdKiS.mjs";
6
- import { parseId } from "./parse-id-B1BlAunl.mjs";
7
- import { readBody } from "./body-3vzTm8Jj.mjs";
6
+ import { parseId } from "./parse-id-DMs04KM3.mjs";
7
+ import { readBody } from "./body-CXpIB6hY.mjs";
8
8
  import { bodyInputFlags } from "./body-flags-D7q87Btw.mjs";
9
9
  import { Document, DocumentUpdateInput, documentView } from "./document-qfwR0r63.mjs";
10
10
 
@@ -1,6 +1,6 @@
1
1
  import { AbortError, NetworkError, TimeoutError, UnknownError, errorMessage } from "./command-augment-CAur0XOQ.mjs";
2
- import { outputFlags, package_default } from "./error-DR_i1hxJ.mjs";
3
- import { HttpError, USER_AGENT, combineAborts, defineMetabaseCommand, parseJson, throwIfAborted } from "./runtime-DJTGfiKO.mjs";
2
+ import { outputFlags, package_default } from "./error-BOi_ux9O.mjs";
3
+ import { HttpError, USER_AGENT, combineAborts, defineMetabaseCommand, parseJson, throwIfAborted } from "./runtime-7JTC-usO.mjs";
4
4
  import { renderItem, writeText } from "./capabilities-BX1rnVuH.mjs";
5
5
  import { promptConfirm } from "./prompt-Bc_bHSD0.mjs";
6
6
  import { streamProcess } from "./process-DsGf7Mg5.mjs";
@@ -1,6 +1,6 @@
1
1
  import { ConfigError } from "./command-augment-CAur0XOQ.mjs";
2
- import { outputFlags } from "./error-DR_i1hxJ.mjs";
3
- import { defineMetabaseCommand, parseInteger } from "./runtime-DJTGfiKO.mjs";
2
+ import { outputFlags } from "./error-BOi_ux9O.mjs";
3
+ import { defineMetabaseCommand, parseInteger } from "./runtime-7JTC-usO.mjs";
4
4
  import { writeJson, writeText } from "./capabilities-BX1rnVuH.mjs";
5
5
  import { z } from "zod";
6
6
  import { randomUUID } from "node:crypto";
@@ -1,9 +1,9 @@
1
1
  import "./command-augment-CAur0XOQ.mjs";
2
- import { connectionFlags, outputFlags, profileFlag } from "./error-DR_i1hxJ.mjs";
3
- import { defineMetabaseCommand } from "./runtime-DJTGfiKO.mjs";
2
+ import { connectionFlags, outputFlags, profileFlag } from "./error-BOi_ux9O.mjs";
3
+ import { defineMetabaseCommand } from "./runtime-7JTC-usO.mjs";
4
4
  import { formatScalar, renderSummary } from "./capabilities-BX1rnVuH.mjs";
5
5
  import { FieldValues, fieldValuesView } from "./field-E0IBy4Uw.mjs";
6
- import { parseId } from "./parse-id-B1BlAunl.mjs";
6
+ import { parseId } from "./parse-id-DMs04KM3.mjs";
7
7
 
8
8
  //#region src/commands/field/values.ts
9
9
  var values_default = defineMetabaseCommand({
@@ -1,5 +1,5 @@
1
1
  import { MetabaseError, NetworkError, TimeoutError, errorMessage } from "./command-augment-CAur0XOQ.mjs";
2
- import { HttpError, createClient, probeServer } from "./runtime-DJTGfiKO.mjs";
2
+ import { HttpError, createClient, probeServer } from "./runtime-7JTC-usO.mjs";
3
3
  import { z } from "zod";
4
4
 
5
5
  //#region src/domain/user.ts
@@ -1,10 +1,10 @@
1
1
  import "./command-augment-CAur0XOQ.mjs";
2
- import { connectionFlags, outputFlags, profileFlag } from "./error-DR_i1hxJ.mjs";
3
- import { defineMetabaseCommand } from "./runtime-DJTGfiKO.mjs";
2
+ import { connectionFlags, outputFlags, profileFlag } from "./error-BOi_ux9O.mjs";
3
+ import { defineMetabaseCommand } from "./runtime-7JTC-usO.mjs";
4
4
  import { renderSummary } from "./capabilities-BX1rnVuH.mjs";
5
- import { parseId } from "./parse-id-B1BlAunl.mjs";
6
- import { DEFAULT_INTERVAL_MS, DEFAULT_TIMEOUT_MS } from "./poll-Dl5Zv4Ed.mjs";
7
- import { SyncTaskOrIdle, formatSyncTask, pollSyncTask, syncTaskIdleView, syncTaskView, throwIfFailedTask } from "./poll-task-BoRK94WQ.mjs";
5
+ import { parseId } from "./parse-id-DMs04KM3.mjs";
6
+ import { DEFAULT_INTERVAL_MS, DEFAULT_TIMEOUT_MS } from "./poll-13tgWrN_.mjs";
7
+ import { SyncTaskOrIdle, formatSyncTask, pollSyncTask, syncTaskIdleView, syncTaskView, throwIfFailedTask } from "./poll-task-BuAHsDEK.mjs";
8
8
 
9
9
  //#region src/commands/git-sync/wait.ts
10
10
  const WaitResult = SyncTaskOrIdle;
@@ -1,5 +1,5 @@
1
- import { parseId } from "./parse-id-B1BlAunl.mjs";
2
- import { DEFAULT_INTERVAL_MS, DEFAULT_TIMEOUT_MS } from "./poll-Dl5Zv4Ed.mjs";
1
+ import { parseId } from "./parse-id-DMs04KM3.mjs";
2
+ import { DEFAULT_INTERVAL_MS, DEFAULT_TIMEOUT_MS } from "./poll-13tgWrN_.mjs";
3
3
 
4
4
  //#region src/commands/wait-flags.ts
5
5
  const waitScheduleFlags = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@metabase/cli",
3
- "version": "0.1.13",
3
+ "version": "0.1.14",
4
4
  "description": "Metabase CLI",
5
5
  "license": "AGPL-3.0",
6
6
  "repository": {