Skip to content

feat(auth): allow custom token file path via WHOOP_TOKEN_FILE#2

Open
aromancev wants to merge 1 commit intokoala73:mainfrom
aromancev:feat/whoop-token-file-env
Open

feat(auth): allow custom token file path via WHOOP_TOKEN_FILE#2
aromancev wants to merge 1 commit intokoala73:mainfrom
aromancev:feat/whoop-token-file-env

Conversation

@aromancev
Copy link

• Adds WHOOP_TOKEN_FILE env var support for OAuth token storage.
• Keeps backward compatibility with default ~/.whoop-cli/tokens.json.
• Resolves relative paths via resolve(...).
• Creates parent directory for custom token path automatically.
• Updates README and .env.example with docs and multi-account example.
Use case: multiple WHOOP accounts on one machine/user (e.g. separate token files per person).

@aromancev aromancev force-pushed the feat/whoop-token-file-env branch from b51c0af to fd708f0 Compare February 15, 2026 00:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments