EnvFileParser

interface EnvFileParser

Interface for parsing and printing environment configuration files. Each supported format (.env, .yaml, .toml) has its own implementation.

Inheritors

Functions

Link copied to clipboard
abstract fun parse(content: String, filePath: String, environmentName: String): ParseResult<EnvironmentConfig>

Parses the content of an environment file into an EnvironmentConfig.

Link copied to clipboard
abstract fun print(config: EnvironmentConfig): String

Prints an EnvironmentConfig back into the file format string representation.