cmd
cmd — Support for line-oriented command interpreters
Source code: Lib/cmd.py
The Cmd
class provides a simple framework for writing line-oriented command interpreters. These are often useful for test harnesses, administrative tools, and prototypes that will later be wrapped in a more sophisticated interface.