@donmccurdy/caporal
Version:
A full-featured framework for building command line applications (cli) with node.js
7 lines (6 loc) • 317 B
TypeScript
/**
* @packageDocumentation
* @internal
*/
import type { Validator, Promisable, ParsedOption, ParsedArgument, Argument, Option } from "../types.js";
export declare function validate(value: ParsedOption | ParsedArgument, validator: Validator, context: Argument | Option): Promisable<ParsedOption | ParsedArgument>;