PWRSWriteColorEX.psd1
|
@{ RootModule = 'PWRSWriteColorEX.psm1' ModuleVersion = '1.2.1' CompatiblePSEditions = @('Desktop', 'Core') GUID = '30f9a602-c8c3-49ba-b270-b9ca4f2a2815' Author = 'Mark Newton' CompanyName = 'Variably Constant' Copyright = '(c) 2026 Mark Newton' Description = 'Colored and styled console output for PowerShell: TrueColor, ANSI 256 and 16 colors, gradients, markup, highlighting, links, text styles, style profiles, padding and wrapping that count wide characters, and logging to a file. The commands, parameters, aliases and output of PSWriteColorEX (https://github.com/MarkusMcNugen/PSWriteColorEX), so a script written for it runs unchanged. Bound directly to Rust with PoWerRuSt (pwrs), Rust bindings for writing PowerShell binary modules in the spirit of PyO3: the cmdlets are the library, not a wrapper over a command line. Windows x64 and arm64, Linux x64 and arm64 (glibc 2.35 and newer), macOS arm64 and x64, and FreeBSD x64 in one module, on PowerShell 7.4 or later and, on Windows, Windows PowerShell 5.1. Source and issues at https://github.com/Variably-Constant/PWRSWriteColorEX; the binding framework at https://github.com/Variably-Constant/PWRS and https://crates.io/crates/PoWerRuSt.' PowerShellVersion = '5.1' FunctionsToExport = @() CmdletsToExport = @('Write-ColorEX', 'Write-ColorError', 'Write-ColorWarning', 'Write-ColorInfo', 'Write-ColorSuccess', 'Write-ColorCritical', 'Write-ColorDebug', 'Set-ColorDefault', 'Get-ColorProfiles', 'New-ColorStyle', 'Test-AnsiSupport', 'Convert-HexToRGB', 'Convert-RGBToANSI8', 'Convert-RGBToANSI4', 'Get-ColorTableWithRGB', 'Measure-DisplayWidth', 'Get-LighterRGBColor', 'Get-LighterColorName', 'Get-LighterANSI8Color', 'Format-ColorEX', 'Show-ColorTable', 'Register-ColorName', 'Unregister-ColorName', 'Export-ColorProfile', 'Import-ColorProfile', 'Remove-ColorProfile', 'Get-GradientColor', 'Get-ColorContrast') VariablesToExport = @() AliasesToExport = @('Write-ColourEX', 'Write-Color', 'Write-Colour', 'WC', 'WCEX', 'wcolor', 'wcolour', 'WCE', 'Write-ErrorColor', 'Write-ErrorColour', 'Write-ColourError', 'WError', 'wcerror', 'WCW', 'Write-WarningColor', 'Write-WarningColour', 'Write-ColourWarning', 'WWarning', 'WCWarn', 'wcwarning', 'WCI', 'Write-InfoColor', 'Write-InfoColour', 'Write-ColourInfo', 'WInfo', 'wcinfo', 'WCS', 'Write-SuccessColor', 'Write-SuccessColour', 'Write-ColourSuccess', 'WSuccess', 'wcok', 'wcsuccess', 'WCC', 'Write-CriticalColor', 'Write-CriticalColour', 'Write-ColourCritical', 'WCritical', 'wccritical', 'WCD', 'Write-DebugColor', 'Write-DebugColour', 'Write-ColourDebug', 'WDebug', 'wcdebug', 'SCD', 'Set-ColourDefault', 'Set-DefaultColor', 'Set-DefaultColour', 'GCP', 'Get-ColourProfiles', 'Get-Profiles', 'gcprofiles', 'NCS', 'New-ColourStyle', 'New-Style', 'ncstyle', 'TAS', 'Test-ANSI', 'CHR', 'Hex2RGB', 'CRA8', 'RGB2ANSI8', 'CRA4', 'RGB2ANSI4', 'GCT', 'Get-ColorTable', 'Get-ColourTable', 'MDW', 'Get-DisplayWidth', 'Lighten-RGBColor', 'Lighten-ColorName', 'LA8', 'Lighten-ANSI8', 'Lighten-ANSI8Color', 'Format-ColourEX', 'FCEX', 'Show-ColourTable', 'Register-ColourName', 'Unregister-ColourName', 'Export-ColourProfile', 'Import-ColourProfile', 'Remove-ColourProfile', 'Get-GradientColour', 'Get-ColourContrast') PrivateData = @{ PSData = @{ Tags = @('pwrs', 'powershell', 'color', 'ansi', 'truecolor', 'console', 'cmdlet'); LicenseUri = 'https://github.com/Variably-Constant/PWRSWriteColorEX/blob/main/LICENSE'; ProjectUri = 'https://github.com/Variably-Constant/PWRSWriteColorEX'; ReleaseNotes = 'The commands, parameters and output of PSWriteColorEX 1.2.1: twenty-one named gradients; gradients in eight color spaces with hue paths, placed stops, easing, bands, repeats and directions, and Get-GradientColor; -ColorSupport on Write-ColorEX and Format-ColorEX, in place of the color detection; Test-AnsiSupport''s SupportsUnicode, with WRITECOLOREX_UNICODE to set it; Get-ColorContrast; Import-ColorProfile -Theme with twelve color themes, PowerShell''s own colors and the CSS color names; Show-ColorTable -Styles, -Palette and -Profiles; the about_PWRSWriteColorEX cheat sheet; 256 colors written as the code that looks nearest; every gradient stop drawn; -Style refusing what PSWriteColorEX refuses; and an import keeping the style profiles added since, as PSWriteColorEX''s does. Each write to the host goes through PWRS''s Pipeline::write_host, one call into .NET. The full list is in CHANGELOG.md: https://github.com/Variably-Constant/PWRSWriteColorEX/blob/main/CHANGELOG.md' } } } |