@metabase/cli 0.1.11 → 0.1.12

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 (147) hide show
  1. package/dist/add-collection-BPtBMh8Y.mjs +10 -0
  2. package/dist/{add-collection-DKULSPwT.mjs → add-collection-DEME4IOy.mjs} +4 -4
  3. package/dist/{archive-BLxX3J6I.mjs → archive-BFk-oupo.mjs} +3 -3
  4. package/dist/{archive-BJ6uL3hh.mjs → archive-BNioNJtG.mjs} +3 -3
  5. package/dist/{archive-y-_m3XID.mjs → archive-BtDvBsr8.mjs} +3 -3
  6. package/dist/{archive-ibJVYsBC.mjs → archive-CMeTr8jv.mjs} +3 -3
  7. package/dist/{archive-BL_0fXhf.mjs → archive-DUlrUlok.mjs} +3 -3
  8. package/dist/{archive-BLbaqc-5.mjs → archive-Dc-FwNZm.mjs} +3 -3
  9. package/dist/{archive-DQsV2uwy.mjs → archive-MTTQv3wR.mjs} +3 -3
  10. package/dist/auth-CjFnuPe9.mjs +19 -0
  11. package/dist/{body-DCQg78AF.mjs → body-89w3r7In.mjs} +2 -2
  12. package/dist/{branches-CJVscsZe.mjs → branches-DuVKH8Ye.mjs} +4 -4
  13. package/dist/{cancel-C8W0sPix.mjs → cancel-BEMQKVuR.mjs} +3 -3
  14. package/dist/{cancel-task-dDgQDswT.mjs → cancel-task-D2mSPFXO.mjs} +4 -4
  15. package/dist/card-DoDpwR4t.mjs +20 -0
  16. package/dist/{cards-B7HE8BT6.mjs → cards-L9jksUMD.mjs} +3 -3
  17. package/dist/cli.mjs +23 -23
  18. package/dist/collection-CF-1RIPY.mjs +20 -0
  19. package/dist/{collection-namespace-CBCApZJf.mjs → collection-namespace-w26SavJH.mjs} +1 -1
  20. package/dist/{create-Di9NY7kK.mjs → create-8hMjPz7j.mjs} +4 -4
  21. package/dist/{create-BQA6nM5n.mjs → create-Bu9Jayck.mjs} +5 -5
  22. package/dist/{create-BWaBYzhC.mjs → create-C3b3MoIN.mjs} +4 -4
  23. package/dist/{create-vNcD4jfq.mjs → create-Cxg_h8Kf.mjs} +4 -4
  24. package/dist/{create-84jcfY4N.mjs → create-D6QqOX6u.mjs} +4 -4
  25. package/dist/{create-DPASPFGi.mjs → create-DCYc032c.mjs} +5 -5
  26. package/dist/{create-VjvMdgM5.mjs → create-Dew3rKsR.mjs} +4 -4
  27. package/dist/{create-DN8us8si.mjs → create-DoeqRVmx.mjs} +4 -4
  28. package/dist/{create-branch-CCoDX2Qf.mjs → create-branch-C5P2y8U5.mjs} +4 -4
  29. package/dist/{create-B6mzc8UK.mjs → create-zEq4ZJAT.mjs} +4 -4
  30. package/dist/{current-task-QdxA3mSX.mjs → current-task-uD4QO5bM.mjs} +4 -4
  31. package/dist/dashboard-C5zTX345.mjs +21 -0
  32. package/dist/db-4y5Z1CQw.mjs +22 -0
  33. package/dist/{delete-ByJ6guaH.mjs → delete-Bftif2R3.mjs} +3 -3
  34. package/dist/{delete-CE_Jfjni.mjs → delete-DGaNAFdQ.mjs} +3 -3
  35. package/dist/{delete-table-D5LDUkOk.mjs → delete-table-C0qxP6FE.mjs} +3 -3
  36. package/dist/{dirty-C6yzkIPn.mjs → dirty-CZZLpWt1.mjs} +4 -4
  37. package/dist/document-97l9Non_.mjs +19 -0
  38. package/dist/{eid-ZOyix96k.mjs → eid-C8xTmR8e.mjs} +4 -4
  39. package/dist/{error-C1bUYXn7.mjs → error-BGH4gxGN.mjs} +1 -1
  40. package/dist/{export-BhbBX-pl.mjs → export-DWdjnBKo.mjs} +6 -6
  41. package/dist/field-BwUTrelF.mjs +18 -0
  42. package/dist/{fields-CZ6IK8Qf.mjs → fields-Cq08PQec.mjs} +3 -3
  43. package/dist/{get-BKWZA_22.mjs → get-7IhxPyE_.mjs} +2 -2
  44. package/dist/{get-D49EdHgH.mjs → get-8nAjRL2H.mjs} +3 -3
  45. package/dist/{get-157SWRte.mjs → get-B2vGW7Aw.mjs} +3 -3
  46. package/dist/{get-DclzgC5G.mjs → get-B_BJ10pV.mjs} +3 -3
  47. package/dist/{get-CqKttHWW.mjs → get-BaKKF50e.mjs} +3 -3
  48. package/dist/{get-B03gdAun.mjs → get-Bbij6RjC.mjs} +3 -3
  49. package/dist/{get-C0emTO1r.mjs → get-Bcr_5fAb.mjs} +2 -2
  50. package/dist/{get-DIyv2a7h.mjs → get-Cr8oz_jr.mjs} +3 -3
  51. package/dist/{get-Bbo2Y-aL.mjs → get-DHPN1716.mjs} +3 -3
  52. package/dist/{get-nl41R-2q.mjs → get-DtKv-gl3.mjs} +3 -3
  53. package/dist/{get-BtqQ98nb.mjs → get-DzLAmSKd.mjs} +2 -2
  54. package/dist/{get-9b0ZEWh1.mjs → get-Rqz7UHv1.mjs} +3 -3
  55. package/dist/{get-mR01pCNG.mjs → get-f5ENeUNw.mjs} +3 -3
  56. package/dist/{get-run-_dlMCGp5.mjs → get-run-DhbHXaZE.mjs} +3 -3
  57. package/dist/{get-DlzC0xCg.mjs → get-ug26gcOI.mjs} +3 -3
  58. package/dist/git-sync-JIMEYW-E.mjs +28 -0
  59. package/dist/{has-remote-changes-CToITRyl.mjs → has-remote-changes-CTLh3WjZ.mjs} +4 -4
  60. package/dist/{import-xnYHb4QX.mjs → import-XakIQfRp.mjs} +6 -6
  61. package/dist/{input-xewHccej.mjs → input-BZwm4yby.mjs} +25 -3
  62. package/dist/is-dirty-4gf8ujws.mjs +9 -0
  63. package/dist/{is-dirty-BHyMmUVV.mjs → is-dirty-DkOOyjsZ.mjs} +3 -3
  64. package/dist/{items-D3AmbIOO.mjs → items-DC985V8K.mjs} +3 -3
  65. package/dist/{list-C5NywUBH.mjs → list-B83-hnq5.mjs} +2 -2
  66. package/dist/{list-C_d7ppOJ.mjs → list-BtNboYpZ.mjs} +3 -3
  67. package/dist/{list-CIu1zfpU.mjs → list-CEbMS6g3.mjs} +2 -2
  68. package/dist/{list-D7Np4fwk.mjs → list-CIEI8XK_.mjs} +2 -2
  69. package/dist/{list-BtTRJyrR.mjs → list-Cnb9mQdd.mjs} +2 -2
  70. package/dist/{list-CA6MlByL.mjs → list-CtAFlkLe.mjs} +2 -2
  71. package/dist/{list-DSJwMHXB.mjs → list-CyIgwqFB.mjs} +2 -2
  72. package/dist/{list-BhZYkbc9.mjs → list-Df4MhR2A.mjs} +2 -2
  73. package/dist/{list-5ZZfaOzm.mjs → list-DfPwBQrZ.mjs} +2 -2
  74. package/dist/{list-BHCVZh7Q.mjs → list-OGkVAG6b.mjs} +2 -2
  75. package/dist/{list-Byn-dRW4.mjs → list-PYNFVJGM.mjs} +3 -3
  76. package/dist/{list-BkzrFyJO.mjs → list-STlBcPs8.mjs} +2 -2
  77. package/dist/{list-BdStkg8G.mjs → list-gy64AAWO.mjs} +2 -2
  78. package/dist/{list-DKPhFATP.mjs → list-xfmTxHNu.mjs} +2 -2
  79. package/dist/{login-jWvDDvEm.mjs → login-C0VFlX8y.mjs} +4 -4
  80. package/dist/{logout-Bltlsm6u.mjs → logout-BUgUTFol.mjs} +2 -2
  81. package/dist/measure-BmcmxRQ3.mjs +19 -0
  82. package/dist/{metadata-Bf2TfG8F.mjs → metadata-B1EmV1l5.mjs} +3 -3
  83. package/dist/{metadata-BKcyjsoA.mjs → metadata-Dwkcsa1c.mjs} +3 -3
  84. package/dist/{parse-id-CWRJlQVK.mjs → parse-id-sKNP6yu5.mjs} +1 -1
  85. package/dist/{path-Djw9IARu.mjs → path-BZJR7YLR.mjs} +2 -2
  86. package/dist/{poll-hJrV0cPm.mjs → poll-Cyw-dQi4.mjs} +1 -1
  87. package/dist/{poll-task-DK6X9Juu.mjs → poll-task-BG0oVnfZ.mjs} +2 -2
  88. package/dist/{preflight-DjSPp3Ct.mjs → preflight-BjR63JnX.mjs} +1 -1
  89. package/dist/{query-Cc-9oPsW.mjs → query-C2xqnz24.mjs} +3 -3
  90. package/dist/{query-Do5n5SZc.mjs → query-Dk55Wp2p.mjs} +4 -4
  91. package/dist/{remove-collection-DVvnmU06.mjs → remove-collection-DbVNWGyb.mjs} +6 -6
  92. package/dist/{rescan-values-CHluR3JC.mjs → rescan-values-CuLQ9UHP.mjs} +3 -3
  93. package/dist/{run-CcJbcaw8.mjs → run-PDN33QjN.mjs} +5 -5
  94. package/dist/{runs-Dc8qZBhl.mjs → runs-B9T-7lei.mjs} +3 -3
  95. package/dist/{runtime-jWkzCPlL.mjs → runtime-DgHh4T6t.mjs} +1 -1
  96. package/dist/{schema-tables-CZ6EMHUZ.mjs → schema-tables-DjmNwrlT.mjs} +3 -3
  97. package/dist/{schemas-Br1cpOZc.mjs → schemas-CWL8gv1C.mjs} +3 -3
  98. package/dist/{search-DB2joPgt.mjs → search-D7JzmvfR.mjs} +3 -3
  99. package/dist/segment-DrZNuxsM.mjs +19 -0
  100. package/dist/{set-BRhVzEWd.mjs → set-C0dCLnUA.mjs} +4 -4
  101. package/dist/{setting-CuxO4T1n.mjs → setting-Licy7ZSs.mjs} +3 -3
  102. package/dist/{setup-Bn4jwxdl.mjs → setup-BL4fqxoU.mjs} +4 -4
  103. package/dist/{skills-Db1r65S5.mjs → skills-Cn8FMCxG.mjs} +3 -3
  104. package/dist/snippet-C5_4nPGj.mjs +19 -0
  105. package/dist/{stash-Dp2JFgmp.mjs → stash-SGod4B8-.mjs} +6 -6
  106. package/dist/{status-j09luNai.mjs → status-BCb5iCsQ.mjs} +5 -5
  107. package/dist/{status-BxGBwALE.mjs → status-CvUuZVvC.mjs} +2 -2
  108. package/dist/{summary-DVrj7DSa.mjs → summary-qaTPTLWs.mjs} +3 -3
  109. package/dist/{sync-schema-BVHvjzGX.mjs → sync-schema-CjjAYTbO.mjs} +5 -5
  110. package/dist/table-DK1B8Hzq.mjs +19 -0
  111. package/dist/transform-Dh5746zH.mjs +24 -0
  112. package/dist/transform-job-D0nRGPYN.mjs +19 -0
  113. package/dist/{tree-BEPw6xbY.mjs → tree-C0MFcweC.mjs} +2 -2
  114. package/dist/{update-B5VBJFU9.mjs → update-BImaz9vj.mjs} +6 -6
  115. package/dist/{update-fVqLtZ_t.mjs → update-BTzsE8GU.mjs} +5 -5
  116. package/dist/{update-C5vlBTII.mjs → update-BUoWwmQV.mjs} +5 -5
  117. package/dist/{update-Bd0ASKUG.mjs → update-BqsGGrzx.mjs} +6 -6
  118. package/dist/{update-DiG6SSGm.mjs → update-CHUUY-IB.mjs} +5 -5
  119. package/dist/{update-BXaT0Faw.mjs → update-CJASCsG4.mjs} +5 -5
  120. package/dist/{update-CAoOJRwz.mjs → update-DCR0wFNl.mjs} +5 -5
  121. package/dist/{update-DzKPxRBE.mjs → update-Dty6LvU2.mjs} +5 -5
  122. package/dist/{update-dashcard-7bZtw04E.mjs → update-dashcard-BkJaVVvf.mjs} +5 -5
  123. package/dist/{update-Bn5wUyTQ.mjs → update-qoP7hZTg.mjs} +5 -5
  124. package/dist/{update-C875_WGf.mjs → update-vk_M0eOR.mjs} +5 -5
  125. package/dist/{upgrade-DdCxE9Ml.mjs → upgrade-TdaiAYbH.mjs} +2 -2
  126. package/dist/{uuid-DywghRXO.mjs → uuid-BeUz8VpP.mjs} +2 -2
  127. package/dist/{values-DSul3siC.mjs → values-DR-3HcK6.mjs} +3 -3
  128. package/dist/{verify-DzDyKXOa.mjs → verify-D2uBlvmt.mjs} +1 -1
  129. package/dist/{wait-CacFZI5Y.mjs → wait-FAnqO-LT.mjs} +5 -5
  130. package/dist/{wait-flags-DV419apK.mjs → wait-flags-B5BI_xob.mjs} +2 -2
  131. package/package.json +1 -1
  132. package/dist/add-collection-DyEe_xRO.mjs +0 -10
  133. package/dist/auth-BKaQjcmP.mjs +0 -19
  134. package/dist/card-CGBvUmCW.mjs +0 -20
  135. package/dist/collection-Ch7pPKHD.mjs +0 -20
  136. package/dist/dashboard-BDb2krMr.mjs +0 -21
  137. package/dist/db-CoVdkdVm.mjs +0 -22
  138. package/dist/document-BA2S1ev3.mjs +0 -19
  139. package/dist/field-B5bptFqL.mjs +0 -18
  140. package/dist/git-sync-DqJmONiB.mjs +0 -28
  141. package/dist/is-dirty-BvA3yzRc.mjs +0 -9
  142. package/dist/measure-DBX4k13t.mjs +0 -19
  143. package/dist/segment-BWcyA1P-.mjs +0 -19
  144. package/dist/snippet-C9UM6NwC.mjs +0 -19
  145. package/dist/table-DYI8K12W.mjs +0 -19
  146. package/dist/transform-CvbMbJtI.mjs +0 -24
  147. package/dist/transform-job-CtzgvccZ.mjs +0 -19
