@anedomansky/copy
v1.0.0
Published
A simple cross-platform CLI tool to copy files with zero dependencies.
Downloads
18
Readme
copy
A simple cross-platform CLI tool that copies any file or directory. It behaves just like cp.
Requirements
This tool works with the LTS version of Node.js.
Installation
- For local use in NPM projects:
npm i -D @anedomansky/copy - For global use in CLI:
npm i -g @anedomansky/copy
Usage
copy '../src/my-folder/my-file.txt' 'src/my-file.txt'
copy '../my-folder' 'src'{
...,
"scripts": {
"copy-required-files": "copy './setup.js' './src/setup.js'",
...
}
}License
MIT
