cpi

Crates.iocpi
lib.rscpi
version0.2.0
sourcesrc
created_at2023-08-01 16:28:24.823718
updated_at2023-09-09 07:30:03.87973
descriptionA cli for copying files with ignore-files applied
homepagehttps://github.com/XHMM/cpi-rs
repositoryhttps://github.com/XHMM/cpi-rs
max_upload_size
id932016
size34,066
xiao xin (XHMM)

documentation

https://github.com/XHMM/cpi-rs

README

cpi

Crates.io

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
Commit count: 5

cargo fmt