code: def current_version():
      
      filepath = os.path.abspath(
          project_root / "directory_components" / "version.py")
      version_py = get_file_string(filepath)
      regex = re.compile(Utils.get_version)
      if regex.search(version_py) is not None:
          current_version = regex.search(version_py).group(0)
          print(color(
              "Current directory-components version: {}".format(current_version),
              fg='blue', style='bold'))
          get_update_info()
      else:
          print(color(
              'Error finding directory-components version.',
              fg='red', style='bold'))
docs: Get current version of directory-components.