Sha256: b449f36d25de8c6ace080052947b09640bc4fb7553e9aab1719f851df1d6ab69

Contents?: true

Size: 633 Bytes

Versions: 1

Compression:

Stored size: 633 Bytes

Contents

require 'thor'
require 'pact/cli/run_pact_verification'

module Pact
  class CLI < Thor

    desc 'verify', "Verify a pact"
    method_option :pact_helper, aliases: "-h", desc: "Pact helper file", :required => true
    method_option :pact_uri, aliases: "-p", desc: "Pact URI"
    method_option :backtrace, aliases: "-b", desc: "Show full backtrace", :default => false, :type => :boolean
    method_option :description, aliases: "-d", desc: "Interaction description filter"
    method_option :provider_state, aliases: "-s", desc: "Provider state filter"

    def verify
      Cli::RunPactVerification.call(options)
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pact-1.5.0 lib/pact/cli.rb