As an everyday maintainer of many domains I've found CLIs very useful (e.g AWS). I've created this simple CLI to manage your GoDaddy domains.
In order to get godaddy-cli to work you need to get your GoDaddy keys and place them in $HOME/.config/godaddy/credentials.json
$ git clone git@github.com/Cabemo/godaddy-cli
$ cd godaddy-cli
$ make
$ sudo make install$ sudo make uninstall$ godaddy domains list
awesomedomain.com
anotherone.org$ godaddy domains search example.com
Domain Available Price Period
example.com true 11.99 USD 1 year(s)$ godaddy records list --domain example.com
A 600 @ 134.233.0.41
NS 3600 @ ns23.domaincontrol.com
NS 3600 @ ns24.domaincontrol.com
CNAME 3600 www @
CNAME 3600 _domainconnect _domainconnect.gd.domaincontrol.comType and ttl have default values 'A' and 600 respectively. If you are setting an MX record you must pass the --priority flag too.
$ godaddy records add --domain example.com --type txt --name some --value test --ttl 600
Added: TXT 600 some testIn here you only need the domain, type and name
$ godaddy records remove --domain example.com --type txt --name some