CLI Overview
Gitquarry has a deliberately small root command surface.Root Commands
Global Options
--host
Targets GitHub.com or a custom host.
Accepted inputs:
- bare hostname
- full URL
- explicit
/api/v3base
--generate-completion
Prints shell completion to stdout.
Supported values:
bashzshfishpowershell
Subcommand Roles
| Command | Role |
|---|---|
search | repository discovery and ranking |
inspect | explicit owner/repo inspection |
tree | no-clone repository tree inspection |
code | no-clone repository file content search |
compare | side-by-side explicit repository comparison |
source | explicit opensrc-backed source retrieval |
recipe | checked-in TOML search recipe execution |
mcp | stdio Model Context Protocol server for agents |
agent | embedded guide for AI agents using the CLI |
skills | embedded, version-matched CLI usage skills |
auth | host-scoped PAT management |
config | inspect effective config path and payload |
version | print the current version |
Product Contract
The most important root-level rule is:- plain
searchstays close to native GitHub repository search - enhanced discovery stays explicit
- remote tree and code inspection do not clone repositories
- side-by-side comparison only runs for explicit repository inputs
- checked-in recipes map to visible search flags rather than hidden defaults
- MCP mode exposes the same CLI workflows to agents over stdio JSON-RPC
- source fetching stays explicit through
source path