A .NET Core global tool is a special NuGet package that contains a console application. Here I create a global tool for database migrations using db-up.
This post focuses on the writes in the system and introduces the concept of a command and handlers for mutating state, reducing the controller further.