@@ -1,10 +1,10 @@
1
1
  import "./command-augment-BH9qgQ5u.mjs";
2
- import { connectionFlags, outputFlags, profileFlag } from "./error-C1bUYXn7.mjs";
3
- import { defineMetabaseCommand } from "./runtime-jWkzCPlL.mjs";
2
+ import { connectionFlags, outputFlags, profileFlag } from "./error-BGH4gxGN.mjs";
3
+ import { defineMetabaseCommand } from "./runtime-DgHh4T6t.mjs";
4
4
  import { renderSummary } from "./capabilities-7L9GVMd_.mjs";
5
- import "./input-xewHccej.mjs";
6
- import { parseId } from "./parse-id-CWRJlQVK.mjs";
7
- import { readBody } from "./body-DCQg78AF.mjs";
5
+ import "./input-BZwm4yby.mjs";
6
+ import { parseId } from "./parse-id-sKNP6yu5.mjs";
7
+ import { readBody } from "./body-89w3r7In.mjs";
8
8
  import { bodyInputFlags } from "./body-flags-D78h_-Ua.mjs";
9
9
  import { Document, DocumentUpdateInput, documentView } from "./document-CcfiiV3b.mjs";
10
10
 
@@ -1,10 +1,10 @@
1
1
  import "./command-augment-BH9qgQ5u.mjs";
