-
Notifications
You must be signed in to change notification settings - Fork 189
Closed
Labels
breaking changeThis includes a change in existing published module behavior.This includes a change in existing published module behavior.discussionWe are looking for additional community feedback on this topic before proceeding further.We are looking for additional community feedback on this topic before proceeding further.enhancementAn issue or pull request introducing new functionality to the project.An issue or pull request introducing new functionality to the project.
Description
Feature Idea Summary
It's usually good practice for Set-*
cmdlets to output nothing and then offer a -PassThru
to output the result.
This allows output to not be as noisy and so that you don't have to pipe to Out-Null
Feature Idea Additional Details
All this would mean is:
- Adding a
-PassThru
parameter to allSet-*
functions - do something like this:
$result = Invoke-GHRestMethod @params
if ($PSBoundParameters.ContainsKey('PassThru'))
{
$result
}
Requested Assignment
I'm just suggesting this idea, at this time. I'm not planning on implementing it.
Metadata
Metadata
Assignees
Labels
breaking changeThis includes a change in existing published module behavior.This includes a change in existing published module behavior.discussionWe are looking for additional community feedback on this topic before proceeding further.We are looking for additional community feedback on this topic before proceeding further.enhancementAn issue or pull request introducing new functionality to the project.An issue or pull request introducing new functionality to the project.