Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Add --include-from option to GitHub forecast
  • Loading branch information
Chaseshak committed Jul 26, 2023
commit 654caf83c7b0d52b01da82d2eda5973ee4931f61
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
);
}