private static IConfigurator ConfigureCommands(IConfigurator config) { config.CaseSensitivity(CaseSensitivity.None); config.SetApplicationName("witsml-cli"); config.AddBranch("list", add => { add.AddCommand <ListWellboresCommand>("wellbores").WithDescription("List active wellbores"); add.AddCommand <ListLogsCommand>("logs").WithDescription("List logs within a well/wellbore"); add.AddCommand <ListBhaRunsCommand>("bharuns").WithDescription("List bha runs within a well/wellbore"); add.AddCommand <ListTubularsCommand>("tubulars").WithDescription("List tubulars within a well/wellbore"); add.AddCommand <ListRisksCommand>("risks").WithDescription("List risks"); }); config.AddBranch("show", add => { add.AddCommand <ShowTubularCommand>("tubular").WithDescription("Export tubular within a well/wellbore"); add.AddCommand <ShowLogHeaderCommand>("log").WithDescription("Show a log header"); }); config.AddBranch("query", add => { add.AddCommand <GetQueryCommand>("get").WithDescription("Execute GET query"); }); return(config); }