public NServiceBusReadmeWriter Write(NServiceBusReadmeModel model)
        {
            _markdownBuilder.AppendHeading("Handled messages");

            foreach (var entry in model.ReadmeEntries)
            {
                WriteEntry(entry);
            }

            return(this);
        }
        static void Main(string[] args)
        {
            var parsedArgs = Args.Parse(args);

            if (parsedArgs == null)
            {
                DisplayHelp();
                return;
            }

            var nserviceBusModel = NServiceBusReadmeModel.LoadFrom(parsedArgs.AssemblyPath);

            var readmeWriter = new NServiceBusReadmeWriter()
                               .Write(nserviceBusModel);

            GetOutput(parsedArgs)(readmeWriter.ToString());
        }