<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def parse(self, line=None):
 """parses the line provided, if None then uses sys.argv"""

        args = self.parser.parse_args(args=line)
        return args.func(args)