WeihanLi/WeihanLi.Common

`CommandExecutor` enhancements

WeihanLi opened this issue · 0 comments

  • Add ExecuteCommandAndCapture/ExecuteCommandAndCaptureAsync for returning CommandResult
  • Add ConsoleHelper.PrintOutput extension for CommandResult
  • Rename EnsureSuccessfulExitCode to EnsureSuccessExitCode likes HttpResponseMessage.EnsureSuccessStatusCode()