Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@posthog/cli

Package Overview
Dependencies
Maintainers
16
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@posthog/cli - npm Package Compare versions

Comparing version
0.5.28
to
0.5.29
+4
-0
CHANGELOG.md
# posthog-cli
# 0.5.29
- chore: introduce env variable `POSTHOG_CLI_API_KEY` and `POSTHOG_PROJECT_ID` (backwards compatible)
# 0.5.28

@@ -4,0 +8,0 @@

+2
-2

@@ -26,3 +26,3 @@ {

"name": "@posthog/cli",
"version": "0.5.28"
"version": "0.5.29"
},

@@ -519,3 +519,3 @@ "node_modules/@isaacs/balanced-match": {

"requires": true,
"version": "0.5.28"
"version": "0.5.29"
}
{
"artifactDownloadUrl": "https://github.com/PostHog/posthog/releases/download/posthog-cli-v0.5.28",
"artifactDownloadUrl": "https://github.com/PostHog/posthog/releases/download/posthog-cli-v0.5.29",
"bin": {

@@ -119,3 +119,3 @@ "posthog-cli": "run-posthog-cli.js"

},
"version": "0.5.28",
"version": "0.5.29",
"volta": {

@@ -122,0 +122,0 @@ "node": "18.14.1",

@@ -10,3 +10,3 @@ # The Posthog CLI

Commands:
login Interactively authenticate with PostHog, storing a personal API token locally. You can also use the environment variables `POSTHOG_CLI_TOKEN`, `POSTHOG_CLI_ENV_ID` and `POSTHOG_CLI_HOST`
login Interactively authenticate with PostHog, storing a personal API token locally. You can also use the environment variables `POSTHOG_CLI_API_KEY`, `POSTHOG_CLI_PROJECT_ID` and `POSTHOG_CLI_HOST`
query Run a SQL query against any data you have in posthog. This is mostly for fun, and subject to change

@@ -28,4 +28,4 @@ sourcemap Upload a directory of bundled chunks to PostHog

- `POSTHOG_CLI_HOST`: The PostHog host to connect to [default: https://us.posthog.com]
- `POSTHOG_CLI_TOKEN`: [A posthog personal API key.](https://posthog.com/docs/api#private-endpoint-authentication)
- `POSTHOG_CLI_ENV_ID`: The ID number of the project/environment to connect to. E.g. the "2" in `https://us.posthog.com/project/2`
- `POSTHOG_CLI_API_KEY`: [A posthog personal API key.](https://posthog.com/docs/api#private-endpoint-authentication) (also accepts `POSTHOG_CLI_TOKEN` for backward compatibility)
- `POSTHOG_CLI_PROJECT_ID`: The ID number of the project/environment to connect to. E.g. the "2" in `https://us.posthog.com/project/2` (also accepts `POSTHOG_CLI_ENV_ID` for backward compatibility)

@@ -32,0 +32,0 @@ ### Personal API key scopes