2 unstable releases
0.2.0 | Sep 9, 2023 |
---|---|
0.1.0 | Aug 1, 2023 |
#18 in #copying
12KB
232 lines
cpi
A command-line tool for copying files without ignored files.
Currently supported ignore-file config is .gitignore
.
Install
cargo install cpi
Usage
cpi ./project ./project-copy
# disable .gitignore
cpi ./project ./project-copy --no-gitignore
# output as a zip file
cpi ./project ./project-copy.zip
# -f/--force will remove "project-copy" if already existed before copying
cpi ./project ./project-copy -f
To-Do
- support passing ignore folder in cli
Dependencies
~10–19MB
~235K SLoC