-
Notifications
You must be signed in to change notification settings - Fork 981
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
[Tracking] Ideas for Printer CLI & API improvements #759
Comments
This is great. We can probably merge #761 here. Instead of
For For For |
I really like the idea of using the same options for detectors and printers and using
I thought
Yes. I'm thinking in the direction of keeping the flexibility of printers writing files and returning custom json but giving them a simple way to output data that is grouped into contracts and functions from which tables, json in a somewhat standardized format and more can be generated. I hope that makes sense. |
With exclude/include if I'm just interested in a single contract (or function) Alternatively Wondering if there's a problem with that. |
Yes, if you use But here we might want to allow the combinations (ex: |
Some additional improvements to consider:
|
|
A place to collect ideas for improving the printer system.
CLI
--filter {contract}
to only output results for the given{contract}
--filter {contract}.{function}
to only output results for the given{function}
of{contract}
Function Explorer
,Summary
,SlithIR
, ...), and adding these categories to printer table (with an order by classification, and then name)--printer-doc {printer-id}
to output reference for given{printer-id}
--markdown ""
to--printers-wiki-markdown
and--detectors-wiki-markdown
--json
output something that has more structure than a tableAPI
--filter
(see above)--json
output which is needed if slither vscode plugin wants to display printer results inlinefilename
fromAbstractPrinter.output(...)
since printers generally ignore it and it is also available asself.filename
The text was updated successfully, but these errors were encountered: