You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I propose a new function New-GitHubRepositoryFromTemplate to leverage this new API.
A new IsTemplate parameter has already been added to the New-GitHubRepository and Update-GitHubRepository functions as part of PR #192 which allows repositories to be marked as templates.
Feature Idea Additional Details
Proposed parameters:
Name
Type
Description
RepositoryName
Mandatory String
Name of the repository to be created.
OwnerName
Mandatory String
Owner of the repository to be created. If not specified, the DefaultOwnerName configuration property value will be used.
TemplateOwnerName
Mandatory String
Owner of the template repository.
TemplateRepositoryName
Mandatory String
Name of the template repository.
Description
String
A short description of the repository.
Private
Switch
By default, this repository will be created Public. Specify this to create a private repository.
AccessToken
String
If provided, this will be used as the AccessToken for authentication with the REST Api. Otherwise, will attempt to use the configured value or will run unauthenticated.
NoStatus
Switch
If this switch is specified, long-running commands will run on the main thread with no commandline status update. When not specified, those commands run in the background, enabling the command prompt to provide status information. If not supplied here, the DefaultNoStatus configuration property value will be used.
Requested Assignment
If possible, I would like to implement this.
The text was updated successfully, but these errors were encountered:
Feature Idea Summary
With the Baptiste preview, GitHub have introduced an API to Create a new repository from a template.
I propose a new function
New-GitHubRepositoryFromTemplate
to leverage this new API.A new
IsTemplate
parameter has already been added to theNew-GitHubRepository
andUpdate-GitHubRepository
functions as part of PR #192 which allows repositories to be marked as templates.Feature Idea Additional Details
Proposed parameters:
Requested Assignment
The text was updated successfully, but these errors were encountered: