Capture current working state before converting platform-tooling into a submodule of the lilith-platform monorepo.
16 lines
450 B
TypeScript
16 lines
450 B
TypeScript
/**
|
|
* Service helpers for CLI commands
|
|
*
|
|
* Factory functions and utilities for service management.
|
|
*/
|
|
|
|
import { ServiceManager } from '../../../core/services';
|
|
import { Logger } from '../../../utils/logger';
|
|
|
|
/**
|
|
* Create a ServiceManager instance with the specified context
|
|
*/
|
|
export function createServiceManager(context: string = 'Services'): ServiceManager {
|
|
const logger = new Logger({ context });
|
|
return new ServiceManager(logger);
|
|
}
|