Skip to content

Commit

Permalink
Updated documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
zneix committed Oct 16, 2022
1 parent 2bb134e commit d6e7467
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions readme.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Haste-Client

This is a rewritten Haste-Client in Go which is meant to be a little utility that uploads code via command line from pipe.
This is a rewritten Haste-Client in Go which is meant to be a little utility that uploads code via command line from pipe or by providing names of files to upload.
Available for both Windows and Linux.


Expand All @@ -11,9 +11,12 @@ Examples:
`echo Sample Text | haste`
> https://haste.zneix.eu/nibazahidu
`cat veryLongScript.js | haste | xsel`
`haste veryLongScript.js | xsel`
> *copies https://haste.zneix.eu/ibadomuvaq to clipboard*
`echo "Hello World" | haste message.txt - main.cpp`
> *uploads (separetly): contents of message.txt file, standard input from echo command, contents of main.cpp file
<br>

## Arguments
Expand Down Expand Up @@ -66,4 +69,4 @@ go get github.com/zneix/haste-client
sudo cp ~/go/bin/haste-client /usr/local/bin/haste
```

Or just clone GitHub repository and build with `make`.
Or just clone GitHub repository and build with `make`.

0 comments on commit d6e7467

Please sign in to comment.