Add license template to NewRepository

This commit is contained in:
Haacked
2015-03-19 16:45:14 -07:00
parent a94051d6b0
commit 0f4a4773a9
+10
View File
@@ -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>