1
1
# Copyright (c) Microsoft Corporation. All rights reserved.
2
2
# Licensed under the MIT License.
3
3
4
- function Get-GitHubMilestones
4
+ function Get-GitHubMilestone
5
5
{
6
6
<#
7
7
. DESCRIPTION
@@ -45,7 +45,7 @@ function Get-GitHubMilestones
45
45
If not supplied here, the DefaultNoStatus configuration property value will be used.
46
46
47
47
. EXAMPLE
48
- Get-GitHubMilestones -OwnerName Powershell -RepositoryName PowerShellForGitHub
48
+ Get-GitHubMilestone -OwnerName Powershell -RepositoryName PowerShellForGitHub
49
49
50
50
Get the milestones for the PowerShell\PowerShellForGitHub project.
51
51
#>
@@ -143,7 +143,7 @@ function New-GitHubMilestone
143
143
{
144
144
<#
145
145
. DESCRIPTION
146
- Creates a new Github comment in an issue for the given repository
146
+ Creates a new Github milestone in an issue for the given repository
147
147
148
148
The Git repo for this module can be found here: http://aka.ms/PowerShellForGitHub
149
149
@@ -167,10 +167,10 @@ function New-GitHubMilestone
167
167
Only milestones with this state are returned, either open or closed. Default: open
168
168
169
169
. PARAMETER Description
170
- A desciprion of the milestone.
170
+ A description of the milestone.
171
171
172
172
. PARAMETER Due_On
173
- The milestone due date.
173
+ The milestone due date.
174
174
175
175
. PARAMETER AccessToken
176
176
If provided, this will be used as the AccessToken for authentication with the
@@ -185,7 +185,7 @@ function New-GitHubMilestone
185
185
. EXAMPLE
186
186
New-GitHubMilestone -OwnerName Powershell -RepositoryName PowerShellForGitHub -Title "Testing this API"
187
187
188
- Creates a new Github comment in an issue for the PowerShell\PowerShellForGitHub project.
188
+ Creates a new Github milestone in an issue for the PowerShell\PowerShellForGitHub project.
189
189
#>
190
190
[CmdletBinding (
191
191
SupportsShouldProcess ,
@@ -264,7 +264,7 @@ function Set-GitHubMilestone
264
264
{
265
265
<#
266
266
. DESCRIPTION
267
- Creates a new Github comment in an issue for the given repository
267
+ Set an existing milestone for the given repository
268
268
269
269
The Git repo for this module can be found here: http://aka.ms/PowerShellForGitHub
270
270
@@ -288,10 +288,10 @@ function Set-GitHubMilestone
288
288
Only milestones with this state are returned, either open or closed. Default: open
289
289
290
290
. PARAMETER Description
291
- A desciprion of the milestone.
291
+ A description of the milestone.
292
292
293
293
. PARAMETER Due_On
294
- The milestone due date.
294
+ The milestone due date.
295
295
296
296
. PARAMETER AccessToken
297
297
If provided, this will be used as the AccessToken for authentication with the
@@ -304,9 +304,9 @@ function Set-GitHubMilestone
304
304
If not supplied here, the DefaultNoStatus configuration property value will be used.
305
305
306
306
. EXAMPLE
307
- New -GitHubMilestone -OwnerName Powershell -RepositoryName PowerShellForGitHub -Title "Testing this API"
307
+ Set -GitHubMilestone -OwnerName Powershell -RepositoryName PowerShellForGitHub -Title "Testing this API"
308
308
309
- Creates a new Github comment in an issue for the PowerShell\PowerShellForGitHub project.
309
+ Update an existing milestone for the PowerShell\PowerShellForGitHub project.
310
310
#>
311
311
[CmdletBinding (
312
312
SupportsShouldProcess ,
0 commit comments