botlib.cli

bot classes.

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

Bases: botlib.bot.Bot

Command Line Interface Bot.

>>> from bot.cli import CLI
>>> bot = CLI()
>>> print(bot)
dispatch(event)[source]
event()[source]
prompt()[source]

echo prompt to sys.stdout.

raw(txt)[source]

output txt to sys.stdout

register_fd(f)[source]

register an file or filedescriptor.

start()[source]
cc = ''
init(event)[source]
shutdown(event)[source]