config

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: May 29, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package config handles persistent defaults via environment variables and .structalignrc files.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnvName

func EnvName(flagName string) string

EnvName derives the environment variable name for a flag name, e.g. "skip-cache-padded" -> "STRUCTALIGN_SKIP_CACHE_PADDED".

func Load

func Load(home, cwd string) map[string]string

Load reads and merges .structalignrc files from the home directory and the current working directory. CWD settings override home settings. Returns the merged key-value map.

Types

This section is empty.

Jump to

Keyboard shortcuts

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