cgcardona / muse public
repo.py python
23 lines 661 B
12901c5a Initial extraction from tellurstori/maestro cgcardona <gabriel@tellurstori.com> 4d ago
1 """Public API for Muse CLI repository detection.
2
3 This module is the stable, importable surface for ``find_repo_root()`` and
4 ``require_repo_root()``. All internal commands continue to import from
5 ``_repo`` (the original private module); this public re-export exists so
6 external tooling and new commands can depend on a name that is not
7 prefixed with an underscore.
8
9 Issue #46 specifies ``maestro.muse_cli.repo`` as the canonical location.
10 """
11 from __future__ import annotations
12
13 from maestro.muse_cli._repo import (
14 find_repo_root,
15 require_repo,
16 require_repo_root,
17 )
18
19 __all__ = [
20 "find_repo_root",
21 "require_repo",
22 "require_repo_root",
23 ]