doctr
doctr copied to clipboard
Suggest the --branch-whitelist
If the default branch is set to something other than master, we should suggest the --branch-whitelist flag in configure. See https://github.com/drdoctr/doctr/issues/314 and https://github.com/drdoctr/doctr/pull/315.
This is assuming that this information is accessible from the GitHub API.
It's the default_branch
key in the repo object, which we already get in check_repo_exists
.
We should also detect if we are in master
on a .github.io repo and print some warning in that case.