41 lines
707 B
TypeScript
41 lines
707 B
TypeScript
/**
|
|
* @core - Shared utilities for CLI commands
|
|
*
|
|
* This module provides common types, helpers, and utilities used across
|
|
* all command namespaces (dev, prod, up, workspace, domains, etc.)
|
|
*/
|
|
|
|
// Types
|
|
export type {
|
|
Environment,
|
|
CommandContext,
|
|
CommandResult,
|
|
CommandHandler,
|
|
LazyCommandDef,
|
|
} from './types';
|
|
|
|
// Docker helpers
|
|
export {
|
|
createDockerOps,
|
|
checkDockerAvailable,
|
|
requireDocker,
|
|
} from './docker';
|
|
|
|
// Service helpers
|
|
export {
|
|
createServiceManager,
|
|
} from './services';
|
|
|
|
// Formatters
|
|
export {
|
|
formatDuration,
|
|
formatHealthStatus,
|
|
formatCount,
|
|
padRight,
|
|
} from './formatters';
|
|
|
|
// Group resolution
|
|
export {
|
|
resolveGroup,
|
|
listGroups,
|
|
} from './group-resolver';
|