Skip to content

Commit f40b353

Browse files
committed
✨ [feat] Enhances ColorScripts with new features
Improves the ColorScripts-Enhanced module with several enhancements: - ✨ Adds a `Show-ColorScriptHelp` function to display colorized help output for commands, improving user experience by providing more readable help information. - Uses Write-Host with different `ForegroundColor` values to highlight sections, parameter names, example commands, and parameter metadata. - 🛠️ Implements `ShouldProcess` support in configuration cmdlets (`Set-ColorScriptConfiguration`, `Reset-ColorScriptConfiguration`, `New-ColorScript`) to provide confirmation prompts before applying changes. - ➕ Adds `help` alias to all functions - ⚡ Improves ColorScript categorization by adding category tags to all scripts, enhancing discoverability and organization. - Ensures every script has at least one `Category:*` tag, and verifies `city-neon` specifically has the `Category:Artistic` tag. - 📝 Updates the module manifest (`ColorScripts-Enhanced.psd1`) to reflect the latest version and enhancements. - Updates `ModuleVersion` and `ReleaseNotes` to reflect new features and improvements. - 🧪 Adds tests to verify the new categorization functionality and ensure that scripts are correctly tagged. - 🧹 Removes unused `inst_H`, `inst_P`, and `inst_U` methods from `Convert-AnsiToColorScript.js`. Signed-off-by: Nick2bad4u <20943337+Nick2bad4u@users.noreply.github.com>
1 parent 4df7555 commit f40b353

4 files changed

Lines changed: 124 additions & 54 deletions

File tree

ColorScripts-Enhanced/ColorScripts-Enhanced.psd1

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -8,28 +8,28 @@
88

99
@{
1010
# Script module or binary module file associated with this manifest.
11-
RootModule = 'ColorScripts-Enhanced.psm1'
11+
RootModule = 'ColorScripts-Enhanced.psm1'
1212

1313
# Version number of this module.
14-
ModuleVersion = '2025.10.15.0137'
14+
ModuleVersion = '2025.10.15.0349'
1515

1616
# Supported PSEditions
17-
CompatiblePSEditions = @('Desktop', 'Core')
17+
CompatiblePSEditions = @('Desktop', 'Core')
1818

1919
# ID used to uniquely identify this module
20-
GUID = 'f77548d7-23eb-48ce-a6e0-f64b4758d995'
20+
GUID = 'f77548d7-23eb-48ce-a6e0-f64b4758d995'
2121

2222
# Author of this module
23-
Author = 'Nick2bad4u'
23+
Author = 'Nick2bad4u'
2424

2525
# Company or vendor of this module
26-
CompanyName = 'Community'
26+
CompanyName = 'Community'
2727

2828
# Copyright statement for this module
29-
Copyright = '(c) 2025. All rights reserved.'
29+
Copyright = '(c) 2025. All rights reserved.'
3030

3131
# Description of the functionality provided by this module
32-
Description = @'
32+
Description = @'
3333
Enhanced PowerShell ColorScripts with high-performance caching system. Display beautiful ANSI art in your terminal with 6-19x faster load times.
3434
3535
Features:
@@ -48,7 +48,7 @@ Full documentation: https://github.com/Nick2bad4u/ps-color-scripts-enhanced
4848
'@
4949

5050
# Minimum version of the PowerShell engine required by this module
51-
PowerShellVersion = '5.1'
51+
PowerShellVersion = '5.1'
5252

5353
# Name of the PowerShell host required by this module
5454
# PowerShellHostName = ''
@@ -84,7 +84,7 @@ Full documentation: https://github.com/Nick2bad4u/ps-color-scripts-enhanced
8484
# NestedModules = @()
8585

8686
# Functions to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no functions to export.
87-
FunctionsToExport = @(
87+
FunctionsToExport = @(
8888
'Show-ColorScript'
8989
'Get-ColorScriptList'
9090
'Build-ColorScriptCache'
@@ -98,13 +98,13 @@ Full documentation: https://github.com/Nick2bad4u/ps-color-scripts-enhanced
9898
)
9999

100100
# Cmdlets to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no cmdlets to export.
101-
CmdletsToExport = @()
101+
CmdletsToExport = @()
102102

103103
# Variables to export from this module
104-
VariablesToExport = @()
104+
VariablesToExport = @()
105105

106106
# Aliases to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no aliases to export.
107-
AliasesToExport = @('scs')
107+
AliasesToExport = @('scs')
108108

109109
# DSC resources to export from this module
110110
# DscResourcesToExport = @()
@@ -113,7 +113,7 @@ Full documentation: https://github.com/Nick2bad4u/ps-color-scripts-enhanced
113113
# ModuleList = @()
114114

115115
# List of all files packaged with this module
116-
FileList = @(
116+
FileList = @(
117117
'ColorScripts-Enhanced.psm1'
118118
'ColorScripts-Enhanced.psd1'
119119
'README.md'
@@ -123,10 +123,10 @@ Full documentation: https://github.com/Nick2bad4u/ps-color-scripts-enhanced
123123
)
124124

125125
# Private data to pass to the module specified in RootModule/ModuleToProcess. This may also contain a PSData hashtable with additional module metadata used by PowerShell.
126-
PrivateData = @{
126+
PrivateData = @{
127127
PSData = @{
128128
# Tags applied to this module. These help with module discovery in online galleries.
129-
Tags = @(
129+
Tags = @(
130130
'ColorScripts'
131131
'ANSI'
132132
'Terminal'
@@ -159,20 +159,20 @@ Full documentation: https://github.com/Nick2bad4u/ps-color-scripts-enhanced
159159
)
160160

161161
# A URL to the license for this module.
162-
LicenseUri = 'https://licenses.nuget.org/MIT'
162+
LicenseUri = 'https://licenses.nuget.org/MIT'
163163

164164
# License expression or path to license file
165-
License = 'MIT'
165+
License = 'MIT'
166166

167167
# A URL to the main website for this project.
168-
ProjectUri = 'https://github.com/Nick2bad4u/ps-color-scripts-enhanced'
168+
ProjectUri = 'https://github.com/Nick2bad4u/ps-color-scripts-enhanced'
169169

170170
# A URL to an icon representing this module.
171-
IconUri = 'https://raw.githubusercontent.com/Nick2bad4u/ps-color-scripts-enhanced/main/docs/colorscripts-icon.png'
171+
IconUri = 'https://raw.githubusercontent.com/Nick2bad4u/ps-color-scripts-enhanced/main/docs/colorscripts-icon.png'
172172

173173
# ReleaseNotes of this module
174-
ReleaseNotes = @'
175-
Version 2025.10.15.0137:
174+
ReleaseNotes = @'
175+
Version 2025.10.15.0349:
176176
- Enhanced caching system with OS-wide cache in AppData
177177
- 6-19x performance improvement
178178
- Cache stored in centralized location
@@ -196,7 +196,7 @@ Version 2025.10.15.0137:
196196
}
197197

198198
# HelpInfo URI of this module
199-
HelpInfoURI = 'https://github.com/Nick2bad4u/ps-color-scripts-enhanced/blob/main/README.md'
199+
HelpInfoURI = 'https://github.com/Nick2bad4u/ps-color-scripts-enhanced/blob/main/README.md'
200200

201201
# Default prefix for commands exported from this module. Override the default prefix using Import-Module -Prefix.
202202
# DefaultCommandPrefix = ''

0 commit comments

Comments
 (0)