summaryrefslogtreecommitdiff
path: root/tests/transcripts/from_cmdloop.txt
blob: 84d7f8fc9b5ab8744c4727015dd175b5ef8e01a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# responses with trailing spaces have been matched with a regex
# so you can see where they are.

(Cmd) help

Documented commands (type help <topic>):
========================================
alias  help     load   mumble   orate  pyscript  say  shell      speak/ */
edit   history  macro  nothing  py     quit      set  shortcuts/ */

(Cmd) help say
usage: speak [-h] [-p] [-s] [-r REPEAT]/ */

Repeats what you tell me to./ */

optional arguments:/ */
  -h, --help            show this help message and exit/ */
  -p, --piglatin        atinLay/ */
  -s, --shout           N00B EMULATION MODE/ */
  -r REPEAT, --repeat REPEAT/ */
                        output [n] times
(Cmd) say goodnight, Gracie
goodnight, Gracie
(Cmd) say -ps --repeat=5 goodnight, Gracie
OODNIGHT, GRACIEGAY
OODNIGHT, GRACIEGAY
OODNIGHT, GRACIEGAY
(Cmd) set maxrepeats 5
maxrepeats - was: 3
now: 5
(Cmd) say -ps --repeat=5 goodnight, Gracie
OODNIGHT, GRACIEGAY
OODNIGHT, GRACIEGAY
OODNIGHT, GRACIEGAY
OODNIGHT, GRACIEGAY
OODNIGHT, GRACIEGAY
(Cmd) history
    1  help
    2  help say
    3  say goodnight, Gracie
    4  say -ps --repeat=5 goodnight, Gracie
    5  set maxrepeats 5
    6  say -ps --repeat=5 goodnight, Gracie
(Cmd) history -r 4
OODNIGHT, GRACIEGAY
OODNIGHT, GRACIEGAY
OODNIGHT, GRACIEGAY
OODNIGHT, GRACIEGAY
OODNIGHT, GRACIEGAY
(Cmd) set prompt "---> "
prompt - was: (Cmd)/ */
now: --->/ */