Skip to content

Commit 9646d2e

Browse files
committed
Add silent mode -s.
1 parent e0fdf82 commit 9646d2e

File tree

68 files changed

+171
-37
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

68 files changed

+171
-37
lines changed

Diff for: EXAMPLES.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,7 @@ Invoked with following default & parsed arguments:
199199
"AdditionalCurlArgs": "",
200200
"Verbose": true,
201201
"ShowOutputOnly": false,
202+
"SilentMode": false,
202203
"ForceNoCurl": false,
203204
"ForceCurl": false,
204205
"GlobalProtoc": false,
@@ -435,7 +436,7 @@ Total curl args:
435436
=========================== POST Response Headers =========================== <<<
436437
HTTP/1.1 200 OK
437438
Content-Type: application/x-protobuf
438-
Date: Thu, 05 Oct 2023 09:21:38 GMT
439+
Date: Tue, 20 Feb 2024 23:06:35 GMT
439440
Connection: keep-alive
440441
Keep-Alive: timeout=5
441442
Content-Length: 35

Diff for: doc/generated.usage.txt

+1
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ Flags:
4040
-i, --request-type string Message name or full package path of the Protobuf request type. The path can be shortened to '..', if the name of the request message is unique. Mandatory for POST requests. E.g. mypackage.MyRequest or ..MyRequest
4141
-o, --response-type string The Protobuf response type. See -i <request-type>. Overrides --decode-raw. If not set, then --decode-raw is used.
4242
-q, --show-output-only Suppresses all output except response Protobuf as text. Overrides and deactivates -v and -D. Errors are still printed to stderr.
43+
-s, --silent Suppresses all output on stdout. Overrides and deactivates -v, -D and -q. Errors are still printed to stderr.
4344
-u, --url string Mandatory: The url to send the request to
4445
-v, --verbose Prints version and enables verbose output. Also activates -D.
4546
--version version for protocurl

Diff for: src/flags.go

+10
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,10 @@ func intialiseFlags() {
124124
flags.BoolVarP(&CurrentConfig.ShowOutputOnly, "show-output-only", "q", false,
125125
"Suppresses all output except response Protobuf as text. "+
126126
"Overrides and deactivates -v and -D. Errors are still printed to stderr.")
127+
128+
flags.BoolVarP(&CurrentConfig.SilentMode, "silent", "s", false,
129+
"Suppresses all output on stdout. Overrides and deactivates -v, -D and -q. "+
130+
"Errors are still printed to stderr.")
127131
}
128132

