@@ -132,6 +132,7 @@ Instructions for implementing each feature follow.
132132 argparser.add_argument(' -p' , ' --piglatin' , action = ' store_true' , help = ' atinLay' )
133133 argparser.add_argument(' -s' , ' --shout' , action = ' store_true' , help = ' N00B EMULATION MODE' )
134134 argparser.add_argument(' words' , nargs = ' +' , help = ' words to say' )
135+
135136 @ with_argparser(argparser)
136137 def do_speak(self , args):
137138 """ Repeats what you tell me to."""
@@ -253,6 +254,7 @@ class CmdLineApp(cmd2.Cmd):
253254 speak_parser.add_argument(' -s' , ' --shout' , action = ' store_true' , help = ' N00B EMULATION MODE' )
254255 speak_parser.add_argument(' -r' , ' --repeat' , type = int , help = ' output [n] times' )
255256 speak_parser.add_argument(' words' , nargs = ' +' , help = ' words to say' )
257+
256258 @ cmd2.with_argparser(speak_parser)
257259 def do_speak(self , args):
258260 """ Repeats what you tell me to."""
@@ -274,6 +276,7 @@ class CmdLineApp(cmd2.Cmd):
274276 mumble_parser = argparse.ArgumentParser()
275277 mumble_parser.add_argument(' -r' , ' --repeat' , type = int , help = ' how many times to repeat' )
276278 mumble_parser.add_argument(' words' , nargs = ' +' , help = ' words to say' )
279+
277280 @ cmd2.with_argparser(mumble_parser)
278281 def do_mumble(self , args):
279282 """ Mumbles what you tell me to."""
0 commit comments