Skip to content

amarlearning/github-sectory

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

Github Sectory

Build Status Downloads 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

Pass the directory link as an argument-
	$ github-sectory <link_to_repo_directory>

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

OR

Pass the details as an arguments specified below-
	$ github-sectory -u <username> -r <repository-name> -d <directory-name> -b <branch-name>

Options:
	-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

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/