You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(defnverify"Verifies a certificate isn't expired and was signed by a trusted authority."
[flags]
(not-implemented))
gives something like this:
ca Create a self signed certificate authority
keygen Create a public/private key pair.
sign Create and sign a certificate.
pring Print details about a certificate
verify Verifies a certificate isn't expired and
As you can see the second line in verify is not printed.
Not sure how important it is to fix but I think it could be documented so users are not taken by surprise.
The main complaint IMO would be the surprise factor and juggling with linters / line too long issue.
Otherwise, nice project so far - currently exploring it.
The text was updated successfully, but these errors were encountered:
:commands ["ca" #'ca
"keygen" #'keygen
"sign" #'sign
"pring" #'my-print
"verify" {:command #'verify
:flags ["--ca FILE" "Required: path to a file
containing one or more ca certificates"
"--crt FILE" "Required: path to a file containing a single certificate"]}]}))
Gives me (notice description for --ca) :
-V, Prints the version
-h, --help Prints this help message
--ca FILE Required: path to a file
--crt FILE Required: path to a file containing a single certificate
This is by design, we follow the same convention as for docstrings. Summary on the first line, longer explanation below that. You get the full docs for a command when you ask for its help.
For flags we don't surface that currently, maybe for flags it does make more sense to render the whole string, although then we'd also have to get smarter at aligning the different lines of text nicely.
Hi,
Having something like this:
gives something like this:
ca Create a self signed certificate authority keygen Create a public/private key pair. sign Create and sign a certificate. pring Print details about a certificate verify Verifies a certificate isn't expired and
As you can see the second line in
verify
is not printed.Not sure how important it is to fix but I think it could be documented so users are not taken by surprise.
The main complaint IMO would be the surprise factor and juggling with linters / line too long issue.
Otherwise, nice project so far - currently exploring it.
The text was updated successfully, but these errors were encountered: