method ServiceProvider.initService
ServiceProvider.initService(context: Context): Promise<void>

Initialise the service. This will be invoked AFTER any GlobalModifierCommand provided in the ServiceInfo have been invoked (if specified as CLI arguments or CLI configuration).

NOTE: Other services within the provided context will only have been initialised if they have a higher servicePriority value than the current service.

Parameters

context: Context

the Context in which the CLI is running.

Return Type

Promise<void>

Usage

import { type ServiceProvider } from ".";