Unolia CLI is a command line interface for Unolia API.
Check out unolia.com for more information.
composer global require unolia/unolia-cli
unolia login
or
unolia login --token={TOKEN}
# List information about the current user
unolia me
unolia teams
# List all domains
unolia domain:list
# List all records for a domain
unolia domain:records unolia.com
# Add, update and remove records
unolia domain:add unolia.com mx mg.unolia.com "10 mxa.eu.mailgun.org"
unolia domain:add unolia.com mx mg.unolia.com "10 mxb.eu.mailgun.org"
unolia domain:update {ID}
unolia domain:remove {ID}
# Check DNS records
unolia dig unolia.com TXT
unolia dig unolia.com A