Represents a registry for command processors

interface ICliCommandProcessorRegistry {
    processors: ICliCommandProcessor[];
    findProcessor(
        mainCommand: string,
        chainCommands: string[],
    ): undefined | ICliCommandProcessor;
    findProcessorInCollection(
        mainCommand: string,
        chainCommands: string[],
        processors: ICliCommandProcessor[],
    ): undefined | ICliCommandProcessor;
    getRootProcessor(child: ICliCommandChildProcessor): ICliCommandProcessor;
    registerProcessor(processor: ICliCommandProcessor): void;
    unregisterProcessor(processor: ICliCommandProcessor): void;
}

Properties

processors: ICliCommandProcessor[]

The processors registered with the registry

Methods