Skip to content

🩹 [Patch]: Update argument completer to support Get-Font - #36

Merged
Marius Storhaug (MariusStorhaug) merged 6 commits into
mainfrom
RegArgCom
Feb 14, 2025
Merged

🩹 [Patch]: Update argument completer to support Get-Font#36
Marius Storhaug (MariusStorhaug) merged 6 commits into
mainfrom
RegArgCom

Conversation

@MariusStorhaug

@MariusStorhaug Marius Storhaug (MariusStorhaug) commented Feb 13, 2025

Copy link
Copy Markdown
Member

Description

This pull request includes changes to the PowerShell scripts for font management. The most important changes involve the consolidation of argument completers and the removal of redundant code.

Consolidation of argument completers:

  • src/functions/completers.ps1: Added a new argument completer for the Uninstall-Font and Get-Font commands to handle the Name parameter. This script block checks the Scope parameter and filters font names based on the user's input.

Removal of redundant code:

  • src/functions/public/Uninstall-Font.ps1: Removed the previously defined argument completer for the Uninstall-Font command, as it has been consolidated into the new script block in completers.ps1.

Type of change

  • 📖 [Docs]
  • 🪲 [Fix]
  • 🩹 [Patch]
  • ⚠️ [Security fix]
  • 🚀 [Feature]
  • 🌟 [Breaking change]

Checklist

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas

@github-actions

Copy link
Copy Markdown

Module Fonts - v1.1.14 published to the PowerShell Gallery.

@github-actions

Copy link
Copy Markdown

GitHub release for Fonts v1.1.14 has been created.

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.

1 participant