mirror of
https://github.com/google/nomulus.git
synced 2025-05-13 07:57:13 +02:00
Add create_domain command to gtech_tool
Support creating domain with gtech_tool, instead of creating temporary epp file and run execute_epp manually. Also changes CreateContactCommand for consistency. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=130127280
This commit is contained in:
parent
0066a03709
commit
5f26196993
9 changed files with 331 additions and 12 deletions
|
@ -37,43 +37,43 @@ final class CreateContactCommand extends MutatingEppToolCommand implements Gtech
|
|||
String clientIdentifier;
|
||||
|
||||
@Parameter(
|
||||
names = {"--id"},
|
||||
names = {"-i", "--id"},
|
||||
description = "Contact ID.")
|
||||
private String id;
|
||||
|
||||
@Parameter(
|
||||
names = {"--name"},
|
||||
names = {"-n", "--name"},
|
||||
description = "Contact name.")
|
||||
private String name;
|
||||
|
||||
@Parameter(
|
||||
names = {"--org"},
|
||||
names = {"-o", "--org"},
|
||||
description = "Organization")
|
||||
private String org;
|
||||
|
||||
@Parameter(
|
||||
names = {"--street"},
|
||||
names = "--street",
|
||||
description = "Street lines of address. Can take up to 3 lines.",
|
||||
variableArity = true)
|
||||
private List<String> street;
|
||||
|
||||
@Parameter(
|
||||
names = {"--city"},
|
||||
names = "--city",
|
||||
description = "City of address.")
|
||||
private String city;
|
||||
|
||||
@Parameter(
|
||||
names = {"--state"},
|
||||
names = "--state",
|
||||
description = "State of address.")
|
||||
private String state;
|
||||
|
||||
@Parameter(
|
||||
names = {"--zip"},
|
||||
names = {"-z", "--zip"},
|
||||
description = "Postal code of address.")
|
||||
private String zip;
|
||||
|
||||
@Parameter(
|
||||
names = {"--cc"},
|
||||
names = "--cc",
|
||||
description = "Country code of address.")
|
||||
private String cc;
|
||||
|
||||
|
@ -92,12 +92,12 @@ final class CreateContactCommand extends MutatingEppToolCommand implements Gtech
|
|||
String fax;
|
||||
|
||||
@Parameter(
|
||||
names = {"--email"},
|
||||
names = {"-e", "--email"},
|
||||
description = "Email address.")
|
||||
private String email;
|
||||
|
||||
@Parameter(
|
||||
names = {"--password"},
|
||||
names = {"-p", "--password"},
|
||||
description = "Password. Optional, randomly generated if not provided.")
|
||||
private String password;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue