Mercurial > python-cmd2
diff docs/freefeatures.rst @ 332:49bea7cab179
doc refreshing refresh.bash
author | cat@eee |
---|---|
date | Fri, 12 Feb 2010 22:15:04 -0500 |
parents | 6306edc46a6e |
children | 6fe1e75e3a67 |
line wrap: on
line diff
--- a/docs/freefeatures.rst Fri Feb 12 21:41:17 2010 -0500 +++ b/docs/freefeatures.rst Fri Feb 12 22:15:04 2010 -0500 @@ -152,5 +152,21 @@ (Cmd) speak it was /* not */ delicious! # Yuck! it was delicious! +Misc. pre-defined commands +========================== + +Several generically useful commands are defined +with automatically included ``do_`` methods. + +.. automethod:: cmd2.Cmd.do_quit + +.. automethod:: cmd2.Cmd.do_pause + +.. automethod:: cmd2.Cmd.do_shell + +( ``!`` is a shortcut for ``shell``; thus ``!ls`` +is equivalent to ``shell ls``.) + + Transcript-based testing ========================