#zip #ignore #git #gitignore #zip-archive

bin+lib cloister

Zip non-git ignored files in a directory

2 releases

0.1.1 Apr 13, 2023
0.1.0 Apr 13, 2023

#506 in Compression

MIT license

11KB
158 lines

Cloister solves the problem of manually having to add files not in your git ignore to a zip file.

Example

cloister zip somedirectory 
# somedirectory.zip should now be in the current directory.

Usage

Zip non-git ignored files in a directory

Usage: cloister <COMMAND>

Commands:
  zip   Recursively adds all files in <directory> to <directory>.zip. Respects .gitignore files
  help  Print this message or the help of the given subcommand(s)

Options:
  -h, --help     Print help
  -V, --version  Print version

Dependencies

~10–19MB
~250K SLoC