2
- import { connectionFlags, outputFlags, profileFlag } from "./error-C1bUYXn7.mjs";
3
- import { defineMetabaseCommand } from "./runtime-jWkzCPlL.mjs";
2
+ import { connectionFlags, outputFlags, profileFlag } from "./error-BGH4gxGN.mjs";
3
+ import { defineMetabaseCommand } from "./runtime-DgHh4T6t.mjs";
4
4
  import { renderSummary } from "./capabilities-7L9GVMd_.mjs";
5
- import "./input-xewHccej.mjs";
6
- import { parseId } from "./parse-id-CWRJlQVK.mjs";
7
- import { readBody } from "./body-DCQg78AF.mjs";
5
+ import "./input-BZwm4yby.mjs";
6
+ import { parseId } from "./parse-id-sKNP6yu5.mjs";
7
+ import { readBody } from "./body-89w3r7In.mjs";
8
8
  import { bodyInputFlags } from "./body-flags-D78h_-Ua.mjs";
9
9
  import { TransformJob, TransformJobUpdateInput, transformJobView } from "./transform-job-n8W6tLqF.mjs";
10
10
 
@@ -1,10 +1,10 @@
1
1
  import "./command-augment-BH9qgQ5u.mjs";
2
- import { connectionFlags, outputFlags, profileFlag } from "./error-C1bUYXn7.mjs";
3
- import { defineMetabaseCommand } from "./runtime-jWkzCPlL.mjs";
2
+ import { connectionFlags, outputFlags, profileFlag } from "./error-BGH4gxGN.mjs";
3
+ import { defineMetabaseCommand } from "./runtime-DgHh4T6t.mjs";
4
4
  import { renderSummary } from "./capabilities-7L9GVMd_.mjs";
