Skip to content

Add authentication commands - #51

Merged
jelaniwoods merged 1 commit into
mainfrom
feature/cli-oauth-login
Oct 1, 2026
Merged

jelaniwoods merged 1 commit into
mainfrom
feature/cli-oauth-login

Conversation

@jelaniwoods

@jelaniwoods jelaniwoods commented Oct 1, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Added login commands so that the CLI behaves in a similar way to other CLIs (GitHub, Render, Neon, Revyl) used in the First Draft workshop.

Docs: updated README.md, docs/commands.md, docs/errors.md, CHANGELOG.md

Review: Codex, session f32c9d6e-291c-4c8b-b34c-2d88e0259b1b, Approve.

Validation

At b5f0aa7, after npm ci --ignore-scripts:

  • npm audit: found 0 vulnerabilities
  • npm run check: passed; 266 tests, 266 pass, 0 fail, then pack:check and pack:smoke passed

@jelaniwoods
jelaniwoods force-pushed the feature/cli-oauth-login branch 2 times, most recently from bb597a5 to b5f0aa7 Compare October 1, 2026 20:08
@jelaniwoods jelaniwoods changed the title Feature/cli oauth login Add authentication commands Oct 1, 2026
Workshop participants already sign in to GitHub, Render, Neon, and
Revyl with a browser-based login command. First Draft instead made
them copy a token from /api-tokens into an environment variable,
which is an extra manual step and easy to get wrong.

A saved login only authenticates the host it was created for, and
an environment variable can still be set to override it, so existing
scripts and CI setups still behave as they did before.
@jelaniwoods
jelaniwoods force-pushed the feature/cli-oauth-login branch from b5f0aa7 to 72095c3 Compare October 1, 2026 20:29
@jelaniwoods
jelaniwoods merged commit 2f4bc93 into main Oct 1, 2026
5 checks passed
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