Skip to content

Commit

Permalink
feat(cli): add long description
Browse files Browse the repository at this point in the history
  • Loading branch information
bethesque committed Nov 21, 2019
1 parent c9a077b commit 905ab8d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/pact/provider_verifier/cli/verify.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ class Verify < CustomThor
class InvalidArgumentsError < ::Thor::Error; end

desc 'PACT_URL ...', "Verify pact(s) against a provider. Supports local and networked (http-based) files."
long_desc "To verify a pact from a known URL, specify one or more PACT_URL arguments. If the pact is hosted in a Pact Broker that uses authentication, specify the relevant --broker-username/--broker-password or --broker-token fields. " +
"To dynamically fetch pacts from a Pact Broker based on the provider name, specify the --pact-broker-base-url, --provider and relevant authentication fields."
method_option :provider_base_url, aliases: "-h", desc: "Provider host URL", :required => true
method_option :provider_states_setup_url, aliases: "-c", desc: "Base URL to setup the provider states at", :required => false
method_option :pact_broker_base_url, desc: "Base URL of the Pact Broker from which to retrieve the pacts.", :required => false
Expand Down

0 comments on commit 905ab8d

Please sign in to comment.