Linode CLI (developer release #8)
The Linode CLI is the command line tool for interacting with your Linode services.
This is our eighth early developer release of our command line tool. We're working toward a tool that will eventually allow you to interact with all Linode services.
Please help us make Linode CLI even more awesome by sending us your feedback and ideas. It is our goal to shape the tool to meet your needs.
What's New in This Release?
* Domain support (create, update, list, show, and delete).
- Domain record management (record-create, record-update, record-delete, record-list, record-show).
Repository:https://github.com/linode/cli
New Examples
Create a master domain (requires an SOA email address).
$ linode domain create example.com admin@example.com
Create a slave domain (requires a master DNS server ip).
$ linode domain create example.com slave X.X.X.X
Displaying domains.
$ linode domain list
$ linode domain show example.com
Updating a domain.
$ linode domain update example.com --group main
Creating a domain records.
$ linode domain record-create example.com A www2 X.X.X.X
$ linode domain record-create example.com MX subdomain mail.example.com
Updating a domain record.
$ linode domain record-update example.com MX mail.example.com --priority 20
Removing a domain record.
$ linode domain record-delete example.com A www2
Displaying domain records.
$ linode domain record-list example.com
$ linode domain record-list example.com MX
$ linode domain record-show example.com
$ linode domain record-show example.com example.com MX
How to Get the Source
Linode CLI is hosted on GitHub and is open source, dual-licensed under the GPLv2, and the Perl Artistic License. This is a developer release, so for now depending on your system, you may need to install dependencies manually as described in the README.
Enjoy!
-Linode