Skip to content

feat: add --token flag for headless login#19

Merged
emilioacc merged 1 commit intomainfrom
feature/headless-token-login
Jan 26, 2026
Merged

feat: add --token flag for headless login#19
emilioacc merged 1 commit intomainfrom
feature/headless-token-login

Conversation

@emilioacc
Copy link
Contributor

Summary

  • Add --token (-t) option to the login command for headless authentication
  • Allows CI/CD and automated testing environments to authenticate without browser OAuth
  • Usage: npx atxp login --token $ATXP_CONNECTION_TOKEN

Test plan

  • npm test passes
  • npm run build passes
  • npx atxp help shows new --token option
  • Manual test: npx atxp login --token <token> saves connection string

🤖 Generated with Claude Code

Add --token (-t) option to the login command to support headless
authentication in CI/CD and automated testing environments.

Usage: npx atxp login --token $ATXP_CONNECTION_TOKEN

This allows users to provide a connection token directly without
needing browser-based OAuth flow.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@emilioacc emilioacc merged commit ba4eef2 into main Jan 26, 2026
1 check passed
@emilioacc emilioacc deleted the feature/headless-token-login branch January 26, 2026 20:04
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