You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
🩹 [Patch]: Add Get-GitHubContextInfo function to list available GitHub contexts (#229)
## Description
This pull request introduces a new PowerShell function
`Get-GitHubContextInfo`. The function is designed to list available
GitHub contexts without retrieving the context data making it better
suited to do lightweight queries about available contexts.
## Type of change
<!-- Use the check-boxes [x] on the options that are relevant. -->
- [ ] 📖 [Docs]
- [ ] 🪲 [Fix]
- [x] 🩹 [Patch]
- [ ] ⚠️ [Security fix]
- [ ] 🚀 [Feature]
- [ ] 🌟 [Breaking change]
## Checklist
<!-- Use the check-boxes [x] on the options that are relevant. -->
- [x] I have performed a self-review of my own code
- [x] I have commented my code, particularly in hard-to-understand areas
[Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSAvoidLongLines','', Justification ='Long links for documentation.')]
24
26
[Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSAvoidUsingWriteHost','', Justification ='Is the CLI part of the module.')]
25
-
[Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSAvoidUsingConvertToSecureStringWithPlainText','', Justification ='The tokens are recieved as clear text. Mitigating exposure by removing variables and performing garbage collection.')]
0 commit comments