Gandi / gandi.cli

⚠ ARCHIVED - Command line interface to Gandi.net products using the public API
http://cli.gandi.net/
GNU General Public License v3.0
347 stars 62 forks source link

domain creation DomainExtraParameters #225

Closed Maurozio closed 6 years ago

Maurozio commented 7 years ago

It seems that gandi cli can not register domains that require DomainExtraParameters http://doc.rpc.gandi.net/domain/reference.html#DomainExtraParameters

Can you help me with a temporary solution for using the domain extra parameters in gandi cli? For example "x-se_ident_number". Unfortunately some domain extra parameters are mandatory for some TLDs.

in my opinion "--domain option is deprecated and will be removed upon next release." is not a good choice because using just one line to run a command is really very useful!

Thank you very much for your wonderful work on gandi cli!

sayoun commented 7 years ago

Hello,

the warning message is for the --domain parameter, you can still use one line to buy a domain by passing it directly as an argument.

gandi domain create --domain example.com
->
gandi domain create example.com

For the extra parameters we do not plan to add this for now, but feel free to make a PR to add this to the cli.

grigouze commented 6 years ago

I try to support it in #248

grigouze commented 6 years ago

@Maurozio It's now merged.

We will create a new release soon.