Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
acme.sh: add page #5823
acme.sh: add page #5823
Changes from 1 commit
90ec8e8
8244ad2
d6e1b85
3a8b190
1802401
b063ae0
d2a4aeb
cd75f28
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This would ideally contain a far longer code snippet, like:
But I am not sure how to proceed. All the parameters, except the
--domain
are optional. However, there are many parameters in a format--*-file
handling their respective certificate key files. Without a single *-file parameter, the whole command does literally nothing.Additionally,
--reloadcmd
is also optional, but it is run without it only rarely (in the situations that the service restart is done completely manually, bypassing the whole point of automatic certificate renewal mechanism).I am not entirely sure how to proceed, but this single code block is the only one I would've looked for when calling tldr acme.sh.
EDIT: the relevant docs are at https://github.com/acmesh-official/acme.sh#3-install-the-cert-to-apachenginx-etc
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@bl-ue @marchersimon @sbrl please, can anyone provide any kind of feedback?
Should this stay as it is, or is there any way to display long command? I did not find anything "long" related in the contribution guide.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems a little long, but it might not be... 🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I also think we should try to stuff it into one line. Mainly because most clients don't support multiline code.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Guys please, I am not sure what to do here. Would appreciate some guidance, if I am expected to commit some changes.
UPDATE:
As far as I can tell right now, we have at least three options:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
--install-cert
options, as there are quite a few of them and mention this page in See also sectionThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not just stuff it into one line? It's a little long, but I don't really see any strong reason why not to. As for multiline, we can't do that, because that goes against the client spec (or at least the client spec will have to be updated).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Long option would serve the most basic information, I am also wiling to write the subcommand page for
--install-cert
option, as it has around 5-7 commonly used parameters.Thinking about it further, the name of the file could probably be called
acme.sh-install-cert.md
similarly as for instancegit-cat-file.md
Would this somehow break existing conventions?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For some commands, it's unavoidable to have long commands - just do
tldr whiptail
and you'll see what I mean. It's not necessarily a bad thing. I say put it all on 1 line.Edit: Those file paths have to be absolute too by the looks of things, so we can't save some character there either