Skip to content

feat(secret): add --write to auth secret #5

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
May 15, 2024
Merged

Conversation

balazsorban44
Copy link
Member

Adds npx auth secret --write command.

This does the following when run in a directory:

  1. Detects the framework
  2. Decides on the appropriate dotenv file (.env, .env.local etc.)
  3. Either updates or adds AUTH_SECRET, or if the file doesn't exist, creates one.

@balazsorban44 balazsorban44 merged commit 3608f09 into main May 15, 2024
@balazsorban44 balazsorban44 deleted the feat/secret-write branch July 3, 2024 15:15
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