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:
New cat subcommand.
francois (author)
Sun Apr 13 04:09:49 -0700 2008
commit  85e876a192e52a923dd8f9a3cb11adb46d10da94
tree    569b5e2da4c47abc70ba46c5d61a6aa0b39b632e
parent  27864a460df81a3d7beaaaba99cdcfd9a7cb415f
...
24
25
26
27
 
28
29
30
...
24
25
26
 
27
28
29
30
0
@@ -24,7 +24,7 @@ Usage from the command line:
0
   $ clis3 put --data "this is the data" my_awesome_bucket/a_key_name
0
   $ clis3 get my_awesome_bucket/a_key_name a_local_file
0
   $ clis3 get my_awesome_bucket/a_key_name # Outputs to STDOUT
0
- $ clis3 cat my_awesome_bucket/a_key_name # Outputs to STDOUT
0
+ $ clis3 cat my_awesome_bucket/a_key_name # Outputs to STDOUT, but adds an extra newline
0
   $ clis3 head my_awesome_bucket/a_key_name
0
     # Returns a YAML representation of response and metadata headers
0
   $ clis3 rm my_awesome_bucket/a_key_name
...
65
66
67
 
68
69
70
...
65
66
67
68
69
70
71
0
@@ -65,6 +65,7 @@ Main {
0
   mode("cat") do
0
     def run
0
       Cliaws.s3.get(params["s3_object"].value, STDOUT)
0
+ puts
0
     end
0
   end
0
 

Comments

    No one has commented yet.