Pester
Pester copied to clipboard
Hide legacy-only parameters in Invoke-Pester
PR Summary
Hides parameters only used by legacy compatibility-set in Invoke-Pester from tab-completion, intellisense etc.
[!NOTE]
DontShowcan't be used with parameters used in multiple sets. It will always hide the parameter regardless of previous parameters in the command.
Fix #1586
PR Checklist
- [x] PR has meaningful title
- [x] Summary describes changes
- [x] PR is ready to be merged
- If not, use the arrow next to
Create Pull Requestto mark it as a draft. PR can be markedReady for reviewwhen it's ready.
- If not, use the arrow next to
- [ ] Tests are added/update (if required)
- [ ] Documentation is updated/added (if required)