Enable suppression of plugins (#16)

This commit is contained in:
Patrick Stevens
2024-10-08 08:27:53 +01:00
committed by GitHub
parent 2789152331
commit 105e6a9ca3
2 changed files with 20 additions and 2 deletions

View File

@@ -70,6 +70,10 @@ through the `Parameters` field on the plugin's args.
(MSBuild only allows strings here, so the `"true"` in the above example is a string, not a boolean.
If you want more advanced inputs to your plugin, you will have to create a parser yourself.)
You can supply `<WhippetSuppressPlugin>JsonSerializeGenerator,JsonParseGenerator</WhippetSuppressPlugin>` (for example) next to `<WhippetFile>`
to suppress on that file the action of all of the specified comma-separated list of generators.
(That is, we will ignore any generator defined in a class with one of these names.)
## Standalone tool
The standalone tool takes the following arguments: