Metadata-Version: 2.1
Name: micromenu
Version: 0.9.9
Summary: A minimalistic command line menu
Home-page: https://github.com/andli/micromenu
Author: Andreas Ehrlund
Author-email: a.ehrlund@gmail.com
License: UNKNOWN
Description: # micromenu
        
        ![CI and CD](https://github.com/andli/micromenu/workflows/CI%20and%20CD/badge.svg) [![codecov](https://codecov.io/gh/andli/micromenu/branch/master/graph/badge.svg)](https://codecov.io/gh/andli/micromenu) ![PyPI](https://img.shields.io/pypi/v/micromenu) ![PyPI - Downloads](https://img.shields.io/pypi/dm/micromenu)
        
        A minimalistic command line menu for Python, with a title and an optional message bar. Callable functions are attached to each menu item.
        
        ```terminal
        ╭─── test ───────────────────────────────────────────────╮
        │ this is a message                                      │
        ╞════════════════════════════════════════════════════════╡
        │ 1: item1                                               │
        │ 2: item2                                               │
        │ 0: Exit                                                │
        ╰────────────────────────────────────────────────────────╯
        Action number:
        ```
        
        ## Installation
        
        ```bash
        python3 -m pip install micromenu
        ```
        
        ## Example usage
        
        ```python
        import micromenu
        
        menu = micromenu.Menu("test", "this is a message")
        menu.add_function_item("item1", lambda x: print(x), {'x':"testparam"})
        menu.add_function_item("item2", lambda x: print(x), {'x':"testparam"}))
        menu.show()
        ```
        
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
Provides-Extra: dev
