Skip to content

Commit 50585d7

Browse files
author
S Raghav
committed
Add Outputs for GitHubReference methods
1 parent 5e3c7d9 commit 50585d7

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

GitHubReferences.ps1

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@ function Get-GitHubReference
3636
with no commandline status update. When not specified, those commands run in
3737
the background, enabling the command prompt to provide status information.
3838
If not supplied here, the DefaultNoStatus configuration property value will be used.
39+
40+
.OUTPUTS
41+
[PSCustomObject]
42+
Details of the git reference in the given repository
3943
4044
.EXAMPLE
4145
Get-GitHubReference -OwnerName Powershell -RepositoryName PowerShellForGitHub -Reference heads/master
@@ -147,6 +151,10 @@ function New-GitHubReference
147151
the background, enabling the command prompt to provide status information.
148152
If not supplied here, the DefaultNoStatus configuration property value will be used.
149153
154+
.OUTPUTS
155+
[PSCustomObject]
156+
Details of the git reference created. Throws an Exception if the reference already exists
157+
150158
.EXAMPLE
151159
-GitHubReference -OwnerName Powershell -RepositoryName PowerShellForGitHub -Reference refs/heads/master -Sha aa218f56b14c9653891f9e74264a383fa43fefbd
152160
#>

0 commit comments

Comments
 (0)