redirector-cli
Version:
Global CLI tool for managing Redirector backend services with Docker Compose
26 lines • 997 B
TypeScript
export interface RedirectorConfig {
backendPort: number;
postgresPort: number;
dockerUsername: string;
projectName: string;
environment: "development" | "production";
}
export interface ProjectPaths {
root: string;
dockerCompose: string;
env: string;
data: string;
}
export declare class ConfigManager {
private static readonly DEFAULT_CONFIG;
private static readonly CONFIG_FILE;
private static readonly ENV_FILE;
static loadConfig(projectPath?: string): Promise<RedirectorConfig>;
static saveConfig(config: RedirectorConfig, projectPath?: string): Promise<void>;
static createEnvFile(config: RedirectorConfig, projectPath?: string): Promise<void>;
static getProjectPaths(projectPath?: string): ProjectPaths;
static isRedirectorProject(projectPath?: string): Promise<boolean>;
static validateDockerInstallation(): Promise<boolean>;
static validateDockerRunning(): Promise<boolean>;
}
//# sourceMappingURL=config.d.ts.map