From 654caf83c7b0d52b01da82d2eda5973ee4931f61 Mon Sep 17 00:00:00 2001 From: chaseshak Date: Wed, 26 Jul 2023 16:45:44 -0500 Subject: [PATCH] Add --include-from option to GitHub forecast --- src/ActionsImporter/Commands/GitHub/Forecast.cs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/ActionsImporter/Commands/GitHub/Forecast.cs b/src/ActionsImporter/Commands/GitHub/Forecast.cs index 452bc47f..24c2701d 100644 --- a/src/ActionsImporter/Commands/GitHub/Forecast.cs +++ b/src/ActionsImporter/Commands/GitHub/Forecast.cs @@ -36,6 +36,12 @@ public Forecast(string[] args) : base(args) IsRequired = false, }; + private static readonly Option IncludeFrom = new("--include-from") + { + Description = "The file path containing a list of line-delimited repository names to include in the forecast.", + IsRequired = false, + }; + private static readonly Option SourceFilePath = new("--source-file-path") { Description = "The file path(s) to existing jobs data.", @@ -48,6 +54,7 @@ public Forecast(string[] args) : base(args) AccessToken, Organization, Repository, + IncludeFrom, SourceFilePath ); }