Skip to content

Commit

Permalink
docs(readme): add information about bearer tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
bethesque committed Mar 4, 2019
1 parent 31728e9 commit 3382a62
Showing 1 changed file with 14 additions and 27 deletions.
41 changes: 14 additions & 27 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,34 +40,21 @@ Usage:
pact-provider-verifier PACT_URL ... -h, --provider-base-url=PROVIDER_BASE_URL
Options:
-h, --provider-base-url=PROVIDER_BASE_URL
# Provider host URL
-c, [--provider-states-setup-url=PROVIDER_STATES_SETUP_URL]
# Base URL to setup the provider states at
[--pact-broker-base-url=PACT_BROKER_BASE_URL]
# Base URL of the Pact Broker from which to retrieve the pacts.
-n, [--broker-username=BROKER_USERNAME]
# Pact Broker basic auth username
-p, [--broker-password=BROKER_PASSWORD]
# Pact Broker basic auth password
-h, --provider-base-url=PROVIDER_BASE_URL # Provider host URL
-c, [--provider-states-setup-url=PROVIDER_STATES_SETUP_URL] # Base URL to setup the provider states at
[--pact-broker-base-url=PACT_BROKER_BASE_URL] # Base URL of the Pact Broker from which to retrieve the pacts.
-n, [--broker-username=BROKER_USERNAME] # Pact Broker basic auth username
-p, [--broker-password=BROKER_PASSWORD] # Pact Broker basic auth password
-k, [--broker-token=BROKER_TOKEN] # Pact Broker bearer token
[--provider=PROVIDER]
[--consumer-version-tag=TAG]
# Retrieve the latest pacts with this consumer version tag.
Used in conjuction with --provider. May be specified multiple times.
-a, [--provider-app-version=PROVIDER_APP_VERSION]
# Provider application version, required when publishing verification results
-r, [--publish-verification-results=PUBLISH_VERIFICATION_RESULTS]
# Publish verification results to the broker
[--custom-provider-header=CUSTOM_PROVIDER_HEADER]
# Header to add to provider state set up and pact verification requests.
eg 'Authorization: Basic cGFjdDpwYWN0'. May be specified multiple times.
-v, [--verbose=VERBOSE]
# Verbose output
-f, [--format=FORMATTER]
# RSpec formatter. Defaults to custom Pact formatter. Other options are
json and RspecJunitFormatter (which outputs xml).
-o, [--out=FILE]
# Write output to a file instead of $stdout.
[--consumer-version-tag=TAG] # Retrieve the latest pacts with this consumer version tag. Used in conjunction with --provider. May be specified multiple times.
-a, [--provider-app-version=PROVIDER_APP_VERSION] # Provider application version, required when publishing verification results
-r, [--publish-verification-results=PUBLISH_VERIFICATION_RESULTS] # Publish verification results to the broker
[--custom-provider-header=CUSTOM_PROVIDER_HEADER] # Header to add to provider state set up and pact verification requests. eg 'Authorization: Basic cGFjdDpwYWN0'. May be specified multiple times.
[--custom-middleware=FILE] # Ruby file containing a class implementing Pact::ProviderVerifier::CustomMiddleware. This allows the response to be modified before replaying. Use with caution!
-v, [--verbose=VERBOSE] # Verbose output
-f, [--format=FORMATTER] # RSpec formatter. Defaults to custom Pact formatter. Other options are json and RspecJunitFormatter (which outputs xml).
-o, [--out=FILE] # Write output to a file instead of $stdout.
Verify pact(s) against a provider. Supports local and networked (http-based) files.
```
Expand Down

0 comments on commit 3382a62

Please sign in to comment.