Define the reporters as enum values and use those as flag values
Closed this issue · 0 comments
leodido commented
Describe the feature or problem you’d like to solve
We wanna have a framework to scale the number of reporter flag values in the future.
We also wanna have a builtin mechanism to automatically validate the values users provide for reporters.
Proposed solution
I propose to make a ReporterType
enum type and use it (and its values) as flag values for --reporter
.
Additional context
NONE