129133
func propagateFlags() {
@@ -137,6 +141,12 @@ func propagateFlags() {
137141
CurrentConfig.DisplayBinaryAndHttp = false
138142
}
139143

144+
if CurrentConfig.SilentMode {
145+
CurrentConfig.Verbose = false
146+
CurrentConfig.DisplayBinaryAndHttp = false
147+
CurrentConfig.ShowOutputOnly = false
148+
}
149+
140150
if CurrentConfig.ResponseType == "" && !CurrentConfig.DecodeRawResponse {
141151
CurrentConfig.DecodeRawResponse = true
142152
if CurrentConfig.Verbose {

Diff for: src/httpRequest.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ func invokeCurlRequest(requestBinary []byte, curlPath string) ([]byte, string) {
117117

118118
err = curlCmd.Run()
119119

120-
if !CurrentConfig.ShowOutputOnly && curlStdOut.Len() != 0 {
120+
if !CurrentConfig.ShowOutputOnly && !CurrentConfig.SilentMode && curlStdOut.Len() != 0 {
121121
fmt.Printf("%s CURL Output %s\n%s\n", VISUAL_SEPARATOR, VISUAL_SEPARATOR, curlStdOut.String())
122122
}
123123

Diff for: src/protocurl.go

+8-5
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ type Config struct {
3030
AdditionalCurlArgs string
3131
Verbose bool
3232
ShowOutputOnly bool
33+
SilentMode bool
3334
ForceNoCurl bool
3435
ForceCurl bool
3536
GlobalProtoc bool
@@ -112,13 +113,13 @@ func encodeToBinary(requestType string, text string, registry *protoregistry.Fil
112113
registry,
113114
)
114115

115-
if !CurrentConfig.ShowOutputOnly {
116+
if !CurrentConfig.ShowOutputOnly && !CurrentConfig.SilentMode {
116117
fmt.Printf("%s %s Request %s %s %s\n%s\n",
117118
VISUAL_SEPARATOR, CurrentConfig.Method, displayIn(CurrentConfig.InTextType), VISUAL_SEPARATOR,
118119
SEND, reconstructedRequestText)
119120
}
120121

121-
if !CurrentConfig.ShowOutputOnly && CurrentConfig.DisplayBinaryAndHttp {
122+
if CurrentConfig.DisplayBinaryAndHttp && !CurrentConfig.SilentMode {
122123
fmt.Printf("%s %s Request Binary %s %s\n%s", VISUAL_SEPARATOR, CurrentConfig.Method, VISUAL_SEPARATOR, SEND, hex.Dump(requestBinary))
123124
}
124125

@@ -150,7 +151,7 @@ func invokeHttpRequestBasedOnConfig(requestBinary []byte) ([]byte, string) {
150151
}
151152

152153
func decodeResponse(responseBinary []byte, responseHeaders string, registry *protoregistry.Files) {
153-
if !CurrentConfig.ShowOutputOnly && CurrentConfig.DisplayBinaryAndHttp {
154+
if CurrentConfig.DisplayBinaryAndHttp && !CurrentConfig.SilentMode {
154155
fmt.Printf("%s %s Response Headers %s %s\n%s\n", VISUAL_SEPARATOR, CurrentConfig.Method, VISUAL_SEPARATOR, RECV, responseHeaders)
155156

156157
fmt.Printf("%s %s Response Binary %s %s\n%s", VISUAL_SEPARATOR, CurrentConfig.Method, VISUAL_SEPARATOR, RECV, hex.Dump(responseBinary))
@@ -160,11 +161,13 @@ func decodeResponse(responseBinary []byte, responseHeaders string, registry *pro
160161

161162
responseText, _ := protoBinaryToMsgAndText(responseMessageType, responseBinary, CurrentConfig.OutTextType, registry)
162163

163-
if !CurrentConfig.ShowOutputOnly {
164+
if !CurrentConfig.ShowOutputOnly && !CurrentConfig.SilentMode {
164165
fmt.Printf("%s %s Response %s %s %s\n",
165166
VISUAL_SEPARATOR, CurrentConfig.Method, displayOut(CurrentConfig.OutTextType), VISUAL_SEPARATOR, RECV)
166167
}
167-
fmt.Printf("%s\n", responseText)
168+
if !CurrentConfig.SilentMode {
169+
fmt.Printf("%s\n", responseText)
170+
}
168171
}
169172

170173
func properResponseTypeIfProvidedOrEmptyType() string {

Diff for: test/results/additional-curl-args-verbose--X_GET-expected.txt

+3-2
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ Invoked with following default & parsed arguments:
2424
"AdditionalCurlArgs": "-v --ipv4 -A my-user-agent",
2525
"Verbose": true,
2626
"ShowOutputOnly": false,
27+
"SilentMode": false,
2728
"ForceNoCurl": false,
2829
"ForceCurl": true,
2930
"GlobalProtoc": false,
@@ -279,7 +280,7 @@ Total curl args:
279280
* Mark bundle as not supporting multiuse
280281
< HTTP/1.1 200 OK
281282
< Content-Type: application/x-protobuf
282-
< Date: Thu, 05 Oct 2023 09:18:02 GMT
283+
< Date: Tue, 20 Feb 2024 22:11:16 GMT
283284
< Connection: keep-alive
284285
< Keep-Alive: timeout=5
285286
< Content-Length: 65
@@ -290,7 +291,7 @@ Total curl args:
290291
=========================== GET Response Headers =========================== <<<
291292
HTTP/1.1 200 OK
292293
Content-Type: application/x-protobuf
293-
Date: Thu, 05 Oct 2023 09:18:02 GMT
294+
Date: Tue, 20 Feb 2024 22:11:16 GMT
294295
Connection: keep-alive
295296
Keep-Alive: timeout=5
296297
Content-Length: 65

Diff for: test/results/additional-curl-args-verbose-expected.txt

+3-2
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ Invoked with following default & parsed arguments:
2424
"AdditionalCurlArgs": "-v --ipv4 -A my-user-agent",
2525
"Verbose": true,
2626
"ShowOutputOnly": false,
27+
"SilentMode": false,
2728
"ForceNoCurl": false,
2829
"ForceCurl": true,
2930
"GlobalProtoc": false,
@@ -279,7 +280,7 @@ Total curl args:
279280
* Mark bundle as not supporting multiuse
280281
< HTTP/1.1 200 OK
281282
< Content-Type: application/x-protobuf
282-
< Date: Thu, 05 Oct 2023 09:18:01 GMT
283+
< Date: Tue, 20 Feb 2024 22:11:16 GMT
283284
< Connection: keep-alive
284285
< Keep-Alive: timeout=5
285286
< Content-Length: 65
@@ -290,7 +291,7 @@ Total curl args:
290291
=========================== POST Response Headers =========================== <<<
291292
HTTP/1.1 200 OK
292293
Content-Type: application/x-protobuf
293-
Date: Thu, 05 Oct 2023 09:18:01 GMT
294+
Date: Tue, 20 Feb 2024 22:11:16 GMT
294295
Connection: keep-alive
295296
Keep-Alive: timeout=5
296297
Content-Length: 65

Diff for: test/results/echo-empty--X_GET_-v-expected.txt

+2-1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ Invoked with following default & parsed arguments:
2323
"AdditionalCurlArgs": "",
2424
"Verbose": true,
2525
"ShowOutputOnly": false,
26+
"SilentMode": false,
2627
"ForceNoCurl": false,
2728
"ForceCurl": false,
2829
"GlobalProtoc": false,
@@ -253,7 +254,7 @@ Total curl args:
253254
=========================== GET Response Headers =========================== <<<
254255
HTTP/1.1 200 OK
255256
Content-Type: application/x-protobuf
256-
Date: Thu, 05 Oct 2023 09:18:15 GMT
257+
Date: Tue, 20 Feb 2024 22:11:32 GMT
257258
Connection: keep-alive
258259
Keep-Alive: timeout=5
259260
Content-Length: 0

Diff for: test/results/echo-empty--X_HEAD_-v-expected.txt

+2-1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ Invoked with following default & parsed arguments:
2323
"AdditionalCurlArgs": "",
2424
"Verbose": true,
2525
"ShowOutputOnly": false,
26+
"SilentMode": false,
2627
"ForceNoCurl": false,
2728
"ForceCurl": false,
2829
"GlobalProtoc": false,
@@ -253,7 +254,7 @@ Total curl args:
253254
=========================== HEAD Response Headers =========================== <<<
254255
HTTP/1.1 200 OK
255256
Content-Type: application/x-protobuf
256-
Date: Thu, 05 Oct 2023 09:18:21 GMT
257+
Date: Tue, 20 Feb 2024 22:11:38 GMT
257258
Connection: keep-alive
258259
Keep-Alive: timeout=5
259260
=========================== HEAD Response Binary =========================== <<<

Diff for: test/results/failure-simple-quiet--D-expected.txt

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
######### STDOUT #########
2+
######### STDERR #########
3+
Error: Request was unsuccessful. Received response status code outside of 2XX. Got: HTTP/1.1 404 Not Found
4+
######### EXIT 1 #########

Diff for: test/results/failure-simple-quiet--v-expected.txt

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
######### STDOUT #########
2+
######### STDERR #########
3+
Error: Request was unsuccessful. Received response status code outside of 2XX. Got: HTTP/1.1 404 Not Found
4+
######### EXIT 1 #########

Diff for: test/results/failure-simple-silent--D-expected.txt

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
######### STDOUT #########
2+
######### STDERR #########
3+
Error: Request was unsuccessful. Received response status code outside of 2XX. Got: HTTP/1.1 404 Not Found
4+
######### EXIT 1 #########
+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
######### STDOUT #########
2+
######### STDERR #########
3+
Error: Request was unsuccessful. Received response status code outside of 2XX. Got: HTTP/1.1 404 Not Found
4+
######### EXIT 1 #########

Diff for: test/results/failure-simple-silent--q-expected.txt

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
######### STDOUT #########
2+
######### STDERR #########
3+
Error: Request was unsuccessful. Received response status code outside of 2XX. Got: HTTP/1.1 404 Not Found
4+
######### EXIT 1 #########

Diff for: test/results/failure-simple-silent--v-expected.txt

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
######### STDOUT #########
2+
######### STDERR #########
3+
Error: Request was unsuccessful. Received response status code outside of 2XX. Got: HTTP/1.1 404 Not Found
4+
######### EXIT 1 #########

Diff for: test/results/failure-simple-silent-expected.txt

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
######### STDOUT #########
2+
######### STDERR #########
3+
Error: Request was unsuccessful. Received response status code outside of 2XX. Got: HTTP/1.1 404 Not Found
4+
######### EXIT 1 #########
+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
######### STDOUT #########
2+
######### STDERR #########
3+
Error: Request was unsuccessful. Received response status code outside of 2XX. Got: HTTP/1.1 404 Not Found
4+
######### EXIT 1 #########

Diff for: test/results/far-future-json--v-expected.txt

+2-1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ Invoked with following default & parsed arguments:
2424
"AdditionalCurlArgs": "",
2525
"Verbose": true,
2626
"ShowOutputOnly": false,
27+
"SilentMode": false,
2728
"ForceNoCurl": false,
2829
"ForceCurl": false,
2930
"GlobalProtoc": false,
@@ -258,7 +259,7 @@ Total curl args:
258259
=========================== POST Response Headers =========================== <<<
259260
HTTP/1.1 200 OK
260261
Content-Type: application/x-protobuf
261-
Date: Thu, 05 Oct 2023 09:18:05 GMT
262+
Date: Tue, 20 Feb 2024 22:11:20 GMT
262263
Connection: keep-alive
263264
Keep-Alive: timeout=5
264265
Content-Length: 63

Diff for: test/results/help--X_GET-expected.txt

+1
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ Flags:
4141
-i, --request-type string Message name or full package path of the Protobuf request type. The path can be shortened to '..', if the name of the request message is unique. Mandatory for POST requests. E.g. mypackage.MyRequest or ..MyRequest
4242
-o, --response-type string The Protobuf response type. See -i <request-type>. Overrides --decode-raw. If not set, then --decode-raw is used.
4343
-q, --show-output-only Suppresses all output except response Protobuf as text. Overrides and deactivates -v and -D. Errors are still printed to stderr.
44+
-s, --silent Suppresses all output on stdout. Overrides and deactivates -v, -D and -q. Errors are still printed to stderr.
4445
-u, --url string Mandatory: The url to send the request to
4546
-v, --verbose Prints version and enables verbose output. Also activates -D.
4647
--version version for protocurl

Diff for: test/results/help-expected.txt

+1
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ Flags:
4141
-i, --request-type string Message name or full package path of the Protobuf request type. The path can be shortened to '..', if the name of the request message is unique. Mandatory for POST requests. E.g. mypackage.MyRequest or ..MyRequest
4242
-o, --response-type string The Protobuf response type. See -i <request-type>. Overrides --decode-raw. If not set, then --decode-raw is used.
4343
-q, --show-output-only Suppresses all output except response Protobuf as text. Overrides and deactivates -v and -D. Errors are still printed to stderr.
44+
-s, --silent Suppresses all output on stdout. Overrides and deactivates -v, -D and -q. Errors are still printed to stderr.
4445
-u, --url string Mandatory: The url to send the request to
4546
-v, --verbose Prints version and enables verbose output. Also activates -D.
4647
--version version for protocurl

Diff for: test/results/help-missing-curl--X_GET-expected.txt

+1
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ Flags:
4141
-i, --request-type string Message name or full package path of the Protobuf request type. The path can be shortened to '..', if the name of the request message is unique. Mandatory for POST requests. E.g. mypackage.MyRequest or ..MyRequest
4242
-o, --response-type string The Protobuf response type. See -i <request-type>. Overrides --decode-raw. If not set, then --decode-raw is used.
4343
-q, --show-output-only Suppresses all output except response Protobuf as text. Overrides and deactivates -v and -D. Errors are still printed to stderr.
44+
-s, --silent Suppresses all output on stdout. Overrides and deactivates -v, -D and -q. Errors are still printed to stderr.
4445
-u, --url string Mandatory: The url to send the request to
4546
-v, --verbose Prints version and enables verbose output. Also activates -D.
4647
--version version for protocurl

Diff for: test/results/help-missing-curl-expected.txt

+1
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ Flags:
4141
-i, --request-type string Message name or full package path of the Protobuf request type. The path can be shortened to '..', if the name of the request message is unique. Mandatory for POST requests. E.g. mypackage.MyRequest or ..MyRequest
4242
-o, --response-type string The Protobuf response type. See -i <request-type>. Overrides --decode-raw. If not set, then --decode-raw is used.
4343
-q, --show-output-only Suppresses all output except response Protobuf as text. Overrides and deactivates -v and -D. Errors are still printed to stderr.
44+
-s, --silent Suppresses all output on stdout. Overrides and deactivates -v, -D and -q. Errors are still printed to stderr.
4445
-u, --url string Mandatory: The url to send the request to
4546
-v, --verbose Prints version and enables verbose output. Also activates -D.
4647
--version version for protocurl

Diff for: test/results/help-missing-curl-no-curl-expected.txt

+1
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ Flags:
4141
-i, --request-type string Message name or full package path of the Protobuf request type. The path can be shortened to '..', if the name of the request message is unique. Mandatory for POST requests. E.g. mypackage.MyRequest or ..MyRequest
4242
-o, --response-type string The Protobuf response type. See -i <request-type>. Overrides --decode-raw. If not set, then --decode-raw is used.
4343
-q, --show-output-only Suppresses all output except response Protobuf as text. Overrides and deactivates -v and -D. Errors are still printed to stderr.
44+
-s, --silent Suppresses all output on stdout. Overrides and deactivates -v, -D and -q. Errors are still printed to stderr.
4445
-u, --url string Mandatory: The url to send the request to
4546
-v, --verbose Prints version and enables verbose output. Also activates -D.
4647
--version version for protocurl

Diff for: test/results/help-no-curl-expected.txt

+1
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ Flags:
4141
-i, --request-type string Message name or full package path of the Protobuf request type. The path can be shortened to '..', if the name of the request message is unique. Mandatory for POST requests. E.g. mypackage.MyRequest or ..MyRequest
4242
-o, --response-type string The Protobuf response type. See -i <request-type>. Overrides --decode-raw. If not set, then --decode-raw is used.
4343
-q, --show-output-only Suppresses all output except response Protobuf as text. Overrides and deactivates -v and -D. Errors are still printed to stderr.
44+
-s, --silent Suppresses all output on stdout. Overrides and deactivates -v, -D and -q. Errors are still printed to stderr.
4445
-u, --url string Mandatory: The url to send the request to
4546
-v, --verbose Prints version and enables verbose output. Also activates -D.
4647
--version version for protocurl

Diff for: test/results/inferred-message-package-path--X_GET-expected.txt

+2-1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ Invoked with following default & parsed arguments:
2323
"AdditionalCurlArgs": "",
2424
"Verbose": true,
2525
"ShowOutputOnly": false,
26+
"SilentMode": false,
2627
"ForceNoCurl": false,
2728
"ForceCurl": false,
2829
"GlobalProtoc": false,
@@ -260,7 +261,7 @@ Total curl args:
260261
=========================== GET Response Headers =========================== <<<
261262
HTTP/1.1 200 OK
262263
Content-Type: application/x-protobuf
263-
Date: Thu, 05 Oct 2023 09:17:26 GMT
264+
Date: Tue, 20 Feb 2024 22:10:44 GMT
264265
Connection: keep-alive
265266
Keep-Alive: timeout=5
266267
Content-Length: 68

Diff for: test/results/inferred-message-package-path-expected.txt

+2-1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ Invoked with following default & parsed arguments:
2323
"AdditionalCurlArgs": "",
2424
"Verbose": true,
2525
"ShowOutputOnly": false,
26+
"SilentMode": false,
2627
"ForceNoCurl": false,
2728
"ForceCurl": false,
2829
"GlobalProtoc": false,
@@ -260,7 +261,7 @@ Total curl args:
260261
=========================== POST Response Headers =========================== <<<
261262
HTTP/1.1 200 OK
262263
Content-Type: application/x-protobuf
263-
Date: Thu, 05 Oct 2023 09:17:25 GMT
264+
Date: Tue, 20 Feb 2024 22:10:44 GMT
264265
Connection: keep-alive
265266
Keep-Alive: timeout=5
266267
Content-Length: 68

Diff for: test/results/inferred-message-package-path-name-clash-explicit-path--X_GET-expected.txt

+2-1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ Invoked with following default & parsed arguments:
2424
"AdditionalCurlArgs": "",
2525
"Verbose": true,
2626
"ShowOutputOnly": false,
27+
"SilentMode": false,
2728
"ForceNoCurl": false,
2829
"ForceCurl": false,
2930
"GlobalProtoc": false,
@@ -325,7 +326,7 @@ Total curl args:
325326
=========================== GET Response Headers =========================== <<<
326327
HTTP/1.1 200 OK
327328
Content-Type: application/x-protobuf
328-
Date: Thu, 05 Oct 2023 09:17:38 GMT
329+
Date: Tue, 20 Feb 2024 22:10:53 GMT
329330
Connection: keep-alive
330331
Keep-Alive: timeout=5
331332
Content-Length: 68

Diff for: test/results/inferred-message-package-path-name-clash-explicit-path-expected.txt

+2-1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ Invoked with following default & parsed arguments:
2424
"AdditionalCurlArgs": "",
2525
"Verbose": true,
2626
"ShowOutputOnly": false,
27+
"SilentMode": false,
2728
"ForceNoCurl": false,
2829
"ForceCurl": false,
2930
"GlobalProtoc": false,
@@ -325,7 +326,7 @@ Total curl args:
325326
=========================== POST Response Headers =========================== <<<
326327
HTTP/1.1 200 OK
327328
Content-Type: application/x-protobuf
328-
Date: Thu, 05 Oct 2023 09:17:38 GMT
329+
Date: Tue, 20 Feb 2024 22:10:53 GMT
329330
Connection: keep-alive
330331
Keep-Alive: timeout=5
331332
Content-Length: 68

Diff for: test/results/json-in-text-output--X_GET-expected.txt

+2-1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ Invoked with following default & parsed arguments:
2424
"AdditionalCurlArgs": "",
2525
"Verbose": true,
2626
"ShowOutputOnly": false,
27+
"SilentMode": false,
2728
"ForceNoCurl": false,
2829
"ForceCurl": false,
2930
"GlobalProtoc": false,
@@ -258,7 +259,7 @@ Total curl args:
258259
=========================== GET Response Headers =========================== <<<
259260
HTTP/1.1 200 OK
260261
Content-Type: application/x-protobuf
261-
Date: Thu, 05 Oct 2023 09:17:48 GMT
262+
Date: Tue, 20 Feb 2024 22:11:02 GMT
262263
Connection: keep-alive
263264
Keep-Alive: timeout=5
264265
Content-Length: 68

Diff for: test/results/json-in-text-output-expected.txt

+2-1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ Invoked with following default & parsed arguments:
2424
"AdditionalCurlArgs": "",
2525
"Verbose": true,
2626
"ShowOutputOnly": false,
27+
"SilentMode": false,
2728
"ForceNoCurl": false,
2829
"ForceCurl": false,
2930
"GlobalProtoc": false,
@@ -258,7 +259,7 @@ Total curl args:
258259
=========================== POST Response Headers =========================== <<<
259260
HTTP/1.1 200 OK
260261
Content-Type: application/x-protobuf
261-
Date: Thu, 05 Oct 2023 09:17:48 GMT
262+
Date: Tue, 20 Feb 2024 22:11:02 GMT
262263
Connection: keep-alive
263264
Keep-Alive: timeout=5
264265
Content-Length: 68

0 commit comments

Comments
 (0)