diff --git a/lib/pact/cli.rb b/lib/pact/cli.rb index cc62cf5..4fe97f6 100644 --- a/lib/pact/cli.rb +++ b/lib/pact/cli.rb @@ -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"))