using System.CommandLine; using Migrato.Cli.Commands; var rootCommand = new RootCommand("migrato") { CreateCommand.Build(), UpCommand.Build(), DownCommand.Build(), StatusCommand.Build() }; return rootCommand.Parse(args).Invoke();