Zach S
10/24/2025, 4:13 PMgt pr <branch name> how do I get the graphite.dev URL without opening my browser?
I have my own separate workflow and just want the URL from the CLI.Pylon
10/24/2025, 4:14 PMZach S
10/24/2025, 4:14 PMgt pr --help shows this, which doesn't indicate it's possible:
gt pr --help
gt pr [branch]
Opens the pull request page for a branch or PR number. If no branch is passed, the current branch's PR is open
ed.
Global options:
--cwd Working directory in which to perform operations. [string]
--debug Write debug output to the terminal. [boolean] [default: false]
--interactive Enable interactive features like prompts, pagers, and editors. Enabled by default. Disabl
e with `--no-interactive`. [boolean] [default: true]
--verify Enable git hooks. Enabled by default. Disable with `--no-verify`.
[boolean] [default: true]
-q, --quiet Minimize output to the terminal. Implies `--no-interactive`. [boolean] [default: false]
Options:
--help Show help for a command. [boolean] [default: false]
--stack Open the stack page.Zach S
10/24/2025, 4:14 PMgt pr <branch name> --debug doesn't show any intermediate commands that obviously do thisPylon
10/24/2025, 4:27 PM--no-interactive flag with gt submit it will print the URL to the PR without opening the browser. Seems this isn't the case with gt pr command though. Will make a request for that