You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I discovered by accident that the order of the parameters is crucial; otherwise, it can lead to unexpected errors.
docker run --rm -it pactfoundation/pact-cli:latest /bin/sh
# pact-broker version
1.76.0
~ # pact-broker can-i-deploy --pacticipant someName --ignore someOtherName --version 9ec0ec93 --to-environment uat --broker-base-url URL --broker-username user --broker-password pass
The version must be specified using `--version VERSION`, `--branch BRANCH` `--latest`, `--latest TAG`, or `--all TAG` for pacticipant someName
Guideline 11:
The order of different options relative to one another should not matter,
unless the options are documented as mutually-exclusive
and such an option is documented to override any incompatible options preceding it...
The text was updated successfully, but these errors were encountered:
I think so. If there are other strange variants, you might consider re-opening. Thor (the underlying CLI library) does have its quirks, but changing the behaviour would result in a breaking change of sorts, so we'd possibly need to consider a major version bump just to straighten it out!
I discovered by accident that the order of the parameters is crucial; otherwise, it can lead to unexpected errors.
There is nothing about it in docs
Still there are some CLI guidelines
The text was updated successfully, but these errors were encountered: