Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions _typos.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ Vertexes = "Vertexes"
ba = "ba"
Viw = "Viw"
UE = "UE"
gost = "gost"
Original file line number Diff line number Diff line change
@@ -0,0 +1,131 @@
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
Check whether contacts are compatible with a domain or a TLD.
If contacts are not compatible with either the domain or the TLD, the information that needs to be corrected is returned.

USAGE:
scw domain contact check-compatibility [arg=value ...]

ARGS:
[domains.{index}]
[tlds.{index}]
[owner-contact-id]
[owner-contact.legal-form] (legal_form_unknown | individual | corporate | association | other)
[owner-contact.firstname]
[owner-contact.lastname]
[owner-contact.company-name]
[owner-contact.email]
[owner-contact.email-alt]
[owner-contact.phone-number]
[owner-contact.fax-number]
[owner-contact.address-line-1]
[owner-contact.address-line-2]
[owner-contact.zip]
[owner-contact.city]
[owner-contact.country]
[owner-contact.vat-identification-code]
[owner-contact.company-identification-code]
[owner-contact.lang] (unknown_language_code | en_US | fr_FR | de_DE)
[owner-contact.resale]
[owner-contact.extension-fr.mode] (mode_unknown | individual | company_identification_code | duns | local | association | trademark | code_auth_afnic)
[owner-contact.extension-fr.individual-info.whois-opt-in]
[owner-contact.extension-fr.duns-info.duns-id]
[owner-contact.extension-fr.duns-info.local-id]
[owner-contact.extension-fr.association-info.publication-jo]
[owner-contact.extension-fr.association-info.publication-jo-page]
[owner-contact.extension-fr.trademark-info.trademark-inpi]
[owner-contact.extension-fr.code-auth-afnic-info.code-auth-afnic]
[owner-contact.extension-eu.european-citizenship]
[owner-contact.whois-opt-in]
[owner-contact.state]
[owner-contact.extension-nl.legal-form] (legal_form_unknown | other | non_dutch_eu_company | non_dutch_legal_form_enterprise_subsidiary | limited_company | limited_company_in_formation | cooperative | limited_partnership | sole_company | european_economic_interest_group | religious_entity | partnership | public_company | mutual_benefit_company | residential | shipping_company | foundation | association | trading_partnership | natural_person)
[owner-contact.extension-nl.legal-form-registration-number]
[owner-contact.extension-it.pin] Domain name registrant's Taxcode (mandatory / only optional when the trustee is used)
[owner-contact.questions.{index}.question]
[owner-contact.questions.{index}.answer]
[administrative-contact-id]
[administrative-contact.legal-form] (legal_form_unknown | individual | corporate | association | other)
[administrative-contact.firstname]
[administrative-contact.lastname]
[administrative-contact.company-name]
[administrative-contact.email]
[administrative-contact.email-alt]
[administrative-contact.phone-number]
[administrative-contact.fax-number]
[administrative-contact.address-line-1]
[administrative-contact.address-line-2]
[administrative-contact.zip]
[administrative-contact.city]
[administrative-contact.country]
[administrative-contact.vat-identification-code]
[administrative-contact.company-identification-code]
[administrative-contact.lang] (unknown_language_code | en_US | fr_FR | de_DE)
[administrative-contact.resale]
[administrative-contact.extension-fr.mode] (mode_unknown | individual | company_identification_code | duns | local | association | trademark | code_auth_afnic)
[administrative-contact.extension-fr.individual-info.whois-opt-in]
[administrative-contact.extension-fr.duns-info.duns-id]
[administrative-contact.extension-fr.duns-info.local-id]
[administrative-contact.extension-fr.association-info.publication-jo]
[administrative-contact.extension-fr.association-info.publication-jo-page]
[administrative-contact.extension-fr.trademark-info.trademark-inpi]
[administrative-contact.extension-fr.code-auth-afnic-info.code-auth-afnic]
[administrative-contact.extension-eu.european-citizenship]
[administrative-contact.whois-opt-in]
[administrative-contact.state]
[administrative-contact.extension-nl.legal-form] (legal_form_unknown | other | non_dutch_eu_company | non_dutch_legal_form_enterprise_subsidiary | limited_company | limited_company_in_formation | cooperative | limited_partnership | sole_company | european_economic_interest_group | religious_entity | partnership | public_company | mutual_benefit_company | residential | shipping_company | foundation | association | trading_partnership | natural_person)
[administrative-contact.extension-nl.legal-form-registration-number]
[administrative-contact.extension-it.pin] Domain name registrant's Taxcode (mandatory / only optional when the trustee is used)
[administrative-contact.questions.{index}.question]
[administrative-contact.questions.{index}.answer]
[technical-contact-id]
[technical-contact.legal-form] (legal_form_unknown | individual | corporate | association | other)
[technical-contact.firstname]
[technical-contact.lastname]
[technical-contact.company-name]
[technical-contact.email]
[technical-contact.email-alt]
[technical-contact.phone-number]
[technical-contact.fax-number]
[technical-contact.address-line-1]
[technical-contact.address-line-2]
[technical-contact.zip]
[technical-contact.city]
[technical-contact.country]
[technical-contact.vat-identification-code]
[technical-contact.company-identification-code]
[technical-contact.lang] (unknown_language_code | en_US | fr_FR | de_DE)
[technical-contact.resale]
[technical-contact.extension-fr.mode] (mode_unknown | individual | company_identification_code | duns | local | association | trademark | code_auth_afnic)
[technical-contact.extension-fr.individual-info.whois-opt-in]
[technical-contact.extension-fr.duns-info.duns-id]
[technical-contact.extension-fr.duns-info.local-id]
[technical-contact.extension-fr.association-info.publication-jo]
[technical-contact.extension-fr.association-info.publication-jo-page]
[technical-contact.extension-fr.trademark-info.trademark-inpi]
[technical-contact.extension-fr.code-auth-afnic-info.code-auth-afnic]
[technical-contact.extension-eu.european-citizenship]
[technical-contact.whois-opt-in]
[technical-contact.state]
[technical-contact.extension-nl.legal-form] (legal_form_unknown | other | non_dutch_eu_company | non_dutch_legal_form_enterprise_subsidiary | limited_company | limited_company_in_formation | cooperative | limited_partnership | sole_company | european_economic_interest_group | religious_entity | partnership | public_company | mutual_benefit_company | residential | shipping_company | foundation | association | trading_partnership | natural_person)
[technical-contact.extension-nl.legal-form-registration-number]
[technical-contact.extension-it.pin] Domain name registrant's Taxcode (mandatory / only optional when the trustee is used)
[technical-contact.questions.{index}.question]
[technical-contact.questions.{index}.answer]

