Skip to content

Commit 7b7afb6

Browse files
committed
Add optimize command to readme
1 parent 381bc48 commit 7b7afb6

File tree

1 file changed

+13
-10
lines changed

1 file changed

+13
-10
lines changed

README.md

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,20 @@ socket wrapper --enable
2323

2424
## Commands
2525

26-
- `socket info <package@version>` - looks up issues for a package
26+
- `socket info <package@version>` - Look up issues for a package.
27+
28+
- `socket optimize` - Optimize dependencies with
29+
[`@socketregistry`](https://github.com/SocketDev/socket-registry-js) overrides
30+
31+
- `socket raw-npm` and `socket raw-npx` - Temporarily disable the Socket
32+
'safe-npm' wrapper.
2733

2834
- `socket report create <path(s)-to-folder-or-file>` - creates a report on
2935
[socket.dev](https://socket.dev/)
3036

31-
Uploads the specified `package.json` and lock files for JavaScript, Python,
32-
and Go dependency manifests. If any folder is specified, the ones found in
33-
there recursively are uploaded.
37+
Upload the specified `package.json` and lock files for JavaScript, Python, and
38+
Go dependency manifests. If any folder is specified, the ones found in there
39+
recursively are uploaded.
3440

3541
Supports globbing such as `**/package.json`, `**/requirements.txt`,
3642
`**/pyproject.toml`, and `**/go.mod`.
@@ -41,13 +47,10 @@ socket wrapper --enable
4147
a sensible set of
4248
[default ignores](https://socket.dev/npm/package/ignore-by-default)
4349

44-
- `socket report view <report-id>` - looks up issues and scores from a report
50+
- `socket report view <report-id>` - Look up issues and scores from a report.
4551

46-
- `socket wrapper --enable` and `socket wrapper --disable` - Enables and
47-
disables the Socket 'safe-npm' wrapper.
48-
49-
- `socket raw-npm` and `socket raw-npx` - Temporarily disables the Socket
50-
'safe-npm' wrapper.
52+
- `socket wrapper --enable` and `socket wrapper --disable` - Enable and disable
53+
the Socket 'safe-npm' wrapper.
5154

5255
## Aliases
5356

0 commit comments

Comments
 (0)