TerminalWorkspaceConfigManager

class TerminalWorkspaceConfigManager(val configPath: Path)

Manages loading and saving the TerminalConfig TOML file.

It resolves standard OS-specific directories for config files unless overridden by a system property or environment variable.

Constructors

Link copied to clipboard
constructor(configPath: Path)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

the path to the configuration TOML file on disk.

Functions

Link copied to clipboard

Loads the configuration from the TOML file.

Link copied to clipboard
fun save(config: TerminalConfig)

Saves the provided configuration to the TOML file.