Skip to content

fix(shim): Avoid unexpected output of list subcommand#5681

Merged
rashil2000 merged 2 commits intoScoopInstaller:developfrom
lewis-yeung:fix-shim-list
Oct 10, 2023
Merged

fix(shim): Avoid unexpected output of list subcommand#5681
rashil2000 merged 2 commits intoScoopInstaller:developfrom
lewis-yeung:fix-shim-list

Conversation

@lewis-yeung
Copy link
Copy Markdown
Contributor

Description

Related: #5568. See my comment.

The usage of scoop shim list should be more explicit: scoop shim list [<shim_name>/<regex_pattern>...], since regular expression matching is used in this case.

Motivation and Context

Closes #5568.

How Has This Been Tested?

Run:

scoop shim list scoo*

Output:

Name       Source   Alternatives IsGlobal IsHidden
----       ------   ------------ -------- --------
scoop-slim External              False    False
scoop      scoop                 False    False

Checklist:

  • I have read the Contributing Guide.
  • I have ensured that I am targeting the develop branch.
  • I have updated the documentation accordingly.
  • I have updated the tests accordingly.
  • I have added an entry in the CHANGELOG.

Comment thread libexec/scoop-shim.ps1 Outdated
Co-authored-by: Hsiao-nan Cheung <niheaven@gmail.com>
@rashil2000 rashil2000 merged commit 2847e0a into ScoopInstaller:develop Oct 10, 2023
@lewis-yeung lewis-yeung deleted the fix-shim-list branch October 10, 2023 14:26
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.

3 participants