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

Show-Karma -Topic $x -Detailed throws a parameter binding exception #376

Closed
vexx32 opened this issue Mar 10, 2020 · 0 comments · Fixed by #377
Closed

Show-Karma -Topic $x -Detailed throws a parameter binding exception #376

vexx32 opened this issue Mar 10, 2020 · 0 comments · Fixed by #377
Labels
Category-Module Pertaining to the module's functionality itself. Issue-Discussion Let's talk about it!

Comments

@vexx32
Copy link
Owner

vexx32 commented Mar 10, 2020

Describe "Module Bug or Issue"

Show-Karma does not currently allow -Topic and -Contemplate parameters to be combined.

Context "The Problem"

PS> Show-Karma -Topic $someTopic -Detailed
Show-Karma: Parameter set cannot be resolved using the specified named parameters. One or
more parameters issued cannot be used together or an insufficient number of parameters were
provided.

Context "Expected Behavior"

It should open VS Code (or other configured editor) to the selected topic file.

Context "Additional Information"

Name    Version
----    -------
PSKoans 0.66.1
PSKoans 0.65.4

Name                           Value
----                           -----
PSVersion                      7.0.0
PSEdition                      Core
GitCommitId                    7.0.0
OS                             Microsoft Windows 10.0.18363
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0
@vexx32 vexx32 added Category-Module Pertaining to the module's functionality itself. Issue-Discussion Let's talk about it! labels Mar 10, 2020
vexx32 added a commit that referenced this issue Mar 10, 2020
* ✨ Enable -Contemplate with -Topic

* ✅ add test

* 📝 update docs

* 🔧 Correctly compare topic input

Wildcards are supposed to be supported, so we should expect wildcards.

* 📝 Adjust params order in documentation

Required parameters should be shown first, and actually shown as required.
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. Issue-Discussion Let's talk about it!
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant