import { ParsedCliCommand } from '../types'; import { CliPromptResult } from './types'; // using proxy to lazy import handler, as inquirer is a little expensive to load and don't // want to take the cli startup hit unless it's needed export const promptHandler = async (parsed: ParsedCliCommand): Promise => { const handler = (await import('./handler')).promptHandler; return handler(parsed); };