5
- import "./input-xewHccej.mjs";
6
- import { parseId } from "./parse-id-CWRJlQVK.mjs";
7
- import { readBody } from "./body-DCQg78AF.mjs";
5
+ import "./input-BZwm4yby.mjs";
6
+ import { parseId } from "./parse-id-sKNP6yu5.mjs";
7
+ import { readBody } from "./body-89w3r7In.mjs";
8
8
  import { bodyInputFlags } from "./body-flags-D78h_-Ua.mjs";
9
9
  import "./validate-B62TRDGV.mjs";
10
10
  import { SEGMENT_DEFINITION_LABELS, preflightMbql5Query, skipValidateFlag } from "./validate-query-BpiN1CFu.mjs";
@@ -1,12 +1,12 @@
1
1
  import "./command-augment-BH9qgQ5u.mjs";
2
- import { connectionFlags, outputFlags, profileFlag } from "./error-C1bUYXn7.mjs";
3
- import { defineMetabaseCommand } from "./runtime-jWkzCPlL.mjs";
2
+ import { connectionFlags, outputFlags, profileFlag } from "./error-BGH4gxGN.mjs";
3
+ import { defineMetabaseCommand } from "./runtime-DgHh4T6t.mjs";
4
4
  import { renderSummary } from "./capabilities-7L9GVMd_.mjs";
5
- import "./input-xewHccej.mjs";
5
+ import "./input-BZwm4yby.mjs";
6
6
  import "./field-MGxpNQUH.mjs";
7
7
  import { Card, CardUpdateInput, cardView } from "./card-DnIeMmUn.mjs";
8
- import { parseId } from "./parse-id-CWRJlQVK.mjs";
9
- import { readBody } from "./body-DCQg78AF.mjs";
8
+ import { parseId } from "./parse-id-sKNP6yu5.mjs";
9
+ import { readBody } from "./body-89w3r7In.mjs";
10
10
  import { bodyInputFlags } from "./body-flags-D78h_-Ua.mjs";
11
11
  import "./validate-B62TRDGV.mjs";
12
12
  import { CARD_DATASET_QUERY_LABELS, preflightMbql5Query, skipValidateFlag } from "./validate-query-BpiN1CFu.mjs";
@@ -1,10 +1,10 @@
1
1
  import { ConfigError } from "./command-augment-BH9qgQ5u.mjs";
2
- import { connectionFlags, outputFlags, profileFlag } from "./error-C1bUYXn7.mjs";
3
- import { defineMetabaseCommand } from "./runtime-jWkzCPlL.mjs";
2
+ import { connectionFlags, outputFlags, profileFlag } from "./error-BGH4gxGN.mjs";
3
+ import { defineMetabaseCommand } from "./runtime-DgHh4T6t.mjs";
4
4
  import { renderSummary } from "./capabilities-7L9GVMd_.mjs";
