Re-exports§
pub use prompt::prompt_for_token;pub use prompt::reprompt_for_token;pub use prompt::setup_token_if_missing;
Modules§
Constants§
- ENV_
TOKEN_ VAR - Environment variable name for providing a GitHub token
Functions§
- get_
token_ from_ env - Check for a GitHub token in the PR_BRO_GH_TOKEN environment variable. Returns Some(token) if the env var is set and non-empty, None otherwise.