code: def parse_args(args=None):
      
      from argparse import ArgumentParser
  
      if args is None:
          args = sys.argv
  
      parser = ArgumentParser(description='Rename template project with'
                              'hyphen-separated <new name> (path names and in '
                              'files).')
      parser.add_argument('new_name', help='New project name (e.g., '
                          ' `my-new-project`)')
  
      args = parser.parse_args()
      return args
docs: Parses arguments, returns (options, args).