Skip to main content

A minimal Python command line menu

Project description

MinimalCommandLineMenu

A minimal python module for interactive command line menus.

A Menu has a name and menu items. A MenuItem has a name and a func, which bears functionality. A Menu can be prompted by calling prompt_menu and passing it as an argument. Prompting a menu will display the menu and execute a menu item dependent on user input. The menu items will be repeatedly prompted until the result of one of the menu funcs is falsey.

Written by John Kelliher

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page