public
Description: A command-line client for Amazon Web Services
Homepage: http://rubyforge.org/projects/cliaws
Clone URL: git://github.com/francois/cliaws.git
francois (author)
Thu Apr 17 14:08:17 -0700 2008
commit  50403c9e2b0e4e79a2a958bb2f522299ffc056a4
tree    90e4e1082a233c6b701ed2f5112e2679a58533d7
parent  37f8f123c8f601a9422743a5df8f25cd33c8833e
cliaws /
name age message
file .gitignore Thu Apr 17 14:08:17 -0700 2008 Ignore pkg/ [francois]
file History.txt Thu Apr 17 13:50:29 -0700 2008 Prepare for 1.1.0. [francois]
file License.txt Sat Apr 12 04:43:39 -0700 2008 Initial implementation of S3 client. [francois]
file Manifest.txt Thu Apr 17 13:51:44 -0700 2008 Refreshed the manifest. [francois]
file README.txt Sun Apr 13 04:09:49 -0700 2008 New cat subcommand. [francois]
file Rakefile Sat Apr 12 04:43:39 -0700 2008 Initial implementation of S3 client. [francois]
directory bin/ Thu Apr 17 14:07:57 -0700 2008 Renamed send to push. #send is reserved intern... [francois]
directory config/ Sat Apr 12 04:43:39 -0700 2008 Initial implementation of S3 client. [francois]
directory lib/ Thu Apr 17 14:07:57 -0700 2008 Renamed send to push. #send is reserved intern... [francois]
directory log/ Sat Apr 12 04:43:39 -0700 2008 Initial implementation of S3 client. [francois]
directory script/ Sat Apr 12 04:43:39 -0700 2008 Initial implementation of S3 client. [francois]
file setup.rb Sat Apr 12 04:43:39 -0700 2008 Initial implementation of S3 client. [francois]
directory tasks/ Sat Apr 12 04:43:39 -0700 2008 Initial implementation of S3 client. [francois]
directory test/ Sat Apr 12 04:43:39 -0700 2008 Initial implementation of S3 client. [francois]
directory 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.