hx login custom reads an API key from stdin (echo off on a terminal) and stores it in ~/.hx/auth.json (0600) like the OAuth tokens; hx logout custom removes it. The custom provider uses the api_key_env variable if set, else the stored key, else sends no auth header. Errors only when api_key_env is configured but neither source has a key. Tests: key precedence; manual check of login/0600/empty-key/logout.
`hx login custom` reads an API key from stdin (echo off on a terminal) and stores it in `~/.hx/auth.json` (0600) like the OAuth tokens; `hx logout custom` removes it. The custom provider uses the `api_key_env` variable if set, else the stored key, else sends no auth header. Errors only when `api_key_env` is configured but neither source has a key. Tests: key precedence; manual check of login/0600/empty-key/logout.
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.
hx login customreads an API key from stdin (echo off on a terminal) and stores it in~/.hx/auth.json(0600) like the OAuth tokens;hx logout customremoves it. The custom provider uses theapi_key_envvariable if set, else the stored key, else sends no auth header. Errors only whenapi_key_envis configured but neither source has a key. Tests: key precedence; manual check of login/0600/empty-key/logout.