From 4f62f5f37a680adf5638b7db85936c71baae6ca3 Mon Sep 17 00:00:00 2001 From: Chase S Date: Wed, 26 Jul 2023 19:48:11 -0500 Subject: [PATCH] Add --include-from option to GitHub forecast (#220) --- 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 452bc47..24c2701 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 ); }