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:
- SSH:
[email protected]:owner/repo.git - HTTPS:
https://github.com/owner/repo.git - GitHub Enterprise:
[email protected]:org/project.git
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
originremote URL is not a valid Git remote URL.