clipfs
TypeScript icon, indicating that this package has built-in type declarations

0.2.4 • Public • Published

clipfs

A clipboard module for interacting with the file system.

  

install

install as a cli

$ npm i -g clipfs

usage

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

Configuration

# 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=

Readme

Keywords

none

Package Sidebar

Install

npm i clipfs

Weekly Downloads

2

Version

0.2.4

License

ISC

Unpacked Size

96.2 kB

Total Files

42

Last publish

Collaborators

  • lxghtless