clipfs
A clipboard module for interacting with the file system.
Last updated 2 months ago by lxghtless .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install clipfs 
SYNC missed versions from official npm registry.

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=

Current Tags

  • 0.2.0                                ...           latest (2 months ago)

3 Versions

  • 0.2.0                                ...           2 months ago
  • 0.1.1                                ...           2 months ago
  • 0.1.0                                ...           2 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 37
Dependencies (7)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |