comparison cmd2.py @ 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
comparison
equal deleted inserted replaced
212:9c4c4d012a92 213:500955dece3f
7 Load commands from file, save to file, edit commands in file 7 Load commands from file, save to file, edit commands in file
8 Multi-line commands 8 Multi-line commands
9 Case-insensitive commands 9 Case-insensitive commands
10 Special-character shortcut commands (beyond cmd's "@" and "!") 10 Special-character shortcut commands (beyond cmd's "@" and "!")
11 Settable environment parameters 11 Settable environment parameters
12 Optional _onchange_{paramname} called when environment parameter changes
12 Parsing commands with `optparse` options (flags) 13 Parsing commands with `optparse` options (flags)
13 Redirection to file with >, >>; input from file with < 14 Redirection to file with >, >>; input from file with <
14 Easy transcript-based testing of applications (see example/example.py) 15 Easy transcript-based testing of applications (see example/example.py)
15 16
16 Note that redirection with > and | will only work if `self.stdout.write()` 17 Note that redirection with > and | will only work if `self.stdout.write()`