cli-options.d.ts
414 Bytes
import { Index } from './types';
export interface CLIOption<T = any> {
arg?: string;
default?: T;
deprecated?: boolean;
description: string;
help?: string;
parse?: (s: string, p?: T) => T;
long: string;
short?: string;
type?: string;
}
export declare const cliOptionsMap: Index<CLIOption<any>>;
declare const cliOptionsSorted: CLIOption<any>[];
export default cliOptionsSorted;