code: def create_sconstruct(self, project_dir='', sayyes=False):
          
  
          project_dir = util.check_dir(project_dir)
  
          sconstruct_name = 'SConstruct'
          sconstruct_path = util.safe_join(project_dir, sconstruct_name)
          local_sconstruct_path = util.safe_join(
              util.get_folder('resources'), sconstruct_name)
  
          if isfile(sconstruct_path):
              # -- If sayyes, skip the question
              if sayyes:
                  self._copy_sconstruct_file(sconstruct_name, sconstruct_path,
                                             local_sconstruct_path)
              else:
                  click.secho(
                      'Warning: {} file already exists'.format(sconstruct_name),
                      fg='yellow')
  
                  if click.confirm('Do you want to replace it?'):
                      self._copy_sconstruct_file(sconstruct_name,
                                                 sconstruct_path,
                                                 local_sconstruct_path)
                  else:
                      click.secho('Abort!', fg='red')
  
          else:
              self._copy_sconstruct_file(sconstruct_name, sconstruct_path,
                                         local_sconstruct_path)
docs: Creates a default SConstruct file