Skip to content
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

(#376) [Show-Karma] Enable -Contemplate with -Topic #377

Merged
merged 5 commits into from
Mar 10, 2020

Conversation

vexx32
Copy link
Owner

@vexx32 vexx32 commented Mar 10, 2020

PR Summary

Enables use of -Contemplate with -Topic for Show-Karma

Context

Resolves #376

Changes

  • Added -Topic as an optional parameter to the OpenFile parameter set.
  • Amended branching logic to ensure that cached topic information is only used if it matches the selected topic, if a topic is selected.
  • Added test to ensure the correct topic path is passed when a topic is selected.
  • Amended documentation to clarify that this parameter combination is supported.

Checklist

  • Pull Request has a meaningful title.
  • Summarised changes.
  • Pull Request is ready to merge & is not WIP.
  • Added tests / only testable interactively.
    • Make sure you add a new test if old tests do not effectively test the code changed.
  • Added documentation / opened issue to track adding documentation at a later date.

@vexx32 vexx32 added PR-Needs-Review 🔍 Let's take a closer look! Category-Module Pertaining to the module's functionality itself. labels Mar 10, 2020
Wildcards are supposed to be supported, so we should expect wildcards.
Required parameters should be shown first, and actually shown as required.
@vexx32 vexx32 merged commit 2fd7167 into master Mar 10, 2020
@vexx32 vexx32 deleted the Show-Karma/Topic/AllowContemplate branch March 10, 2020 02:21
@vexx32 vexx32 removed the PR-Needs-Review 🔍 Let's take a closer look! label Mar 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Category-Module Pertaining to the module's functionality itself.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Show-Karma -Topic $x -Detailed throws a parameter binding exception
1 participant