Wrap pathspec (gitignore-like wildmatch) in a CLI
Project description
wildmatch
This CLI tool is intended to assist in filtering lists of paths by potentially arbitrary .gitignore
-like configuration
files. It uses the python-pathspec
library with argparse
to
allow easier use in pipelines and automation.
$ wildmatch --help
usage: wildmatch [-h] [-c CONF] [-i INPUT] [--version]
Filter lists of paths by arbitrary .gitignore-like configuration files.
optional arguments:
-h, --help show this help message and exit
-c CONF, --conf CONF optionally set the configuration file to filter by, defaults to .diffignore (default: .diffignore)
-i INPUT, --input INPUT
optionally specify an input file to filter by the configuration file (default: None)
--version Display wildmatch version (0.0.1). (default: False)
Install
Installation requires Python >=3.9
.
pip install wildmatch
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
wildmatch-0.3.3.tar.gz
(3.2 kB
view hashes)
Built Distribution
Close
Hashes for wildmatch-0.3.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 15cde34102543fa541d45c363bcaad76cbbf1c3e5cd76c7826c49cb70ebc4644 |
|
MD5 | 87f5d5ade1baba045bfe898cb4e2ddca |
|
BLAKE2b-256 | 7b7d24db9bcdd989e5ce98da210fd947cbda418c5787eb41dc829aa8d9ba7306 |