Pester icon indicating copy to clipboard operation
Pester copied to clipboard

Hide legacy-only parameters in Invoke-Pester

Open fflaten opened this issue 1 year ago • 0 comments

PR Summary

Hides parameters only used by legacy compatibility-set in Invoke-Pester from tab-completion, intellisense etc.

[!NOTE] DontShow can'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 Request to mark it as a draft. PR can be marked Ready for review when it's ready.
  • [ ] Tests are added/update (if required)
  • [ ] Documentation is updated/added (if required)

fflaten avatar May 07 '24 21:05 fflaten