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]
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)
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.2.tar.gz
(3.1 kB
view hashes)
Built Distribution
Close
Hashes for wildmatch-0.3.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9625326c529d42b4abe71a112761b9e732ecce93f52395868b1684131692a728 |
|
MD5 | 477b25a84a53e04dbc37ef21599854b5 |
|
BLAKE2b-256 | 9a12301e53cca280a3e58d745c478a466f160783a8bdde5003a813d544614fb4 |