code: def main(requirements_file, skip_requirements_file, pipfile, skip_pipfile):
      # type: (str, bool, str, bool) -> None
      
      pipfile_path = path.Path(pipfile)
      pf = load_pipfile(pipfile_path)
  
      if not skip_requirements_file:
          requirements_file_path = path.Path(requirements_file)
          update_requirements(requirements_file_path, pf)
  
      if not skip_pipfile:
          dump_pipfile(pipfile_path, pf)
docs: Update the requirements.txt file and reformat the Pipfile.