-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🩹 [Patch]: Allow Set-GitHubDefaultContext
to take context as pipeline
#274
Conversation
…ut and add related tests
…nhance tests for DefaultContext
…support pipeline property name binding
…xt` to aid troubleshooting
…pport and add debug output for context setting
…ases for context swapping
Module [GitHub - v0.12.5-SetDefaultContextPipeline1] published to the PowerShell Gallery. |
GitHub release for GitHub v0.12.5-SetDefaultContextPipeline1 has been created. |
…e context resolution in `Set-GitHubDefaultContext`
Module [GitHub - v0.12.5-SetDefaultContextPipeline2] published to the PowerShell Gallery. |
GitHub release for GitHub v0.12.5-SetDefaultContextPipeline2 has been created. |
Module [GitHub - v0.12.5] published to the PowerShell Gallery. |
GitHub release for GitHub v0.12.5 has been created. |
Description
This pull request adds improvements to the
Set-GitHubDefaultContext
functionality, and additional test cases inGitHub.Tests.ps1
to test the new functionality.Functionality Improvements:
Set-GitHubDefaultContext
to accept input from the pipeline by adding theValueFromPipeline
attribute to theContext
parameter insrc/functions/public/Auth/Context/Set-GitHubDefaultContext.ps1
.examples/Connecting.ps1
.Testing Enhancements:
Set-GitHubDefaultContext
functionality, including swapping contexts using pipeline input intests/GitHub.Tests.ps1
.Coverage Updates:
Coverage.md
.Coverage.md
.Type of change
Checklist