Skip to content
This repository has been archived by the owner on Dec 6, 2021. It is now read-only.

Commit

Permalink
feat: expose stub-service
Browse files Browse the repository at this point in the history
  • Loading branch information
bethesque committed Mar 13, 2020
1 parent 717ed9f commit 45678c3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/pact/cli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,12 @@ def mock_service
::Pact::MockService::CLI.start(process_argv("mock-service"))
end

desc 'stub-service', 'Run a Pact stub service'
def stub_service
require 'pact/stub_service/cli'
Pact::StubService::CLI.start(process_argv("stub-service"))
end

desc 'broker', 'Interact with a Pact Broker'
def broker
::PactBroker::Client::CLI::Broker.start(process_argv("broker"))
Expand Down

0 comments on commit 45678c3

Please sign in to comment.