Mercurial > python-cmd2
comparison README.txt @ 119:fe47c5b269cc release 0.4, uploaded to PyPI
altering README to match exampleSession.txt
author | catherine@dellzilla |
---|---|
date | Tue, 28 Oct 2008 14:09:44 -0400 |
parents | 06f5eba2f588 |
children | 403e1c3ffc4a |
comparison
equal
deleted
inserted
replaced
118:db366853074c | 119:fe47c5b269cc |
---|---|
128 (Cmd) help | 128 (Cmd) help |
129 | 129 |
130 Documented commands (type help <topic>): | 130 Documented commands (type help <topic>): |
131 ======================================== | 131 ======================================== |
132 _load edit history li load r save set shortcuts speak | 132 _load edit history li load r save set shortcuts speak |
133 ed hi l list orate run say shell show | 133 ed hi l list orate run say shell show |
134 | 134 |
135 Undocumented commands: | 135 Undocumented commands: |
136 ====================== | 136 ====================== |
137 EOF cmdenvironment eof exit help q quit | 137 EOF cmdenvironment eof exit help q quit |
138 | 138 |
147 -r REPEAT, --repeat=REPEAT | 147 -r REPEAT, --repeat=REPEAT |
148 output [n] times | 148 output [n] times |
149 | 149 |
150 (Cmd) say goodnight, Gracie | 150 (Cmd) say goodnight, Gracie |
151 goodnight, Gracie | 151 goodnight, Gracie |
152 (Cmd) say -ps --repeat=5 goodnight, gracie | 152 (Cmd) say -ps --repeat=5 goodnight, Gracie |
153 OODNIGHT, GRACIEGAY | 153 OODNIGHT, GRACIEGAY |
154 OODNIGHT, GRACIEGAY | 154 OODNIGHT, GRACIEGAY |
155 OODNIGHT, GRACIEGAY | 155 OODNIGHT, GRACIEGAY |
156 (Cmd) set | 156 (Cmd) set |
157 prompt: (Cmd) | 157 prompt: (Cmd) |
158 editor: gedit | 158 editor: gedit |
159 echo: False | 159 echo: False |
160 maxrepeats: 3 | 160 maxrepeats: 3 |
161 (Cmd) set maxrepeats 5 | 161 (Cmd) set maxrepeats 5 |
162 maxrepeats - was: 3 | 162 maxrepeats - was: 3 |
163 now: 5 | 163 now: 5 |
164 (Cmd) say -ps --repeat=5 goodnight, gracie | 164 (Cmd) say -ps --repeat=5 goodnight, Gracie |
165 OODNIGHT, GRACIEGAY | 165 OODNIGHT, GRACIEGAY |
166 OODNIGHT, GRACIEGAY | 166 OODNIGHT, GRACIEGAY |
167 OODNIGHT, GRACIEGAY | 167 OODNIGHT, GRACIEGAY |
168 OODNIGHT, GRACIEGAY | 168 OODNIGHT, GRACIEGAY |
169 OODNIGHT, GRACIEGAY | 169 OODNIGHT, GRACIEGAY |
170 (Cmd) orate these are the | 170 (Cmd) hi |
171 > times that | |
172 > try mens' souls | |
173 > | |
174 > | |
175 these are the times that try mens' souls | |
176 (Cmd) & we made a shortcut! | |
177 we made a shortcut! | |
178 (Cmd) history | |
179 -------------------------[1] | 171 -------------------------[1] |
180 help | 172 help |
181 -------------------------[2] | 173 -------------------------[2] |
182 help say | 174 help say |
183 -------------------------[3] | 175 -------------------------[3] |
184 say goodnight, Gracie | 176 say goodnight, Gracie |
185 -------------------------[4] | 177 -------------------------[4] |
186 say -ps --repeat=5 goodnight, gracie | 178 say -ps --repeat=5 goodnight, Gracie |
187 -------------------------[5] | 179 -------------------------[5] |
188 set | 180 set |
189 -------------------------[6] | 181 -------------------------[6] |
190 set maxrepeats 5 | 182 set maxrepeats 5 |
191 -------------------------[7] | 183 -------------------------[7] |
192 say -ps --repeat=5 goodnight, gracie | 184 say -ps --repeat=5 goodnight, Gracie |
193 -------------------------[8] | 185 (Cmd) run 4 |
194 orate these are the | 186 say -ps --repeat=5 goodnight, Gracie |
195 times that | 187 OODNIGHT, GRACIEGAY |
196 try mens' souls | 188 OODNIGHT, GRACIEGAY |
197 | 189 OODNIGHT, GRACIEGAY |
198 | 190 OODNIGHT, GRACIEGAY |
199 -------------------------[9] | 191 OODNIGHT, GRACIEGAY |
200 & we made a shortcut! | 192 (Cmd) orate Four score and |
201 (Cmd) run 3 | 193 > seven releases ago |
202 say goodnight, Gracie | 194 > our BDFL |
203 goodnight, Gracie | 195 > blah blah blah |
204 (Cmd) say put this in a file > text.txt | 196 > |
205 (Cmd) say < text.txt | 197 > |
198 Four score and seven releases ago our BDFL blah blah blah | |
199 (Cmd) & look, a shortcut! | |
200 look, a shortcut! | |
201 (Cmd) say put this in a file > myfile.txt | |
202 (Cmd) say < myfile.txt | |
206 put this in a file | 203 put this in a file |
207 (Cmd) set prompt "---> " | 204 (Cmd) set prompt "---> " |
208 prompt - was: (Cmd) | 205 prompt - was: (Cmd) |
209 now: ---> | 206 now: ---> |
210 ---> say goodbye | 207 ---> say goodbye |
211 goodbye | 208 goodbye |
212 ---> |