• Stars
    star
    234
  • Rank 171,630 (Top 4 %)
  • Language
    PowerShell
  • License
    MIT License
  • Created over 8 years ago
  • Updated 9 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Simple powershell menu to render interactive console menu

PS-Menu

Simple module to generate interactive console menus (like yeoman)

Examples:

menu @("option 1", "option 2", "option 3")

Example

More useful example:

Example

Installation

You can install it from the PowerShellGallery using PowerShellGet

Install-Module PS-Menu

Features

  • Returns value of selected menu item
  • Returns index of selected menu item (using -ReturnIndex switch)
  • Navigation with up/down arrows
  • Navigation with j/k (vim style)
  • Esc key quits the menu (null value returned)

Contributing

  • Source hosted at [GitHub][repo]
  • Report issues/questions/feature requests on [GitHub Issues][issues]

Pull requests are very welcome!