public
Description: A command-line client for Amazon Web Services
Homepage: http://rubyforge.org/projects/cliaws
Clone URL: git://github.com/francois/cliaws.git
Search Repo:
francois (author)
Wed Apr 30 08:33:03 -0700 2008
commit  fdfa3e508e98841c8842b287b20b60bcfde3ed04
tree    af5c3175e4d4b809928a570e378ba6083befb6ff
parent  54d9007748afda9ce8ee29aedf0e129d71df921c
cliaws /
name age message
folder .gitignore Thu Apr 17 14:08:17 -0700 2008 Ignore pkg/ [francois]
folder History.txt Thu Apr 17 14:09:06 -0700 2008 Prepared for 1.1.1 release. [francois]
folder License.txt Sat Apr 12 04:43:39 -0700 2008 Initial implementation of S3 client. [francois]
folder Manifest.txt Thu Apr 17 13:51:44 -0700 2008 Refreshed the manifest. [francois]
folder README.txt Sun Apr 13 04:09:49 -0700 2008 New cat subcommand. [francois]
folder Rakefile Sat Apr 12 04:43:39 -0700 2008 Initial implementation of S3 client. [francois]
folder bin/ Wed Apr 30 08:33:03 -0700 2008 New clisqs info subcommand. [francois]
folder config/ Sat Apr 12 04:43:39 -0700 2008 Initial implementation of S3 client. [francois]
folder lib/ Wed Apr 30 08:33:03 -0700 2008 New clisqs info subcommand. [francois]
folder log/ Sat Apr 12 04:43:39 -0700 2008 Initial implementation of S3 client. [francois]
folder script/ Sat Apr 12 04:43:39 -0700 2008 Initial implementation of S3 client. [francois]
folder setup.rb Sat Apr 12 04:43:39 -0700 2008 Initial implementation of S3 client. [francois]
folder tasks/ Sat Apr 12 04:43:39 -0700 2008 Initial implementation of S3 client. [francois]
folder test/ Sat Apr 12 04:43:39 -0700 2008 Initial implementation of S3 client. [francois]
folder website/ Sat Apr 12 04:43:39 -0700 2008 Initial implementation of S3 client. [francois]
README.txt
= 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
* activesupport
* 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.