Metadata-Version: 1.1
Name: pyclimenu
Version: 0.1.13
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
        =========
        
        This python module creates simple command line menus. Just define the callable and the label of each option and voila!
        Foreground, background color numbering and labels are adjustable.
        
        Install
        -------
        
        .. code:: bash
        
            $ pip install git+https://github.com/sp1thas/pyclimenu.git
        
        Demo
        ----
        
        .. code:: python
        
            >>> from pyclimenu.menu import Menu
            >>> def a():
            ...     print('''
            ...     Let's Rock!
            ...     ''')
            ...     return 1
            >>> mn = Menu()
            >>> mn.add_item(label='The easy way', callback=a, args=())
            >>> mn.add_item(label='to create', callback=a, kwargs={})
            >>> mn.add_item(label='command line menus', callback=a)
            >>> mn.set_colors(num_fg='cyan', num_bld=True, label_fg='blue', label_bld=True)
            >>> results = mn.run(header='pyclimenu')
            >>> results
            1
        
        
        .. image:: imgs/display.png
           :target: #
        
        Todo
        ----
        
Keywords: menu
Platform: UNKNOWN
