Skip to content

StartAutomating/PSPrettifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

81 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PSPrettifier

PSPrettifier is an extensible prettifier for PowerShell.

You can make any script a little bit nicer by using PSPrettifier:

Install-Module PSPrettifier -Scope CurrentUser
Import-Module PSPrettifier
PSPrettify {
    "this script is a little more indented than it needs to be"
    if ($thereIsABlock) {
        "it should also be indented"
    }
}

Prettification is done using a series of Prettifier scripts.

You can list prettifiers using:

Get-Prettifier
Name Synopsis
HangLongAssignments.prettify.ps1.DisplayName Hangs long assignment statements.
IndentGroups.prettify.ps1.DisplayName Indents Groups

About

Prettify your PowerShell

Resources

License

Stars

Watchers

Forks

Packages

No packages published