Commandline tools for copying and pasting text to and from the clipboard.
Inspired by mac osx's pbcopy and pbpaste
npm install -g ndcopy-ndpaste
Takes standard input and places it in the clipboard.
$ ndcopy "some cool text"
or
$ cat file.txt | ndcopy
Returns standard output from the clipboard.
$ ndpaste
or
$ ndpaste > file.txt