warchaeology icon indicating copy to clipboard operation
warchaeology copied to clipboard

refactor: limit the use of viper in packages outside cmd

Open maeb opened this issue 1 year ago • 1 comments

Using viper outside command initialization and configuration makes it difficult to see what options gets applied.

This commit refactors the initialization of the Filter struct in the filter package to use functional options over initializing from viper.

maeb avatar Feb 28 '24 10:02 maeb