Skip to content

Commit 3e0dd8f

Browse files
committed
add license_template attribute for creating repos
1 parent 2229644 commit 3e0dd8f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

content/v3/repos.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ Name | Type | Description
113113
`team_id`|`number` | The id of the team that will be granted access to this repository. This is only valid when creating a repository in an organization.
114114
`auto_init`|`boolean` | Pass `true` to create an initial commit with empty README. Default: `false`
115115
`gitignore_template`|`string` | Desired language or platform [.gitignore template](https://github.com/github/gitignore) to apply. Use the name of the template without the extension. For example, "Haskell". _Ignored if the `auto_init` parameter is not provided._
116+
`license_template`|`string` | Desired [LICENSE template](https://github.com/github/choosealicense.com) to apply. Use the [name of the template](https://github.com/github/choosealicense.com/tree/gh-pages/licenses) without the extension. For example, "mit" or "mozilla". _Ignored if the `auto_init` parameter is not provided._
116117

117118
#### Example
118119

0 commit comments

Comments
 (0)