Hi guys! Running a `pact-broker help` returns the ...
# pact-broker
b
Hi guys! Running a
pact-broker help
returns the entire list of commands that can be executed, which is useful. But for some commands in the list, the parameters are truncated (due to space maybe). E.g.:
pact-broker publish PACT_DIRS_OR_FILES ... -a, --consumer-app-version=CONSUMER_APP_VERSION -b, --broker-base-url=BROKER_BASE_URL
Also, on the releases page in github I can only see the Usage for
pact-mock-service
,
pact-stub-service
and
pact-provider-verifier
Can we get an implementation for the entire list of attributes when running for example
pact-broker publish help
? - (which at the moment returns No value provided for required options '--consumer-app-version') Thank you,
m
pact-broker help publish
👍
(help needs to be before the sub command)
b
thanks @Matt (pactflow.io / pact-js / pact-go). Worked like a charm
🙌 1
b
Yeah, the Thor implementation is a bit odd.
That's the cli library.
👍 2
m
Yeah, I’ve always found it a bit quirky, given how popular it is
but, it IS consistently quirky, which is actually what matters with CLIs
b
I’ve manually added “pact-broker xxx help” commands in a few places, but I’ve clearly not got them all.
👍 1