brocolito
Version:
Create type-safe CLIs to align local development and pipeline workflows
17 lines (16 loc) • 447 B
TypeScript
import type { Command, DescriptionOrOpts } from "./types.ts";
import pc from "picocolors";
export declare const CLI: {
command: (name: string, options: DescriptionOrOpts) => Command;
parse: (argv?: string[]) => Promise<unknown>;
_state: {
commands: Record<string, Command>;
};
meta: {
name: string;
dir: string;
version: string;
aliases: Record<string, string>;
};
};
export { pc };