clipfs
v0.2.4
Published
A clipboard module for interacting with the file system.
Downloads
3
Readme
install as a cli
$ npm i -g clipfs
show clipboard content (available in combination with any command)
$ clipfs -s
copy file to clipboard
$ clipfs ~/some.txt
write clipboard to file
$ clipfs -o ~/clipboard.txt
copy file to clipboard then write clipboard to file
$ clipfs ~/some.txt -o ~/clipboard.txt
pipe text into clipboard
$ cat ~/some.txt | clipfs
pipe text into clipboard then write clipboard to file
$ cat ~/some.txt | clipfs -o ~/clipboard.txt
help
$ clipfs -h
$ clipfs --help
# log levels: trace, debug, info, message, error, silent
# default: message
CLIPFS_LOG_LEVEL=
# use colors in logs: true or false
# default: false
CLIPFS_LOG_COLORS=