PowerShell / TextUtility

Microsoft.PowerShell.TextUtility module
MIT License
64 stars 18 forks source link

Add ConvertFrom-TextList #35

Open ThomasNieto opened 1 year ago

ThomasNieto commented 1 year ago

Summary of the new feature / enhancement

As a user I want to be able to easily parse text lists into PowerShell objects.

Here is an example from apt-cache.

Package: powershell
Version: 7.2.5-1.deb
Architecture: amd64
Section: shells
Priority: extra
Installed-Size: 186998
Maintainer: PowerShell Team <PowerShellTeam@hotmail.com>
Description: PowerShell is an automation and configuration management platform.
 It consists of a cross-platform command-line shell and associated scripting language.
Description-md5: 6ee533ea0564ca22e8caa699e30ba649
Homepage: https://microsoft.com/powershell
Depends: libc6, libgcc1, libgssapi-krb5-2, libstdc++6, zlib1g, libicu72|libicu71|libicu70|libicu69|libicu68|libicu67|libicu66|libicu65|libicu63|libicu60|libicu57|libicu55|libicu52, libssl3|libssl1.1|libssl1.0.2|libssl1.0.0
Vendor: Microsoft Corporation
License: MIT License
SHA256: 9132d97fea77d5a8de56b5801b7579bdc1ce669dae084295ddae6b43cf5a3fdb
Size: 69382904
Filename: pool/main/p/powershell/powershell_7.2.5-1.deb_amd64.deb

Proposed technical implementation details (optional)

No response