Mercurial > python-cmd2
comparison example/exampleSession.txt @ 257:d62bb3dd58a0
multiple test files still not quite working, yet works when run through debugger, aaargh
author | Catherine Devlin <catherine.devlin@gmail.com> |
---|---|
date | Thu, 02 Apr 2009 15:55:33 -0400 |
parents | |
children | f03c4f951ca6 |
comparison
equal
deleted
inserted
replaced
256:9ec55d2b3e99 | 257:d62bb3dd58a0 |
---|---|
1 (Cmd) help | |
2 | |
3 Documented commands (type help <topic>): | |
4 ======================================== | |
5 _load ed history list pause run set show | |
6 _relative_load edit l load py save shell speak | |
7 cmdenvironment hi li orate r say shortcuts | |
8 | |
9 Undocumented commands: | |
10 ====================== | |
11 EOF eof exit help q quit | |
12 | |
13 (Cmd) help say | |
14 Repeats what you tell me to. | |
15 Usage: speak [options] arg | |
16 | |
17 Options: | |
18 -h, --help show this help message and exit | |
19 -p, --piglatin atinLay | |
20 -s, --shout N00B EMULATION MODE | |
21 -r REPEAT, --repeat=REPEAT | |
22 output [n] times | |
23 | |
24 (Cmd) say goodnight, Gracie | |
25 goodnight, Gracie | |
26 (Cmd) say -ps --repeat=5 goodnight, Gracie | |
27 OODNIGHT, GRACIEGAY | |
28 OODNIGHT, GRACIEGAY | |
29 OODNIGHT, GRACIEGAY | |
30 (Cmd) set | |
31 abbrev: True | |
32 case_insensitive: True | |
33 continuation_prompt: > | |
34 default_file_name: command.txt | |
35 echo: False | |
36 editor: gedit | |
37 prompt: (Cmd) | |
38 timing: False | |
39 maxrepeats: 3 | |
40 (Cmd) set maxrepeats 5 | |
41 maxrepeats - was: 3 | |
42 now: 5 | |
43 (Cmd) say -ps --repeat=5 goodnight, Gracie | |
44 OODNIGHT, GRACIEGAY | |
45 OODNIGHT, GRACIEGAY | |
46 OODNIGHT, GRACIEGAY | |
47 OODNIGHT, GRACIEGAY | |
48 OODNIGHT, GRACIEGAY | |
49 (Cmd) hi | |
50 -------------------------[1] | |
51 help | |
52 | |
53 -------------------------[2] | |
54 help say | |
55 | |
56 -------------------------[3] | |
57 say goodnight, Gracie | |
58 | |
59 -------------------------[4] | |
60 say -ps --repeat=5 goodnight, Gracie | |
61 | |
62 -------------------------[5] | |
63 set | |
64 | |
65 -------------------------[6] | |
66 set maxrepeats 5 | |
67 | |
68 -------------------------[7] | |
69 say -ps --repeat=5 goodnight, Gracie | |
70 (Cmd) run 4 | |
71 say -ps --repeat=5 goodnight, Gracie | |
72 | |
73 OODNIGHT, GRACIEGAY | |
74 OODNIGHT, GRACIEGAY | |
75 OODNIGHT, GRACIEGAY | |
76 OODNIGHT, GRACIEGAY | |
77 OODNIGHT, GRACIEGAY | |
78 (Cmd) orate Four score and | |
79 > seven releases ago | |
80 > our BDFL | |
81 > blah blah blah | |
82 | |
83 Four score and | |
84 seven releases ago | |
85 our BDFL | |
86 blah blah blah | |
87 (Cmd) & look, a shortcut! | |
88 look, a shortcut! | |
89 (Cmd) say put this in a file > myfile.txt | |
90 (Cmd) say < myfile.txt | |
91 put this in a file | |
92 (Cmd) set prompt "---> " | |
93 prompt - was: (Cmd) | |
94 now: ---> | |
95 ---> say goodbye | |
96 goodbye |