5.3.1.24.13.6. cli.helpers.misc.get_project_root

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

Find the repository or package root directory.

Parameters:

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

Returns:

Root path of the git repository or package.

Return type:

Path