Skip to content

Bootstrap Clerk CLI with auth flow - #1

Merged
kylemac merged 1 commit into
mainfrom
kylemac/clerk-cli-bootstrap
Feb 11, 2026
Merged

Bootstrap Clerk CLI with auth flow#1
kylemac merged 1 commit into
mainfrom
kylemac/clerk-cli-bootstrap

Conversation

@kylemac

@kylemac kylemac commented Feb 11, 2026

Copy link
Copy Markdown
Contributor

Summary

Initial bootstrap of the Clerk CLI with a working auth flow and mock authentication UI for development.

  • Browser-based sign-in/sign-up flow with callback server
  • Mock web app for testing authentication without a real Clerk backend
  • CLI structure with commands for init, auth, env, and whoami
  • Framework detection and app config infrastructure ready for post-init work

How to test

  1. Start the mock auth app: cd mocks && bun run dev
  2. In another terminal: bun run src/cli.ts init
  3. Click through the mock auth flow in the browser that opens
  4. CLI receives the callback and completes the flow

🤖 Generated with Claude Code

Implement initial setup with:
- Browser-based auth flow that opens mock auth UI
- Callback server to receive auth results back from browser
- Mock web app for testing sign-in/sign-up flows
- Command structure with init, auth, env, and whoami commands
- CLAUDE.md with Bun-first development guidelines

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
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