MCPcopy Index your code
hub / github.com/getsentry/XcodeBuildMCP / registerSetupCommand

Function registerSetupCommand

src/cli/commands/setup.ts:1151–1167  ·  view source on GitHub ↗
(app: Argv)

Source from the content-addressed store, hash-verified

1149}
1150
1151export function registerSetupCommand(app: Argv): void {
1152 app.command(
1153 'setup',
1154 'Interactively configure XcodeBuildMCP project defaults',
1155 (yargs) =>
1156 yargs.option('format', {
1157 type: 'string',
1158 choices: ['yaml', 'mcp-json'] as const,
1159 default: 'yaml',
1160 describe:
1161 'Output format: yaml writes .xcodebuildmcp/config.yaml, mcp-json prints an env-based MCP bootstrap config block',
1162 }),
1163 async (argv) => {
1164 await runSetupWizard({ outputFormat: argv.format as SetupOutputFormat });
1165 },
1166 );
1167}

Callers 2

buildYargsAppFunction · 0.90
runSetupCommandFunction · 0.85

Calls 1

runSetupWizardFunction · 0.85

Tested by

no test coverage detected