plastikfan / TerminalBuddy

Utility module for Windows Terminal
MIT License
0 stars 0 forks source link

write-HostItemDecorator needs to use item-label #4

Closed plastikfan closed 4 years ago

plastikfan commented 4 years ago

Currently, write-HostItemDecorator accidentally assumes that its dealing with files (when it is supposed to be more generic than that). It uses the string 'filename' in teh call to Write-ThemedPairsInColour, when this label should be defined by the client as a PassThru property called ITEM-LABEL.

It also needs to use the Product on the invoke result and write that too. Message should not be a mandatry item.

branch: use-item-label