Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Command Line control over Linode thru the Linode API

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 bin
Octocat-spinner-32 lib
Octocat-spinner-32 .gitignore
Octocat-spinner-32 Gemfile
Octocat-spinner-32 README.txt
Octocat-spinner-32 Rakefile
Octocat-spinner-32 clinode.gemspec
README.txt
Command Linode control over Linode thru the Linode API.

Here's the expected command line interface

API Key is read from
  - ENV["LINODE_API_KEY"]
  - ~/.linode.yml's api_token key

linode stackscript list
  - Lists all your stackscripts

linode stackscript <stackscript_id> [-o] [-u update_stackscript_script]
  - Shows content with meta data of given stackscript
  - -o Outputs the stackscipt text only, good with redirection to file of your choice
  - -u Updates stackscript by reading from specified file
  - -e name:value pair of attributes to be updated for the given stackscript

linode stackscript download [--dir=<dir>]
  - Downloads all your stackscripts in the format <stackscript_id>.stack.sh in the current directory or a directory of your choosing

linode stackscript upload [-dir=<dir>]
  - Uploads all files in the format <stackscript_id>.stack.sh in the current directory or a directory of your choosing onto linode.

Note: I'm still trying to find the best and cleanest way to implement it. All a spike so far.
If you use it, best to read the code to figure this out and fork and pull.
Something went wrong with that request. Please try again.