From e4074f27d8b51b6fe094353f587438c524aee0a0 Mon Sep 17 00:00:00 2001 From: Stef Heyenrath Date: Wed, 25 Nov 2020 13:52:02 +0100 Subject: [PATCH] Created WireMock commandline parameters (markdown) --- WireMock-commandline-parameters.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 WireMock-commandline-parameters.md diff --git a/WireMock-commandline-parameters.md b/WireMock-commandline-parameters.md new file mode 100644 index 0000000..ade2062 --- /dev/null +++ b/WireMock-commandline-parameters.md @@ -0,0 +1,18 @@ +# WireMock.Net commandline parameters + +The following commandline arguments can be defined for [[WireMock as dotnet tool]] and [[WireMock as a standalone process]]. + +| Argument Name| Value Type | Default | Description | +| - | - | - | - | +| `--Help` | | | Show link this wiki-page +| `--Port` | integer | | [wiki-port](https://github.com/WireMock-Net/WireMock.Net/wiki/Settings#port) +| `--Urls` | string| | [wiki-urls](https://github.com/WireMock-Net/WireMock.Net/wiki/Settings#urls) +| `--StartAdminInterface` | boolean | true | Defines whether to start admin interface. | +| `--AllowPartialMapping` | boolean | false | [wiki-allowpartialmapping](https://github.com/WireMock-Net/WireMock.Net/wiki/Settings#allowpartialmapping) | +| `--ReadStaticMappings` | boolean | false | Defines if the static mappings should be read at startup. | +| `--AdminUsername` | string | | [wiki-adminusername](https://github.com/WireMock-Net/WireMock.Net/wiki/Settings#adminusername) | +| `--AdminPassword` | string | | [wiki-adminpassword](https://github.com/WireMock-Net/WireMock.Net/wiki/Settings#adminpassword) | +| `--MaxRequestLogCount` | integer | | [wiki-maxrequestlogcount](https://github.com/WireMock-Net/WireMock.Net/wiki/Settings#maxrequestlogcount) +| `--RequestLogExpirationDuration` | integer | | [wiki-requestlogexpirationduration](https://github.com/WireMock-Net/WireMock.Net/wiki/Settings#requestlogexpirationduration) | +| `--WireMockLogger` | string | [WireMockNullLogger](https://github.com/WireMock-Net/WireMock.Net/blob/master/src/WireMock.Net/Logging/WireMockNullLogger.cs) | You can also define the value `WireMockConsoleLogger`. In that case the [WireMockConsoleLogger](https://github.com/WireMock-Net/WireMock.Net/blob/master/src/WireMock.Net/Logging/WireMockConsoleLogger.cs) is used. | +| `--ProxyURL` | string | | [wiki-proxyandrecordsettings](https://github.com/WireMock-Net/WireMock.Net/wiki/Settings#proxyandrecordsettings) | \ No newline at end of file