-
Notifications
You must be signed in to change notification settings - Fork 940
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
Modify command line arguments #50
Comments
Personally I'd say this is more consistent with other tools. |
In agreement here. I would be in favor of changing following @dguido's suggestion. It seems like one of the only open items would be around the default |
Currently json ouput prints to a file, how should the the argument for output look like? |
@redshark1802 do you think that specifying the output filename warrants an additional required argument? Seems like we could just default to something intuitive for the time being. We can always add this functionality later based on feedback. |
nitpick - @dguido, maybe we should also add a |
Yes, we should add a `--version` :).
…On Tue, Oct 23, 2018, 12:57 AM Ben Stewart ***@***.***> wrote:
nitpick - @dguido <https://github.com/dguido>, maybe we should also add a
--version command? Keeping things consistent with a common interface.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#50 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AJi7Cq_teI9Dn7Y_iyp2uxw3z7Hb75nTks5unk1xgaJpZM4XyAeB>
.
|
added |
I think we should keep the exclusion rules related to the severity, such as |
Issue Status: 1. Open 2. Started 3. Submitted 4. Done This issue now has a funding of 70.0 DAI (70.0 USD @ $1.0/DAI) attached to it as part of the Ethereum Community Fund via ECF Web 3.0 Infrastructure Fund fund.
|
Issue Status: 1. Open 2. Started 3. Submitted 4. Done Work has been started. These users each claimed they can complete the work by 7 months, 2 weeks from now. 1) redshark1802 has been approved to start work. WIP #55 Learn more on the Gitcoin Issue Details page. |
I'm also in favor of leaving the |
I am in favor to ask the user for an output filename, and maye have I dont have a strong opinion about the exclude-detector, but I am ok if we use the same system than for detect ( Maybe we could also have |
We could also put json on the stdout and all the other logs to stderr. This way the user could just do |
@disconnect3d I agree, imho this a very consistent way. |
With each detector/printer you have an help information, which describes what the detector/printer does. It could be useful to be able to print that description directly from the command line, so the users don't need to go back to the README page |
I've added Also I played a bit around with json output and I think the current behaviour is just fine, i.e You can also ping me on slack if you want to for further discussions. |
Hey, I merged the PR, and added some modifications on the command line (like I removed --output, to only keep --json, we will see in the future how people are using the option) Thanks for your help and your feedback! @mkosowsk can you validate the bounty? thx! |
You're welcome, thanks. |
@redshark1802 please submit the bounty on the Gitcoin Issue Details page and I will pay out ASAP. Thanks! :) |
Issue Status: 1. Open 2. Started 3. Submitted 4. Done Work for 70.0 DAI (70.0 USD @ $1.0/DAI) has been submitted by: @mkosowsk please take a look at the submitted work:
|
Issue Status: 1. Open 2. Started 3. Submitted 4. Done The funding of 70.0 DAI (70.0 USD @ $1.0/DAI) attached to this issue has been approved & issued to @redshark1802.
|
Is there a resource with all the possible slither args? I am trying to slither with foundry so it would be helpful |
The command line arguments are setup differently than I would expect for Slither. I wonder what people think about changing them? I would have expected some of these changes:
--detect
which takes a comma-separated list indicating the checks to run (default: all)--print
which takes a comma-separated list of printers to output (default: ???)--output
which accepts a single parameter of eitherstdout
orjson
(default: stdout)The text was updated successfully, but these errors were encountered: