Add `mog' command-line tool as an example/frontend
commitc06411e24f7323688e9036db138caf307ad025f0
authorEric Wong <normalperson@yhbt.net>
Tue, 9 Sep 2008 00:36:23 +0000 (8 17:36 -0700)
committerEric Wong <normalperson@yhbt.net>
Tue, 9 Sep 2008 02:01:17 +0000 (8 19:01 -0700)
tree9c8f35cd274ff5205912d930d5c70e843252c7d1
parent6c8f2db31097998aaab21c05cab53b50bfc243c5
Add `mog' command-line tool as an example/frontend

This supports several UNIX-like subcommands:

cp FILE KEY       - copy a file to a given key

cat KEY(s)        - cat any number of keys to STDOUT

ls PREFIX         - list keys matching PREFIX (not globbing)

rm KEY(s)         - remove keys

mv FROMKEY TOKEY  - rename a key

stat KEY(s)       - show various information, including URLs and Size

tee KEY           - read input from STDIN and write it to key
                    (due to the limitations of HTTP servers
                    and clients this is not streamed)
Manifest.txt
bin/mog [new file with mode: 0755]