Mercurial > python-cmd2
comparison docs/freefeatures.rst @ 315:a08c50b7d3d3
doc skeleton
author | cat@eee |
---|---|
date | Wed, 10 Feb 2010 18:02:55 -0500 |
parents | 0687bb650118 |
children | 21584174d865 |
comparison
equal
deleted
inserted
replaced
314:0687bb650118 | 315:a08c50b7d3d3 |
---|---|
2 Features requiring no modifications | 2 Features requiring no modifications |
3 =================================== | 3 =================================== |
4 | 4 |
5 These features are provided "for free" to a cmd_-based application | 5 These features are provided "for free" to a cmd_-based application |
6 simply by replacing ``import cmd`` with ``import cmd2 as cmd``. | 6 simply by replacing ``import cmd`` with ``import cmd2 as cmd``. |
7 | |
8 Script files | |
9 ============ | |
10 | |
11 Commands can be loaded from, run from, and saved to text files. | |
12 | |
13 .. automethod:: cmd2.Cmd.do_load | |
14 | |
15 Output redirection | |
16 ================== | |
17 | |
18 Commands at start | |
19 ================= | |
20 | |
21 Python | |
22 ====== | |
7 | 23 |
8 Searchable command history | 24 Searchable command history |
9 ========================== | 25 ========================== |
10 | 26 |
11 All cmd_-based applications have access to previous commands with | 27 All cmd_-based applications have access to previous commands with |
18 | 34 |
19 ``cmd2`` makes a third type of history access available, consisting of these commands: | 35 ``cmd2`` makes a third type of history access available, consisting of these commands: |
20 | 36 |
21 .. automethod:: cmd2.Cmd.do_history | 37 .. automethod:: cmd2.Cmd.do_history |
22 | 38 |
39 Transcript-based testing | |
40 ======================== |