docs: document --env-file CLI flag for source map auth#17099
Merged
Conversation
Documents the new `--env-file` option from PostHog/posthog#60465, which loads POSTHOG_CLI_* credentials from a dotenv-style file. Added to the shared CLI authenticate snippet so it appears across all CLI-based source map upload pages. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Contributor
Deploy preview
|
Contributor
|
Vale prose linter → found 0 errors, 1 warnings, 0 suggestions in your markdown Full report → Copy the linter results into an LLM to batch-fix issues. Linter being weird? Update the rules!
|
| Line | Severity | Message | Rule |
|---|---|---|---|
| 55:88 | warning | 'sourcemap' is a possible misspelling. | PostHogBase.Spelling |
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Move the --env-file note out of the shared authenticate snippet and into the upload-source-maps/cli page, so it no longer appears on the other CLI-based upload pages. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Contributor
Author
|
I'm just gonna merge this because I need this in the context mill |
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.
Changes
Documents the new
--env-fileCLI option introduced in PostHog/posthog#60465, which loadsPOSTHOG_CLI_*credentials from a dotenv-style file.The note was added to the shared CLI authenticate snippet (
contents/docs/error-tracking/_snippets/cli/authenticate.mdx), so it appears consistently across all CLI-based source map upload pages (cli, web, react, node, nuxt, react-native, angular, ios, android, and the upload-source-maps index).Documented behavior, matching the shipped code in that PR:
--env-file <PATH>--env-file→ credentials saved byposthog-cli loginPOSTHOG_CLI_HOSTonly applies when it comes from the same source as the API key and project ID🤖 Generated with Claude Code