To upload gists from the command-line, follow [these instructions](http://github.com/defunkt/gist/blob/master/README.markdown). The given usage example shows:
$ gist < file.txt $ echo secret | gist --private # or -p $ echo "puts :hi" | gist -t rb $ gist script.py $ gist script.js notes.txt $ pbpaste | gist -p # Copy from clipboard - OSX Only $ gist - the quick brown fox jumps over the lazy dog ^D