rlsbl v0.51.0 /rlsbl.context
On this page

ProjectContext dataclass holding project_root, monorepo_root, and config for threading explicit paths through rlsbl command flows.

#rlsbl.context

#rlsbl.context

Project context for general command use.

#ProjectContext

Context object carrying project root, optional workspace root, and loaded config.

#create_context

python
def create_context(root: Path, workspace_root: Path | None=None) -> ProjectContext

Create a ProjectContext, loading config from .rlsbl/config.json.

Returns an empty dict for config if the file doesn't exist.