CLI · CommandsPull requests

Pull requests

Open, review, merge and queue pull requests from the terminal.

The pr group drives eQuantic-managed pull requests (reviews, protection and merge queue on top of your connected repo — any provider). A PR is addressed as <repo>#<n>; <repo> accepts the full name or an id prefix.

eqs pr ls

Lists a repository's pull requests.

--repo <repo>Repository (full name or id prefix)
--state <s>open | draft | merged | closed | all
shell
eqs pr ls --repo octo/app --state open
eqs pr view <ref>

Header, reviews, merge status, checks and threads (thread id prefixes shown here).

shell
eqs pr view octo/app#42
eqs pr diff <ref>

The PR's diff, computed by eQuantic (three-dot).

--statPer-file summary instead of hunks
shell
eqs pr diff octo/app#42 --stat
eqs pr create

Opens a pull request and prints the new <repo>#<n>.

--repo <repo>Target repository
--source <b>Branch with the changes
--target <b>Branch to merge into
--title <t>Title
--body <text>Description ("-" reads stdin)
shell
eqs pr create --repo octo/app --source feat/x --target main --title "Add X"
eqs pr review <ref>

Submits your verdict.

--approveApprove
--request-changesRequest changes (vetoes the merge)
--body <t>Optional summary
shell
eqs pr review octo/app#42 --approve
eqs pr comment <ref>

Opens a thread — or replies / resolves / reopens one.

--body <t>Comment text ("-" reads stdin)
--file <p> --line <n>Anchor to a diff line (--side old|new)
--blockingVetoes the merge until resolved
--thread <id>Reply to a thread
--resolve <id>Resolve
--unresolve <id>Reopen
shell
eqs pr comment octo/app#42 --file src/api.ts --line 120 --blocking --body "Missing null check"
eqs pr checks <ref>

The PR's native CI checks for its current head.

shell
eqs pr checks octo/app#42
eqs pr merge <ref>

Merges — the server re-evaluates protection and reports any unmet condition.

--strategy <s>merge | squash | rebase
shell
eqs pr merge octo/app#42 --strategy squash
eqs pr enqueue <ref>

Adds the PR to its target branch's merge queue (rebase-tested in order).

--strategy <s>Fixed at enqueue
shell
eqs pr enqueue octo/app#42
eqs pr dequeue <ref>

Removes the waiting queue entry.

shell
eqs pr dequeue octo/app#42
eqs pr close <ref>

Closes without merging.

shell
eqs pr close octo/app#42
Every subcommand accepts --json for scripting. Blocking comments and branch protection are evaluated server-side — the CLI never guesses: pr merge prints the exact unmet reasons when the merge is vetoed.