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.

Source Distribution

climenu-1.8.0.tar.gz (8.1 kB view details)

Uploaded Source

Built Distribution

climenu-1.8.0-py2.py3-none-any.whl (6.9 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file climenu-1.8.0.tar.gz.

File metadata

  • Download URL: climenu-1.8.0.tar.gz
  • Upload date:
  • Size: 8.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for climenu-1.8.0.tar.gz
Algorithm Hash digest
SHA256 f34720f0859c79c48edb55fc75b997a10650968877a561f350e8db22c80bf274
MD5 6690c48a35636ab4885d9a58254f5489
BLAKE2b-256 e2ada5e43ad579b9f74ccbb9f323a0f31e81fc6e30ed935256daafb09a8100f0

See more details on using hashes here.

File details

Details for the file climenu-1.8.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for climenu-1.8.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 9d6ff667e2dd006f570efecd3dabf09208dfbd971d52a280076e83cc44817988
MD5 86bb7b43c98307c8114b6ce5d6ef4712
BLAKE2b-256 036751daeb46f99122dba5337fc4cb5db7e133dc4f8dcd69d50e4b8c3459909c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page