docs: def copy_templates(entry_point, py_entry_point, auto_write, output_dir):
      '''Copy formatted templates from scrim/bin to output directory
  
      Attributes:
          entry_point: Name of shell script
          py_entry_point: Name of python console script
          auto_write: Sets SCRIM_AUTO_WRITE to True
          output_dir: Guess
      '''
  
      if not os.path.exists(output_dir):
          os.makedirs(output_dir)
  
      scripts = []
      for f in os.listdir(bin_path()):
          ext = os.path.splitext(f)[-1]
          newline = NEWLINE_MAP.get(ext, '\n')
          template = bin_path(f)
          destination = output_dir + '/' + entry_point + ext
          scripts.append(destination)
  
          with io.open(template, 'r') as f:
              code = f.read()
          code = code.replace('{{entry_point}}', entry_point)
          code = code.replace('{{py_entry_point}}', py_entry_point)
          code = code.replace('{{auto_write}}', str(int(auto_write)))
  
          with io.open(destination, 'w', newline=newline) as f:
              f.write(code)
  
      return scripts