so i am trying to display commands for a powershell script for self-use. i am using a txt file as the source of the list. the txt file is formatted as so;
command (* is input)| description
----------------------------------------------------
pack | opens folder pack
c * / cpp * | copies mingw command to compile
code | reveals source
copy * | copies input
Now; i have a function called that prints out this txt file and the function is this;
Function help{
Write-Host (get-content -path {file-path})
}
However, in the terminal, the output looks like this;
command (* is input)| description ---------------------------------------------------- pack | opens folder pack * / cpp * | copies mingw command to compile code
how can i fix this?