1
0
mirror of https://github.com/seejohnrun/haste-client.git synced 2025-12-12 23:05:56 +00:00
This commit is contained in:
John Crepezzi
2013-11-16 10:00:24 -05:00
parent b7528b603b
commit dd1c0178fc

View File

@@ -1,5 +1,7 @@
# Haste Client # Haste Client
[![Build Status](https://secure.travis-ci.org/seejohnrun/haste-client.png)](http://travis-ci.org/seejohnrun/haste-client)
haste-client is a simple client for uploading data to haste-server. All you do it pipe data in STDIN: haste-client is a simple client for uploading data to haste-server. All you do it pipe data in STDIN:
`cat file | haste` `cat file | haste`
@@ -54,6 +56,7 @@ You can also use `Haste` as a library to upload hastes:
``` ruby ``` ruby
uploader = Haste::Uploader.new uploader = Haste::Uploader.new
uploader.upload_raw 'this is my data' # key uploader.upload_raw 'this is my data' # key
uploader.upload_path '/tmp/whaaaa' # key
``` ```
## Windows Support ## Windows Support