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
Copy file name to clipboardExpand all lines: README.md
+11-36Lines changed: 11 additions & 36 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,43 +34,21 @@ socket --help
34
34
35
35
All aliases support the flags and arguments of the commands they alias.
36
36
37
-
-`socket ci` - alias for `socket report create --view --strict` which creates a
38
-
report for the current directory and quits with an exit code if the result is unhealthy.
37
+
-`socket ci` - alias for `socket scan create --report` which creates a report for the current directory and quits with an exit code if the result is unhealthy.
39
38
40
39
## Flags
41
40
42
-
### Command specific flags
43
-
44
-
-`--view` - when set on `socket report create` the command will immediately do
45
-
a `socket report view` style view of the created report, waiting for the
46
-
server to complete it
47
-
48
41
### Output flags
49
42
50
-
-`--json` - Outputs result as JSON which you can then pipe into
51
-
[`jq`](https://stedolan.github.io/jq/) and other tools.
52
-
-`--markdown` - Outputs result as Markdown which you can then copy into an
53
-
issue, PR, or chat.
54
-
55
-
## Strictness flags
56
-
57
-
-`--all` - by default only `high` and `critical` issues are included, by
58
-
setting this flag all issues will be included
59
-
-`--strict` - when set, exits with an error code if report result is deemed
60
-
unhealthy
43
+
-`--json` - Outputs result as JSON which can be piped into [`jq`](https://stedolan.github.io/jq/) and other tools.
44
+
-`--markdown` - Outputs result as Markdown which can be copied into issues, pull requests, or chats.
61
45
62
46
### Other flags
63
47
64
-
-`--dry-run` - like all CLI tools that perform an action should have, we have a
65
-
dry run flag. Eg. `socket report create` supports running the command without
66
-
actually uploading anything
67
-
-`--debug` - outputs additional debug output. Great for debugging, geeks and us
68
-
who develop. Hopefully you will never _need_ it, but it can still be fun,
69
-
right?
70
-
-`--help` - prints the help for the current command. All CLI tools should have
71
-
this flag
72
-
-`--version` - prints the version of the tool. All CLI tools should have this
73
-
flag
48
+
-`--dry-run` - Run a command without uploading anything.
49
+
-`--debug` - Output additional debug.
50
+
-`--help` - Prints the help for a command.
51
+
-`--version` - Prints the Socket CLI version.
74
52
75
53
## Configuration files
76
54
@@ -106,13 +84,10 @@ To run dev locally you can run these steps
106
84
107
85
```
108
86
npm install
109
-
npm run build:dist
87
+
npm run build
110
88
npm exec socket
111
89
```
112
90
113
-
That should invoke it from local sources. If you make changes you run
114
-
`build:dist` again.
115
-
116
91
### Environment variables for development
117
92
118
93
-`DEBUG` - Enable debug logging based on the [`debug`](https://socket.dev/npm/package/debug) package.
@@ -127,12 +102,12 @@ That should invoke it from local sources. If you make changes you run
127
102
128
103
## Similar projects
129
104
130
-
-[`@socketsecurity/sdk`](https://github.com/SocketDev/socket-sdk-js) - The SDK used by Socket CLI
105
+
-[`@socketsecurity/sdk`](https://github.com/SocketDev/socket-sdk-js) - The SDK used by Socket CLI.
131
106
132
107
## See also
133
108
134
109
-[Announcement blog post](https://socket.dev/blog/announcing-socket-cli-preview)
135
-
-[Socket API Reference](https://docs.socket.dev/reference) - The API used by Socket CLI
136
-
-[Socket GitHub App](https://github.com/apps/socket-security) - The plug-and-play GitHub App
110
+
-[Socket API Reference](https://docs.socket.dev/reference) - The API used by Socket CLI.
111
+
-[Socket GitHub App](https://github.com/apps/socket-security) - The plug-and-play GitHub App.
0 commit comments