Skip to content

Get GitHubIssueComment

apobekiaris edited this page Sep 4, 2020 · 8 revisions

external help file: XpandPwsh.Cmdlets.dll-Help.xml Module Name: XpandPwsh online version: https://go.microsoft.com/fwlink/?LinkID=2097043 schema: 2.0.0

Get-GitHubIssueComment

SYNOPSIS

Returns the comments of a GitHub Issue.

SYNTAX

Owner

Get-GitHubIssueComment -Repository <String> -Issue <Issue> -Owner <String> -Organization <String>
 -Pass <String> [<CommonParameters>]

Token

Get-GitHubIssueComment -Repository <String> -Issue <Issue> -Organization <String> -Token <String>
 [<CommonParameters>]

DESCRIPTION

Returns the comments of a GitHub Issue.

EXAMPLES

Example 1

PS C:\>  $iArgs = @{
    Repository = "eXpand"
} + $cred
Get-GitHubIssue @iArgs|Get-GitHubComment @iArgs

List all comments of the piped-in issues.

PARAMETERS

-Issue

The Issue for which comments will be returned.

Type: Issue
Parameter Sets: (All)
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

-Organization

{{ Fill Organization Description }}

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Owner

{{ Fill Owner Description }}

Type: String
Parameter Sets: Owner
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Pass

{{ Fill Pass Description }}

Type: String
Parameter Sets: Owner
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Repository

{{ Fill Repository Description }}

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Token

{{ Fill Token Description }}

Type: String
Parameter Sets: Token
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

Octokit.Issue

OUTPUTS

System.Object

NOTES

RELATED LINKS

image

image


Star the project if you think it deserves it.

GitHub stars

Fork the project to extend and contribute.

GitHub forks

Clone this wiki locally