Commit ba15ac52 authored by Dustin L. Howett's avatar Dustin L. Howett

[Get-ColoredContent] Add Get-ColoredContent, a pygmentize wrapper

parent 744e67fe
Param (
[Parameter(Mandatory=$True, ValueFromPipeline=$True)]
Process {
ForEach($_ in $Path) {
Try {
$n = Get-Item $_ -ErrorAction Stop | Select -Expand FullName
& pygmentize.exe -f terminal16m -O style=$Style $n
} Catch {
Write-Error $_
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment