Core
14 commands. Write commands (POST, PUT, PATCH, DELETE) change data on GitHub, use -WhatIf to preview a request
| Command | Alias | Method | Endpoint | Synopsis |
|---|---|---|---|---|
| Add-GitHubApiKey | Get-GHAddApiKey | Sets the GitHub token used to authenticate API calls | ||
| Add-GitHubBaseUri | Get-GHAddBaseUri | Sets the base uri of the GitHub API | ||
| Export-GitHubModuleSettings | Get-GHExportModuleSettings | Saves the module settings & token to a file | ||
| Get-GitHubApiKey | Get-GHApiKey | Gets the stored GitHub token | ||
| Get-GitHubBaseUri | Get-GHBaseUri | Gets the base uri of the GitHub API | ||
| Get-GitHubLastResponse | Get-GHLastResponse | Gets the metadata of the last GitHub API response | ||
| Get-GitHubModuleSettings | Get-GHModuleSettings | Gets the current module settings | ||
| Import-GitHubModuleSettings | Get-GHImportModuleSettings | Imports saved module settings & token | ||
| Initialize-GitHubModuleSettings | Get-GHInitializeModuleSettings | Changes the in-memory settings of the module | ||
| Invoke-GitHubRequest | Get-GHInvokeRequest | Sends a request to the GitHub REST API | ||
| Remove-GitHubApiKey | Get-GHRemoveApiKey | Removes the stored GitHub token | ||
| Remove-GitHubBaseUri | Get-GHRemoveBaseUri | Resets the base uri of the GitHub API to the default | ||
| Remove-GitHubModuleSettings | Get-GHRemoveModuleSettings | Removes the saved module settings file | ||
| Test-GitHubApiKey | Get-GHTestApiKey | Tests the GitHub token |
Have a look around and if you would like to contribute please read over the Contributing guide
Table of contents
- Add-GitHubApiKey
- Add-GitHubBaseUri
- Export-GitHubModuleSettings
- Get-GitHubApiKey
- Get-GitHubBaseUri
- Get-GitHubLastResponse
- Get-GitHubModuleSettings
- Import-GitHubModuleSettings
- Initialize-GitHubModuleSettings
- Invoke-GitHubRequest
- Remove-GitHubApiKey
- Remove-GitHubBaseUri
- Remove-GitHubModuleSettings
- Test-GitHubApiKey