Mercurial > python-cmd2
comparison docs/index.rst @ 332:49bea7cab179
doc refreshing refresh.bash
author | cat@eee |
---|---|
date | Fri, 12 Feb 2010 22:15:04 -0500 |
parents | 21584174d865 |
children | 70fead908abe |
comparison
equal
deleted
inserted
replaced
331:6306edc46a6e | 332:49bea7cab179 |
---|---|
18 | 18 |
19 2. Instantiate ``App`` and start the command loop:: | 19 2. Instantiate ``App`` and start the command loop:: |
20 | 20 |
21 app = App() | 21 app = App() |
22 app.cmdloop() | 22 app.cmdloop() |
23 | |
24 These docs will refer to ``App`` as your ``cmd2.Cmd`` | |
25 subclass, and ``app`` as an instance of ``App``. Of | |
26 course, in your program, you may name them whatever | |
27 you want. | |
23 | 28 |
24 Contents: | 29 Contents: |
25 | 30 |
26 .. toctree:: | 31 .. toctree:: |
27 :maxdepth: 2 | 32 :maxdepth: 2 |