Skip to main content

Command-line menu system

Project description

https://travis-ci.org/mtik00/pyclimenu.svg?branch=master https://coveralls.io/repos/github/mtik00/pyclimenu/badge.svg?branch=master https://img.shields.io/pypi/v/climenu.svg

climenu

This project is used to create simple command-line interfaces using text-based menus.

The interface loosely mimics click (the use of decorators to define the interface).

Documentation is hosted on ReadTheDocs; releases are hosted on pypi.


Example:

from __future__ import print_function
import climenu

@climenu.menu()
def build_release():
    '''Build release'''
    print("built the release")

@climenu.menu()
def build_package():
    '''Build the package'''
    print("built the package")

if __name__ == '__main__':
    climenu.run()

Project details


Download files

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

Files for climenu, version 1.8.0
Filename, size File type Python version Upload date Hashes
Filename, size climenu-1.8.0-py2.py3-none-any.whl (6.9 kB) File type Wheel Python version py2.py3 Upload date Hashes View hashes
Filename, size climenu-1.8.0.tar.gz (8.1 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page