WebAPI2CLI
WebAPI2CLI copied to clipboard
Execute ASP.NET Core WebAPI from Command Line
Map https://docs.microsoft.com/en-us/dotnet/api/microsoft.extensions.hosting.ihostapplicationlifetime?view=dotnet-plat-ext-3.1 to obtain server adresses
https://github.com/ignatandrei/WebAPI2CLI/blob/12db9dc91c520e5781cdbbf8ce4b7305efaa754e/src/CLIExecute/EnumerateWebAPI.cs#L158-L163 --- ###### This issue was generated by [todo](https://todo.jasonet.co) based on a `TODO` comment in 12db9dc91c520e5781cdbbf8ce4b7305efaa754e. It's been assigned to @ignatandrei because they committed the code.
Provide an optional argument to exit if the call is unsuccessful( not 2xx)
https://github.com/ignatandrei/WebAPI2CLI/blob/e13077baf4b5094d661bffdf5d4b7e2a05e5db31/src/CLIExecute/CLICommands.cs#L37-L42 --- ###### This issue was generated by [todo](https://todo.jasonet.co) based on a `TODO` comment in e13077baf4b5094d661bffdf5d4b7e2a05e5db31. It's been assigned to @ignatandrei because they committed the code.