Mercurial > python-cmd2
comparison docs/freefeatures.rst @ 314:0687bb650118
begin new docs
author | catherine@dellzilla |
---|---|
date | Wed, 10 Feb 2010 14:07:01 -0500 |
parents | |
children | a08c50b7d3d3 |
comparison
equal
deleted
inserted
replaced
313:e9f9dc712651 | 314:0687bb650118 |
---|---|
1 =================================== | |
2 Features requiring no modifications | |
3 =================================== | |
4 | |
5 These features are provided "for free" to a cmd_-based application | |
6 simply by replacing ``import cmd`` with ``import cmd2 as cmd``. | |
7 | |
8 Searchable command history | |
9 ========================== | |
10 | |
11 All cmd_-based applications have access to previous commands with | |
12 the up- and down- cursor keys. | |
13 | |
14 All cmd_-based applications on systems with the ``readline`` module | |
15 also provide `bash-like history list editing`_. | |
16 | |
17 .. _`bash-like history list editing`: http://www.talug.org/events/20030709/cmdline_history.html | |
18 | |
19 ``cmd2`` makes a third type of history access available, consisting of these commands: | |
20 | |
21 .. automethod:: cmd2.Cmd.do_history | |
22 |