Closed andreasmarkussen closed 4 years ago
The update option was only really added as an internal hack because we had a long running pact test suite and I didn't want to run the whole thing each time, so I added an update option, never really intending it to be public. Are you using it?
Closing due to inactivity.
Though this is minor, it still is something that could give issues for newbies like me.
When reading the source code of interactions/interactions_filter.rb the pactfile_write_mode has 3 options, but when reading the "Options:" description and the Readme.md documentation that refers to the options documentation, then only two are described.
The 3 options from the source code are
The content from the "Usage:" section is (newlines added for readability)
(yes and code are should be code is ... at least according to Grammarly)
I am not strong enough in either Ruby or the real meaning of the Write Mode to suggest what it really should be and just to the PR, however, inputs to a better "Usage:" are welcome, and then I could perhaps update at least the readme and the usage.