@flowscripter/dynamic-cli-framework-api
    Preparing search index...

    Interface ServiceProvider

    Interface allowing a service to be provided to the CLI.

    interface ServiceProvider {
        serviceId: string;
        servicePriority: number;
        getServiceInfo(cliConfig: CLIConfig): Promise<ServiceInfo>;
        initService(context: Context): Promise<void>;
    }
    Index
    serviceId: string

    The ID which identifies the service provided.

    servicePriority: number

    Used to determine the order in which multiple service instances will be initialised. Higher values will be initialised before lower values.