Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bitbucket: Add support for forecast command #263

Merged
merged 3 commits into from
Sep 12, 2023
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Add --include-from option
  • Loading branch information
j-dunham committed Sep 11, 2023
commit 62198f9b786be31abba07eb07b6d4465d51b3ea4
9 changes: 8 additions & 1 deletion src/ActionsImporter/Commands/Bitbucket/Forecast.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,17 @@ public Forecast(string[] args) : base(args)
AllowMultipleArgumentsPerToken = true,
};

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,
};

protected override ImmutableArray<Option> Options => ImmutableArray.Create<Option>(
Common.Project,
Common.Workspace,
Common.AccessToken,
SourceFilePath
SourceFilePath,
IncludeFrom
);
}
Loading