https://pact.io logo
#pact-broker
Title
# pact-broker
t

Thomas Cederholm

05/09/2022, 3:12 PM
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

Yousaf Nabi (pactflow.io)

05/09/2022, 3:17 PM
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

Thomas Cederholm

05/09/2022, 4:01 PM
Sorry, I had an older version. 😞
y

Yousaf Nabi (pactflow.io)

05/09/2022, 4:02 PM
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

Beth (pactflow.io/Pact Broker/pact-ruby)

05/09/2022, 10:32 PM
good idea @Yousaf Nabi (pactflow.io)
@Thomas Cederholm I only added the command on Friday!
t

Thomas Cederholm

05/10/2022, 5:35 AM
@Beth (pactflow.io/Pact Broker/pact-ruby) Yeah, I figured it was new. This was the reason for my question 🙂