# HG changeset patch # User catherine@Elli.myhome.westell.com # Date 1237075515 14400 # Node ID 500955dece3f8c3d517d478bb7575f99b6f75d0d # Parent 9c4c4d012a92b7641d5b3cb73b7589125be736ac parameter onchange hook comment diff -r 9c4c4d012a92 -r 500955dece3f cmd2.py --- 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)