from pathlib import Path


def get_version() -> str:
    """
    Get the version of a2j.

    :return:  Version of a2j.
    :rtype: str
    """

    # OPEN VERSION FILE
    with open(Path.cwd() / "VERSION", "r") as file:
        # READ VERSION FROM FILE
        version = file.read().strip()

        # CLOSE FILE
        file.close()

    return version