Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Zip export #453

Merged
merged 1 commit into from
Apr 21, 2020
Merged

Add Zip export #453

merged 1 commit into from
Apr 21, 2020

Conversation

montyly
Copy link
Member

@montyly montyly commented Apr 21, 2020

  • --zip filename.zip will export the json in a zip archive. The archive will contain one file named "slither_results.json"
  • --zip-type type allows to change the compression. By default it uses lzma. It can be any of the default python compression

--json outputs a json with indentation, while in --zip the indentation is removed

For example, on a large codebase where the json is 14m (44m with the json indentation), the zip is 22k.

@montyly montyly merged commit 57be59a into dev Apr 21, 2020
@montyly montyly deleted the dev-zip branch April 21, 2020 07:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant