@kubb/cli 5.0.6 → 5.2.0
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 +66 -0
- package/dist/{Telemetry-Fiymfxez.js → Telemetry-BCTY-Nzq.js} +3 -49
- package/dist/Telemetry-BCTY-Nzq.js.map +1 -0
- package/dist/{Telemetry-D-Jpt27O.cjs → Telemetry-DKfJQxnC.cjs} +8 -60
- package/dist/Telemetry-DKfJQxnC.cjs.map +1 -0
- package/dist/constants-CdxpgX3_.cjs +115 -0
- package/dist/constants-CdxpgX3_.cjs.map +1 -0
- package/dist/constants-DHRspBTo.js +92 -0
- package/dist/constants-DHRspBTo.js.map +1 -0
- package/dist/env-DHaFBZTX.cjs +82 -0
- package/dist/env-DHaFBZTX.cjs.map +1 -0
- package/dist/env-DqPKEL59.js +59 -0
- package/dist/env-DqPKEL59.js.map +1 -0
- package/dist/{errors-CZtH2dKk.cjs → errors-C-wEou02.cjs} +2 -19
- package/dist/errors-C-wEou02.cjs.map +1 -0
- package/dist/errors-C8yNfV7w.js +20 -0
- package/dist/errors-C8yNfV7w.js.map +1 -0
- package/dist/{generate-DcEkxx4R.cjs → generate-Btnbf2_0.cjs} +9 -6
- package/dist/generate-Btnbf2_0.cjs.map +1 -0
- package/dist/{generate-FtWB7SiZ.js → generate-PT8_WDJZ.js} +9 -6
- package/dist/generate-PT8_WDJZ.js.map +1 -0
- package/dist/index.cjs +14 -9
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +2 -3
- package/dist/index.js +15 -10
- package/dist/index.js.map +1 -1
- package/dist/{init-ClG_bvAo.cjs → init-BwuaIvJr.cjs} +3 -3
- package/dist/{init-ClG_bvAo.cjs.map → init-BwuaIvJr.cjs.map} +1 -1
- package/dist/{init-B5G3LIla.js → init-dkS7T-wO.js} +3 -3
- package/dist/{init-B5G3LIla.js.map → init-dkS7T-wO.js.map} +1 -1
- package/dist/{mcp-DOHymcpS.js → mcp-B-GxGgVr.js} +8 -10
- package/dist/mcp-B-GxGgVr.js.map +1 -0
- package/dist/{mcp-ESVy9meL.cjs → mcp-B3B-rE7W.cjs} +8 -10
- package/dist/mcp-B3B-rE7W.cjs.map +1 -0
- package/dist/output-B2V2MN_C.cjs +137 -0
- package/dist/output-B2V2MN_C.cjs.map +1 -0
- package/dist/output-LZvrgF3z.js +89 -0
- package/dist/output-LZvrgF3z.js.map +1 -0
- package/dist/package-CrOAfe1h.js +6 -0
- package/dist/package-CrOAfe1h.js.map +1 -0
- package/dist/{package-CPbMhmPi.cjs → package-Dzjrfs0O.cjs} +2 -2
- package/dist/package-Dzjrfs0O.cjs.map +1 -0
- package/dist/{run-DSgLksGj.js → run-BzvsJ0Ek.js} +80 -112
- package/dist/run-BzvsJ0Ek.js.map +1 -0
- package/dist/run-CHfPmjaA.cjs +283 -0
- package/dist/run-CHfPmjaA.cjs.map +1 -0
- package/dist/{run-FPqeAEF4.cjs → run-DRBqVXX0.cjs} +93 -125
- package/dist/run-DRBqVXX0.cjs.map +1 -0
- package/dist/{run-ChKPZlIB.js → run-DReizVV9.js} +15 -4
- package/dist/run-DReizVV9.js.map +1 -0
- package/dist/run-DUY0lV8l.js +499 -0
- package/dist/run-DUY0lV8l.js.map +1 -0
- package/dist/run-DXPXPj4B.js +281 -0
- package/dist/run-DXPXPj4B.js.map +1 -0
- package/dist/{run-DCfdTu52.js → run-DvRhuqUM.js} +11 -4
- package/dist/run-DvRhuqUM.js.map +1 -0
- package/dist/run-Wkl7oK6Q.cjs +502 -0
- package/dist/run-Wkl7oK6Q.cjs.map +1 -0
- package/dist/{run-BV2tMjuz.cjs → run-aIkuYiQ6.cjs} +15 -4
- package/dist/run-aIkuYiQ6.cjs.map +1 -0
- package/dist/{run-Cs5FunVC.cjs → run-y7oTgJI3.cjs} +11 -4
- package/dist/run-y7oTgJI3.cjs.map +1 -0
- package/dist/studio-DKv2YLJZ.js +77 -0
- package/dist/studio-DKv2YLJZ.js.map +1 -0
- package/dist/studio-PDMxqFN0.cjs +76 -0
- package/dist/studio-PDMxqFN0.cjs.map +1 -0
- package/dist/{run-DzVVS0FV.cjs → utils-B0SrWoNh.cjs} +303 -323
- package/dist/utils-B0SrWoNh.cjs.map +1 -0
- package/dist/{run-D_TXufIV.js → utils-CzoNURwq.js} +274 -364
- package/dist/utils-CzoNURwq.js.map +1 -0
- package/dist/{validate-1sZ8wo6V.cjs → validate-BcB0tFQ6.cjs} +8 -13
- package/dist/validate-BcB0tFQ6.cjs.map +1 -0
- package/dist/{validate-DXT2hYwJ.js → validate-QpkCbIFJ.js} +8 -13
- package/dist/validate-QpkCbIFJ.js.map +1 -0
- package/package.json +15 -9
- package/dist/Telemetry-D-Jpt27O.cjs.map +0 -1
- package/dist/Telemetry-Fiymfxez.js.map +0 -1
- package/dist/errors-CMvLO2NE.js +0 -31
- package/dist/errors-CMvLO2NE.js.map +0 -1
- package/dist/errors-CZtH2dKk.cjs.map +0 -1
- package/dist/generate-DcEkxx4R.cjs.map +0 -1
- package/dist/generate-FtWB7SiZ.js.map +0 -1
- package/dist/mcp-DOHymcpS.js.map +0 -1
- package/dist/mcp-ESVy9meL.cjs.map +0 -1
- package/dist/package-BEDssgn1.js +0 -6
- package/dist/package-BEDssgn1.js.map +0 -1
- package/dist/package-CPbMhmPi.cjs.map +0 -1
- package/dist/run-BV2tMjuz.cjs.map +0 -1
- package/dist/run-ChKPZlIB.js.map +0 -1
- package/dist/run-Cs5FunVC.cjs.map +0 -1
- package/dist/run-DCfdTu52.js.map +0 -1
- package/dist/run-DSgLksGj.js.map +0 -1
- package/dist/run-D_TXufIV.js.map +0 -1
- package/dist/run-DzVVS0FV.cjs.map +0 -1
- package/dist/run-FPqeAEF4.cjs.map +0 -1
- package/dist/tools-DH1a7ZJH.js +0 -152
- package/dist/tools-DH1a7ZJH.js.map +0 -1
- package/dist/tools-bwKAf_r-.cjs +0 -175
- package/dist/tools-bwKAf_r-.cjs.map +0 -1
- package/dist/validate-1sZ8wo6V.cjs.map +0 -1
- package/dist/validate-DXT2hYwJ.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"run-y7oTgJI3.cjs","names":["process","sendTelemetry","buildTelemetryEvent","styleText","toError"],"sources":["../src/runners/mcp/run.ts"],"sourcesContent":["import process from 'node:process'\nimport { styleText } from 'node:util'\nimport { toError } from '@internals/utils'\nimport type * as McpModule from '@kubb/mcp'\nimport type { CommandRunner } from 'gunshi'\nimport { buildTelemetryEvent, sendTelemetry } from '../../Telemetry.ts'\nimport { version } from '../../../package.json'\nimport type { definition } from '../../commands/mcp.ts'\n\ntype McpOptions = {\n /**\n * Current `@kubb/cli` version string, used for the telemetry payload.\n */\n version: string\n}\n\n/**\n * Starts the `@kubb/mcp` server over stdio and reports the outcome to telemetry.\n */\nexport async function run({ version }: McpOptions): Promise<void> {\n const { run: startMcpServer } = (await import('@kubb/mcp')) as typeof McpModule\n\n const hrStart = process.hrtime()\n const report = (status: 'success' | 'failed') => sendTelemetry(buildTelemetryEvent({ command: 'mcp', kubbVersion: version, hrStart, status }))\n\n try {\n console.log(styleText('cyan', '⏳ Starting MCP server...'))\n console.warn(styleText('yellow', 'This feature is still under development, use with caution'))\n\n await startMcpServer()\n await report('success')\n } catch (error) {\n await report('failed')\n console.error(toError(error).message)\n process.exitCode = 1\n }\n}\n\n/**\n * Loaded on demand by `index.ts`, so `@kubb/mcp` stays out of the process for every other command.\n */\nexport const runner: CommandRunner<{ args: typeof definition.args; extensions: {} }> = async () => {\n await run({ version })\n}\n"],"mappings":";;;;;;;;;;;AAmBA,eAAsB,IAAI,EAAE,WAAsC;CAChE,MAAM,EAAE,KAAK,mBAAoB,MAAM,OAAO;CAE9C,MAAM,UAAUA,aAAAA,QAAQ,OAAO;CAC/B,MAAM,UAAU,WAAiCC,kBAAAA,cAAcC,kBAAAA,oBAAoB;EAAE,SAAS;EAAO,aAAa;EAAS;EAAS;CAAO,CAAC,CAAC;CAE7I,IAAI;EACF,QAAQ,KAAA,GAAIC,UAAAA,UAAAA,CAAU,QAAQ,0BAA0B,CAAC;EACzD,QAAQ,MAAA,GAAKA,UAAAA,UAAAA,CAAU,UAAU,2DAA2D,CAAC;EAE7F,MAAM,eAAe;EACrB,MAAM,OAAO,SAAS;CACxB,SAAS,OAAO;EACd,MAAM,OAAO,QAAQ;EACrB,QAAQ,MAAMC,eAAAA,QAAQ,KAAK,CAAC,CAAC,OAAO;EACpC,aAAA,QAAA,WAAmB;CACrB;AACF;;;;AAKA,MAAa,SAA0E,YAAY;CACjG,MAAM,IAAI,EAAE,SAAA,gBAAA,QAAQ,CAAC;AACvB"}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { define } from "gunshi";
|
|
2
|
+
//#region src/commands/studio.ts
|
|
3
|
+
/**
|
|
4
|
+
* Declaration only, so listing `kubb --help` never loads `@kubb/studio`. `index.ts` pairs this
|
|
5
|
+
* with the runner through gunshi's `lazy`.
|
|
6
|
+
*/
|
|
7
|
+
const definition = define({
|
|
8
|
+
name: "studio",
|
|
9
|
+
description: "Connect this project to Kubb Studio and generate from the browser. The first run pairs the machine: the CLI shows a code, you approve it in Studio, and the token is stored in ~/.kubb. The connection is read-only unless you grant more with --allowWrite, --allowConfigEdit, --allowInput or --allowExec.",
|
|
10
|
+
examples: [
|
|
11
|
+
"kubb studio # connect this project, asking what Studio may do",
|
|
12
|
+
"kubb studio --allowWrite # grant writing generated files, no question asked",
|
|
13
|
+
"kubb studio --allowWrite --allowExec # also run the formatter, the linter, and postGenerate",
|
|
14
|
+
"kubb studio --allowConfigEdit # let Studio change plugin options in kubb.config.ts",
|
|
15
|
+
"kubb studio login # pair this machine without connecting",
|
|
16
|
+
"kubb studio status # show what this machine is paired as",
|
|
17
|
+
"kubb studio logout # forget the stored token",
|
|
18
|
+
"kubb studio --url http://localhost:3000 # use a self-hosted Studio"
|
|
19
|
+
].join("\n"),
|
|
20
|
+
args: {
|
|
21
|
+
action: {
|
|
22
|
+
type: "positional",
|
|
23
|
+
required: false,
|
|
24
|
+
description: "connect (default), login, logout or status"
|
|
25
|
+
},
|
|
26
|
+
config: {
|
|
27
|
+
type: "string",
|
|
28
|
+
description: "Path to the Kubb config",
|
|
29
|
+
short: "c"
|
|
30
|
+
},
|
|
31
|
+
url: {
|
|
32
|
+
type: "string",
|
|
33
|
+
description: "Base URL of the Kubb Studio instance"
|
|
34
|
+
},
|
|
35
|
+
allowWrite: {
|
|
36
|
+
type: "boolean",
|
|
37
|
+
description: "Write generated files to disk. Asked for once per project when omitted",
|
|
38
|
+
default: false
|
|
39
|
+
},
|
|
40
|
+
allowConfigEdit: {
|
|
41
|
+
type: "boolean",
|
|
42
|
+
description: "Let Studio change plugin options in kubb.config.ts. Asked for once per project when omitted",
|
|
43
|
+
default: false
|
|
44
|
+
},
|
|
45
|
+
allowInput: {
|
|
46
|
+
type: "boolean",
|
|
47
|
+
description: "Generate from an OpenAPI spec sent by Studio instead of the one on disk. Asked for once per project when omitted",
|
|
48
|
+
default: false
|
|
49
|
+
},
|
|
50
|
+
allowExec: {
|
|
51
|
+
type: "boolean",
|
|
52
|
+
description: "Run the formatter, the linter, and output.postGenerate after a generation",
|
|
53
|
+
default: false
|
|
54
|
+
},
|
|
55
|
+
open: {
|
|
56
|
+
type: "boolean",
|
|
57
|
+
description: "Open the approval page in a browser while pairing",
|
|
58
|
+
default: true,
|
|
59
|
+
negatable: true
|
|
60
|
+
},
|
|
61
|
+
logLevel: {
|
|
62
|
+
type: "enum",
|
|
63
|
+
choices: [
|
|
64
|
+
"silent",
|
|
65
|
+
"info",
|
|
66
|
+
"verbose"
|
|
67
|
+
],
|
|
68
|
+
description: "Info, silent or verbose",
|
|
69
|
+
short: "l",
|
|
70
|
+
default: "info"
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
});
|
|
74
|
+
//#endregion
|
|
75
|
+
export { definition };
|
|
76
|
+
|
|
77
|
+
//# sourceMappingURL=studio-DKv2YLJZ.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"studio-DKv2YLJZ.js","names":[],"sources":["../src/commands/studio.ts"],"sourcesContent":["import { define } from 'gunshi'\n\n/**\n * Declaration only, so listing `kubb --help` never loads `@kubb/studio`. `index.ts` pairs this\n * with the runner through gunshi's `lazy`.\n */\nexport const definition = define({\n name: 'studio',\n description:\n 'Connect this project to Kubb Studio and generate from the browser. The first run pairs the machine: the CLI shows a code, you approve it in Studio, and the token is stored in ~/.kubb. The connection is read-only unless you grant more with --allowWrite, --allowConfigEdit, --allowInput or --allowExec.',\n examples: [\n 'kubb studio # connect this project, asking what Studio may do',\n 'kubb studio --allowWrite # grant writing generated files, no question asked',\n 'kubb studio --allowWrite --allowExec # also run the formatter, the linter, and postGenerate',\n 'kubb studio --allowConfigEdit # let Studio change plugin options in kubb.config.ts',\n 'kubb studio login # pair this machine without connecting',\n 'kubb studio status # show what this machine is paired as',\n 'kubb studio logout # forget the stored token',\n 'kubb studio --url http://localhost:3000 # use a self-hosted Studio',\n ].join('\\n'),\n args: {\n action: {\n type: 'positional',\n required: false,\n description: 'connect (default), login, logout or status',\n },\n config: {\n type: 'string',\n description: 'Path to the Kubb config',\n short: 'c',\n },\n url: {\n type: 'string',\n description: 'Base URL of the Kubb Studio instance',\n },\n allowWrite: {\n type: 'boolean',\n description: 'Write generated files to disk. Asked for once per project when omitted',\n default: false,\n },\n allowConfigEdit: {\n type: 'boolean',\n description: 'Let Studio change plugin options in kubb.config.ts. Asked for once per project when omitted',\n default: false,\n },\n allowInput: {\n type: 'boolean',\n description: 'Generate from an OpenAPI spec sent by Studio instead of the one on disk. Asked for once per project when omitted',\n default: false,\n },\n allowExec: {\n type: 'boolean',\n description: 'Run the formatter, the linter, and output.postGenerate after a generation',\n default: false,\n },\n open: {\n type: 'boolean',\n description: 'Open the approval page in a browser while pairing',\n default: true,\n negatable: true,\n },\n logLevel: {\n type: 'enum',\n choices: ['silent', 'info', 'verbose'] as const,\n description: 'Info, silent or verbose',\n short: 'l',\n default: 'info',\n },\n },\n})\n"],"mappings":";;;;;;AAMA,MAAa,aAAa,OAAO;CAC/B,MAAM;CACN,aACE;CACF,UAAU;EACR;EACA;EACA;EACA;EACA;EACA;EACA;EACA;CACF,CAAC,CAAC,KAAK,IAAI;CACX,MAAM;EACJ,QAAQ;GACN,MAAM;GACN,UAAU;GACV,aAAa;EACf;EACA,QAAQ;GACN,MAAM;GACN,aAAa;GACb,OAAO;EACT;EACA,KAAK;GACH,MAAM;GACN,aAAa;EACf;EACA,YAAY;GACV,MAAM;GACN,aAAa;GACb,SAAS;EACX;EACA,iBAAiB;GACf,MAAM;GACN,aAAa;GACb,SAAS;EACX;EACA,YAAY;GACV,MAAM;GACN,aAAa;GACb,SAAS;EACX;EACA,WAAW;GACT,MAAM;GACN,aAAa;GACb,SAAS;EACX;EACA,MAAM;GACJ,MAAM;GACN,aAAa;GACb,SAAS;GACT,WAAW;EACb;EACA,UAAU;GACR,MAAM;GACN,SAAS;IAAC;IAAU;IAAQ;GAAS;GACrC,aAAa;GACb,OAAO;GACP,SAAS;EACX;CACF;AACF,CAAC"}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
//#region src/commands/studio.ts
|
|
2
|
+
/**
|
|
3
|
+
* Declaration only, so listing `kubb --help` never loads `@kubb/studio`. `index.ts` pairs this
|
|
4
|
+
* with the runner through gunshi's `lazy`.
|
|
5
|
+
*/
|
|
6
|
+
const definition = (0, require("gunshi").define)({
|
|
7
|
+
name: "studio",
|
|
8
|
+
description: "Connect this project to Kubb Studio and generate from the browser. The first run pairs the machine: the CLI shows a code, you approve it in Studio, and the token is stored in ~/.kubb. The connection is read-only unless you grant more with --allowWrite, --allowConfigEdit, --allowInput or --allowExec.",
|
|
9
|
+
examples: [
|
|
10
|
+
"kubb studio # connect this project, asking what Studio may do",
|
|
11
|
+
"kubb studio --allowWrite # grant writing generated files, no question asked",
|
|
12
|
+
"kubb studio --allowWrite --allowExec # also run the formatter, the linter, and postGenerate",
|
|
13
|
+
"kubb studio --allowConfigEdit # let Studio change plugin options in kubb.config.ts",
|
|
14
|
+
"kubb studio login # pair this machine without connecting",
|
|
15
|
+
"kubb studio status # show what this machine is paired as",
|
|
16
|
+
"kubb studio logout # forget the stored token",
|
|
17
|
+
"kubb studio --url http://localhost:3000 # use a self-hosted Studio"
|
|
18
|
+
].join("\n"),
|
|
19
|
+
args: {
|
|
20
|
+
action: {
|
|
21
|
+
type: "positional",
|
|
22
|
+
required: false,
|
|
23
|
+
description: "connect (default), login, logout or status"
|
|
24
|
+
},
|
|
25
|
+
config: {
|
|
26
|
+
type: "string",
|
|
27
|
+
description: "Path to the Kubb config",
|
|
28
|
+
short: "c"
|
|
29
|
+
},
|
|
30
|
+
url: {
|
|
31
|
+
type: "string",
|
|
32
|
+
description: "Base URL of the Kubb Studio instance"
|
|
33
|
+
},
|
|
34
|
+
allowWrite: {
|
|
35
|
+
type: "boolean",
|
|
36
|
+
description: "Write generated files to disk. Asked for once per project when omitted",
|
|
37
|
+
default: false
|
|
38
|
+
},
|
|
39
|
+
allowConfigEdit: {
|
|
40
|
+
type: "boolean",
|
|
41
|
+
description: "Let Studio change plugin options in kubb.config.ts. Asked for once per project when omitted",
|
|
42
|
+
default: false
|
|
43
|
+
},
|
|
44
|
+
allowInput: {
|
|
45
|
+
type: "boolean",
|
|
46
|
+
description: "Generate from an OpenAPI spec sent by Studio instead of the one on disk. Asked for once per project when omitted",
|
|
47
|
+
default: false
|
|
48
|
+
},
|
|
49
|
+
allowExec: {
|
|
50
|
+
type: "boolean",
|
|
51
|
+
description: "Run the formatter, the linter, and output.postGenerate after a generation",
|
|
52
|
+
default: false
|
|
53
|
+
},
|
|
54
|
+
open: {
|
|
55
|
+
type: "boolean",
|
|
56
|
+
description: "Open the approval page in a browser while pairing",
|
|
57
|
+
default: true,
|
|
58
|
+
negatable: true
|
|
59
|
+
},
|
|
60
|
+
logLevel: {
|
|
61
|
+
type: "enum",
|
|
62
|
+
choices: [
|
|
63
|
+
"silent",
|
|
64
|
+
"info",
|
|
65
|
+
"verbose"
|
|
66
|
+
],
|
|
67
|
+
description: "Info, silent or verbose",
|
|
68
|
+
short: "l",
|
|
69
|
+
default: "info"
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
});
|
|
73
|
+
//#endregion
|
|
74
|
+
exports.definition = definition;
|
|
75
|
+
|
|
76
|
+
//# sourceMappingURL=studio-PDMxqFN0.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"studio-PDMxqFN0.cjs","names":["define"],"sources":["../src/commands/studio.ts"],"sourcesContent":["import { define } from 'gunshi'\n\n/**\n * Declaration only, so listing `kubb --help` never loads `@kubb/studio`. `index.ts` pairs this\n * with the runner through gunshi's `lazy`.\n */\nexport const definition = define({\n name: 'studio',\n description:\n 'Connect this project to Kubb Studio and generate from the browser. The first run pairs the machine: the CLI shows a code, you approve it in Studio, and the token is stored in ~/.kubb. The connection is read-only unless you grant more with --allowWrite, --allowConfigEdit, --allowInput or --allowExec.',\n examples: [\n 'kubb studio # connect this project, asking what Studio may do',\n 'kubb studio --allowWrite # grant writing generated files, no question asked',\n 'kubb studio --allowWrite --allowExec # also run the formatter, the linter, and postGenerate',\n 'kubb studio --allowConfigEdit # let Studio change plugin options in kubb.config.ts',\n 'kubb studio login # pair this machine without connecting',\n 'kubb studio status # show what this machine is paired as',\n 'kubb studio logout # forget the stored token',\n 'kubb studio --url http://localhost:3000 # use a self-hosted Studio',\n ].join('\\n'),\n args: {\n action: {\n type: 'positional',\n required: false,\n description: 'connect (default), login, logout or status',\n },\n config: {\n type: 'string',\n description: 'Path to the Kubb config',\n short: 'c',\n },\n url: {\n type: 'string',\n description: 'Base URL of the Kubb Studio instance',\n },\n allowWrite: {\n type: 'boolean',\n description: 'Write generated files to disk. Asked for once per project when omitted',\n default: false,\n },\n allowConfigEdit: {\n type: 'boolean',\n description: 'Let Studio change plugin options in kubb.config.ts. Asked for once per project when omitted',\n default: false,\n },\n allowInput: {\n type: 'boolean',\n description: 'Generate from an OpenAPI spec sent by Studio instead of the one on disk. Asked for once per project when omitted',\n default: false,\n },\n allowExec: {\n type: 'boolean',\n description: 'Run the formatter, the linter, and output.postGenerate after a generation',\n default: false,\n },\n open: {\n type: 'boolean',\n description: 'Open the approval page in a browser while pairing',\n default: true,\n negatable: true,\n },\n logLevel: {\n type: 'enum',\n choices: ['silent', 'info', 'verbose'] as const,\n description: 'Info, silent or verbose',\n short: 'l',\n default: 'info',\n },\n },\n})\n"],"mappings":";;;;;AAMA,MAAa,cAAA,mBAAaA,CAAAA,CAAAA,OAAAA,CAAO;CAC/B,MAAM;CACN,aACE;CACF,UAAU;EACR;EACA;EACA;EACA;EACA;EACA;EACA;EACA;CACF,CAAC,CAAC,KAAK,IAAI;CACX,MAAM;EACJ,QAAQ;GACN,MAAM;GACN,UAAU;GACV,aAAa;EACf;EACA,QAAQ;GACN,MAAM;GACN,aAAa;GACb,OAAO;EACT;EACA,KAAK;GACH,MAAM;GACN,aAAa;EACf;EACA,YAAY;GACV,MAAM;GACN,aAAa;GACb,SAAS;EACX;EACA,iBAAiB;GACf,MAAM;GACN,aAAa;GACb,SAAS;EACX;EACA,YAAY;GACV,MAAM;GACN,aAAa;GACb,SAAS;EACX;EACA,WAAW;GACT,MAAM;GACN,aAAa;GACb,SAAS;EACX;EACA,MAAM;GACJ,MAAM;GACN,aAAa;GACb,SAAS;GACT,WAAW;EACb;EACA,UAAU;GACR,MAAM;GACN,SAAS;IAAC;IAAU;IAAQ;GAAS;GACrC,aAAa;GACb,OAAO;GACP,SAAS;EACX;CACF;AACF,CAAC"}
|