pub fn resolve_token(
explicit_token: Option<&str>,
config: Option<&ChipzenConfig>,
) -> Option<String>Expand description
Return the token to use, honoring precedence:
- An explicit
token(even an empty string — the dev was explicit). - Else, the config-file token.
- Else,
None(the caller decides whether that’s a hard error).