mirror of
https://github.com/google/nomulus
synced 2026-01-10 07:57:58 +00:00
Remove GtechCommand and other vestiges of gtech_tool
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=134836647
This commit is contained in:
@@ -26,7 +26,6 @@ import com.google.re2j.Pattern;
|
||||
import google.registry.config.RegistryEnvironment;
|
||||
import google.registry.model.registrar.Registrar;
|
||||
import google.registry.model.registry.Registry.TldState;
|
||||
import google.registry.tools.Command.GtechCommand;
|
||||
import google.registry.tools.Command.RemoteApiCommand;
|
||||
import google.registry.tools.params.PathParameter;
|
||||
import java.nio.file.Path;
|
||||
@@ -39,7 +38,7 @@ import org.joda.time.Duration;
|
||||
@Parameters(
|
||||
separators = " =",
|
||||
commandDescription = "Set up OT&E TLDs and registrars")
|
||||
final class SetupOteCommand extends ConfirmingCommand implements RemoteApiCommand, GtechCommand {
|
||||
final class SetupOteCommand extends ConfirmingCommand implements RemoteApiCommand {
|
||||
|
||||
// Regex: 3-14 alphanumeric characters or hyphens, the first of which must be a letter.
|
||||
private static final Pattern REGISTRAR_PATTERN = Pattern.compile("^[a-z][-a-z0-9]{2,13}$");
|
||||
|
||||
Reference in New Issue
Block a user