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
method_option:pact_specification_version,aliases: "-i",desc: "The pact specification version to use when writing the pact. Note that only versions 1 and 2 are currently supported.",default: '2'
24
24
method_option:log,aliases: "-l",desc: "File to which to log output"
25
+
method_option:log_level,desc: "Log level. Options are DEBUG INFO WARN ERROR",default: "DEBUG"
25
26
method_option:cors,aliases: "-o",desc: "Support browser security in tests by responding to OPTIONS requests and adding CORS headers to mocked responses"
26
27
method_option:ssl,desc: "Use a self-signed SSL cert to run the service over HTTPS",type: :boolean,default: false
27
28
method_option:sslcert,desc: "Specify the path to the SSL cert to use when running the service over HTTPS"
@@ -38,6 +39,7 @@ def service
38
39
method_option:host,aliases: "-h",desc: "Host on which to bind the service",default: 'localhost'
39
40
method_option:pact_dir,aliases: "-d",desc: "Directory to which the pacts will be written"
40
41
method_option:log_dir,aliases: "-l",desc: "File to which to log output"
42
+
method_option:log_level,desc: "Log level. Options are DEBUG INFO WARN ERROR",default: "DEBUG"
method_option:pact_specification_version,aliases: "-i",desc: "The pact specification version to use when writing the pact. Note that only versions 1 and 2 are currently supported.",default: '2'
43
45
method_option:cors,aliases: "-o",desc: "Support browser security in tests by responding to OPTIONS requests and adding CORS headers to mocked responses"
method_option:log,aliases: "-l",desc: "File to which to log output"
64
+
method_option:log_level,desc: "Log level. Options are DEBUG INFO WARN ERROR",default: "DEBUG"
62
65
method_option:pact_specification_version,aliases: "-i",desc: "The pact specification version to use when writing the pact. Note that only versions 1 and 2 are currently supported.",default: '2'
63
66
method_option:cors,aliases: "-o",desc: "Support browser security in tests by responding to OPTIONS requests and adding CORS headers to mocked responses"
64
67
method_option:ssl,desc: "Use a self-signed SSL cert to run the service over HTTPS",type: :boolean,default: false
method_option:log,aliases: "-l",desc: "File to which to log output"
95
+
method_option:log_level,desc: "Log level. Options are DEBUG INFO WARN ERROR",default: "DEBUG"
92
96
method_option:pact_specification_version,aliases: "-i",desc: "The pact specification version to use when writing the pact. Note that only versions 1 and 2 are currently supported.",default: '2'
93
97
method_option:cors,aliases: "-o",desc: "Support browser security in tests by responding to OPTIONS requests and adding CORS headers to mocked responses"
94
98
method_option:ssl,desc: "Use a self-signed SSL cert to run the service over HTTPS",type: :boolean,default: false
@@ -104,6 +108,7 @@ def restart
104
108
desc'control-start',"Start a Pact mock service control server."
105
109
method_option:port,aliases: "-p",desc: "Port on which to run the service",default: '1234'
106
110
method_option:log_dir,aliases: "-l",desc: "File to which to log output",default: "log"
111
+
method_option:log_level,desc: "Log level. Options are DEBUG INFO WARN ERROR",default: "DEBUG"
method_option:pact_specification_version,aliases: "-i",desc: "The pact specification version to use when writing the pact. Note that only versions 1 and 2 are currently supported.",default: '2'
0 commit comments