code: def from_template(args):
      
      project_name = args.name
      template = args.template
  
      with tarfile.open(template) as tar:
          prefix = os.path.commonprefix(tar.getnames())
          check_template(tar.getnames(), prefix)
          tar.extractall(project_name, members=get_members(tar, prefix))
docs: Create a new oct project from existing template
  
      :param Namespace args: command line arguments