Skip to content

Commit 061fcda

Browse files
committed
🧹 [chore] Bump version, update docs, and apply formatting
🔧 [build] Bumps the module version to `2025.10.26.1403`. - Updates the version in the module manifest (`.psd1`) file. - Aligns the version number in the release notes. 📝 [docs] Removes the empty `## ALIASES` section from all cmdlet help files for a cleaner, more consistent documentation experience. 🎨 [style] Applies minor code formatting in the `Show-ColorScript` function. - Adjusts brace style and line spacing for improved readability without changing logic. Signed-off-by: Nick2bad4u <20943337+Nick2bad4u@users.noreply.github.com>
1 parent 4c31328 commit 061fcda

12 files changed

Lines changed: 6 additions & 25 deletions

ColorScripts-Enhanced/ColorScripts-Enhanced.psd1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
RootModule = 'ColorScripts-Enhanced.psm1'
1212

1313
# Version number of this module.
14-
ModuleVersion = '2025.10.26.0233'
14+
ModuleVersion = '2025.10.26.1403'
1515

1616
# Supported PSEditions
1717
CompatiblePSEditions = @('Desktop', 'Core')
@@ -172,7 +172,7 @@ Full documentation: https://github.com/Nick2bad4u/ps-color-scripts-enhanced
172172

173173
# ReleaseNotes of this module
174174
ReleaseNotes = @'
175-
Version 2025.10.26.0233:
175+
Version 2025.10.26.1403:
176176
- Enhanced caching system with OS-wide cache in AppData
177177
- 6-19x performance improvement
178178
- Cache stored in centralized location

ColorScripts-Enhanced/ColorScripts-Enhanced.psm1

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1943,9 +1943,10 @@ function Show-ColorScript {
19431943
Write-Host "Displaying continuously (Ctrl+C to stop)`n" -ForegroundColor Yellow
19441944
}
19451945

