@metabase/cli 0.1.12 → 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.
- package/README.md +109 -22
- package/dist/add-collection-Cdhj6DJb.mjs +10 -0
- package/dist/{add-collection-DEME4IOy.mjs → add-collection-Cubho2HN.mjs} +5 -5
- package/dist/{archive-CMeTr8jv.mjs → archive-BBboJ-z3.mjs} +6 -6
- package/dist/{archive-DUlrUlok.mjs → archive-BrzOTxSA.mjs} +6 -6
- package/dist/{archive-BNioNJtG.mjs → archive-C8G0KIPI.mjs} +7 -7
- package/dist/{archive-BtDvBsr8.mjs → archive-D6eMYNI5.mjs} +6 -6
- package/dist/{archive-BFk-oupo.mjs → archive-DCIwtfv0.mjs} +6 -6
- package/dist/{archive-MTTQv3wR.mjs → archive-DTN6Anme.mjs} +7 -7
- package/dist/{archive-Dc-FwNZm.mjs → archive-F2g-bAXf.mjs} +7 -7
- package/dist/auth-D4cXDeiH.mjs +19 -0
- package/dist/{body-89w3r7In.mjs → body-CXpIB6hY.mjs} +3 -3
- package/dist/{branches-DuVKH8Ye.mjs → branches-r9SVJIV5.mjs} +6 -6
- package/dist/{cancel-BEMQKVuR.mjs → cancel-BbLZsVYQ.mjs} +5 -5
- package/dist/{cancel-task-D2mSPFXO.mjs → cancel-task-CojB-8XX.mjs} +6 -6
- package/dist/{capabilities-7L9GVMd_.mjs → capabilities-BX1rnVuH.mjs} +2 -14
- package/dist/card-BMN-mcxn.mjs +20 -0
- package/dist/{card-DnIeMmUn.mjs → card-wCPcuKSi.mjs} +1 -1
- package/dist/{cards-L9jksUMD.mjs → cards-e9Wgnbnq.mjs} +6 -6
- package/dist/cli.mjs +26 -25
- package/dist/collection-DZnA3zXr.mjs +20 -0
- package/dist/{collection-namespace-w26SavJH.mjs → collection-namespace-DmKMqLr0.mjs} +2 -2
- package/dist/{command-augment-BH9qgQ5u.mjs → command-augment-CAur0XOQ.mjs} +13 -2
- package/dist/{create-Cxg_h8Kf.mjs → create-Bbe2EM9f.mjs} +10 -10
- package/dist/{create-8hMjPz7j.mjs → create-Bu9edPBn.mjs} +8 -8
- package/dist/create-Bz4hf7W0.mjs +44 -0
- package/dist/{create-Bu9Jayck.mjs → create-BzKW27Hh.mjs} +12 -12
- package/dist/{create-Dew3rKsR.mjs → create-C4G_z8qO.mjs} +8 -8
- package/dist/{create-DoeqRVmx.mjs → create-C5-JhEUc.mjs} +11 -11
- package/dist/{create-zEq4ZJAT.mjs → create-Cq-ay6cJ.mjs} +8 -8
- package/dist/{create-D6QqOX6u.mjs → create-DFMpgUvH.mjs} +9 -9
- package/dist/{create-C3b3MoIN.mjs → create-UzeYyGq6.mjs} +10 -10
- package/dist/{create-branch-C5P2y8U5.mjs → create-branch--GJ_RxIN.mjs} +6 -6
- package/dist/{create-DCYc032c.mjs → create-onFRzFwS.mjs} +11 -11
- package/dist/{current-task-uD4QO5bM.mjs → current-task-C0mMBzdB.mjs} +6 -6
- package/dist/dashboard-PB_c3Irl.mjs +21 -0
- package/dist/{database-Dsv4QBs0.mjs → database-BmsxuRmO.mjs} +1 -1
- package/dist/db-q0lYg3k8.mjs +22 -0
- package/dist/{delete-DGaNAFdQ.mjs → delete-CGw1hwGZ.mjs} +7 -7
- package/dist/{delete-Bftif2R3.mjs → delete-CxTPHzom.mjs} +7 -7
- package/dist/delete-Dbzs51x3.mjs +50 -0
- package/dist/{delete-runtime-CjFc69tS.mjs → delete-runtime-BhZAAvjc.mjs} +3 -3
- package/dist/{delete-table-C0qxP6FE.mjs → delete-table-B6obSpLU.mjs} +7 -7
- package/dist/dependencies-DfkbJqzQ.mjs +40 -0
- package/dist/{dirty-CZZLpWt1.mjs → dirty-BqL_DE6p.mjs} +6 -6
- package/dist/document-4TwzGwl3.mjs +19 -0
- package/dist/{eid-C8xTmR8e.mjs → eid-C31VGHAM.mjs} +7 -7
- package/dist/{error-BGH4gxGN.mjs → error-BOi_ux9O.mjs} +40 -5
- package/dist/{export-DWdjnBKo.mjs → export--_0e40xU.mjs} +8 -8
- package/dist/field-Bi_O_Sdg.mjs +18 -0
- package/dist/{fields-Cq08PQec.mjs → fields-BRiL6KEF.mjs} +7 -7
- package/dist/{get-Bbij6RjC.mjs → get--bNbxDkk.mjs} +6 -6
- package/dist/{get-DHPN1716.mjs → get-B-phl324.mjs} +7 -7
- package/dist/{get-DtKv-gl3.mjs → get-B2-RLrYJ.mjs} +6 -6
- package/dist/{get-ug26gcOI.mjs → get-B_TdMKu-.mjs} +8 -8
- package/dist/{get-f5ENeUNw.mjs → get-C-o2-vnf.mjs} +6 -6
- package/dist/{get-BaKKF50e.mjs → get-C6njgZmF.mjs} +6 -6
- package/dist/{get-B_BJ10pV.mjs → get-CCyfx_AY.mjs} +6 -6
- package/dist/{get-Cr8oz_jr.mjs → get-CcGU3YaY.mjs} +6 -6
- package/dist/{get-8nAjRL2H.mjs → get-Cs7a7s2Z.mjs} +7 -7
- package/dist/{get-B2vGW7Aw.mjs → get-DGZw_U0s.mjs} +6 -6
- package/dist/{get-DzLAmSKd.mjs → get-DMeF2FLQ.mjs} +5 -5
- package/dist/{get-7IhxPyE_.mjs → get-DQOvqH9P.mjs} +6 -6
- package/dist/{get-Bcr_5fAb.mjs → get-LJam7ZQ-.mjs} +6 -6
- package/dist/{get-Rqz7UHv1.mjs → get-ev4Zw3Gj.mjs} +6 -6
- package/dist/{get-run-DhbHXaZE.mjs → get-run-Cp7ATZPQ.mjs} +6 -6
- package/dist/git-sync-BOZdFF09.mjs +28 -0
- package/dist/{has-remote-changes-CTLh3WjZ.mjs → has-remote-changes-Bw_Xp9Ii.mjs} +6 -6
- package/dist/{import-XakIQfRp.mjs → import-BmoC0ECq.mjs} +8 -8
- package/dist/{input-BZwm4yby.mjs → input-BXWgdKiS.mjs} +1 -1
- package/dist/is-dirty-B6usK-aU.mjs +9 -0
- package/dist/{is-dirty-DkOOyjsZ.mjs → is-dirty-BDmXm34E.mjs} +4 -4
- package/dist/{items-DC985V8K.mjs → items-BI-O48Sc.mjs} +8 -8
- package/dist/{key-y4TtxKwU.mjs → key-C8q5oIr5.mjs} +1 -1
- package/dist/{list-DfPwBQrZ.mjs → list-B7g2c9K7.mjs} +5 -5
- package/dist/{list-CEbMS6g3.mjs → list-BE3wVc-a.mjs} +5 -5
- package/dist/{list-CtAFlkLe.mjs → list-BcSjOiK1.mjs} +5 -5
- package/dist/{list-CIEI8XK_.mjs → list-BkEFHJe8.mjs} +5 -5
- package/dist/{list-STlBcPs8.mjs → list-CNeaMSjy.mjs} +5 -5
- package/dist/{list-BtNboYpZ.mjs → list-CRUjh592.mjs} +25 -18
- package/dist/{list-PYNFVJGM.mjs → list-CTfCgMTk.mjs} +7 -7
- package/dist/{list-OGkVAG6b.mjs → list-Cju3N2kB.mjs} +6 -6
- package/dist/{list-Df4MhR2A.mjs → list-Cqvt6gpK.mjs} +7 -7
- package/dist/{list-CyIgwqFB.mjs → list-Cz_2UyGV.mjs} +6 -6
- package/dist/{list-B83-hnq5.mjs → list-DIFjjwBV.mjs} +5 -5
- package/dist/list-DM-Oa-oB.mjs +32 -0
- package/dist/{list-Cnb9mQdd.mjs → list-DhWVjE6U.mjs} +7 -7
- package/dist/{list-xfmTxHNu.mjs → list-JCMQ06wX.mjs} +5 -5
- package/dist/{list-gy64AAWO.mjs → list-RC1HQ2dg.mjs} +5 -5
- package/dist/login-BF6LkxPI.mjs +453 -0
- package/dist/{logout-BUgUTFol.mjs → logout-Cg8Z_XD_.mjs} +15 -6
- package/dist/{manifest-BPHqF5LY.mjs → manifest-DYeLri80.mjs} +2 -2
- package/dist/measure-BRzkMY5y.mjs +19 -0
- package/dist/{metadata-B1EmV1l5.mjs → metadata-B15u_YYT.mjs} +7 -7
- package/dist/{metadata-Dwkcsa1c.mjs → metadata-CmvvOpKI.mjs} +8 -8
- package/dist/{parse-enum-Dr7ACrTR.mjs → parse-enum-BatHQ-Gs.mjs} +1 -1
- package/dist/{parse-id-sKNP6yu5.mjs → parse-id-DMs04KM3.mjs} +1 -1
- package/dist/{parse-ref-BiETXmvm.mjs → parse-ref-CZr1bYIl.mjs} +1 -1
- package/dist/{path-BZJR7YLR.mjs → path-YsfpMb_h.mjs} +5 -5
- package/dist/{poll-Cyw-dQi4.mjs → poll-13tgWrN_.mjs} +2 -2
- package/dist/{poll-task-BG0oVnfZ.mjs → poll-task-BuAHsDEK.mjs} +2 -2
- package/dist/{preflight-BjR63JnX.mjs → preflight-wCSgVqbX.mjs} +4 -4
- package/dist/process-DsGf7Mg5.mjs +73 -0
- package/dist/{prompt-u4WhE4T5.mjs → prompt-Bc_bHSD0.mjs} +13 -3
- package/dist/{query-Dk55Wp2p.mjs → query-DnYdI0fl.mjs} +12 -12
- package/dist/{query-result-B4kTRid7.mjs → query-result-L5_NrwQR.mjs} +1 -1
- package/dist/{query-C2xqnz24.mjs → query-x6g6unDt.mjs} +8 -8
- package/dist/{remove-collection-DbVNWGyb.mjs → remove-collection-CLTqx7ys.mjs} +8 -8
- package/dist/{render-BQHJhSP1.mjs → render-CkuFkWlQ.mjs} +6 -1
- package/dist/{rescan-values-CuLQ9UHP.mjs → rescan-values-C7b78yA2.mjs} +8 -8
- package/dist/{run-PDN33QjN.mjs → run-CsYI4Sqv.mjs} +8 -8
- package/dist/run-DR5O1_EU.mjs +59 -0
- package/dist/{runs-B9T-7lei.mjs → runs-DWbtqOyw.mjs} +7 -7
- package/dist/{runtime-DgHh4T6t.mjs → runtime-7JTC-usO.mjs} +591 -123
- package/dist/{schema-tables-DjmNwrlT.mjs → schema-tables-Cte09dhE.mjs} +7 -7
- package/dist/{schemas-CWL8gv1C.mjs → schemas-DAmSPGiC.mjs} +5 -5
- package/dist/{search-D7JzmvfR.mjs → search-Di-SFcZm.mjs} +5 -5
- package/dist/segment-DiHHHk2a.mjs +19 -0
- package/dist/{set-C0dCLnUA.mjs → set-C1rIETEg.mjs} +8 -8
- package/dist/set-active-CJ1VaxEC.mjs +56 -0
- package/dist/{setting-Licy7ZSs.mjs → setting-6WqN3L3F.mjs} +3 -3
- package/dist/{setup-BL4fqxoU.mjs → setup-DbXhTopr.mjs} +7 -7
- package/dist/{skills-CY_FmaPo.mjs → skills-CJ8g8fhQ.mjs} +1 -1
- package/dist/{skills-Cn8FMCxG.mjs → skills-CfWrH-1L.mjs} +3 -3
- package/dist/snippet-B-anQo6y.mjs +19 -0
- package/dist/{stash-SGod4B8-.mjs → stash-BCNSzoYQ.mjs} +8 -8
- package/dist/{status-CvUuZVvC.mjs → status-BocNdqNq.mjs} +14 -6
- package/dist/{status-BCb5iCsQ.mjs → status-CG3Lbl5_.mjs} +7 -7
- package/dist/{summary-qaTPTLWs.mjs → summary-TApK2JbW.mjs} +6 -6
- package/dist/{sync-schema-CjjAYTbO.mjs → sync-schema-COA-OlO3.mjs} +10 -10
- package/dist/table-Bnj8IBKx.mjs +19 -0
- package/dist/{table-CkWja2UH.mjs → table-qDD2kApF.mjs} +1 -1
- package/dist/transform-QCDItglq.mjs +25 -0
- package/dist/transform-job-Dawm4Lag.mjs +22 -0
- package/dist/transform-tag-BLAbrywB.mjs +36 -0
- package/dist/transform-tag-CN-bTSne.mjs +18 -0
- package/dist/transforms-Bo4u0YqS.mjs +40 -0
- package/dist/{tree-C0MFcweC.mjs → tree-CGh-ZG4n.mjs} +5 -5
- package/dist/{update-BqsGGrzx.mjs → update-Bob7lvnr.mjs} +13 -13
- package/dist/{update-BUoWwmQV.mjs → update-Br_cd74H.mjs} +9 -9
- package/dist/{update-vk_M0eOR.mjs → update-BuJjTYAx.mjs} +11 -11
- package/dist/{update-CJASCsG4.mjs → update-CCIkTuxz.mjs} +9 -9
- package/dist/{update-Dty6LvU2.mjs → update-Co4WLVkK.mjs} +12 -12
- package/dist/update-DCvTlxUK.mjs +51 -0
- package/dist/{update-qoP7hZTg.mjs → update-DLQygCXg.mjs} +10 -10
- package/dist/{update-BTzsE8GU.mjs → update-DtUhmJar.mjs} +9 -9
- package/dist/{update-DCR0wFNl.mjs → update-ETzjZl17.mjs} +11 -11
- package/dist/{update-BImaz9vj.mjs → update-ZPsCSWR6.mjs} +12 -12
- package/dist/{update-dashcard-BkJaVVvf.mjs → update-dashcard-Du-h_8oY.mjs} +9 -9
- package/dist/{update-CHUUY-IB.mjs → update-ysNL-mE-.mjs} +9 -9
- package/dist/{upgrade-TdaiAYbH.mjs → upgrade-CavKMkQ4.mjs} +6 -34
- package/dist/{uuid-BeUz8VpP.mjs → uuid-BL33x41p.mjs} +4 -4
- package/dist/{validate-B62TRDGV.mjs → validate-VawhJ5Sc.mjs} +2 -2
- package/dist/{validate-query-BpiN1CFu.mjs → validate-query-CSV-TTnd.mjs} +3 -3
- package/dist/{values-DR-3HcK6.mjs → values-DVu97Fcd.mjs} +6 -6
- package/dist/{verify-D2uBlvmt.mjs → verify-BLUei79N.mjs} +5 -5
- package/dist/{wait-FAnqO-LT.mjs → wait-C0P8Qt37.mjs} +7 -7
- package/dist/{wait-flags-B5BI_xob.mjs → wait-flags-Z_JC7x4L.mjs} +2 -2
- package/package.json +1 -1
- package/skill-data/core/SKILL.md +1 -1
- package/skill-data/transform/SKILL.md +17 -3
- package/dist/add-collection-BPtBMh8Y.mjs +0 -10
- package/dist/auth-CjFnuPe9.mjs +0 -19
- package/dist/card-DoDpwR4t.mjs +0 -20
- package/dist/collection-CF-1RIPY.mjs +0 -20
- package/dist/dashboard-C5zTX345.mjs +0 -21
- package/dist/db-4y5Z1CQw.mjs +0 -22
- package/dist/document-97l9Non_.mjs +0 -19
- package/dist/field-BwUTrelF.mjs +0 -18
- package/dist/git-sync-JIMEYW-E.mjs +0 -28
- package/dist/is-dirty-4gf8ujws.mjs +0 -9
- package/dist/login-C0VFlX8y.mjs +0 -180
- package/dist/measure-BmcmxRQ3.mjs +0 -19
- package/dist/segment-DrZNuxsM.mjs +0 -19
- package/dist/snippet-C5_4nPGj.mjs +0 -19
- package/dist/table-DK1B8Hzq.mjs +0 -19
- package/dist/transform-Dh5746zH.mjs +0 -24
- package/dist/transform-job-D0nRGPYN.mjs +0 -19
- /package/dist/{body-flags-D78h_-Ua.mjs → body-flags-D7q87Btw.mjs} +0 -0
- /package/dist/{collection-BPTlcFw5.mjs → collection-Deiziuu2.mjs} +0 -0
- /package/dist/{dashboard-FY5UzJ_Z.mjs → dashboard-B4bn3z6t.mjs} +0 -0
- /package/dist/{document-CcfiiV3b.mjs → document-qfwR0r63.mjs} +0 -0
- /package/dist/{field-MGxpNQUH.mjs → field-E0IBy4Uw.mjs} +0 -0
- /package/dist/{measure-COGAoZpo.mjs → measure-JJAdFoqK.mjs} +0 -0
- /package/dist/{paginate-Dfm9eO9A.mjs → paginate-BexjkjbY.mjs} +0 -0
- /package/dist/{revision-message-flag-Bo-Kvv6F.mjs → revision-message-flag-C7zBeWEt.mjs} +0 -0
- /package/dist/{segment-d-708KKO.mjs → segment-B9SEv9V_.mjs} +0 -0
- /package/dist/{setting-CSJvi1-6.mjs → setting-i0pugNHl.mjs} +0 -0
- /package/dist/{snippet-BZvo05ua.mjs → snippet-NNzqlksR.mjs} +0 -0
- /package/dist/{transform-job-n8W6tLqF.mjs → transform-job-B9pXBOwr.mjs} +0 -0
- /package/dist/{transform--dviwMA1.mjs → transform-qczxOAzn.mjs} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { toMetabaseError, warn } from "./command-augment-CAur0XOQ.mjs";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
|
|
4
4
|
//#region src/output/types.ts
|
|
@@ -75,7 +75,7 @@ const connectionFlags = {
|
|
|
75
75
|
//#endregion
|
|
76
76
|
//#region package.json
|
|
77
77
|
var name = "@metabase/cli";
|
|
78
|
-
var version = "0.1.
|
|
78
|
+
var version = "0.1.14";
|
|
79
79
|
var description = "Metabase CLI";
|
|
80
80
|
var license = "AGPL-3.0";
|
|
81
81
|
var repository = {
|
|
@@ -158,14 +158,49 @@ var package_default = {
|
|
|
158
158
|
engines
|
|
159
159
|
};
|
|
160
160
|
|
|
161
|
+
//#endregion
|
|
162
|
+
//#region src/core/env.ts
|
|
163
|
+
const CANONICAL_PREFIX = "MB_";
|
|
164
|
+
const LEGACY_PREFIX = "METABASE_";
|
|
165
|
+
const ENV_URL = "MB_URL";
|
|
166
|
+
const ENV_API_KEY = "MB_API_KEY";
|
|
167
|
+
const ENV_PROFILE = "MB_PROFILE";
|
|
168
|
+
const ENV_VERBOSE = "MB_VERBOSE";
|
|
169
|
+
const ENV_SKIP_PREFLIGHT = "MB_CLI_SKIP_PREFLIGHT";
|
|
170
|
+
const ENV_DISABLE_KEYRING = "MB_CLI_DISABLE_KEYRING";
|
|
171
|
+
function legacyNameFor(canonical) {
|
|
172
|
+
return LEGACY_PREFIX + canonical.slice(CANONICAL_PREFIX.length);
|
|
173
|
+
}
|
|
174
|
+
const legacyVarsUsed = new Set();
|
|
175
|
+
function readEnv(canonical) {
|
|
176
|
+
const direct = process.env[canonical];
|
|
177
|
+
if (direct !== void 0) return direct;
|
|
178
|
+
const legacyValue = process.env[legacyNameFor(canonical)];
|
|
179
|
+
if (legacyValue !== void 0) {
|
|
180
|
+
legacyVarsUsed.add(canonical);
|
|
181
|
+
return legacyValue;
|
|
182
|
+
}
|
|
183
|
+
return void 0;
|
|
184
|
+
}
|
|
185
|
+
function consumeLegacyEnvWarnings() {
|
|
186
|
+
if (legacyVarsUsed.size === 0) return [];
|
|
187
|
+
const messages = [...legacyVarsUsed].map(legacyEnvWarning);
|
|
188
|
+
legacyVarsUsed.clear();
|
|
189
|
+
return messages;
|
|
190
|
+
}
|
|
191
|
+
function legacyEnvWarning(canonical) {
|
|
192
|
+
return `warning: ${legacyNameFor(canonical)} is deprecated; set ${canonical} instead`;
|
|
193
|
+
}
|
|
194
|
+
|
|
161
195
|
//#endregion
|
|
162
196
|
//#region src/output/error.ts
|
|
163
|
-
const VERBOSE_BREADCRUMB = "(rerun with
|
|
197
|
+
const VERBOSE_BREADCRUMB = "(rerun with MB_VERBOSE=1 for details)";
|
|
164
198
|
function reportError(error, format) {
|
|
165
199
|
const handled = toMetabaseError(error);
|
|
166
|
-
const verbose =
|
|
200
|
+
const verbose = readEnv(ENV_VERBOSE) === "1";
|
|
167
201
|
if (format === "json") writeJsonError(handled, verbose);
|
|
168
202
|
else writeTextError(handled, verbose);
|
|
203
|
+
for (const message of consumeLegacyEnvWarnings()) warn(message);
|
|
169
204
|
process.exitCode = handled.exitCode;
|
|
170
205
|
}
|
|
171
206
|
function writeTextError(handled, verbose) {
|
|
@@ -189,4 +224,4 @@ function writeJsonError(handled, verbose) {
|
|
|
189
224
|
}
|
|
190
225
|
|
|
191
226
|
//#endregion
|
|
192
|
-
export { DEFAULT_MAX_BYTES, connectionFlags, listEnvelopeSchema, outputFlags, package_default, profileFlag, reportError, wrapList };
|
|
227
|
+
export { DEFAULT_MAX_BYTES, ENV_API_KEY, ENV_DISABLE_KEYRING, ENV_PROFILE, ENV_SKIP_PREFLIGHT, ENV_URL, connectionFlags, consumeLegacyEnvWarnings, listEnvelopeSchema, outputFlags, package_default, profileFlag, readEnv, reportError, wrapList };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import "./command-augment-
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
4
|
-
import { renderSummary
|
|
5
|
-
import "./parse-id-
|
|
6
|
-
import "./poll-
|
|
7
|
-
import { gitSyncWaitFlags, parseWaitFlags } from "./wait-flags-
|
|
8
|
-
import { REMOTE_SYNC_PATHS, SyncTask, formatSyncTask, pollSyncTask, throwIfFailedTask } from "./poll-task-
|
|
1
|
+
import { warn } from "./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 "./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/export.ts
|
|
@@ -0,0 +1,18 @@
|
|
|
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--bNbxDkk.mjs").then((m) => m.default),
|
|
11
|
+
values: () => import("./values-DVu97Fcd.mjs").then((m) => m.default),
|
|
12
|
+
summary: () => import("./summary-TApK2JbW.mjs").then((m) => m.default),
|
|
13
|
+
update: () => import("./update-DtUhmJar.mjs").then((m) => m.default)
|
|
14
|
+
}
|
|
15
|
+
});
|
|
16
|
+
|
|
17
|
+
//#endregion
|
|
18
|
+
export { field_default as default };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import "./command-augment-
|
|
2
|
-
import { connectionFlags, listEnvelopeSchema, outputFlags, profileFlag, wrapList } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
4
|
-
import { renderList } from "./capabilities-
|
|
5
|
-
import { FieldCompact, fieldView } from "./field-
|
|
6
|
-
import { parseId } from "./parse-id-
|
|
7
|
-
import { TableQueryMetadata } from "./table-
|
|
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 { FieldCompact, fieldView } from "./field-E0IBy4Uw.mjs";
|
|
6
|
+
import { parseId } from "./parse-id-DMs04KM3.mjs";
|
|
7
|
+
import { TableQueryMetadata } from "./table-qDD2kApF.mjs";
|
|
8
8
|
|
|
9
9
|
//#region src/commands/table/fields.ts
|
|
10
10
|
const FieldListEnvelope = listEnvelopeSchema(FieldCompact);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import "./command-augment-
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
4
|
-
import { renderItem } from "./capabilities-
|
|
5
|
-
import { Field, fieldView } from "./field-
|
|
6
|
-
import { parseId } from "./parse-id-
|
|
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 { renderItem } from "./capabilities-BX1rnVuH.mjs";
|
|
5
|
+
import { Field, fieldView } from "./field-E0IBy4Uw.mjs";
|
|
6
|
+
import { parseId } from "./parse-id-DMs04KM3.mjs";
|
|
7
7
|
|
|
8
8
|
//#region src/commands/field/get.ts
|
|
9
9
|
var get_default = defineMetabaseCommand({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import "./command-augment-
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand, parseEnum } from "./runtime-
|
|
4
|
-
import { renderItem } from "./capabilities-
|
|
5
|
-
import "./field-
|
|
6
|
-
import { parseId } from "./parse-id-
|
|
7
|
-
import { Table, TableQueryMetadata, tableView } from "./table-
|
|
1
|
+
import "./command-augment-CAur0XOQ.mjs";
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-BOi_ux9O.mjs";
|
|
3
|
+
import { defineMetabaseCommand, parseEnum } from "./runtime-7JTC-usO.mjs";
|
|
4
|
+
import { renderItem } from "./capabilities-BX1rnVuH.mjs";
|
|
5
|
+
import "./field-E0IBy4Uw.mjs";
|
|
6
|
+
import { parseId } from "./parse-id-DMs04KM3.mjs";
|
|
7
|
+
import { Table, TableQueryMetadata, tableView } from "./table-qDD2kApF.mjs";
|
|
8
8
|
import { z } from "zod";
|
|
9
9
|
|
|
10
10
|
//#region src/commands/table/get.ts
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import "./command-augment-
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
4
|
-
import { renderItem } from "./capabilities-
|
|
5
|
-
import { parseId } from "./parse-id-
|
|
6
|
-
import { Measure, measureView } from "./measure-
|
|
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 { renderItem } from "./capabilities-BX1rnVuH.mjs";
|
|
5
|
+
import { parseId } from "./parse-id-DMs04KM3.mjs";
|
|
6
|
+
import { Measure, measureView } from "./measure-JJAdFoqK.mjs";
|
|
7
7
|
|
|
8
8
|
//#region src/commands/measure/get.ts
|
|
9
9
|
var get_default = defineMetabaseCommand({
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import "./command-augment-
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand, parseEnum } from "./runtime-
|
|
4
|
-
import { renderItem } from "./capabilities-
|
|
5
|
-
import "./field-
|
|
6
|
-
import { parseId } from "./parse-id-
|
|
7
|
-
import "./table-
|
|
8
|
-
import { Database, databaseView } from "./database-
|
|
1
|
+
import "./command-augment-CAur0XOQ.mjs";
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-BOi_ux9O.mjs";
|
|
3
|
+
import { defineMetabaseCommand, parseEnum } from "./runtime-7JTC-usO.mjs";
|
|
4
|
+
import { renderItem } from "./capabilities-BX1rnVuH.mjs";
|
|
5
|
+
import "./field-E0IBy4Uw.mjs";
|
|
6
|
+
import { parseId } from "./parse-id-DMs04KM3.mjs";
|
|
7
|
+
import "./table-qDD2kApF.mjs";
|
|
8
|
+
import { Database, databaseView } from "./database-BmsxuRmO.mjs";
|
|
9
9
|
import { z } from "zod";
|
|
10
10
|
|
|
11
11
|
//#region src/commands/db/get.ts
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import "./command-augment-
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
4
|
-
import { renderItem } from "./capabilities-
|
|
5
|
-
import { parseId } from "./parse-id-
|
|
6
|
-
import { TransformJob, transformJobView } from "./transform-job-
|
|
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 { renderItem } from "./capabilities-BX1rnVuH.mjs";
|
|
5
|
+
import { parseId } from "./parse-id-DMs04KM3.mjs";
|
|
6
|
+
import { TransformJob, transformJobView } from "./transform-job-B9pXBOwr.mjs";
|
|
7
7
|
|
|
8
8
|
//#region src/commands/transform-job/get.ts
|
|
9
9
|
var get_default = defineMetabaseCommand({
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import "./command-augment-
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
4
|
-
import { renderItem } from "./capabilities-
|
|
5
|
-
import { parseId } from "./parse-id-
|
|
6
|
-
import { Snippet, snippetView } from "./snippet-
|
|
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 { renderItem } from "./capabilities-BX1rnVuH.mjs";
|
|
5
|
+
import { parseId } from "./parse-id-DMs04KM3.mjs";
|
|
6
|
+
import { Snippet, snippetView } from "./snippet-NNzqlksR.mjs";
|
|
7
7
|
|
|
8
8
|
//#region src/commands/snippet/get.ts
|
|
9
9
|
var get_default = defineMetabaseCommand({
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import "./command-augment-
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
4
|
-
import { renderItem } from "./capabilities-
|
|
5
|
-
import { parseId } from "./parse-id-
|
|
6
|
-
import { Document, documentView } from "./document-
|
|
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 { renderItem } from "./capabilities-BX1rnVuH.mjs";
|
|
5
|
+
import { parseId } from "./parse-id-DMs04KM3.mjs";
|
|
6
|
+
import { Document, documentView } from "./document-qfwR0r63.mjs";
|
|
7
7
|
|
|
8
8
|
//#region src/commands/document/get.ts
|
|
9
9
|
var get_default = defineMetabaseCommand({
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import "./command-augment-
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
4
|
-
import { renderItem } from "./capabilities-
|
|
5
|
-
import { parseId } from "./parse-id-
|
|
6
|
-
import { Transform, transformView } from "./transform
|
|
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 { renderItem } from "./capabilities-BX1rnVuH.mjs";
|
|
5
|
+
import { parseId } from "./parse-id-DMs04KM3.mjs";
|
|
6
|
+
import { Transform, transformView } from "./transform-qczxOAzn.mjs";
|
|
7
7
|
|
|
8
8
|
//#region src/commands/transform/get.ts
|
|
9
9
|
var get_default = defineMetabaseCommand({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import "./command-augment-
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
4
|
-
import { renderItem } from "./capabilities-
|
|
5
|
-
import "./field-
|
|
6
|
-
import { Card, cardView } from "./card-
|
|
7
|
-
import { parseId } from "./parse-id-
|
|
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 { renderItem } from "./capabilities-BX1rnVuH.mjs";
|
|
5
|
+
import "./field-E0IBy4Uw.mjs";
|
|
6
|
+
import { Card, cardView } from "./card-wCPcuKSi.mjs";
|
|
7
|
+
import { parseId } from "./parse-id-DMs04KM3.mjs";
|
|
8
8
|
|
|
9
9
|
//#region src/commands/card/get.ts
|
|
10
10
|
var get_default = defineMetabaseCommand({
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import "./command-augment-
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
4
|
-
import { renderItem } from "./capabilities-
|
|
5
|
-
import { parseId } from "./parse-id-
|
|
6
|
-
import { DashboardDetail, dashboardView } from "./dashboard-
|
|
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 { renderItem } from "./capabilities-BX1rnVuH.mjs";
|
|
5
|
+
import { parseId } from "./parse-id-DMs04KM3.mjs";
|
|
6
|
+
import { DashboardDetail, dashboardView } from "./dashboard-B4bn3z6t.mjs";
|
|
7
7
|
|
|
8
8
|
//#region src/commands/dashboard/get.ts
|
|
9
9
|
var get_default = defineMetabaseCommand({
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { ConfigError } from "./command-augment-
|
|
2
|
-
import { listEnvelopeSchema, outputFlags, wrapList } from "./error-
|
|
3
|
-
import { defineMetabaseCommand, parseCsv } from "./runtime-
|
|
4
|
-
import { renderList, writeText } from "./capabilities-
|
|
5
|
-
import { SkillContent, loadAllSkills, loadVisibleSkills, readSkillContent, selectSkillsByNames } from "./skills-
|
|
1
|
+
import { ConfigError } from "./command-augment-CAur0XOQ.mjs";
|
|
2
|
+
import { listEnvelopeSchema, outputFlags, wrapList } from "./error-BOi_ux9O.mjs";
|
|
3
|
+
import { defineMetabaseCommand, parseCsv } from "./runtime-7JTC-usO.mjs";
|
|
4
|
+
import { renderList, writeText } from "./capabilities-BX1rnVuH.mjs";
|
|
5
|
+
import { SkillContent, loadAllSkills, loadVisibleSkills, readSkillContent, selectSkillsByNames } from "./skills-CJ8g8fhQ.mjs";
|
|
6
6
|
|
|
7
7
|
//#region src/commands/skills/get.ts
|
|
8
8
|
const SkillGetEnvelope = listEnvelopeSchema(SkillContent);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import "./command-augment-
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand, parseJsonOrPlain } from "./runtime-
|
|
4
|
-
import { formatScalar, renderSummary } from "./capabilities-
|
|
5
|
-
import { SettingValue, settingValueView } from "./setting-
|
|
6
|
-
import { parseSettingKey, rethrowSettingError } from "./key-
|
|
1
|
+
import "./command-augment-CAur0XOQ.mjs";
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-BOi_ux9O.mjs";
|
|
3
|
+
import { defineMetabaseCommand, parseJsonOrPlain } from "./runtime-7JTC-usO.mjs";
|
|
4
|
+
import { formatScalar, renderSummary } from "./capabilities-BX1rnVuH.mjs";
|
|
5
|
+
import { SettingValue, settingValueView } from "./setting-i0pugNHl.mjs";
|
|
6
|
+
import { parseSettingKey, rethrowSettingError } from "./key-C8q5oIr5.mjs";
|
|
7
7
|
import { z } from "zod";
|
|
8
8
|
|
|
9
9
|
//#region src/commands/setting/get.ts
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import "./command-augment-
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
4
|
-
import { renderItem } from "./capabilities-
|
|
5
|
-
import { Collection, collectionView } from "./collection-
|
|
6
|
-
import { parseCollectionRef } from "./parse-ref-
|
|
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 { renderItem } from "./capabilities-BX1rnVuH.mjs";
|
|
5
|
+
import { Collection, collectionView } from "./collection-Deiziuu2.mjs";
|
|
6
|
+
import { parseCollectionRef } from "./parse-ref-CZr1bYIl.mjs";
|
|
7
7
|
|
|
8
8
|
//#region src/commands/collection/get.ts
|
|
9
9
|
var get_default = defineMetabaseCommand({
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import "./command-augment-
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
4
|
-
import { renderItem } from "./capabilities-
|
|
5
|
-
import { parseId } from "./parse-id-
|
|
6
|
-
import { Segment, segmentView } from "./segment-
|
|
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 { renderItem } from "./capabilities-BX1rnVuH.mjs";
|
|
5
|
+
import { parseId } from "./parse-id-DMs04KM3.mjs";
|
|
6
|
+
import { Segment, segmentView } from "./segment-B9SEv9V_.mjs";
|
|
7
7
|
|
|
8
8
|
//#region src/commands/segment/get.ts
|
|
9
9
|
var get_default = defineMetabaseCommand({
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import "./command-augment-
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
4
|
-
import { renderItem } from "./capabilities-
|
|
5
|
-
import { parseId } from "./parse-id-
|
|
6
|
-
import { TransformRun, transformRunView } from "./transform
|
|
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 { renderItem } from "./capabilities-BX1rnVuH.mjs";
|
|
5
|
+
import { parseId } from "./parse-id-DMs04KM3.mjs";
|
|
6
|
+
import { TransformRun, transformRunView } from "./transform-qczxOAzn.mjs";
|
|
7
7
|
|
|
8
8
|
//#region src/commands/transform/get-run.ts
|
|
9
9
|
var get_run_default = defineMetabaseCommand({
|
|
@@ -0,0 +1,28 @@
|
|
|
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-CG3Lbl5_.mjs").then((mod) => mod.default),
|
|
11
|
+
"is-dirty": () => import("./is-dirty-B6usK-aU.mjs").then((mod) => mod.default),
|
|
12
|
+
"has-remote-changes": () => import("./has-remote-changes-Bw_Xp9Ii.mjs").then((mod) => mod.default),
|
|
13
|
+
dirty: () => import("./dirty-BqL_DE6p.mjs").then((mod) => mod.default),
|
|
14
|
+
"current-task": () => import("./current-task-C0mMBzdB.mjs").then((mod) => mod.default),
|
|
15
|
+
"cancel-task": () => import("./cancel-task-CojB-8XX.mjs").then((mod) => mod.default),
|
|
16
|
+
wait: () => import("./wait-C0P8Qt37.mjs").then((mod) => mod.default),
|
|
17
|
+
import: () => import("./import-BmoC0ECq.mjs").then((mod) => mod.default),
|
|
18
|
+
export: () => import("./export--_0e40xU.mjs").then((mod) => mod.default),
|
|
19
|
+
stash: () => import("./stash-BCNSzoYQ.mjs").then((mod) => mod.default),
|
|
20
|
+
branches: () => import("./branches-r9SVJIV5.mjs").then((mod) => mod.default),
|
|
21
|
+
"create-branch": () => import("./create-branch--GJ_RxIN.mjs").then((mod) => mod.default),
|
|
22
|
+
"add-collection": () => import("./add-collection-Cdhj6DJb.mjs").then((mod) => mod.default),
|
|
23
|
+
"remove-collection": () => import("./remove-collection-CLTqx7ys.mjs").then((mod) => mod.default)
|
|
24
|
+
}
|
|
25
|
+
});
|
|
26
|
+
|
|
27
|
+
//#endregion
|
|
28
|
+
export { git_sync_default as default };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import "./command-augment-
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
4
|
-
import { renderSummary } from "./capabilities-
|
|
5
|
-
import "./poll-
|
|
6
|
-
import { REMOTE_SYNC_PATHS } from "./poll-task-
|
|
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 "./poll-13tgWrN_.mjs";
|
|
6
|
+
import { REMOTE_SYNC_PATHS } from "./poll-task-BuAHsDEK.mjs";
|
|
7
7
|
import { z } from "zod";
|
|
8
8
|
|
|
9
9
|
//#region src/commands/git-sync/has-remote-changes.ts
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import "./command-augment-
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
4
|
-
import { renderSummary } from "./capabilities-
|
|
5
|
-
import "./parse-id-
|
|
6
|
-
import "./poll-
|
|
7
|
-
import { gitSyncWaitFlags, parseWaitFlags } from "./wait-flags-
|
|
8
|
-
import { REMOTE_SYNC_PATHS, SyncTask, formatSyncTask, pollSyncTask, throwIfFailedTask } from "./poll-task-
|
|
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 "./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/import.ts
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import "./command-augment-CAur0XOQ.mjs";
|
|
2
|
+
import "./error-BOi_ux9O.mjs";
|
|
3
|
+
import "./runtime-7JTC-usO.mjs";
|
|
4
|
+
import "./capabilities-BX1rnVuH.mjs";
|
|
5
|
+
import "./poll-13tgWrN_.mjs";
|
|
6
|
+
import "./poll-task-BuAHsDEK.mjs";
|
|
7
|
+
import { IsDirtyResult, is_dirty_default } from "./is-dirty-BDmXm34E.mjs";
|
|
8
|
+
|
|
9
|
+
export { is_dirty_default as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
2
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { renderSummary } from "./capabilities-
|
|
4
|
-
import { REMOTE_SYNC_PATHS } from "./poll-task-
|
|
1
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-BOi_ux9O.mjs";
|
|
2
|
+
import { defineMetabaseCommand } from "./runtime-7JTC-usO.mjs";
|
|
3
|
+
import { renderSummary } from "./capabilities-BX1rnVuH.mjs";
|
|
4
|
+
import { REMOTE_SYNC_PATHS } from "./poll-task-BuAHsDEK.mjs";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
|
|
7
7
|
//#region src/commands/git-sync/is-dirty.ts
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import "./command-augment-
|
|
2
|
-
import { connectionFlags, listEnvelopeSchema, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand, parseEnum, parseEnumCsv } from "./runtime-
|
|
4
|
-
import { renderList } from "./capabilities-
|
|
5
|
-
import { parseId } from "./parse-id-
|
|
6
|
-
import { COLLECTION_ITEM_FILTER_MODELS, COLLECTION_PINNED_STATES, CollectionItem, CollectionItemCompact, CollectionItemFilterModel, CollectionPinnedState, collectionItemView } from "./collection-
|
|
7
|
-
import { parseCollectionRef } from "./parse-ref-
|
|
8
|
-
import { collectPaginated } from "./paginate-
|
|
1
|
+
import "./command-augment-CAur0XOQ.mjs";
|
|
2
|
+
import { connectionFlags, listEnvelopeSchema, outputFlags, profileFlag } from "./error-BOi_ux9O.mjs";
|
|
3
|
+
import { defineMetabaseCommand, parseEnum, parseEnumCsv } from "./runtime-7JTC-usO.mjs";
|
|
4
|
+
import { renderList } from "./capabilities-BX1rnVuH.mjs";
|
|
5
|
+
import { parseId } from "./parse-id-DMs04KM3.mjs";
|
|
6
|
+
import { COLLECTION_ITEM_FILTER_MODELS, COLLECTION_PINNED_STATES, CollectionItem, CollectionItemCompact, CollectionItemFilterModel, CollectionPinnedState, collectionItemView } from "./collection-Deiziuu2.mjs";
|
|
7
|
+
import { parseCollectionRef } from "./parse-ref-CZr1bYIl.mjs";
|
|
8
|
+
import { collectPaginated } from "./paginate-BexjkjbY.mjs";
|
|
9
9
|
|
|
10
10
|
//#region src/commands/collection/items.ts
|
|
11
11
|
const CollectionItemListEnvelope = listEnvelopeSchema(CollectionItemCompact);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import "./command-augment-
|
|
2
|
-
import { connectionFlags, listEnvelopeSchema, outputFlags, profileFlag, wrapList } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
4
|
-
import { renderList } from "./capabilities-
|
|
5
|
-
import { Transform, TransformCompact, transformView } from "./transform
|
|
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 { Transform, TransformCompact, transformView } from "./transform-qczxOAzn.mjs";
|
|
6
6
|
import { z } from "zod";
|
|
7
7
|
|
|
8
8
|
//#region src/commands/transform/list.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import "./command-augment-
|
|
2
|
-
import { connectionFlags, listEnvelopeSchema, outputFlags, profileFlag, wrapList } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
4
|
-
import { renderList } from "./capabilities-
|
|
5
|
-
import { Snippet, SnippetCompact, snippetView } from "./snippet-
|
|
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 { Snippet, SnippetCompact, snippetView } from "./snippet-NNzqlksR.mjs";
|
|
6
6
|
import { z } from "zod";
|
|
7
7
|
|
|
8
8
|
//#region src/commands/snippet/list.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import "./command-augment-
|
|
2
|
-
import { connectionFlags, listEnvelopeSchema, outputFlags, profileFlag, wrapList } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
4
|
-
import { renderList } from "./capabilities-
|
|
5
|
-
import { Document, DocumentCompact, documentView } from "./document-
|
|
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 { Document, DocumentCompact, documentView } from "./document-qfwR0r63.mjs";
|
|
6
6
|
import { z } from "zod";
|
|
7
7
|
|
|
8
8
|
//#region src/commands/document/list.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import "./command-augment-
|
|
2
|
-
import { connectionFlags, listEnvelopeSchema, outputFlags, profileFlag, wrapList } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
4
|
-
import { renderList } from "./capabilities-
|
|
5
|
-
import { Measure, MeasureCompact, measureView } from "./measure-
|
|
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 { Measure, MeasureCompact, measureView } from "./measure-JJAdFoqK.mjs";
|
|
6
6
|
import { z } from "zod";
|
|
7
7
|
|
|
8
8
|
//#region src/commands/measure/list.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import "./command-augment-
|
|
2
|
-
import { connectionFlags, listEnvelopeSchema, outputFlags, profileFlag, wrapList } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
4
|
-
import { renderList } from "./capabilities-
|
|
5
|
-
import { Segment, SegmentCompact, segmentView } from "./segment-
|
|
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 { Segment, SegmentCompact, segmentView } from "./segment-B9SEv9V_.mjs";
|
|
6
6
|
import { z } from "zod";
|
|
7
7
|
|
|
8
8
|
//#region src/commands/segment/list.ts
|