5
- import "./input-xewHccej.mjs";
6
- import { parseId } from "./parse-id-CWRJlQVK.mjs";
7
- import { readBody } from "./body-DCQg78AF.mjs";
5
+ import "./input-BZwm4yby.mjs";
6
+ import { parseId } from "./parse-id-sKNP6yu5.mjs";
7
+ import { readBody } from "./body-89w3r7In.mjs";
8
8
  import { bodyInputFlags } from "./body-flags-D78h_-Ua.mjs";
9
9
  import { DashboardDetail, Dashcard, DashcardPatchInput, dashcardView } from "./dashboard-FY5UzJ_Z.mjs";
10
10
 
@@ -1,11 +1,11 @@
1
1
  import "./command-augment-BH9qgQ5u.mjs";
2
- import { connectionFlags, outputFlags, profileFlag } from "./error-C1bUYXn7.mjs";
3
- import { defineMetabaseCommand } from "./runtime-jWkzCPlL.mjs";
2
+ import { connectionFlags, outputFlags, profileFlag } from "./error-BGH4gxGN.mjs";
3
+ import { defineMetabaseCommand } from "./runtime-DgHh4T6t.mjs";
4
4
  import { renderSummary } from "./capabilities-7L9GVMd_.mjs";
5
- import "./input-xewHccej.mjs";
5
+ import "./input-BZwm4yby.mjs";
6
6
  import "./field-MGxpNQUH.mjs";
7
- import { parseId } from "./parse-id-CWRJlQVK.mjs";
8
- import { readBody } from "./body-DCQg78AF.mjs";
7
+ import { parseId } from "./parse-id-sKNP6yu5.mjs";
8
+ import { readBody } from "./body-89w3r7In.mjs";
9
9
  import { bodyInputFlags } from "./body-flags-D78h_-Ua.mjs";
10
10
  import { Table, TableUpdateInput, tableView } from "./table-CkWja2UH.mjs";
11
11
 
@@ -1,10 +1,10 @@
1
1
  import "./command-augment-BH9qgQ5u.mjs";
2
- import { connectionFlags, outputFlags, profileFlag } from "./error-C1bUYXn7.mjs";
3
- import { defineMetabaseCommand } from "./runtime-jWkzCPlL.mjs";
2
+ import { connectionFlags, outputFlags, profileFlag } from "./error-BGH4gxGN.mjs";
3
+ import { defineMetabaseCommand } from "./runtime-DgHh4T6t.mjs";
4
4
  import { renderSummary } from "./capabilities-7L9GVMd_.mjs";
5
- import "./input-xewHccej.mjs";
6
- import { parseId } from "./parse-id-CWRJlQVK.mjs";
7
- import { readBody } from "./body-DCQg78AF.mjs";
5
+ import "./input-BZwm4yby.mjs";
6
+ import { parseId } from "./parse-id-sKNP6yu5.mjs";
7
+ import { readBody } from "./body-89w3r7In.mjs";
8
8
  import { bodyInputFlags } from "./body-flags-D78h_-Ua.mjs";
9
9
  import "./validate-B62TRDGV.mjs";
10
10
  import { MEASURE_DEFINITION_LABELS, preflightMbql5Query, skipValidateFlag } from "./validate-query-BpiN1CFu.mjs";
@@ -1,6 +1,6 @@
1
1
  import { AbortError, NetworkError, TimeoutError, UnknownError, errorMessage, isNotFoundError } from "./command-augment-BH9qgQ5u.mjs";
2
- import { outputFlags, package_default } from "./error-C1bUYXn7.mjs";
3
- import { HttpError, USER_AGENT, combineAborts, defineMetabaseCommand, parseJson, throwIfAborted } from "./runtime-jWkzCPlL.mjs";
2
+ import { outputFlags, package_default } from "./error-BGH4gxGN.mjs";
3
+ import { HttpError, USER_AGENT, combineAborts, defineMetabaseCommand, parseJson, throwIfAborted } from "./runtime-DgHh4T6t.mjs";
4
4
  import { renderItem, writeText } from "./capabilities-7L9GVMd_.mjs";
5
5
  import { promptConfirm } from "./prompt-u4WhE4T5.mjs";
6
6
  import { z } from "zod";
@@ -1,6 +1,6 @@
1
1
  import { ConfigError } from "./command-augment-BH9qgQ5u.mjs";
2
- import { outputFlags } from "./error-C1bUYXn7.mjs";
3
- import { defineMetabaseCommand, parseInteger } from "./runtime-jWkzCPlL.mjs";
2
+ import { outputFlags } from "./error-BGH4gxGN.mjs";
3
+ import { defineMetabaseCommand, parseInteger } from "./runtime-DgHh4T6t.mjs";
4
4
  import { writeJson, writeText } from "./capabilities-7L9GVMd_.mjs";
5
5
  import { z } from "zod";
6
6
  import { randomUUID } from "node:crypto";
@@ -1,9 +1,9 @@
1
1
  import "./command-augment-BH9qgQ5u.mjs";
