npm-check-updates
Version:
Find newer versions of dependencies than what your package.json allows
17 lines (16 loc) • 487 B
TypeScript
import ExtendedHelp from './ExtendedHelp';
export interface CLIOption<T = any> {
arg?: string;
choices?: T[];
/** If false, the option is only usable in the ncurc file, or when using npm-check-updates as a module, not on the command line. */
cli?: boolean;
default?: T;
deprecated?: boolean;
description: string;
help?: ExtendedHelp;
parse?: (s: string, p?: T) => T;
long: string;
short?: string;
type: string;
}
export default CLIOption;