Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/amarlearning/github-sectory
CLI for downloading sub-directory of any GitHub repository
https://github.com/amarlearning/github-sectory
cli cli-app demo download github-downloads github-sectory hacktoberfest hacktoberfest2020 pip python sub-directory
Last synced: about 1 month ago
JSON representation
CLI for downloading sub-directory of any GitHub repository
- Host: GitHub
- URL: https://github.com/amarlearning/github-sectory
- Owner: amarlearning
- License: mit
- Created: 2017-01-15T04:05:56.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2022-10-02T17:24:15.000Z (about 2 years ago)
- Last Synced: 2024-10-07T05:46:15.039Z (3 months ago)
- Topics: cli, cli-app, demo, download, github-downloads, github-sectory, hacktoberfest, hacktoberfest2020, pip, python, sub-directory
- Language: Python
- Homepage:
- Size: 2.82 MB
- Stars: 43
- Watchers: 9
- Forks: 12
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Github Sectory
[![Build Status](https://travis-ci.org/amarlearning/Github-Sectory.svg?branch=master)](https://travis-ci.org/amarlearning/Github-Sectory/)
[![Downloads](https://pepy.tech/badge/github-sectory)](https://pepy.tech/project/github-sectory)
[![MIT LICENSE](https://img.shields.io/pypi/l/pyzipcode-cli.svg)](http://amarlearning.mit-license.org/)> CLI for downloading sub-directory of any Github repository using Github Content API!
## Demo
![Demo GitHub Sectory](https://www.amarpandey.me/projects/images/github-sectory.gif)
## Install
```
$ pip install github-sectory
```## Usage
### Commands available
```
Pass the directory link as an argument-
$ github-sectoryExample:
$ github-sectory https://github.com/amarlearning/PyStalker/tree/master/version01```
> **OR**
```
Pass the details as an arguments specified below-
$ github-sectory -u -r -d -bOptions:
-r, name of the repository where the folder/directory is present.
-d, name of the directory that you wish to download.
-u, username/organisation name of owner of repository.-b, branch name of the repository, default is master [OPTIONAL].
```**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/