itfranck / simplemenu Goto Github PK
View Code? Open in Web Editor NEWPowershell module to create simple elegant menu.
Powershell module to create simple elegant menu.
Currently, menu default messages are not customizable and english only.
I'd see a searchbox console control in the board.
$Menu = New-SMMenu -Title 'Computer infos' -Items @(
'Computer Informations' | New-SMMenuItem -Action { Get-ComputerInfo; pause; }
'Exit' | New-SMMenuItem -Quit -Key Q
)
Invoke-SMMenu $Menu
It would be great to allow an item to be present but disabled in the menu.
Handling for up arrow needed.
Error shows up if up arrow pressed in a detailed SMMenuItem result
Produce a few examples so people can have a look of several uses cases.
Set language outside of invoke-SMMenu
A menu that items can be navigated through arrow with current item selection.
It could be nice to have the smboard displays headers such as
Board 1 | Board2 | [Board 3] | Board 4 | etc...
where Board 3 being the selection would have inverted colors.
This would allows greater visibility on the overall board.
I.E. : Crypto overview | Favorites Cryptos | Gains | Losses
instead of <- Gains ->
If only one defined page, create additional pages based on output and possibly redo headers.
Height (number of lines) need to be calculated and objects might need to be broken down to get the headers on page 2+.
It should be optional through a switch (-autosize) ... or possibly the other way around -nopaging
Currently, SMMenu is unaware if it's in SMBoard but I was thinking it should inherit the SMBoard navigation (if available)
SMMenu should be able to make uses of a board to display results if needed
A managed way to display additional informations that can be navigated using customizable controls.
This is so it allows adding items on the fly / from a loop before invoking the menu / Board
Invoke should include functions from the script. I need to check how to make sure they are added without additional efforts for the user.
When the menu contains more than 10 elements without assigned keys, items will be numbered with 10 - 11 - 12 , etc... and be unusable through Readkey which returns as soon as the first key is pressed.
I need to check and ensure Unicode is used in the console to allow menu to display items properly and board arrows.
Ability to change default navigation keys.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.