Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ConvertFrom-TextTable dotnet tool search #40

Open
3 tasks done
ThomasNieto opened this issue Jul 28, 2023 · 1 comment
Open
3 tasks done

ConvertFrom-TextTable dotnet tool search #40

ThomasNieto opened this issue Jul 28, 2023 · 1 comment

Comments

@ThomasNieto
Copy link

ThomasNieto commented Jul 28, 2023

Prerequisites

  • Write a descriptive title.
  • Make sure you are able to repro it on the latest version
  • Search the existing issues.

Steps to reproduce

If you run ConvertFrom-TextTable on output from dotnet tool search it will not accurately pick up the headers.

Package ID                        Latest Version      Authors                        Downloads      Verified

powershell                        7.3.6               Microsoft                      4376572        x
microsoft.dotnet-interactive      1.0.431302          Microsoft                      32442284       x
altcover.global                   8.6.68              Steve Gilham                   209871
ib                                5.10.4              Roman Kuzmin                   33355
newbe.build.psake                 3.0.1               Newbe                          13994
codecov.tool                      1.13.0              admiringworm, mathphysics      461968
utf8clip                          1.0.0               utf8clip                       614
ezdbcodegen.cli                   7.0.0               Ricardo Vega Jr.               13368
microsoft.psrule.tool             2.9.0               Microsoft                      2447           x
dacpac.tool                       3.0.512             Gustavo Américo                16465

Expected behavior

Package_ID                   Latest_Version Authors                   Downloads      Verified
----------                   -------------- -------                   ---------      --------
powershell                   7.3.6          Microsoft                 4376572        x
microsoft.dotnet-interactive 1.0.431302     Microsoft                 32442284       x
altcover.global              8.6.68         Steve Gilham              209871
ib                           5.10.4         Roman Kuzmin              33355
newbe.build.psake            3.0.1          Newbe                     13994
codecov.tool                 1.13.0         admiringworm, mathphysics 461968
utf8clip                     1.0.0          utf8clip                  614
ezdbcodegen.cli              7.0.0          Ricardo Vega Jr.          13368
microsoft.psrule.tool        2.9.0          Microsoft                 2447           x
dacpac.tool                  3.0.512        Gustavo Américo           16465

Actual behavior

dotnet tool search powershell | ConvertFrom-TextTable

Package_ID________________________Latest_Version______Authors________________________Downloads______Verified
------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------
powershell                        7.3.6               Microsoft                      4376572        x
microsoft.dotnet-interactive      1.0.431302          Microsoft                      32442284       x
altcover.global                   8.6.68              Steve Gilham                   209871
ib                                5.10.4              Roman Kuzmin                   33355
newbe.build.psake                 3.0.1               Newbe                          13994
codecov.tool                      1.13.0              admiringworm, mathphysics      461968
utf8clip                          1.0.0               utf8clip                       614
ezdbcodegen.cli                   7.0.0               Ricardo Vega Jr.               13368
microsoft.psrule.tool             2.9.0               Microsoft                      2447           x
dacpac.tool                       3.0.512             Gustavo Américo                16465


### Error details

_No response_

### Environment data

```PowerShell
7.4-preview4

Version

0.5.0

Visuals

No response

@ThomasNieto
Copy link
Author

If you remove the solid header line it works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant