Useful libraries for CLI application development
There are plenty of useful libraries and this section doesn’t intend to list them all (we would need an encyclopedia for that 😉). Also, the ones listed here are by no means the best ones. They are the ones I’ve discovered along the way and use on a regular basis. These libraries add up to the ones we have already used throughout the pages of this book.
Polly
Polly
is a resilience and transient fault-handling library. For CLI applications, it can help manage network failures, timeouts, and other transient errors when interacting with external services or databases. This ensures your CLI application remains robust and responsive even in unreliable environments.
To learn more about Polly
, please visit https://github.com/App-vNext/Polly.
HangFire
HangFire
is a background job processing library that does not rely on Windows services or a separate process. In CLI applications, it can be useful for scheduling...