UNPKG

cmd-ts

Version:

> 💻 A type-driven command line argument parser, with awesome error reporting 🤤

9 lines (8 loc) • 293 B
import { ParsingError } from './argparser'; import { AstNode } from './newparser/parser'; /** * An error UI * * @param breadcrumbs The command breadcrumbs to print with the error */ export declare function errorBox(nodes: AstNode[], errors: ParsingError[], breadcrumbs: string[]): string;