Interactive mode (local discovery)

Updated Jul 27, 2026

When invoked without --pr-url, --owner, or --repo, Frankie automatically discovers the GitHub repository from the current directory's Git configuration:

cd /path/to/the-repo
frankie --token ghp_example

Frankie reads the origin remote URL and extracts the owner/repository information. Supported remote URL formats:

Discovery output

A successful call prints discovery information:

Discovered repository from local Git: owner/repo

Disabling local discovery

To skip local discovery and require explicit arguments, use --no-local-discovery:

frankie --no-local-discovery --owner octocat --repo hello-world --token ghp_example

Common discovery errors

  • Not inside a Git repository — The current directory is not within a Git working tree.
  • Repository has no remotes configured — The Git repository has no remote URLs configured.
  • Could not parse remote URL — The origin remote URL is not a valid Git remote URL.