gitquarry source
Fetch or locate source code through opensrc.
Synopsis
Behavior
source path is explicit. It does not run during search or inspect.
The command delegates source retrieval and caching to opensrc path, then prints the resolved absolute path on stdout. Fetch progress and errors stay on stderr.
<SPEC> follows opensrc syntax, including:
owner/repo- GitHub URLs
- npm package names
pypi:<package>crates:<crate>
Options
--cwd is forwarded to opensrc for lockfile-based version resolution.
--verbose lets opensrc show fetch progress on stderr.
Examples
Fetch or locate a GitHub repository:Failure Shape
Ifopensrc is not installed or not on PATH, gitquarry exits with E_SOURCE_UNAVAILABLE.
If opensrc runs but cannot fetch or resolve the source, gitquarry exits with E_SOURCE_FETCH.