@thi.ng/args
Version:
Declarative, functional CLI argument/options parser, app framework, arg value coercions, multi/sub-commands, usage generation, error handling etc.
13 lines • 645 B
TypeScript
import type { Maybe } from "@thi.ng/api";
import { type ColorTheme } from "./api.js";
/** @internal */
export declare const __ansi: (x: string, col?: number) => string;
/** @internal */
export declare const __padRightAnsi: (x: string, width: number) => string;
/** @internal */
export declare const __wrap: (str: Maybe<string>, width: number) => import("@thi.ng/strings/word-wrap").Line[];
/** @internal */
export declare const __wrapWithIndent: (body: string, indent: number, width: number) => string;
/** @internal */
export declare const __colorTheme: (color?: boolean | Partial<ColorTheme>) => ColorTheme;
//# sourceMappingURL=utils.d.ts.map