Metadata-Version: 2.1
Name: git-extract
Version: 0.1.0
Summary: Extract files or directories from a git repository
Home-page: https://github.com/mfdeux/git-extract
License: MIT
Author: Marc Ford
Author-email: mrfxyz567@gmail.com
Requires-Python: >=3.8,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Requires-Dist: GitPython (>=3.1.7,<4.0.0)
Requires-Dist: click (>=7.1.2,<8.0.0)
Project-URL: Repository, https://github.com/mfdeux/git-extract
Description-Content-Type: text/markdown

# git-extract

Extract files or directories from a git repository


## Installation

```shell script
$ pip install git-extract --upgrade
```

## Usage

Extract files with multiple patterns:
```shell script
$ git-extract file https://github.com/mfdeux/git-extract --pattern "*.md" --pattern "*.py" --dest ~/Downloads/test --recursive
```

Extract directory with pattern:
```shell script
$ git-extract dir https://github.com/mfdeux/git-extract --pattern "tests" --dest ~/Downloads/test
```
