Skip to main content

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/v3 base
See GitHub Enterprise Hosts.

--generate-completion

Prints shell completion to stdout. Supported values:
  • bash
  • zsh
  • fish
  • powershell

Subcommand Roles

Product Contract

The most important root-level rule is:
  • plain search stays 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
That contract is defined in Search Behavior and the repo spec.