Skip to content

Commit 4f62f5f

Browse files
authored
Add --include-from option to GitHub forecast (#220)
1 parent 93163ee commit 4f62f5f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/ActionsImporter/Commands/GitHub/Forecast.cs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,12 @@ public Forecast(string[] args) : base(args)
3636
IsRequired = false,
3737
};
3838

39+
private static readonly Option<FileInfo> IncludeFrom = new("--include-from")
40+
{
41+
Description = "The file path containing a list of line-delimited repository names to include in the forecast.",
42+
IsRequired = false,
43+
};
44+
3945
private static readonly Option<FileInfo[]> SourceFilePath = new("--source-file-path")
4046
{
4147
Description = "The file path(s) to existing jobs data.",
@@ -48,6 +54,7 @@ public Forecast(string[] args) : base(args)
4854
AccessToken,
4955
Organization,
5056
Repository,
57+
IncludeFrom,
5158
SourceFilePath
5259
);
5360
}

0 commit comments

Comments
 (0)