Commit | Line | Data |
4536f655 |
1 | |
2 | Stem::Console Design Notes |
3 | |
4 | The Stem::Console is a class Cell which provides a simple command line |
5 | interface to a Stem Hub. It parses lines typed into stdin and creates |
6 | and dispatches command type Stem Messages from them. It also can accept |
7 | and print response messages sent back by the command method in the |
8 | addressed Cell. |
9 | |
10 | This class Cell is registered under its class name and with the |
11 | nicknames console, cons, and tty. It takes no configure arguments and |
12 | it just creates an Stem::AsyncIO object to handle the console I/O. |
13 | |
14 | When you see the Stem> prompt, you can enter 'help' to see how to enter |
15 | messages and commands. |