Expand description
Project discovery, git detection, repo binding, and project status helpers.
Structs§
- GitInfo
- Git context derived from the current working tree.
- Project
- Holds paths to project resources under
.cred/. - Project
Config - Project-level metadata stored in
.cred/project.toml. - Project
Status Data - High-level project status snapshot used for CLI reporting.
Functions§
- detect_
git - Detect git root, origin URL, and normalized repo slug if GitHub-like.
- init
- init_at
- Initialize a project at the given root, creating
.cred/, key, vault, and project.toml. - project_
status_ payload - Build the JSON payload for
project status. - resolve_
repo_ binding - Resolve repo to use for CLI operations, validating detected/bound/provided combinations. Resolve repo to use for CLI operations, validating detected/bound/provided combinations.