mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-04 03:16:11 +00:00
Add license template to NewRepository
This commit is contained in:
@@ -58,6 +58,16 @@ namespace Octokit
|
||||
[SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Gitignore", Justification = "It needs to be this way for proper serialization.")]
|
||||
public string GitignoreTemplate { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Optional. Gets or sets the desired Desired LICENSE template to apply. Use the name of the template without
|
||||
/// the extension. For example, “mit” or “mozilla”.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// The list of license templates are here: https://github.com/github/choosealicense.com/tree/gh-pages/_licenses
|
||||
/// Just omit the ".txt" file extension for the template name.
|
||||
/// </remarks>
|
||||
public string LicenseTemplate { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Required. Gets or sets the new repository's name.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user