@socketsecurity/cli
Advanced tools
Comparing version 0.1.1 to 0.1.2
{ | ||
"name": "@socketsecurity/cli", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "CLI tool for Socket.dev", | ||
"homepage": "http://github.com/SocketDev/socket-commando", | ||
"homepage": "http://github.com/SocketDev/socket-cli-js", | ||
"repository": { | ||
"type": "git", | ||
"url": "git://github.com/SocketDev/socket-commando.git" | ||
"url": "git://github.com/SocketDev/socket-cli-js.git" | ||
}, | ||
@@ -10,0 +10,0 @@ "keywords": [], |
@@ -23,5 +23,22 @@ # Socket CLI | ||
* `info <package@version>` - looks up issues for a package | ||
* `report create` - creates a report | ||
* `socket info <package@version>` - looks up issues for a package | ||
* `socket report create` - 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 | ||
## Flags | ||
### Action flags | ||
* `--dry-run` - the `socket report create` supports running the command without actually uploading anything. All CLI tools that perform an action should have a dry run flag | ||
### Output flags | ||
* `--json` - outputs result as json which you can then pipe into [`jq`](https://stedolan.github.io/jq/) and other tools | ||
* `--markdown` - outputs result as markdown which you can then copy into an issue, PR or even chat | ||
### Other flags | ||
* `--debug` - outputs additional debug output. Great for debugging, geeks and us who develop. Hopefully you will never _need_ it, but it can still be fun, right? | ||
* `--help` - prints the help for the current command. All CLI tools should have this flag | ||
* `--version` - prints the version of the tool. All CLI tools should have this flag | ||
## Environment variables | ||
@@ -31,2 +48,3 @@ | ||
## Contributing | ||
### Environment variables for development | ||
@@ -33,0 +51,0 @@ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
26937
58