copy-dots
v0.2.0
Published
Quickly copy dot files (and more!) from another project into an existing project with a single command.
Downloads
3
Readme
copy-dots
Overview
Quickly copy dot files (and more!) from one project into another project with a single command. Great for scaffolding or initializing a new project! 🚀
Demo
Note: by default copy-dots will ignore any filename with that contains
"git"
in it to avoid clobbering your local directory by accident. Fear not! You can enable support for this using our options (below 👇)!
Setup
Make sure to have latest NodeJS LTS installed.
Usage
copy-dots has one required paramater, which is a path. Additional options available to include other file types / patterns.
Path (required)
copy-dots at least needs to know what path to copy your files from.
$ npx copy-dots ../../my-project
Options
copy-dots also support the following options to copy additional files.
-r
Readme-l
License (TODO)-g
git files like .gitignore and .gitattributes (no .git/ though!) (TODO)-c
config files like greenwood.config.js (TODO)-w
Includes all the flags (TODO)
For example, the below would copy dot files and the README
$ npx copy-dots /path/to/directory -r