Get-GitHubContext¶
SYNOPSIS¶
Get the current GitHub context.
SYNTAX¶
CurrentContext (Default)¶
Get-GitHubContext [-ProgressAction <ActionPreference>] [<CommonParameters>]
NamedContext¶
Get-GitHubContext -Context <String> [-ProgressAction <ActionPreference>] [<CommonParameters>]
ListAvailableContexts¶
Get-GitHubContext [-ListAvailable] [-ProgressAction <ActionPreference>] [<CommonParameters>]
DESCRIPTION¶
Get the current GitHub context.
EXAMPLES¶
EXAMPLE 1¶
Get-GitHubContext
Gets the current GitHub context.
PARAMETERS¶
-Context¶
The name of the context.
Type: String
Parameter Sets: NamedContext
Aliases: Name
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-ListAvailable¶
List all available contexts.
Type: SwitchParameter
Parameter Sets: ListAvailableContexts
Aliases:
Required: True
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
-ProgressAction¶
{{ Fill ProgressAction Description }}
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga
Required: False
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.