very_good_cli icon indicating copy to clipboard operation
very_good_cli copied to clipboard

feat: configure certain CLI parameters from a `yaml` file

Open wolfenrain opened this issue 3 years ago • 0 comments

Description

As a developer, it would be useful if I could configure certain CLI parameters in a config file so that when I run the CLI locally or in the CI it will always produce the same results without having to write the extra parameters manually in local.

An example of this is the coverage-excludes, when using very_good_workflows I can easily configure this but now I as a developer always have to manually pass it when I am using the CLI locally. This can be confusing as forgetting that parameter would give a different coverage result than on the CI.

Other flags on the test command could benefit from this as well.

Suggestion

Introduce a very_good_configuration.yaml where these kind of configs could live within a repo, or add have a way to configure them in the pubspec.yaml under a very_good: key.

Possible related

  • #252

wolfenrain avatar Apr 12 '22 13:04 wolfenrain