static async Task <int> Main(string[] args) { var root = new RootCommand() { Name = "covid", TreatUnmatchedTokensAsErrors = true }; root.AddFromMethod(typeof(Program).GetMethod(nameof(Program.Papers)), "Ingest the COVID-19 Open Research Dataset Challenge (CORD-19) dataset into a Mosaik server. You can download the original dataset here: https://www.kaggle.com/allen-institute-for-ai/CORD-19-research-challenge/tasks. Extract it to a folder and pass the path with the --folder argument."); root.AddFromMethod(typeof(Program).GetMethod(nameof(Program.Diseases)), "Ingest the https://github.com/DiseaseOntology/HumanDiseaseOntology/ dataset. Call with --file \\path\\to\\doid.json"); return(await root.InvokeAsync(args)); }