Skip to content

Commit

Permalink
Add --include-from option to GitHub forecast
Browse files Browse the repository at this point in the history
  • Loading branch information
Chaseshak committed Jul 26, 2023
1 parent 93163ee commit 654caf8
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/ActionsImporter/Commands/GitHub/Forecast.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,12 @@ public Forecast(string[] args) : base(args)
IsRequired = false,
};

private static readonly Option<FileInfo> 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<FileInfo[]> SourceFilePath = new("--source-file-path")
{
Description = "The file path(s) to existing jobs data.",
Expand All @@ -48,6 +54,7 @@ public Forecast(string[] args) : base(args)
AccessToken,
Organization,
Repository,
IncludeFrom,
SourceFilePath
);
}

0 comments on commit 654caf8

Please sign in to comment.