https://elanderson.net/2016/06/net-cli-custom-tool/
.Net CLI Custom Tool