code: def replace_in_dirs(version):
      
      print(color(
          "Upgrading directory-components dependency in all repos...",
          fg='blue', style='bold'))
      for dirname in Utils.dirs:
          replace = "directory-components=={}".format(version)
          replace_in_files(dirname, replace)
      done(version)
docs: Look through dirs and run replace_in_files in each.