public static ConsoleCommand GetCommand(this Application application, string command)
 {
     return(application.Commands.FirstOrDefault(c => CommandExtensions.HasName(c, command)));
 }