You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: lib/pact/mock_service/cli.rb
+6-6
Original file line number
Diff line number
Diff line change
@@ -54,7 +54,7 @@ def control
54
54
desc'start',"Start a mock service. If the consumer, provider and pact-dir options are provided, the pact will be written automatically on shutdown (INT)."
55
55
method_option:consumer,desc: "Consumer name"
56
56
method_option:provider,desc: "Provider name"
57
-
method_option:port,aliases: "-p",default: '1234',desc: "Port on which to run the service"
57
+
method_option:port,aliases: "-p",default: '8888',desc: "Port on which to run the service"
58
58
method_option:host,aliases: "-h",desc: "Host on which to bind the service",default: 'localhost'
59
59
method_option:pact_dir,aliases: "-d",desc: "Directory to which the pacts will be written"
method_option:port,aliases: "-p",desc: "Port of the service to stop",default: '1234',required: true
79
+
method_option:port,aliases: "-p",desc: "Port of the service to stop",default: '8888',required: true
80
80
method_option:pid_dir,desc: "PID dir, defaults to tmp/pids",default: "tmp/pids"
81
81
82
82
defstop
@@ -87,7 +87,7 @@ def stop
87
87
desc'restart',"Start or restart a mock service. If the consumer, provider and pact-dir options are provided, the pact will be written automatically on shutdown (INT)."
88
88
method_option:consumer,desc: "Consumer name"
89
89
method_option:provider,desc: "Provider name"
90
-
method_option:port,aliases: "-p",default: '1234',desc: "Port on which to run the service"
90
+
method_option:port,aliases: "-p",default: '8888',desc: "Port on which to run the service"
91
91
method_option:host,aliases: "-h",desc: "Host on which to bind the service",default: 'localhost'
92
92
method_option:pact_dir,aliases: "-d",desc: "Directory to which the pacts will be written"
0 commit comments