-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Revamp register subcommand #3816
Comments
Just wanted to mention that providing the "account" verb in the CLI going forward also has good synergy with the decision to rename the "registration" in ACME to "account". When the spec is finalized it will be using "account". |
Go ahead and make a PR! The old |
We had a meeting about the Certbot command line awhile ago and decided we should make some changes here. In general, we decided that we should favor add more verbs/subcommands (which can be nicely grouped in our help as shown in #3883) rather than more flags to change behaviors of existing subcommands. What this means here is that:
|
I'm taking a look at this one at PyCon. |
Here's a way to run a single problematic test with
On top of that, our tests were capturing terminal output. This breaks the test, but so you can step through it to see what's going on, you can make the following changes:
Use https://stackoverflow.com/questions/12320863/how-do-you-take-a-git-diff-file-and-apply-it-to-a-local-branch-that-is-a-copy-o if you want to apply this diff with git. To set a breakpoint, use |
* address issue #3816 * formatting update * remove unused variable * address pylint trailing whitespace error * revert whitespace add * update boulder ci test for new update_registration verb * address code review comments * Issue 3816: Revert renaming '...update_regristration...' tests to '...update_account...'. Fix removing update_registration default argument value. * Issue 3816: Fix '--update-registration' not referring to 'update_registration' default as opposed to 'update_account'. * Issue 3816: delint tox output. * Issue 3816: Change @example.org domain to @domain.org in boulder test script * Issue 3816: Update CHANGELOG.md for Issue 3816 and remove extraneous space in main.py * Issue 3816: Remove extraneous default variable.
The cli subcommand
register
is currently used for account management commands. This causes weird spellings likecertbot register --deactivate
. Soregister
should probably be changed toaccount
. I did some preliminary work on this here. But missed things like cli flags (--update-registration
) and documentation.The text was updated successfully, but these errors were encountered: