Metadata-Version: 1.1
Name: pyclimenu
Version: 0.1.1.5
Summary: The easy way to create command line menus
Home-page: https://github.com/sp1thas/pyclimenu
Author: Panagiotis Simakis
Author-email: simakis@autistici.org
License: UNKNOWN
Download-URL: https://github.com/sp1thas/pyclimenu/archive/master.zip
Description: pyclimenu
        =========
        
        The easy way to create command line menus
        
        Demo
        ----
        
        .. code:: python
        
            >>> from pyclimenu.pyclimenu import Menu
            >>> def first_func():
            ...     return 'first item'
            ... 
            >>> def second_func():
            ...     return 'second item'
            ...
            >>> import pyclimenu
            >>> items = [
            ...     {'label': 'First item',
            ...      'callback': first_func
            ...     },
            ...     {'label': 'Second item',
            ...      'callback': second_func,
            ...     }
            ... ]
            >>> menu = pyclimenu.Menu(items=items)
            >>> menu.display()
        
        Demo Output
        -----------
        
        .. code:: bash
        
             [0] First item
             [1] Second item
             [2] Exit
            Select option: > 
        
Keywords: menu
Platform: UNKNOWN
