Add authentication commands - #51
Merged
Merged
Conversation
jelaniwoods
force-pushed
the
feature/cli-oauth-login
branch
2 times, most recently
from
October 1, 2026 20:08
bb597a5 to
b5f0aa7
Compare
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
force-pushed
the
feature/cli-oauth-login
branch
from
October 1, 2026 20:29
b5f0aa7 to
72095c3
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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, afternpm ci --ignore-scripts:npm audit: found 0 vulnerabilitiesnpm run check: passed; 266 tests, 266 pass, 0 fail, thenpack:checkandpack:smokepassed