Right so I have been investigating the Terminal-Icons git repo because I have been wanting to make my own shell formatter [using powershell and csharp]. While most of it is completed,I noticed an interesting phrase in one of the files [https://github.com/devblackops/Terminal-Icons/blob/main/Terminal-Icons/Public/Format-TerminalIcons.ps1] :
List a directory. Terminal-Icons will be invoked automatically for display
Now, I do not quite understand how or what they are doing here[I am new to writing powershell code]. The main thing that I want to understand is how they are formatting the output of the Get-ChildItem cmdlet and how I could implement something like that.