Commit Graph

4 Commits

Author SHA1 Message Date
kingbri
bb7a8e4614 Config: Add override argparser
Add an argparser that casts over to dictionaries of subgroups to
integrate with the config.

This argparser doesn't contain everything in the config due to complexity
issues with CLI args, but will eventually progress to parity. In addition,
it's used to override the config.yml rather than replace it.

A config arg is also provided if the user wants to fully override the
config yaml with another file path.

Signed-off-by: kingbri <bdashore3@proton.me>
2024-01-01 14:27:12 -05:00
kingbri
060d422e03 Config: Resolve filepath
This maps the absolute path when loading the config file. Making
things safer when loading and finding the correct path.

Signed-off-by: kingbri <bdashore3@proton.me>
2023-12-23 23:57:33 -05:00
kingbri
703a114f63 Tree: Format
Signed-off-by: kingbri <bdashore3@proton.me>
2023-12-23 23:03:28 -05:00
kingbri
c9126c3145 Config: Isolate to a separate file
Reduce dependency of globals in main to simplify code a bit.

Signed-off-by: kingbri <bdashore3@proton.me>
2023-12-23 23:02:37 -05:00