gly is a PowerShell module for customizable visual formatting of file system objects:
System.IO.FileInfoSystem.IO.DirectoryInfo
It improves interactive output for Get-ChildItem, Get-Item, and user commands that return PowerShell file system objects while preserving the object model and pipeline compatibility.
Documentation · Contributing · Security · Support
gly currently provides the MVP implementation described in the current user and developer documentation.
The module:
- targets PowerShell
7.0+; - activates automatically on
Import-Module; - customizes the standard table view only in the
Namecolumn; - adds glyphs and optional color to file and directory names;
- provides session-only configuration;
- supports built-in and user-registered themes;
- supports built-in and user-registered glyph sets;
- stores configuration, themes, glyph sets, rules, selectors, and styles in strongly typed models;
- recognizes well-known project files and directories plus common development, document, archive, and media extensions;
- includes
Show-Gly,Show-GlyTree, andShow-GlyGridrenderer commands.
Windows PowerShell 5.1 is not supported by the MVP.
Install the module from PowerShell Gallery:
Install-Module -Name gly -Repository PSGallery -Scope CurrentUser
Import-Module glyAfter import, standard PowerShell file system output uses the custom view:
Get-ChildItem .
Get-Item .Use renderer commands for explicit interactive layouts:
Show-Gly -Path .
Show-GlyTree -Path . -Depth 2
Show-GlyGrid -Path .Short aliases are available:
gly .
glytr . -Depth 2
glygr .Preview registered theme colors, glyphs, or their combined appearance for every matcher. Color and glyph previews use mock file and directory names so each rule is easy to recognize:
Show-GlyThemeColor DefaultDark
Show-GlyGlyph Unicode
Show-GlyThemePreview -Theme DefaultDark -GlyphSet UnicodeUse -All to preview every currently registered theme or glyph set:
Show-GlyThemeColor -All
Show-GlyGlyph -AllConfiguration is kept only in the current PowerShell session:
Get-GlyConfigurationCommon settings:
Set-GlyConfiguration -ShowColors $false
Set-GlyConfiguration -ShowGlyphs $false
Set-GlyConfiguration -SizeFormat Binary
Set-GlyConfiguration -DateFormat Iso
Set-GlyTheme DefaultLight
Set-GlyGlyphSet UnicodeDisable-Gly disables colors and glyphs through module configuration. PowerShell format data is session-wide, so the custom view can remain loaded until the session ends.
- Wiki index
- Installation
- Quick start
- Configuration
- Themes
- Glyph sets
- Renderer commands
- API reference
- Limitations
- Troubleshooting
Run the PowerShell test suite:
npm testThis produces JUnit XML, CTRF JSON, and HTML test reports under artifacts/tests/local. Run npm run test:coverage to also produce Cobertura coverage data.
Build the VitePress documentation site:
npm ci
npm run docs:buildRun repeatable startup and rendering benchmarks:
npm run bench
npm run bench:startup
npm run bench:renderingThe combined command runs the independent startup and rendering suites concurrently.
Contributions are welcome. Read the contribution guidelines before opening an issue or pull request. For usage questions, start a GitHub Discussion. Please report security vulnerabilities privately as described in the security policy.
MIT. See LICENSE.
