MCPcopy Index your code
hub / github.com/ChatLab/ChatLab / serviceInstall

Function serviceInstall

apps/cli/src/daemon/service.ts:277–288  ·  view source on GitHub ↗
(options: ServiceInstallOptions)

Source from the content-addressed store, hash-verified

275// ── Public API ────────────────────────────────────────────────────────
276
277export function serviceInstall(options: ServiceInstallOptions): void {
278 switch (process.platform) {
279 case 'darwin':
280 return installMacos(options)
281 case 'linux':
282 return installLinux(options)
283 default:
284 console.error('Windows is not yet supported for daemon mode.')
285 console.error('Please use `chatlab start` to run in the foreground instead.')
286 process.exit(1)
287 }
288}
289
290export function serviceUninstall(): void {
291 switch (process.platform) {

Callers 1

cli.tsFile · 0.85

Calls 3

installMacosFunction · 0.85
installLinuxFunction · 0.85
errorMethod · 0.65

Tested by

no test coverage detected