Refactor: create a cfg struct to inject dep #64
Labels
Good First Issue
Good for newcomers
Refactor
A change that doesn't meaningfully change the behavior of the program
Right now, arg parsed with clap are passed as individual values to the relevant fn, as there are only 4 of them for scaffold (
w
,f
,s
andS
) and 2 for check.As more option are introduced, an ever-growing list of function parameters isn't sustainable and should rather be part of a struct (leaving the cli arg versus Bulloak.toml discussion for #38 ).
would become
The text was updated successfully, but these errors were encountered: