Get-GitHubModuleSettings
SYNOPSIS
Gets the current module settings
SYNTAX
__AllParameterSets
Get-GitHubModuleSettings [[-GitHubConfigPath] <string>] [[-GitHubConfigFile] <string>]
[-OpenConfigFile]
ALIASES
This cmdlet has the following aliases,
- Get-GHModuleSettings
DESCRIPTION
The Get-GitHubModuleSettings function returns the settings the module is using right now & the state of the saved settings file. The token itself is never returned, use Get-GitHubApiKey for that
EXAMPLES
EXAMPLE 1
Get-GitHubModuleSettings
Returns the current settings
EXAMPLE 2
Get-GitHubModuleSettings -OpenConfigFile
Opens the saved settings file
PARAMETERS
-GitHubConfigFile
Name of the settings file
Defaults to config.psd1
Type: System.String
DefaultValue: config.psd1
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: 1
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-GitHubConfigPath
Folder of the settings file
Defaults to Celerium.GitHub in the user profile folder
Type: System.String
DefaultValue: (Join-Path -Path ([System.Environment]::GetFolderPath('UserProfile')) -ChildPath 'Celerium.GitHub')
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: 0
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-OpenConfigFile
Open the settings file in the default editor
Type: System.Management.Automation.SwitchParameter
DefaultValue: False
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: Named
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
INPUTS
OUTPUTS
NOTES
Aliases: Get-GHModuleSettings