You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*`socket info <package@version>` - looks up issues for a package
25
-
*`socket report create <path(s)-to-folder-or-file>` - uploads the specified `package.json` and/or `package-lock.json` to create a report on [socket.dev](https://socket.dev/). If only one of a `package.json`/`package-lock.json` has been specified, the other will be automatically found and uploaded if it exists
25
+
26
+
*`socket report create <path(s)-to-folder-or-file>` - creates a report on [socket.dev](https://socket.dev/)
27
+
28
+
Uploads the specified `package.json` and lock files and, if any folder is specified, the ones found in there. Also includes the complementary `package.json` and lock file to any specified. Currently `package-lock.json` and `yarn.lock` are supported.
29
+
30
+
Supports globbing such as `**/package.json`.
31
+
32
+
Ignores any file specified in your project's `.gitignore`, the `projectIgnorePaths` in your project's [`socket.yml`](https://docs.socket.dev/docs/socket-yml) and on top of that has a sensible set of [default ignores](https://www.npmjs.com/package/ignore-by-default)
33
+
26
34
*`socket report view <report-id>` - looks up issues and scores from a report
*`--help` - prints the help for the current command. All CLI tools should have this flag
49
57
*`--version` - prints the version of the tool. All CLI tools should have this flag
50
58
59
+
## Configuration files
60
+
61
+
The CLI reads and uses data from a [`socket.yml` file](https://docs.socket.dev/docs/socket-yml) in the folder you run it in. It supports the version 2 of the `socket.yml` file format and makes use of the `projectIgnorePaths` to excludes files when creating a report.
62
+
51
63
## Environment variables
52
64
53
65
*`SOCKET_SECURITY_API_KEY` - if set, this will be used as the API-key
0 commit comments