UNPKG

@auttam/easycli

Version:

A quick and easy way of creating cli for your npm package.

19 lines (18 loc) 464 B
import { IMergeOptions } from '../utility/reflection'; export interface IConfig { name: string; help?: string; propName?: string; } export declare abstract class Config implements IConfig { name: string; help: string; propName: string; constructor(config: IConfig); merge(config: any, options?: IMergeOptions): void; toConfig(): { name: string; help: string; propName: string; }; }