Allow square bracket expansion when specifying nameservers

I'm finally fed up enough with all the nameserver changes we've had to make on our
self-allocated domains to improve the command.  Now you can simply run:

$ nomulus ... update_domain ... -n ns[1-4].foo.bar

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=205282317
This commit is contained in:
mcilwain 2018-07-19 12:27:07 -07:00 committed by jianglai
parent 4b99fae1dd
commit a2fe058865
9 changed files with 305 additions and 32 deletions

View file

@ -16,7 +16,7 @@ package google.registry.tools.params;
import com.google.common.net.InternetDomainName;
/** Duration CLI parameter converter/validator. */
/** InternetDomainName CLI parameter converter/validator. */
public final class InternetDomainNameParameter
extends ParameterConverterValidator<InternetDomainName> {