boilerplate-copier
v1.0.2
Published
Boilerplate Copier is a powerful tool for copying and pasting boilerplate files, suitable for various scenarios that require reusing code snippets. It can help you break free from tedious copy-paste work and improve development efficiency.
Readme
Boilerplate Copier
Boilerplate Copier is a powerful tool for copying and pasting boilerplate files, suitable for various scenarios that require reusing code snippets. It can help you break free from tedious copy-paste work and improve development efficiency.
Features
- Simple and easy-to-use command-line interface
- Support for setting the source directory of boilerplate files
- Quickly paste boilerplate files to the target directory
- Option to overwrite existing files
- Easy to extend and customize
- Support for viewing paste logs, making it convenient to track file paste history
Installation
Global installation:
npm install -g boilerplate-copierUsage
Use the
copycommand to set the source directory for boilerplate files:copier copy <sourceDir>Use the
pastecommand to paste boilerplate files to the target directory:copier paste <targetDir>Use the
--overwriteoption to overwrite existing files.Use the
logcommand to view paste logs:copier logThis command will display recent paste operation records, including source directory, target directory, and paste time.
Development Guide
Clone this repository:
git clone https://github.com/Gijela/Boilerplate-Copier.gitInstall dependencies:
cd boilerplate-copier npm installModify
index.jsandconfig.jsonfiles as needed to suit your project requirements.Run the following commands for testing:
node index.js copy /path/to/your/boilerplate node index.js paste /path/to/your/project node index.js logPull requests are welcome! Contribute your ideas and improvements!
License
This project is released under the MIT License. Feel free to use, modify, and distribute.
Contact
If you have any questions or suggestions, please contact us through GitHub Issues.
