--auth-bearer now reads $INBUXA_MIGRATE_API_KEY, the term inbuxa-cli, the console and the docs use. $INBUXA_MIGRATE_TOKEN still works, and when both are set the API key wins.
secret::resolve_any tries a list of variables in order; resolve keeps its signature.
Help text and the prompt say "API key or bearer token", since --auth-bearer also carries OAuth tokens for IMAP and EWS.
README and CHANGELOG (Unreleased) updated; a test covers the precedence.
cargo fmt --check, cargo clippy --all-targets and cargo test --locked pass locally.
`--auth-bearer` now reads `$INBUXA_MIGRATE_API_KEY`, the term inbuxa-cli, the console and the docs use. `$INBUXA_MIGRATE_TOKEN` still works, and when both are set the API key wins.
- `secret::resolve_any` tries a list of variables in order; `resolve` keeps its signature.
- Help text and the prompt say "API key or bearer token", since `--auth-bearer` also carries OAuth tokens for IMAP and EWS.
- README and CHANGELOG (Unreleased) updated; a test covers the precedence.
`cargo fmt --check`, `cargo clippy --all-targets` and `cargo test --locked` pass locally.
Fixes #21
inbuxa-cli, the console and the docs call the credential an API key.
--auth-bearer now reads $INBUXA_MIGRATE_API_KEY first and still falls
back to $INBUXA_MIGRATE_TOKEN, so existing scripts keep working.
Fixes#21
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
--auth-bearernow reads$INBUXA_MIGRATE_API_KEY, the term inbuxa-cli, the console and the docs use.$INBUXA_MIGRATE_TOKENstill works, and when both are set the API key wins.secret::resolve_anytries a list of variables in order;resolvekeeps its signature.--auth-beareralso carries OAuth tokens for IMAP and EWS.cargo fmt --check,cargo clippy --all-targetsandcargo test --lockedpass locally.Fixes #21