Skip to content

Conversation

@fflaten
Copy link
Collaborator

@fflaten fflaten commented May 7, 2024

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

  • PR has meaningful title
  • Summary describes changes
  • 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 fflaten added this to the 6.0.0 milestone May 7, 2024
@nohwnd nohwnd changed the base branch from dev/6.x.x to main May 17, 2024 19:51
@nohwnd nohwnd merged commit dd43ae2 into pester:main May 17, 2024
@fflaten fflaten deleted the invokepester-hidelegacy branch May 17, 2024 20:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Legacy parameters should be hidden when the user tab cycles parameters

2 participants