Interface: CliServiceLifecycle
Lifecycle contract consumed by CLI command builders.
Methods
Section titled “Methods”install()
Section titled “install()”install(
options?):Promise<void>
Install the login entry and optionally start the service.
Parameters
Section titled “Parameters”options?
Section titled “options?”offline?
Section titled “offline?”boolean = ...
pythonProject?
Section titled “pythonProject?”string = ...
start?
Section titled “start?”boolean = ...
Returns
Section titled “Returns”Promise<void>
logPath()
Section titled “logPath()”logPath():
string
Return the managed service process log path.
Returns
Section titled “Returns”string
restart()
Section titled “restart()”restart():
Promise<void>
Stop and start the installed service.
Returns
Section titled “Returns”Promise<void>
start()
Section titled “start()”start():
Promise<void>
Start the installed service when it is not already running.
Returns
Section titled “Returns”Promise<void>
status()
Section titled “status()”status():
Promise<CliServiceStatus>
Read the current installation and process state.
Returns
Section titled “Returns”Promise<CliServiceStatus>
stop()
Section titled “stop()”stop():
Promise<void>
Stop the running tray host and its managed child process.
Returns
Section titled “Returns”Promise<void>
uninstall()
Section titled “uninstall()”uninstall():
Promise<void>
Stop the service and remove its login entry and package-owned state.
Returns
Section titled “Returns”Promise<void>