16 using System.Collections.Generic;
17 using McMaster.Extensions.CommandLineUtils;
26 private const string ApplicationName =
"Report Creator";
28 private const string ApplicationDescription =
29 "LEAN Report Creator generates beautiful PDF reports from your backtesting strategies for sharing with prospective partners.";
31 private const string ApplicationHelpText =
32 "If you are looking for help, please go to https://www.quantconnect.com/docs";
34 private static readonly List<CommandLineOption> Options =
new List<CommandLineOption>
38 new CommandLineOption(
"strategy-name", CommandOptionType.SingleValue,
"Strategy name"),
39 new CommandLineOption(
"strategy-description", CommandOptionType.SingleValue,
"Strategy description"),
40 new CommandLineOption(
"live-data-source-file", CommandOptionType.SingleValue,
"Live source data json file"),
41 new CommandLineOption(
"backtest-data-source-file", CommandOptionType.SingleValue,
"Backtest source data json file"),
42 new CommandLineOption(
"report-destination", CommandOptionType.SingleValue,
"Destination of processed report file"),
43 new CommandLineOption(
"report-css-override-file", CommandOptionType.SingleValue,
"CSS override source file"),
44 new CommandLineOption(
"report-html-custom-file", CommandOptionType.SingleValue,
"Custom HTML source file"),
52 return ApplicationParser.
Parse(ApplicationName, ApplicationDescription, ApplicationHelpText, args, Options);