DEPRECATED ARGS:
[owner-contact.extension-it.european-citizenship] This option is useless anymore
[owner-contact.extension-it.tax-code] Tax_code is renamed to pin
[administrative-contact.extension-it.european-citizenship] This option is useless anymore
[administrative-contact.extension-it.tax-code] Tax_code is renamed to pin
[technical-contact.extension-it.european-citizenship] This option is useless anymore
[technical-contact.extension-it.tax-code] Tax_code is renamed to pin

FLAGS:
-h, --help help for check-compatibility
--list-sub-commands List all subcommands

GLOBAL FLAGS:
-c, --config string The path to the config file
-D, --debug Enable debug mode
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
-p, --profile string The config profile to use
19 changes: 19 additions & 0 deletions cmd/scw/testdata/test-all-usage-domain-contact-get-usage.golden
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
Retrieve a contact's details from the registrar using the given contact's ID.

USAGE:
scw domain contact get [arg=value ...]

ARGS:
contact-id

FLAGS:
-h, --help help for get
--list-sub-commands List all subcommands

GLOBAL FLAGS:
-c, --config string The path to the config file
-D, --debug Enable debug mode
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
-p, --profile string The config profile to use
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
Retrieve the list of contacts and their associated domains and roles.
You can filter the list by domain name.

USAGE:
scw domain contact list [arg=value ...]

