Skip to content

feat(config): add config file loading#13

Merged
feloy merged 1 commit into
mainfrom
config-file
May 21, 2026
Merged

feat(config): add config file loading#13
feloy merged 1 commit into
mainfrom
config-file

Conversation

@feloy

@feloy feloy commented May 21, 2026

Copy link
Copy Markdown
Contributor

Introduces a config module that reads TOML from --config, the OPENSHELL_IMAGE_BUILDER_CONFIG env var, or the platform XDG config directory (in that order). Missing or empty files fall back to built-in defaults; an explicit path that does not exist fails fast. Adds -v/-vv verbosity flags controlling info/debug log output. Documents config schema and file discovery in README.

Closes #2

Introduces a config module that reads TOML from --config, the
OPENSHELL_IMAGE_BUILDER_CONFIG env var, or the platform XDG
config directory (in that order). Missing or empty files fall
back to built-in defaults; an explicit path that does not exist
fails fast. Adds -v/-vv verbosity flags controlling info/debug
log output. Documents config schema and file discovery in README.

Closes #2

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: Philippe Martin <phmartin@redhat.com>
@feloy feloy merged commit 28764d9 into main May 21, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

configuration file

1 participant