GitHub
03/18/2026, 5:46 PMx):
• Upgraded to the latest version of the relevant libraries
• Checked to see if the issue has already been raised
Software versions
• pact-ruby-standalone: 1.88.26
Request
Currently, pact-message expects the content JSON to be passed as a command line parameter:
pact-message update MESSAGE_JSON --consumer=CONSUMER --pact-dir=PACT_DIR --provider=PROVIDER
JSON in a command line param is difficult to quote correctly on windows (I haven't found a library that works for all cases yet).
It would be awesome if we could work around this by having the option to pass the content via standard in:
pact-message update MESSAGE_JSON --consumer=CONSUMER --pact-dir=PACT_DIR --provider=PROVIDER
or
echo "$MESSAGE_JSON" | pact-message update --consumer=CONSUMER --pact-dir=PACT_DIR --provider=PROVIDER
pact-foundation/pact-standaloneGitHub
03/18/2026, 5:46 PM