osbuild-composer: move config parsing into separate file
The configuration file is API. Let's give it a bit more prominence to help people treat it as such, and a chance to test it. A basic test is included in this commit. Also, this cuts down on the noise in main.go a bit.
This commit is contained in:
parent
af9471e4a2
commit
db9bf1c659
4 changed files with 71 additions and 27 deletions
0
cmd/osbuild-composer/testdata/empty-config.toml
vendored
Normal file
0
cmd/osbuild-composer/testdata/empty-config.toml
vendored
Normal file
Loading…
Add table
Add a link
Reference in a new issue