Expand description
API token resolution.
Supports three sources (in precedence order): explicit token, the
LINEAR_API_TOKEN environment variable, and ~/.linear_api_token file.
Functionsยง
- auto_
token - Resolve a Linear API token with precedence: env var -> file. (CLI flag takes highest precedence but is handled at the CLI layer.)
- token_
from_ env - Resolve a Linear API token from the environment variable
LINEAR_API_TOKEN. - token_
from_ file - Resolve a Linear API token from the filesystem.
Reads
~/.linear_api_token(linearis-compatible).