import { CliCommandConfigType , CliCommandType , CliProgramConfigType , CliProgramType } from './CliTypes' ; import { AbstractCommand } from '../Command/AbstractCommand' ; export class Cli { param { string } commandLine param { AbstractCommand } Command param { string } action param { CliCommandConfigType } config return { CliCommandType } public static command ( commandLine , Command , action , config ? ) { return { commandLine , Command , action , config } ; } public static program ( program , config ? ) { return { program , config } ; } }