A simple framework for building interactive CLI menus in Python
Project description
CLIMenus
A simple and elegant framework for building interactive command-line menus in Python.
Features
- Easy-to-use menu creation
- Customizable options and actions
- Clean and intuitive interface
- Simple integration with existing projects
Installation
pip install climenus
Quick Start
from climenus import Menu
# Create a menu
menu = Menu("Main Menu")
# Add options
menu.add_option("Option 1", lambda: print("Option 1 selected"))
menu.add_option("Option 2", lambda: print("Option 2 selected"))
menu.add_option("Exit", lambda: exit())
# Display the menu
menu.run()
License
MIT License
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
climenus-0.1.0.tar.gz
(6.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters