Mercurial > python-cmd2
changeset 213:500955dece3f
parameter onchange hook comment
author | catherine@Elli.myhome.westell.com |
---|---|
date | Sat, 14 Mar 2009 20:05:15 -0400 |
parents | 9c4c4d012a92 |
children | 68c03076c9e7 |
files | cmd2.py |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/cmd2.py Sat Mar 14 20:03:57 2009 -0400 +++ b/cmd2.py Sat Mar 14 20:05:15 2009 -0400 @@ -9,6 +9,7 @@ Case-insensitive commands Special-character shortcut commands (beyond cmd's "@" and "!") Settable environment parameters +Optional _onchange_{paramname} called when environment parameter changes Parsing commands with `optparse` options (flags) Redirection to file with >, >>; input from file with < Easy transcript-based testing of applications (see example/example.py)