public
Description: A command-line client for Amazon Web Services
Homepage: http://rubyforge.org/projects/cliaws
Clone URL: git://github.com/francois/cliaws.git
cliaws /
name age message
file .gitignore Sun May 31 18:30:24 -0700 2009 New rdoc task [francois]
file History.txt Sun Oct 26 16:15:30 -0700 2008 Preparing 1.3.3 [francois]
file License.txt Sun May 31 18:26:40 -0700 2009 Fixed license [francois]
file README.txt Loading commit data...
file Rakefile
file VERSION Sun May 31 18:13:26 -0700 2009 Version bump to 1.4.2 Removed manual version f... [francois]
directory bin/ Thu Feb 19 06:05:51 -0800 2009 Ec2 access begins today [francois]
file cliaws.gemspec Sun May 31 18:21:05 -0700 2009 Refreshed gemspec [francois]
directory lib/ Sun May 31 18:13:26 -0700 2009 Version bump to 1.4.2 Removed manual version f... [francois]
directory vendor/ Mon Sep 15 13:38:52 -0700 2008 Bundle a patched RightHttpConnection for cases ... [francois]
= cliaws

* http://rubyforge.org/projects/cliaws

== DESCRIPTION:

A command-line client for Amazon Web Services.

== FEATURES/PROBLEMS:

* Amazon keys are read from the environment only.  They environment keys must
  be named:  AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY.
* Minimal amount of error checking is done.  Check the command's status after
  each call.
* No logging.

== SYNOPSIS:

Usage from the command line:

  $ clis3 list my_awesome_bucket/a_glob
  $ clis3 put my_awesome_bucket/a_key_name a_local_file
  $ cat a_local_file | clis3 put my_awesome_bucket/a_key_name
  $ clis3 put --data "this is the data" my_awesome_bucket/a_key_name
  $ clis3 get my_awesome_bucket/a_key_name a_local_file
  $ clis3 get my_awesome_bucket/a_key_name # Outputs to STDOUT
  $ clis3 cat my_awesome_bucket/a_key_name # Outputs to STDOUT, but adds an extra newline
  $ clis3 head my_awesome_bucket/a_key_name
    # Returns a YAML representation of response and metadata headers
  $ clis3 rm my_awesome_bucket/a_key_name

Cliaws may also be used from Ruby:

  Cliaws.s3.list("my_awesome_bucket/a_glob") # Returns an array of names
  Cliaws.s3.put(File.open("a_local_file", "rb"), "my_awesome_bucket/a_key_name")
  Cliaws.s3.put(STDIN, "my_awesome_bucket/a_key_name")
  Cliaws.s3.put("this is the data", "my_awesome_bucket/a_key_name")
  Cliaws.s3.get("my_awesome_bucket/a_key_name")
  Cliaws.s3.head("my_awesome_bucket/a_key_name")
  Cliaws.s3.rm("my_awesome_bucket/a_key_name")

== REQUIREMENTS:

* main
* right_aws

== INSTALL:

* sudo gem install cliaws

== LICENSE:

(The MIT License)

Copyright (c) 2008 François Beausoleil (francois@teksol.info)

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
'Software'), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.