I think there is an issue with this: <https://docs...
# pact-broker
t
I think there is an issue with this: https://docs.pact.io/pact_broker/client_cli/readme#create-or-update-version ? It is in the docs, but not in the cli.
y
Copy code
❯ docker pull pactfoundation/pact-cli
❯ docker run --rm pactfoundation/pact-cli:latest broker create-or-update-version
No value provided for required options '--pacticipant', '--version', '--broker-base-url'
Copy code
❯ curl -LO <https://github.com/pact-foundation/pact-ruby-standalone/releases/download/v1.88.85/pact-1.88.85-osx.tar.gz>
tar xzf pact-1.88.85-osx.tar.gz
cd pact/bin
./pact-broker  create-or-update-version
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 7517k  100 7517k    0     0  2771k      0  0:00:02  0:00:02 --:--:-- 3710k
No value provided for required options '--pacticipant', '--version', '--broker-base-url'
1
t
Sorry, I had an older version. 😞
y
no problem my friend, I would like to be able to add to the docs, at which version a command came in from, to help users understand if they need to upgrade or not to get the latest feature (obviously we should all ideally upgrade, but I know realistically it doesn't always happen)
b
good idea @Yousaf Nabi (pactflow.io)
@Thomas Cederholm I only added the command on Friday!
t
@Beth (pactflow.io/Pact Broker/pact-ruby) Yeah, I figured it was new. This was the reason for my question 🙂