when I do `gt pr <branch name>` how do I get...
# how-do-i
z
when I do
gt 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.
p
(If applicable) To help us more clearly understand what you're trying to do, please provide additional details about: - Screenshots / debug logs / list of commands you've tried to run so far - Your workflow - Current state
z
gt pr --help
shows this, which doesn't indicate it's possible:
Copy code
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.
gt pr <branch name> --debug
doesn't show any intermediate commands that obviously do this
p
hey Zach, I know when using the
--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