Repository navigation
Conversation
|
@kuba Sorry I hadn't seen those PRs. Unfortunately I'm going to have to land this one first, because Sascha and Yasemin's UI work is blocking on this, and config path cleanups & code reorgs are lower priority than getting the UI to look like we actually want it to for launch, so that it can receive usability testing. |
|
@kuba bug fixes absolutely need to land well before launch. But a usability mockup needs to be finished before that, so that a team of UX researchers can go and test the mockup on a group of sysadmins, and bring us back feedback in time for the launch. |
Conflicts: letsencrypt/cli.py Not clear what topic that tweak flag should be under; leaving it under testing for now...
Commonly, this will be caused by a failure to sudo, so the previous text was not necessarily going to be helpful.
|
The basic usage printf will be something like this: And full help from letsencrypt --help all |
|
*"Install" the certificate is never really defined. I think it should be made clear this involves changing the configuration of the webserver. For example "Use the Apache plugin for authentication and installation" doesn't really make it clear that this will modify the local Apache configuration. Some small comments, mostly these are my personal wording preferences: *"HTTPS/TLS/SSL certificates" I'd prefer "HTTPS (TLS/SSL) certificates" |
Keep argparse in place for --help <TOPIC>, but try to make that match the customised short help as much as possible.
Conflicts: letsencrypt/le_util.py
|
Ok, I think this should be ready for review. Let's get it landed so we can unblock other cli stuff. |
|
(There are a few more item's from Joe's review to address, but I think we should merge this to unblock @kuba and I'll keep working on those) |
Organise command line help into topics
Additonally: - remove "-s", it will not be used often - remove --accountkey (former --authkey), as it is not used - CLI_DEFAULTS: cert_path -> auth_cert_path, chain_path -> auth_chain_path - remove remaining "LetsEncrypt" error prefixes (fixes certbot#487). - HeplfulParser: - call add_plugin_args from outside (this makes sure plugins are displayed last in --help all)
This branch organises command line flags into topics, so that the default help is short and manageable; there's letsencrypt --help security, letsencrypt --help apache, etc and letsencrypt --help all if you want very extensive output like a man page.
This pull request probably isn't ready for merging yet; it needs a bit more work on integration with subcommands, and may need rebasing too.
But any significant CLI work should probably be built on top of it.