Skip to content

feat(env): Add 'env' command to pull API key - #40

Merged
developersdigest merged 1 commit into
mainfrom
pull-env
Feb 23, 2026
Merged

developersdigest merged 1 commit into
mainfrom
pull-env

Conversation

@developersdigest

Copy link
Copy Markdown
Member

No description provided.

Introduce a new CLI command to pull the authenticated FIRECRAWL_API_KEY into a local .env file. Adds src/commands/env.ts which implements handleEnvPullCommand(options) — it gets the API key (via getApiKey or ensureAuthenticated), and creates/updates/appends the FIRECRAWL_API_KEY line in the target env file, with an --overwrite flag to replace an existing key. Also registers the command in src/index.ts with options (-f/--file and --overwrite). This provides a convenient way for developers to sync their API key into project .env files.
@developersdigest developersdigest changed the title Add 'env' command to pull API key (feat): Add 'env' command to pull API key Feb 19, 2026
@developersdigest developersdigest changed the title (feat): Add 'env' command to pull API key feat(env): Add 'env' command to pull API key Feb 19, 2026
@developersdigest
developersdigest merged commit 6ab4a48 into main Feb 23, 2026
1 check passed
@developersdigest
developersdigest deleted the pull-env branch February 23, 2026 21:29
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