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

Module from gallery/built locally does not work in pwsh 7.1 #132

Closed
yobyot opened this issue Dec 23, 2020 · 4 comments
Closed

Module from gallery/built locally does not work in pwsh 7.1 #132

yobyot opened this issue Dec 23, 2020 · 4 comments
Labels

Comments

@yobyot
Copy link

yobyot commented Dec 23, 2020

I am unable use either Microsoft.PowerShell.GraphicalTools and Microsoft.PowerShell.ConsoleGuiTools in macOS 11.1 with PowerShell 7.1.

Here are the releases from the modules I built locally:
modules

Importing the modules from the gallery or building them locally produces the same result, shown in the animated gif below.

pwsh

If I may make an (unsolicited) editorial comment, it seems like this module is an orphan. Does it have a future? Some of us in the PowerShell community use ogv as a "way of life." Without it, PowerShell isn't really cross-platform "enough," IMHO.

@TylerLeonhardt
Copy link
Member

@yobyot currently work on the Microsoft.PowerShell.GraphicalTools repo is haulted as we wait for MAUI. See this issue about that:

#101

Can you show us a gif of what you see when you use Microsoft.PowerShell.ConsoleGuiTools?

Keep in mind, the alias is ocgv not ogv (just want be clear about this)

@yobyot
Copy link
Author

yobyot commented Dec 24, 2020

I stand corrected. Out-GridView is dead; Out-ConsoleGridView still works in pwsh 7.1. But I really, really miss ogv.

2020-12-24_15-30-07 (1)

@TylerLeonhardt
Copy link
Member

The reason the alias is ocgv instead of ogv is because ogv came back in PowerShell 7. We did the xplat ogv before that happened (before we thought we could ever get original, Windows-only ogv working)

We didn't want ocgv on Windows to trample the ogv alias so we went with ocgv

You could do

Set-Alias ogv Out-ConsoleGridView
Set-Alias Out-GridView Out-ConsoleGridView

In your profile so that you can have that compatibility.

I think this issue, as a whole, is a duplicate of #101 which is the pinned issue on the issues page and is the "announcement" until MAUI is in a better state.

@RokeJulianLockhart
Copy link

RokeJulianLockhart commented Aug 23, 2022

Indeed, @TylerLeonhardt: I believe that this should be closed, as #100 (comment) was.

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

No branches or pull requests

5 participants