Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Wed Oct 23, 2013 4:41 pm 
Offline
Linode Staff
User avatar

Joined: Tue Apr 15, 2003 6:24 pm
Posts: 3090
Website: http://www.linode.com/
Location: Galloway, NJ
Linode CLI (developer release #1)

A command line tool for interacting with your Linode services.

This is a very early developer release of a command line tool we're working on that will eventually allow you to interact with all Linode services.

What's new in this release?
  • Initial CLI foundational work
  • Support for Linodes (list, show, stop, start, restart, rename, group and create)
  • Checking the status of just one Linode, or all of the Linodes in your account (list and show)
  • Human formatted output or optionally JSON
  • Beginnings of help screens and manpage
Repository: https://github.com/linode/cli

Why a developer release?
We'd like to incorporate your feedback as early on in the development process as possible. So, here it is - in very early and unpolished form, and we'll be developing it out in the open. We have a very active team working on implementing the remaining features - so stay tuned, as you'll be seeing us releasing updates frequently.

Example
Below is an example of listing Linodes under your account, in human-readable format.

Code:
$ linode list
label               id       status       backups  disk   ram
===============================================================
linodefrontend1     900001   running      yes      24GB   1GB
linodebackend1      900002   running      yes      48GB   1GB
linodedevelopment   900003   running      no       48GB   1GB
===============================================================

The linode-cli will also output in JSON if passed the --json flag.

Where do I get it?
Please do keep in mind that this is a developer release, and that the final versions will be packaged up and very easy to install. For now, you may need to install dependencies manually depending on your system, described in the README.

It's hosted on GitHub and is open source, dual licensed under the GPLv2 and the Perl Artistic License.

https://github.com/linode/cli <-- right-hand side are the download options

Enjoy!
-Linode


Top
   
PostPosted: Fri Oct 25, 2013 10:23 am 
Offline
Senior Member
User avatar

Joined: Tue May 26, 2009 3:29 pm
Posts: 1691
Location: Montreal, QC
Does this work from outside Linode? As in, can I use it to control my linodes from home?


Top
   
PostPosted: Fri Oct 25, 2013 10:36 am 
Offline
Linode Staff

Joined: Sun May 01, 2011 1:36 pm
Posts: 9
Absolutely. It will work anywhere there is a modern Perl interpreter with dependencies installed. It piggybacks on the API and requires your Linode user account's API key.


Top
   
PostPosted: Fri Oct 25, 2013 10:39 am 
Offline
Linode Staff
User avatar

Joined: Tue Apr 15, 2003 6:24 pm
Posts: 3090
Website: http://www.linode.com/
Location: Galloway, NJ
Down the road there will be easy to install packages for most popular platforms, but for now you need to install the dependencies manually - as per the README.

-Chris


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group