UNPKG

@mintlify/cli

Version:

The Mintlify CLI

12 lines (10 loc) 287 B
import { cli } from '../src/cli.js'; /** * Programmatically set arguments and execute the CLI script * * @param {...string} args - Additional command arguments. */ export async function runCommand(...args: string[]) { process.argv = ['node', 'cli.js', ...args]; return cli(); }