parses the line provided, if None then uses sys.argv

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)