config

package
v0.0.0-...-ec59030 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 21, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package config handles loading and merging configuration.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadFromFile

func LoadFromFile(path string) (model.Config, error)

LoadFromFile reads a JSON config file and returns a Config. Returns default config if the file does not exist.

func MergeWithFlags

func MergeWithFlags(cfg model.Config, mode, output, outputDir string) model.Config

MergeWithFlags applies CLI flag overrides to the loaded config. Flags take precedence when they are non-empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL