Metadata-Version: 2.0
Name: github-sectory
Version: 1.2.1
Summary: CLI for downloading sub-directory of any Github repository!
Home-page: https://github.com/amarlearning/Github-Sectory
Author: Amar Prakash Pandey (@amarlearning)
Author-email: amar.om1994@gmail.com
License: MIT
Keywords: github repository download sub-directory
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Build Tools
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3.7
Description-Content-Type: text/markdown
Requires-Dist: clint

# Github Sectory

[![Build Status](https://travis-ci.org/amarlearning/Github-Sectory.svg?branch=master)](https://travis-ci.org/amarlearning/Github-Sectory/)
[![PyPI](https://img.shields.io/badge/pypi-v1.1.6-blue.svg)](https://pypi.python.org/pypi/github-sectory)
[![Downloads](https://pepy.tech/badge/github-sectory)](https://pepy.tech/project/github-sectory)
[![HitCount](http://hits.dwyl.io/amarlearning/Github-Sectory.svg)](http://hits.dwyl.io/amarlearning/Github-Sectory)
[![MIT LICENSE](https://img.shields.io/pypi/l/pyzipcode-cli.svg)](http://amarlearning.mit-license.org/)
[![Say Thanks!](https://img.shields.io/badge/SayThanks.io-%E2%98%BC-1EAEDB.svg)](https://saythanks.io/to/amarlearning)

> CLI for downloading sub-directory of any Github repository using Github Content API!

## Demo
![Demo GitHub Sectory](https://raw.githubusercontent.com/amarlearning/Github-Sectory/master/extras/sreencast.gif)

## Install

```pycon
$ pip install github-sectory
```

## Usage

### Commands available

```pycon
$ github-sectory <link_to_repo_directory>
```

```pycon
$ github-sectory <github_username> -r <repository name> -d <directory name> [arguments]
```
```
Needed: -r, -d for repository and directory
```
```
Optional: -b for branch
```
```
Examples:
$ github-sectory GoogleChrome -r samples -d push-messaging-and-notifications 
$ github-sectory GoogleChrome -r samples -d push-messaging-and-notifications -b gh-pages
```
**Note:** Default branch will be master


## Issues

You can report the bugs at the [issue tracker](https://github.com/amarlearning/Github-Sectory/issues)

**OR**

You can [tweet me](https://twitter.com/iamarpandey) if you can't get it to work. In fact, you should tweet me anyway.


## License

Built with ♥ by Amar Prakash Pandey([@amarlearning](http://github.com/amarlearning)) under [MIT License](http://amarlearning.mit-license.org/) 

You can find a copy of the License at http://amarlearning.mit-license.org/


