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

Show-Object cmdlet #178

Closed
kilasuit opened this issue Jan 2, 2023 · 5 comments
Closed

Show-Object cmdlet #178

kilasuit opened this issue Jan 2, 2023 · 5 comments

Comments

@kilasuit
Copy link

kilasuit commented Jan 2, 2023

Summary of the new feature / enhancement

As a user in the terminal I may have a variable that has lots of nested properties, therefore it would be good to get a UI similarly to what is available with the Show-Ast command in the ShowPSAst module written by @lzybkr as to be much more easily dig into it

Even if this is to begin with a Windows only thing, it would be a great help going forward for interactive troubleshooting of scripts / interactive workloads

Proposed technical implementation details (optional)

a cmdlet that pops out a GUI that allows you to drill into the depths of a variable

This could be released as a module and not built in if easier overall, but having it would be a good step

@iSazonov
Copy link

iSazonov commented Jan 2, 2023

https://github.com/PowerShell/GraphicalTools is for GUI/CGI cmdlets.

GitHub
Modules that mix PowerShell and GUIs/CUIs! - built on Avalonia and gui.cs - GitHub - PowerShell/GraphicalTools: Modules that mix PowerShell and GUIs/CUIs! - built on Avalonia and gui.cs

@SteveL-MSFT SteveL-MSFT transferred this issue from PowerShell/PowerShell Jan 4, 2023
@SteveL-MSFT
Copy link
Member

I think a Show-Object cmdlet would make more sense for the noun. Terminal.GUI is supposed to have a new tree control that can be used.

@kilasuit kilasuit changed the title Show-Variable cmdlet Show-Object cmdlet Jan 4, 2023
@tig
Copy link
Collaborator

tig commented Jan 5, 2023

I think a Show-Object cmdlet would make more sense for the noun. Terminal.GUI is supposed to have a new tree control that can be used.

Tee-hee. FYI, @tznind is a top-contributor to Terminal.Gui and the author of Terminal.Gui's Treeview control. He's also the author of Terminal.Gui's Table control which I am using for a rewrite of Out-ConsoleGridView.

@lzybkr
Copy link
Member

lzybkr commented Jan 5, 2023

Just a FYI - Show-Ast is based off of the Show-Object script in Windows PowerShell Cookbook, 3rd Edition by Lee Holmes.

@tig tig added the OCGV label Jul 18, 2023
@SteveL-MSFT SteveL-MSFT added this to the Consider-1.0.0 milestone Jul 26, 2023
@tig
Copy link
Collaborator

tig commented Nov 6, 2023

I do believe this is closed by #179

@tig tig closed this as completed Nov 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants