Skip to main content

CLI for downloading sub-directory of any Github repository!

Project description

# 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/

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

github-sectory-1.2.1.tar.gz (3.6 kB view hashes)

Uploaded Source

Built Distribution

github_sectory-1.2.1-py3-none-any.whl (5.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page