Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
WIP: Enable adding strongly typed format view defintion with Update-FormatData #14286
Conversation
|
@anmenaga Hi Andrew, can you help me get a review of the work so far, so I know if this is up to par? Thanks! |
|
Overall this looks up to par to me. Couple of notes:
PS. Thank you for picking up this work. |
PR Summary
Closes #7845
The
Update-TypeDatacommand offers flexibility to load type data at runtime not only through loading files, but also through providing strongly typed type data. This Pull Request aims to bring that same kind of functionality toUpdate-FormatData.PR Context
I wanted to format objects in PowerShell, but found out that can only be done reliably through providing a .ps1xml file.
There is no easier way. I wrote about that here: https://joskw.gitbook.io/blog/object_formatting
And I found this issue #7845, which describes the problem.
PR Checklist
.h,.cpp,.cs,.ps1and.psm1files have the correct copyright headerWIP:or[ WIP ]to the beginning of the title (theWIPbot will keep its status check atPendingwhile the prefix is present) and remove the prefix when the PR is ready.