@posthog/cli 0.5.28 → 0.5.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -0
- package/README.md +3 -3
- package/npm-shrinkwrap.json +2 -2
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@ The command line interface for PostHog 🦔
|
|
|
7
7
|
Usage: posthog-cli [OPTIONS] <COMMAND>
|
|
8
8
|
|
|
9
9
|
Commands:
|
|
10
|
-
login Interactively authenticate with PostHog, storing a personal API token locally. You can also use the environment variables `
|
|
10
|
+
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`
|
|
11
11
|
query Run a SQL query against any data you have in posthog. This is mostly for fun, and subject to change
|
|
12
12
|
sourcemap Upload a directory of bundled chunks to PostHog
|
|
13
13
|
exp Contains a set of experimental commands
|
|
@@ -24,8 +24,8 @@ Options:
|
|
|
24
24
|
You can authenticate with PostHog interactively for using the CLI locally, but if you'd like to use it in a CI/CD pipeline, we recommend using these environment variables:
|
|
25
25
|
|
|
26
26
|
- `POSTHOG_CLI_HOST`: The PostHog host to connect to [default: https://us.posthog.com]
|
|
27
|
-
- `
|
|
28
|
-
- `
|
|
27
|
+
- `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)
|
|
28
|
+
- `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)
|
|
29
29
|
|
|
30
30
|
### Personal API key scopes
|
|
31
31
|
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"hasInstallScript": true,
|
|
24
24
|
"license": "MIT",
|
|
25
25
|
"name": "@posthog/cli",
|
|
26
|
-
"version": "0.5.
|
|
26
|
+
"version": "0.5.29"
|
|
27
27
|
},
|
|
28
28
|
"node_modules/@isaacs/balanced-match": {
|
|
29
29
|
"engines": {
|
|
@@ -515,5 +515,5 @@
|
|
|
515
515
|
}
|
|
516
516
|
},
|
|
517
517
|
"requires": true,
|
|
518
|
-
"version": "0.5.
|
|
518
|
+
"version": "0.5.29"
|
|
519
519
|
}
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"artifactDownloadUrl": "https://github.com/PostHog/posthog/releases/download/posthog-cli-v0.5.
|
|
2
|
+
"artifactDownloadUrl": "https://github.com/PostHog/posthog/releases/download/posthog-cli-v0.5.29",
|
|
3
3
|
"bin": {
|
|
4
4
|
"posthog-cli": "run-posthog-cli.js"
|
|
5
5
|
},
|
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
"zipExt": ".tar.gz"
|
|
117
117
|
}
|
|
118
118
|
},
|
|
119
|
-
"version": "0.5.
|
|
119
|
+
"version": "0.5.29",
|
|
120
120
|
"volta": {
|
|
121
121
|
"node": "18.14.1",
|
|
122
122
|
"npm": "9.5.0"
|