2
- import { connectionFlags, outputFlags, profileFlag } from "./error-C1bUYXn7.mjs";
3
- import { defineMetabaseCommand } from "./runtime-jWkzCPlL.mjs";
2
+ import { connectionFlags, outputFlags, profileFlag } from "./error-BGH4gxGN.mjs";
3
+ import { defineMetabaseCommand } from "./runtime-DgHh4T6t.mjs";
4
4
  import { formatScalar, renderSummary } from "./capabilities-7L9GVMd_.mjs";
5
5
  import { FieldValues, fieldValuesView } from "./field-MGxpNQUH.mjs";
6
- import { parseId } from "./parse-id-CWRJlQVK.mjs";
6
+ import { parseId } from "./parse-id-sKNP6yu5.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-BH9qgQ5u.mjs";
2
- import { HttpError, createClient, probeServer } from "./runtime-jWkzCPlL.mjs";
2
+ import { HttpError, createClient, probeServer } from "./runtime-DgHh4T6t.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-BH9qgQ5u.mjs";
2
- import { connectionFlags, outputFlags, profileFlag } from "./error-C1bUYXn7.mjs";
3
- import { defineMetabaseCommand } from "./runtime-jWkzCPlL.mjs";
2
+ import { connectionFlags, outputFlags, profileFlag } from "./error-BGH4gxGN.mjs";
3
+ import { defineMetabaseCommand } from "./runtime-DgHh4T6t.mjs";
4
4
  import { renderSummary } from "./capabilities-7L9GVMd_.mjs";
5
- import { parseId } from "./parse-id-CWRJlQVK.mjs";
6
- import { DEFAULT_INTERVAL_MS, DEFAULT_TIMEOUT_MS } from "./poll-hJrV0cPm.mjs";
7
- import { SyncTaskOrIdle, formatSyncTask, pollSyncTask, syncTaskIdleView, syncTaskView, throwIfFailedTask } from "./poll-task-DK6X9Juu.mjs";
5
+ import { parseId } from "./parse-id-sKNP6yu5.mjs";
6
+ import { DEFAULT_INTERVAL_MS, DEFAULT_TIMEOUT_MS } from "./poll-Cyw-dQi4.mjs";
7
+ import { SyncTaskOrIdle, formatSyncTask, pollSyncTask, syncTaskIdleView, syncTaskView, throwIfFailedTask } from "./poll-task-BG0oVnfZ.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-CWRJlQVK.mjs";
2
- import { DEFAULT_INTERVAL_MS, DEFAULT_TIMEOUT_MS } from "./poll-hJrV0cPm.mjs";
1
+ import { parseId } from "./parse-id-sKNP6yu5.mjs";
2
+ import { DEFAULT_INTERVAL_MS, DEFAULT_TIMEOUT_MS } from "./poll-Cyw-dQi4.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.11",
3
+ "version": "0.1.12",
4
4
  "description": "Metabase CLI",
5
5
  "license": "AGPL-3.0",
