A .NET library for easily populating your GitHub repository with your bespoke labels
master | |
---|---|
develop |
Install-Package GitHubLabelInitialiser
This method will do the following:-
- Delete all the existing issue labels on a repository
- Add the collection of issue labels you pass it to the repository
manager.IntialiseLabels(_username, _repositoryName, new List<GitHubLabel>
{
new GitHubLabel{Name="bug", Color="ff0000"},
new GitHubLabel{Name="feature", Color="fbca04"}
});
This method will remove all the issue labels on a repository.
####Example
manager.DeleteAllInRepository(_username, _repositoryName);
This method will add new issue labels on the repository.
####Example
manager.AddLabelsToRepository(_username, _repositoryName, new List<GitHubLabel>
{
new GitHubLabel{Name="bug", Color="ff0000"},
new GitHubLabel{Name="feature", Color="fbca04"}
});
This project is licensed under Apache License 2.0.