Skip to content

Interface: CliServiceLifecycle

Lifecycle contract consumed by CLI command builders.

install(options?): Promise<void>

Install the login entry and optionally start the service.

boolean = ...

string = ...

boolean = ...

Promise<void>


logPath(): string

Return the managed service process log path.

string


restart(): Promise<void>

Stop and start the installed service.

Promise<void>


start(): Promise<void>

Start the installed service when it is not already running.

Promise<void>


status(): Promise<CliServiceStatus>

Read the current installation and process state.

Promise<CliServiceStatus>


stop(): Promise<void>

Stop the running tray host and its managed child process.

Promise<void>


uninstall(): Promise<void>

Stop the service and remove its login entry and package-owned state.

Promise<void>