Open
Description
Currently options for the exporters console argument are hardcoded here:
BenchmarkDotNet/src/BenchmarkDotNet/ConsoleArguments/ConfigParser.cs
Lines 52 to 71 in 21a2940
I would love a way to add custom exporters as options to this list.
Activity
PaulRitter commentedon Mar 26, 2022
[-]Allow custom exporters to be defined[/-][+]Allow custom exporter options to be defined[/+]PaulRitter commentedon Mar 26, 2022
actually, i will reopen this since it would be nice to be able to define exporter-options which are selectable over the args.
adamsitnik commentedon Oct 5, 2022
@PaulRitter Could you please elaborate more on that? Please provide sample API design and code example.
PaulRitter commentedon Oct 15, 2022
I updated the original comment, did that clear it up? Otherwise im open to thinking a bit more on the idea and coming up with an entire API proposal, but i'd have to get more familiar with the project for that.
adamsitnik commentedon Oct 20, 2022
@PaulRitter now I get it: you would like to have the possibility to extend the existing command line argument parsing logic with the possibility to specify user-defined exporters so you can do sth like
--exporter myExporter
.We could introduce a new method:
@PaulRitter if that is what you need please send a PR.
4 remaining items