6
6
  "repository": {
@@ -1,10 +0,0 @@
1
- import "./command-augment-BH9qgQ5u.mjs";
2
- import "./error-C1bUYXn7.mjs";
3
- import "./runtime-jWkzCPlL.mjs";
4
- import "./capabilities-7L9GVMd_.mjs";
5
- import "./parse-id-CWRJlQVK.mjs";
6
- import "./poll-hJrV0cPm.mjs";
7
- import "./poll-task-DK6X9Juu.mjs";
8
- import { SyncSettingsUpdateResult, add_collection_default, setCollectionRemoteSynced, syncSettingsUpdateView } from "./add-collection-DKULSPwT.mjs";
9
-
10
- export { add_collection_default as default };
@@ -1,19 +0,0 @@
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-jWvDDvEm.mjs").then((m) => m.default),
12
- status: () => import("./status-BxGBwALE.mjs").then((m) => m.default),
13
- list: () => import("./list-C_d7ppOJ.mjs").then((m) => m.default),
14
- logout: () => import("./logout-Bltlsm6u.mjs").then((m) => m.default)
15
- }
16
- });
17
-
18
- //#endregion
19
- export { auth_default as default };
@@ -1,20 +0,0 @@
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-BhZYkbc9.mjs").then((mod) => mod.default),
11
- get: () => import("./get-D49EdHgH.mjs").then((mod) => mod.default),
12
- query: () => import("./query-Cc-9oPsW.mjs").then((mod) => mod.default),
13
- create: () => import("./create-DN8us8si.mjs").then((mod) => mod.default),
14
- update: () => import("./update-DzKPxRBE.mjs").then((mod) => mod.default),
15
- archive: () => import("./archive-BJ6uL3hh.mjs").then((mod) => mod.default)
16
- }
17
- });
18
-
19
- //#endregion
20
- export { card_default as default };
@@ -1,20 +0,0 @@
1
- import { defineCommand } from "citty";
2
-
3
- //#region src/commands/collection/index.ts
4
- var collection_default = defineCommand({
5
- meta: {
6
- name: "collection",
7
- description: "Manage Metabase collections"
8
- },
9
- subCommands: {
10
- list: () => import("./list-DSJwMHXB.mjs").then((mod) => mod.default),
11
- get: () => import("./get-C0emTO1r.mjs").then((mod) => mod.default),
12
- items: () => import("./items-D3AmbIOO.mjs").then((mod) => mod.default),
13
- tree: () => import("./tree-BEPw6xbY.mjs").then((mod) => mod.default),
14
- create: () => import("./create-84jcfY4N.mjs").then((mod) => mod.default),
15
- archive: () => import("./archive-y-_m3XID.mjs").then((mod) => mod.default)
16
- }
17
- });
18
-
19
- //#endregion
20
- export { collection_default as default };
@@ -1,21 +0,0 @@
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-BHCVZh7Q.mjs").then((mod) => mod.default),
11
- get: () => import("./get-157SWRte.mjs").then((mod) => mod.default),
12
- cards: () => import("./cards-B7HE8BT6.mjs").then((mod) => mod.default),
13
- create: () => import("./create-BQA6nM5n.mjs").then((mod) => mod.default),
14
- update: () => import("./update-Bd0ASKUG.mjs").then((mod) => mod.default),
15
- "update-dashcard": () => import("./update-dashcard-7bZtw04E.mjs").then((mod) => mod.default),
16
- archive: () => import("./archive-ibJVYsBC.mjs").then((mod) => mod.default)
17
- }
18
- });
19
-
20
- //#endregion
21
- export { dashboard_default as default };
@@ -1,22 +0,0 @@
1
- import { defineCommand } from "citty";
2
-
3
- //#region src/commands/db/index.ts
4
- var db_default = defineCommand({
5
- meta: {
6
- name: "db",
7
- description: "Inspect and sync Metabase databases",
8
- alias: "database"
9
- },
10
- subCommands: {
11
- list: () => import("./list-BtTRJyrR.mjs").then((m) => m.default),
12
- get: () => import("./get-DlzC0xCg.mjs").then((m) => m.default),
13
- metadata: () => import("./metadata-BKcyjsoA.mjs").then((m) => m.default),
14
- schemas: () => import("./schemas-Br1cpOZc.mjs").then((m) => m.default),
15
- "schema-tables": () => import("./schema-tables-CZ6EMHUZ.mjs").then((m) => m.default),
16
- "sync-schema": () => import("./sync-schema-BVHvjzGX.mjs").then((m) => m.default),
17
- "rescan-values": () => import("./rescan-values-CHluR3JC.mjs").then((m) => m.default)
18
- }
19
- });
20
-
21
- //#endregion
22
- export { db_default as default };
@@ -1,19 +0,0 @@
1
- import { defineCommand } from "citty";
2
-
3
- //#region src/commands/document/index.ts
4
- var document_default = defineCommand({
5
- meta: {
6
- name: "document",
7
- description: "Manage Metabase documents"
8
- },
9
- subCommands: {
10
- list: () => import("./list-CA6MlByL.mjs").then((mod) => mod.default),
11
- get: () => import("./get-DclzgC5G.mjs").then((mod) => mod.default),
12
- create: () => import("./create-Di9NY7kK.mjs").then((mod) => mod.default),
13
- update: () => import("./update-DiG6SSGm.mjs").then((mod) => mod.default),
14
- archive: () => import("./archive-BLxX3J6I.mjs").then((mod) => mod.default)
15
- }
16
- });
17
-
18
- //#endregion
19
- export { document_default as default };
@@ -1,18 +0,0 @@
1
- import { defineCommand } from "citty";
2
-
3
- //#region src/commands/field/index.ts
4
- var field_default = defineCommand({
5
- meta: {
6
- name: "field",
7
- description: "Manage Metabase fields"
8
- },
9
- subCommands: {
10
- get: () => import("./get-B03gdAun.mjs").then((m) => m.default),
11
- values: () => import("./values-DSul3siC.mjs").then((m) => m.default),
12
- summary: () => import("./summary-DVrj7DSa.mjs").then((m) => m.default),
13
- update: () => import("./update-fVqLtZ_t.mjs").then((m) => m.default)
14
- }
15
- });
16
-
17
- //#endregion
18
- export { field_default as default };
@@ -1,28 +0,0 @@
1
- import { defineCommand } from "citty";
2
-
3
- //#region src/commands/git-sync/index.ts
4
- var git_sync_default = defineCommand({
5
- meta: {
6
- name: "git-sync",
7
- description: "Sync Metabase content with a git remote"
8
- },
9
- subCommands: {
10
- status: () => import("./status-j09luNai.mjs").then((mod) => mod.default),
11
- "is-dirty": () => import("./is-dirty-BvA3yzRc.mjs").then((mod) => mod.default),
12
- "has-remote-changes": () => import("./has-remote-changes-CToITRyl.mjs").then((mod) => mod.default),
13
- dirty: () => import("./dirty-C6yzkIPn.mjs").then((mod) => mod.default),
14
- "current-task": () => import("./current-task-QdxA3mSX.mjs").then((mod) => mod.default),
15
- "cancel-task": () => import("./cancel-task-dDgQDswT.mjs").then((mod) => mod.default),
16
- wait: () => import("./wait-CacFZI5Y.mjs").then((mod) => mod.default),
17
- import: () => import("./import-xnYHb4QX.mjs").then((mod) => mod.default),
18
- export: () => import("./export-BhbBX-pl.mjs").then((mod) => mod.default),
19
- stash: () => import("./stash-Dp2JFgmp.mjs").then((mod) => mod.default),
20
- branches: () => import("./branches-CJVscsZe.mjs").then((mod) => mod.default),
21
- "create-branch": () => import("./create-branch-CCoDX2Qf.mjs").then((mod) => mod.default),
22
- "add-collection": () => import("./add-collection-DyEe_xRO.mjs").then((mod) => mod.default),
23
- "remove-collection": () => import("./remove-collection-DVvnmU06.mjs").then((mod) => mod.default)
24
- }
25
- });
26
-
27
- //#endregion
28
- export { git_sync_default as default };
@@ -1,9 +0,0 @@
1
- import "./command-augment-BH9qgQ5u.mjs";
2
- import "./error-C1bUYXn7.mjs";
3
- import "./runtime-jWkzCPlL.mjs";
4
- import "./capabilities-7L9GVMd_.mjs";
5
- import "./poll-hJrV0cPm.mjs";
6
- import "./poll-task-DK6X9Juu.mjs";
7
- import { IsDirtyResult, is_dirty_default } from "./is-dirty-BHyMmUVV.mjs";
8
-
9
- export { is_dirty_default as default };
@@ -1,19 +0,0 @@
1
- import { defineCommand } from "citty";
2
-
3
- //#region src/commands/measure/index.ts
4
- var measure_default = defineCommand({
5
- meta: {
6
- name: "measure",
7
- description: "Manage Metabase measures"
8
- },
9
- subCommands: {
10
- list: () => import("./list-D7Np4fwk.mjs").then((mod) => mod.default),
11
- get: () => import("./get-nl41R-2q.mjs").then((mod) => mod.default),
12
- create: () => import("./create-vNcD4jfq.mjs").then((mod) => mod.default),
13
- update: () => import("./update-C875_WGf.mjs").then((mod) => mod.default),
14
- archive: () => import("./archive-DQsV2uwy.mjs").then((mod) => mod.default)
15
- }
16
- });
17
-
18
- //#endregion
19
- export { measure_default as default };
@@ -1,19 +0,0 @@
1
- import { defineCommand } from "citty";
2
-
3
- //#region src/commands/segment/index.ts
4
- var segment_default = defineCommand({
5
- meta: {
6
- name: "segment",
7
- description: "Manage Metabase segments"
8
- },
9
- subCommands: {
10
- list: () => import("./list-BkzrFyJO.mjs").then((mod) => mod.default),
11
- get: () => import("./get-9b0ZEWh1.mjs").then((mod) => mod.default),
12
- create: () => import("./create-BWaBYzhC.mjs").then((mod) => mod.default),
13
- update: () => import("./update-CAoOJRwz.mjs").then((mod) => mod.default),
14
- archive: () => import("./archive-BLbaqc-5.mjs").then((mod) => mod.default)
15
- }
16
- });
17
-
18
- //#endregion
19
- export { segment_default as default };
@@ -1,19 +0,0 @@
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-CIu1zfpU.mjs").then((mod) => mod.default),
11
- get: () => import("./get-CqKttHWW.mjs").then((mod) => mod.default),
12
- create: () => import("./create-B6mzc8UK.mjs").then((mod) => mod.default),
13
- update: () => import("./update-C5vlBTII.mjs").then((mod) => mod.default),
14
- archive: () => import("./archive-BL_0fXhf.mjs").then((mod) => mod.default)
15
- }
16
- });
17
-
18
- //#endregion
19
- export { snippet_default as default };
@@ -1,19 +0,0 @@
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-Byn-dRW4.mjs").then((m) => m.default),
11
- get: () => import("./get-Bbo2Y-aL.mjs").then((m) => m.default),
12
- metadata: () => import("./metadata-Bf2TfG8F.mjs").then((m) => m.default),
13
- fields: () => import("./fields-CZ6IK8Qf.mjs").then((m) => m.default),
14
- update: () => import("./update-Bn5wUyTQ.mjs").then((m) => m.default)
15
- }
16
- });
17
-
18
- //#endregion
19
- export { table_default as default };
@@ -1,24 +0,0 @@
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-5ZZfaOzm.mjs").then((mod) => mod.default),
11
- get: () => import("./get-DIyv2a7h.mjs").then((mod) => mod.default),
12
- create: () => import("./create-DPASPFGi.mjs").then((mod) => mod.default),
13
- update: () => import("./update-B5VBJFU9.mjs").then((mod) => mod.default),
14
- delete: () => import("./delete-CE_Jfjni.mjs").then((mod) => mod.default),
15
- "delete-table": () => import("./delete-table-D5LDUkOk.mjs").then((mod) => mod.default),
16
- run: () => import("./run-CcJbcaw8.mjs").then((mod) => mod.default),
17
- cancel: () => import("./cancel-C8W0sPix.mjs").then((mod) => mod.default),
18
- "get-run": () => import("./get-run-_dlMCGp5.mjs").then((mod) => mod.default),
19
- runs: () => import("./runs-Dc8qZBhl.mjs").then((mod) => mod.default)
20
- }
21
- });
22
-
23
- //#endregion
24
- export { transform_default as default };
@@ -1,19 +0,0 @@
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-DKPhFATP.mjs").then((mod) => mod.default),
11
- get: () => import("./get-mR01pCNG.mjs").then((mod) => mod.default),
12
- create: () => import("./create-VjvMdgM5.mjs").then((mod) => mod.default),
13
- update: () => import("./update-BXaT0Faw.mjs").then((mod) => mod.default),
14
- delete: () => import("./delete-ByJ6guaH.mjs").then((mod) => mod.default)
15
- }
16
- });
17
-
18
- //#endregion
19
- export { transform_job_default as default };