code: def run_command(self, args):
          
          parsed_args = self.parser.parse_args(args)
          if hasattr(parsed_args, 'func'):
              parsed_args.func(parsed_args)
          else:
              self.parser.print_help()
docs: Parse command line arguments and run function registered for the appropriate command.
          :param args: [str] command line arguments