1946-
foreach ($script in $sortedScripts)
1947-
{
1948-
$currentIndex++ # Clear screen and show progress
1946+
foreach ($script in $sortedScripts) {
1947+
$currentIndex++
1948+
1949+
# Clear screen and show progress
19491950
Clear-Host
19501951
Write-Host "[$currentIndex/$totalCount] " -NoNewline -ForegroundColor Green
19511952
Write-Host $script.Name -ForegroundColor Cyan

ColorScripts-Enhanced/en-US/Add-ColorScriptProfile.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,6 @@ Add-ColorScriptProfile [[-Scope] <string>] [[-Path] <string>] [-SkipStartupScrip
3636
[-WhatIf] [-Confirm] [<CommonParameters>]
3737
```
3838

39-
## ALIASES
40-
4139
## DESCRIPTION
4240

4341
Adds a startup snippet to the specified PowerShell profile file. The snippet always imports the ColorScripts-Enhanced module and, unless suppressed, adds a call to `Show-ColorScript` so that a random colorscript is displayed on launch. The profile file is created if it does not already exist, and duplicate imports are avoided unless `-Force` is specified.

ColorScripts-Enhanced/en-US/Build-ColorScriptCache.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,6 @@ Build-ColorScriptCache [[-Name] <string[]>] [[-Category] <string[]>] [[-Tag] <st
4040
[-Force] [-PassThru] [-WhatIf] [-Confirm] [<CommonParameters>]
4141
```
4242

43-
## ALIASES
44-
4543
## DESCRIPTION
4644

4745
`Build-ColorScriptCache` executes colorscripts in a background PowerShell instance and saves the rendered output using UTF-8 (without BOM). Cached content dramatically speeds up subsequent calls to `Show-ColorScript`. You can target specific scripts by name (wildcards supported) or allow the cmdlet to cache the entire collection (the default behavior, equivalent to specifying `-All`).

ColorScripts-Enhanced/en-US/Clear-ColorScriptCache.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,6 @@ Clear-ColorScriptCache [[-Name] <string[]>] [[-Path] <string>] [[-Category] <str
3535
[[-Tag] <string[]>] [-All] [-DryRun] [-WhatIf] [-Confirm] [<CommonParameters>]
3636
```
3737

38-
## ALIASES
39-
4038
## DESCRIPTION
4139

4240
`Clear-ColorScriptCache` deletes cached output either selectively (`-Name`) or wholesale (`-All`). Wildcard patterns are supported and unmatched names report a `Missing` status in the results. Use `-DryRun` to preview the actions without touching the filesystem, or `-Path` to target an alternate cache directory (useful for CI or custom cache roots).

ColorScripts-Enhanced/en-US/Export-ColorScriptMetadata.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,6 @@ Export-ColorScriptMetadata [[-Path] <string>] [-IncludeFileInfo] [-IncludeCacheI
2929
[<CommonParameters>]
3030
```
3131

32-
## ALIASES
33-
3432
## DESCRIPTION
3533

3634
`Export-ColorScriptMetadata` gathers the module's catalog of colorscripts and returns an ordered data set describing each entry. Optional switches enrich the output with file metadata (size, timestamps, and full paths) and cache information (cache location, existence flag, and last write time). When `-Path` is supplied the metadata is written as pretty-printed JSON; otherwise the cmdlet produces objects on the pipeline.

ColorScripts-Enhanced/en-US/Get-ColorScriptConfiguration.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@ Get-ColorScriptConfiguration [<CommonParameters>]
2727
Get-ColorScriptConfiguration [<CommonParameters>]
2828
```
2929

30-
## ALIASES
31-
3230
## DESCRIPTION
3331

3432
`Get-ColorScriptConfiguration` retrieves the effective module configuration, including the cache location and startup behaviour flags. The configuration is assembled from built-in defaults and any persisted overrides stored in the configuration file (typically `%APPDATA%\ColorScripts-Enhanced\config.json`).

ColorScripts-Enhanced/en-US/Get-ColorScriptList.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,6 @@ Get-ColorScriptList [[-Name] <string[]>] [[-Category] <string[]>] [[-Tag] <strin
2929
[-Detailed] [<CommonParameters>]
3030
```
3131

32-
## ALIASES
33-
3432
## DESCRIPTION
3533

3634
`Get-ColorScriptList` surfaces the colorscripts packaged with the module. By default it renders a concise table, while `-AsObject` emits the underlying records for automation scenarios. You can filter the list by name (including wildcards), category, or tag metadata, and the optional `-Detailed` switch adds the tags and description columns to the formatted table.

ColorScripts-Enhanced/en-US/New-ColorScript.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,6 @@ New-ColorScript [-Name] <string> [[-OutputPath] <string>] [[-Category] <string>]
2929
[-Force] [-GenerateMetadataSnippet] [-WhatIf] [-Confirm] [<CommonParameters>]
3030
```
3131

32-
## ALIASES
33-
3432
## DESCRIPTION
3533

3634
`New-ColorScript` creates a UTF-8 colorscript skeleton containing an ANSI template and returns information about the generated file. By default the script is written into the module's `Scripts` directory, but `-OutputPath` can target any folder. Names must begin with an alphanumeric character and can include underscores or hyphens. Existing files are protected unless `-Force` is specified.

ColorScripts-Enhanced/en-US/Reset-ColorScriptConfiguration.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@ Reset-ColorScriptConfiguration [-PassThru] [-WhatIf] [-Confirm] [<CommonParamete
2727
Reset-ColorScriptConfiguration [-PassThru] [-WhatIf] [-Confirm] [<CommonParameters>]
2828
```
2929

30-
## ALIASES
31-
3230
## DESCRIPTION
3331

3432
`Reset-ColorScriptConfiguration` clears all persisted configuration overrides and restores the module defaults. The configuration file is rewritten, the cache path is reset to the platform default, and startup flags return to their original values. This cmdlet supports `-WhatIf` and `-Confirm` because the operation overwrites the configuration file.

0 commit comments

Comments
 (0)