A Python based toolkit for creating Command-Line Interface app

Quo

Quo is a Python based toolkit for writing Command-Line Interface(CLI) applications. Quo improves programmer’s productivity because it’s easy to use and supports auto completion which means less time will be spent debugging. Simple to code, easy to learn, and does not come with needless baggage

Quo requires Python 3.6 or later.

Installation

You can install quo via the Python Package Index (PyPI)

$ pip install -U quo

Example 1

import quo
quo.echo('Hello, World!')

Example 2

import quo
quo.flair(f'Hello, World!', foreground="red", bold=True)

Example 3

import quo
@quo.command()
@quo.option("--name", prompt="What is your name?:")
def hello(name):
quo.echo(f'Hello {name}!')
if __name__ == '__main__':
    hello()

Example 4

import quo
@quo.command()
@quo.option("--count", default=1, help="The number of times the feedback is printed.")
@quo.option("--name", prompt="What is your name",

 

 

 

To finish reading, please visit source site