Repository navigation
Add nr domain commands - #17
Merged
Merged
Conversation
nr domain search, check, list, get, order, register, transfer, renew, nameservers set, autorenew on/off, lock on/off, dnssec, auth-code and contacts list, on the /v1/registrar API, with text tables and --output json. Purchases are card only. register, transfer and renew create an order, show the quote with tax, ask for the terms version and (with auto-renew) consent to renewal charges, confirm the charge, check out with --card or the default card the quote picked, and wait for the registry with backoff. Nothing is implied: with --yes, --accept-terms and --mit-consent (or --no-auto-renew) must be passed. A card that needs 3-D Secure (REQUIRES_PORTAL_VERIFICATION for tokens, requires_action for sessions) gets the portal checkout link; other checkout reasons map to next steps. auth-code and lock off need a step-up token; the CLI never prompts for a password (no hidden prompts), so it prints the portal link unless --reauth-token is given. API errors now keep the google.rpc.ErrorInfo reason and metadata. The allow-list script drops response fields the CLI does not read (clientSecret, invoiceId, adminContact, renewalPaymentMethodId). make leak-check still flags paymentMethodId, which the card checkout needs; the check was left unchanged for a maintainer decision.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Domain registration (reseller) support, part of the domain registrar rollout (plan: backend docs/README-DOMAIN-REGISTRAR.md).
Commits: