@posthog/cli
Advanced tools
+4
-0
| # posthog-cli | ||
| # 0.7.18 | ||
| - fix: rename `--env-file` to `--dotenv-file`. The npm package runs the CLI binary through a `node` wrapper script, and Node has its own built-in `--env-file` flag — so Node intercepted the flag before it reached the binary, failing with `node: .env: not found` for a missing file. `--env-file` still works as an alias for native installs. | ||
| # 0.7.17 | ||
@@ -4,0 +8,0 @@ |
@@ -22,3 +22,3 @@ { | ||
| "name": "@posthog/cli", | ||
| "version": "0.7.17" | ||
| "version": "0.7.18" | ||
| }, | ||
@@ -52,3 +52,3 @@ "node_modules/detect-libc": { | ||
| "requires": true, | ||
| "version": "0.7.17" | ||
| "version": "0.7.18" | ||
| } |
+2
-2
| { | ||
| "artifactDownloadUrls": [ | ||
| "https://github.com/PostHog/posthog/releases/download/posthog-cli/v0.7.17" | ||
| "https://github.com/PostHog/posthog/releases/download/posthog-cli/v0.7.18" | ||
| ], | ||
@@ -117,3 +117,3 @@ "bin": { | ||
| }, | ||
| "version": "0.7.17", | ||
| "version": "0.7.18", | ||
| "volta": { | ||
@@ -120,0 +120,0 @@ "node": "18.14.1", |
+2
-2
@@ -31,5 +31,5 @@ # The Posthog CLI | ||
| These variables can also be loaded from a dotenv-style file via `--env-file <PATH>` (e.g. `posthog-cli --env-file .env query ...`). The process environment always wins; the file is only consulted if the required variables aren't set. `POSTHOG_CLI_HOST` is only read from the same source that supplied the rest, so a stray host in the file cannot redirect a key supplied by the process env. | ||
| These variables can also be loaded from a dotenv-style file via `--dotenv-file <PATH>` (e.g. `posthog-cli --dotenv-file .env query ...`). The process environment always wins; the file is only consulted if the required variables aren't set. `POSTHOG_CLI_HOST` is only read from the same source that supplied the rest, so a stray host in the file cannot redirect a key supplied by the process env. | ||
| Full precedence: CLI args → process env → `--env-file` → `~/.posthog/credentials.json` (from `posthog-cli login`). | ||
| Full precedence: CLI args → process env → `--dotenv-file` → `~/.posthog/credentials.json` (from `posthog-cli login`). | ||
@@ -36,0 +36,0 @@ ## Skipping uploads (dry run) |
AI-detected potential code anomaly
Supply chain riskAI has identified unusual behaviors that may pose a security risk.
Found 2 instances in 1 package
AI-detected potential code anomaly
Supply chain riskAI has identified unusual behaviors that may pose a security risk.
Found 2 instances in 1 package
30784
1.19%