-
Notifications
You must be signed in to change notification settings - Fork 9
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
Consider clearly conveying important options #79
Comments
|
Yes, I think it is a great start.
I did add some decent cmd line arg checking, so you might be right here. But one value is outright command line unfriendly.
Yeah, I think so.
Yeah, db location would be a good one. Because properties can be sourced from:
When a user has opted to override a default, it would be nice to show not only where that default is coming from but also when a user-specified property is being overridden by another user-specified property. Stating what the user has selected can nudge them to wonder what else they can do and to read the usage help and/or docs. Here's what the kind of thing I am thinking of:
Or when aliases specified maybe (maybe I selected
We could outright ignore overriding via the deprecated Anyhow, that's the kind of thing I am thinking of. |
That's... very chatty... I'll have to give this some thought. |
Yeah, maybe so. My thinking is that the extra clarity is good for a security scanning tool. But worth sleeping on this for a bit. |
For reference, here's our current printlns:
So, we currently have 5 significant lines, which I am proposing to replace with 9 (admittedly more fleshy and admittedly TBD) lines. |
Currently
Clj-watson conveys the properties we've overridden via
clj-watson.properties
:But
Since scanning for vulnerabilities is a serious thing, we should convey more.
As a user, I want to make sure clj-watson has understood what I've asked it to do and also convey any important defaults.
So
To me, also conveying:
Consider CI-friendly specification of nvd api key token #66 (comment))
Next
Happy to explore/discuss/do/help/whatever. Lemme know.
The text was updated successfully, but these errors were encountered: