Mercurial > python-cmd2
annotate example/exampleSession.txt @ 177:f2b1643b5173 0.4.4
argh, zero-arg commands were dying
author | catherine@dellzilla |
---|---|
date | Fri, 12 Dec 2008 16:10:38 -0500 |
parents | 72de7d8566e2 |
children | 183dd2fffec5 |
rev | line source |
---|---|
118
db366853074c
test transcript won't tolerate final prompt
catherine@dellzilla
parents:
117
diff
changeset
|
1 (Cmd) say < myfile.txt |
db366853074c
test transcript won't tolerate final prompt
catherine@dellzilla
parents:
117
diff
changeset
|
2 put this in a file |
139 | 3 (Cmd) # comments do nothing |
4 (Cmd) /* C-style comments */ say are invisible | |
5 are invisible | |
169 | 6 (Cmd) orate and they do not /* interfere; |
139 | 7 > with multiline */ commands; |
169 | 8 and they do not commands |
9 (Cmd) speak the /* hidden comment */ text | |
10 the text | |
11 (Cmd) speak the "unhidden quote" text | |
12 the "unhidden quote" text | |
13 (Cmd) # Quoted strings immediately following the command are NOT included in the arguments - | |
14 (Cmd) # this is due to a bug in pyparsing. See: | |
15 (Cmd) # https://sourceforge.net/tracker/index.php?func=detail&aid=2412233&group_id=97203&atid=617311 | |
174 | 16 (Cmd) # Test suite can't test changing prompts. |