code: def template(client, force):
      
      import pkg_resources
  
      # create the templated files
      for tpl_file in CI_TEMPLATES:
          tpl_path = client.path / tpl_file
          with pkg_resources.resource_stream(__name__, tpl_file) as tpl:
              content = tpl.read()
  
              if not force and tpl_path.exists():
                  click.confirm(
                      'Do you want to override "{tpl_file}"'.format(
                          tpl_file=tpl_file
                      ),
                      abort=True,
                  )
  
              with tpl_path.open('wb') as dest:
                  dest.write(content)
docs: Render templated configuration files.