Example #1
0
        static async Task <int> ExecuteWikiPDFExporter(Options options)
        {
            WikiPDFExporter exporter = new WikiPDFExporter(options);
            await exporter.Export();

            return(0);
        }
Example #2
0
 static void Main(string[] args)
 {
     Parser.Default.ParseArguments <Options>(args)
     .WithParsed <Options>(options =>
     {
         WikiPDFExporter exporter = new WikiPDFExporter(options);
         exporter.Export();
     });
 }