@mintlify/cli 4.0.1611 → 4.0.1613

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/bin/cli.js CHANGED
@@ -25,7 +25,6 @@ import { getConfigValue, setConfigValue, clearConfigValue } from './config.js';
25
25
  import { API_URL } from './constants.js';
26
26
  import { formatHandler } from './format.js';
27
27
  import { CMD_EXEC_PATH, checkPort, checkNodeVersion, autoUpgradeIfNeeded, findDocsRoot, getVersions, isAI, suppressConsoleWarnings, terminate, } from './helpers.js';
28
- import { runIndexSetup } from './indexSetup/setup.js';
29
28
  import { init } from './init.js';
30
29
  import { getAccessToken } from './keyring.js';
31
30
  import { login } from './login.js';
@@ -470,29 +469,6 @@ export const cli = ({ packageName = 'mint' }) => {
470
469
  yield terminate(0);
471
470
  }))
472
471
  .demandCommand(1, 'specify a subcommand: set, get, or clear'))
473
- .command('index', 'Install the Mintlify index MCP server into your coding agents', (yargs) => yargs
474
- .option('claude', { type: 'boolean', description: 'Set up Claude Code' })
475
- .option('cursor', { type: 'boolean', description: 'Set up Cursor' })
476
- .option('vscode', { type: 'boolean', description: 'Set up VS Code' })
477
- .option('codex', { type: 'boolean', description: 'Set up Codex' })
478
- .option('opencode', { type: 'boolean', description: 'Set up OpenCode' })
479
- .option('windsurf', { type: 'boolean', description: 'Set up Windsurf' })
480
- .option('zed', { type: 'boolean', description: 'Set up Zed' })
481
- .option('project', {
482
- type: 'boolean',
483
- description: 'Write project-level config instead of global',
484
- })
485
- .option('yes', {
486
- alias: 'y',
487
- type: 'boolean',
488
- description: 'Skip prompts and set up all detected agents',
489
- })
490
- .usage('usage: mintlify index [options]')
491
- .example('mintlify index', 'interactive picker')
492
- .example('mintlify index --claude --cursor', 'set up specific agents'), (argv) => __awaiter(void 0, void 0, void 0, function* () {
493
- const code = yield runIndexSetup(argv);
494
- yield terminate(code);
495
- }))
496
472
  .command('update', 'Update the CLI to the latest version', () => undefined, () => __awaiter(void 0, void 0, void 0, function* () {
497
473
  yield update({ packageName });
498
474
  yield terminate(0);