2.1.22.8.4. cli.helpers.misc.get_project_root

cli.helpers.misc.get_project_root(path: str = '.') Path

Find the repository root directory.

Parameters:

path (str) – Path to retrieve the project root from.

Returns:

Root path of the git repository.

Return type:

Path