Skip to main content

CLI for downloading sub-directory of any Github repository!

Project description

Github Sectory

Build Status Downloads HitCount MIT LICENSE

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

Demo

Demo GitHub Sectory

Install

$ pip install github-sectory

Usage

Commands available

$ github-sectory <link_to_repo_directory>

Example:
  $ github-sectory https://github.com/amarlearning/PyStalker/tree/master/version01

OR


$ github-sectory <github_username> -r <repository name> -d <directory name> [arguments]

Needed:
  -r, -d for repository and directory

Optional:
  -b for branch                              [boolean]

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

OR

You can tweet me if you can't get it to work. In fact, you should tweet me anyway.


License

Built with ♥ by Amar Prakash Pandey(@amarlearning) under MIT License

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.3.5.tar.gz (3.8 kB view hashes)

Uploaded Source

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