mads.cli

bot classes.

class CLI(*args, **kwargs)[source]

Bases: mads.bots.Bot

Command Line Interface Bot.

>>> from mads.cli import CLI
>>> bot = CLI()
>>> print(bot)
cc = ''
dispatch(event)[source]
event()[source]
prompt(colors=False)[source]

echo prompt to sys.stdout.

raw(txt)[source]

output txt to sys.stdout

register_fd(f)[source]

register an file or filedescriptor.

start(*args, **kwargs)[source]