ARGS:
[domain]
[project-id]
[role] (unknown_role | owner | administrative | technical)
[email-status] (email_status_unknown | validated | not_validated | invalid_email)
[organization-id]

FLAGS:
-h, --help help for list
--list-sub-commands List all subcommands

GLOBAL FLAGS:
-c, --config string The path to the config file
-D, --debug Enable debug mode
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
-p, --profile string The config profile to use
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
Edit the contact's information.

USAGE:
scw domain contact update [arg=value ...]

ARGS:
contact-id
[email]
[email-alt]
[phone-number]
[fax-number]
[address-line-1]
[address-line-2]
[zip]
[city]
[country]
[vat-identification-code]
[company-identification-code]
[lang] (unknown_language_code | en_US | fr_FR | de_DE)
[resale]
[extension-fr.mode] (mode_unknown | individual | company_identification_code | duns | local | association | trademark | code_auth_afnic)
[extension-fr.individual-info.whois-opt-in]
[extension-fr.duns-info.duns-id]
[extension-fr.duns-info.local-id]
[extension-fr.association-info.publication-jo]
[extension-fr.association-info.publication-jo-page]
[extension-fr.trademark-info.trademark-inpi]
[extension-fr.code-auth-afnic-info.code-auth-afnic]
[extension-eu.european-citizenship]
[extension-nl.legal-form] (legal_form_unknown | other | non_dutch_eu_company | non_dutch_legal_form_enterprise_subsidiary | limited_company | limited_company_in_formation | cooperative | limited_partnership | sole_company | european_economic_interest_group | religious_entity | partnership | public_company | mutual_benefit_company | residential | shipping_company | foundation | association | trading_partnership | natural_person)
[extension-nl.legal-form-registration-number]
[extension-it.pin] Domain name registrant's Taxcode (mandatory / only optional when the trustee is used)
[whois-opt-in]
[state]
[questions.{index}.question]
[questions.{index}.answer]

DEPRECATED ARGS:
[extension-it.european-citizenship] This option is useless anymore
[extension-it.tax-code] Tax_code is renamed to pin

FLAGS:
-h, --help help for update
--list-sub-commands List all subcommands

GLOBAL FLAGS:
-c, --config string The path to the config file
-D, --debug Enable debug mode
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
-p, --profile string The config profile to use
24 changes: 24 additions & 0 deletions cmd/scw/testdata/test-all-usage-domain-contact-usage.golden
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
Contact management.

USAGE:
scw domain contact <command>

AVAILABLE COMMANDS:
check-compatibility Check if contacts are compatible with a domain or a TLD
get Get a contact
list List contacts
update Update contact

FLAGS:
-h, --help help for contact
--list-sub-commands List all subcommands

GLOBAL FLAGS:
-c, --config string The path to the config file
-D, --debug Enable debug mode
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
-p, --profile string The config profile to use

Use "scw domain contact [command] --help" for more information about a command.
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
Disable the `auto renew` feature for a domain. This means the domain will not be renewed before its expiry date.

USAGE:
scw domain domain disable-auto-renew [arg=value ...]

ARGS:
domain

FLAGS:
-h, --help help for disable-auto-renew
--list-sub-commands List all subcommands

GLOBAL FLAGS:
-c, --config string The path to the config file
-D, --debug Enable debug mode
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
-p, --profile string The config profile to use
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
Disable DNSSEC for a domain.

USAGE:
scw domain domain disable-dnssec [arg=value ...]

ARGS:
domain

FLAGS:
-h, --help help for disable-dnssec
--list-sub-commands List all subcommands

GLOBAL FLAGS:
-c, --config string The path to the config file
-D, --debug Enable debug mode
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
-p, --profile string The config profile to use
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
Enable the `auto renew` feature for a domain. This means the domain will be automatically renewed before its expiry date.

USAGE:
scw domain domain enable-auto-renew [arg=value ...]

ARGS:
domain

FLAGS:
-h, --help help for enable-auto-renew
--list-sub-commands List all subcommands

GLOBAL FLAGS:
-c, --config string The path to the config file
-D, --debug Enable debug mode
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
-p, --profile string The config profile to use
Loading
Loading