Home | History | Annotate | Download | only in test

Lines Matching full:mycmd

18     >>> mycmd = samplecmdclass()
21 >>> mycmd.parseline("")
23 >>> mycmd.parseline("?")
25 >>> mycmd.parseline("?help")
27 >>> mycmd.parseline("!")
29 >>> mycmd.parseline("!command")
31 >>> mycmd.parseline("func")
33 >>> mycmd.parseline("func arg1")
38 >>> mycmd.onecmd("")
39 >>> mycmd.onecmd("add 4 5")
41 >>> mycmd.onecmd("")
43 >>> mycmd.onecmd("test")
47 >>> mycmd.emptyline()
51 >>> mycmd.default("default")
55 >>> mycmd.completedefault()
57 >>> mycmd.completenames("a")
61 >>> mycmd.completenames("12")
63 >>> mycmd.completenames("help")
67 >>> mycmd.complete_help("a")
69 >>> mycmd.complete_help("he")
71 >>> mycmd.complete_help("12")
73 >>> sorted(mycmd.complete_help(""))
77 >>> mycmd.do_help("testet")
79 >>> mycmd.do_help("add")
81 >>> mycmd.onecmd("help add")
83 >>> mycmd.do_help("")
95 >>> mycmd.print_topics("header", ["command1", "command2"], 2 ,10)
103 >>> mycmd.columnize([str(i) for i in xrange(20)])
105 >>> mycmd.columnize([str(i) for i in xrange(20)], 10)
118 >>> mycmd.use_rawinput=0
119 >>> mycmd.cmdqueue=["", "add", "add 4 5", "help", "help add","exit"]
120 >>> mycmd.cmdloop()