skip to navigation
skip to content

lightcli 1.1

A lightweight terminal interaction library for Python

Lightcli is a Python 3 library module for lightweight terminal interaction.

Synopsis

import lightcli

choice = lightcli.choice_input([options=<options>], [prompt=<prompt>], [showopts={True|False}], [qopt={True|False}])
multiline = lightcli.long_input([prompt=<prompt>], [maxlines=<maxlines>], [maxlength=<maxlength>])
mylist = lightcli.list_input([prompt=<prompt>], [maxitems=<maxitems>], [maxlength=<maxlength>])
outputfile = lightcli.outfile_input([extension=<extension>])
 
File Type Py Version Uploaded on Size
lightcli-1.1.tar.gz (md5) Source 2017-07-01 3KB