Back to Gems
screendriver/cp-cli(opens in a new tab)
Language: TypeScript
💻 A "cp" CLI util for Node.js
- stars
- 21
- watchers
- 1
- forks
- 2
- open issues
- 0
- Last updated
- 03/29/2019
Language: TypeScript
💻 A "cp" CLI util for Node.js
The UNIX command cp for Node.js
which is useful for cross platform support.
Just install it with
$ npm install -g cp-cli
After that you can use cp-cli from your command prompt
$ cp-cli
Usage: cp-cli [-d] source target
Options:
-d, --dereference Dereference symlinks [boolean]You can copy files directly
$ cp-cli foo.txt bar.txt
or copy a file into an existing directory
$ cp-cli foo.text dest/