https://github.com/iamsajjad/graw
CLI tool to download only files or directories that you need from github or gitlab without need to clone the git repository
https://github.com/iamsajjad/graw
cli git github gitlab python
Last synced: 3 months ago
JSON representation
CLI tool to download only files or directories that you need from github or gitlab without need to clone the git repository
- Host: GitHub
- URL: https://github.com/iamsajjad/graw
- Owner: iamsajjad
- License: mit
- Created: 2021-11-26T01:28:58.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2023-01-28T16:14:23.000Z (almost 3 years ago)
- Last Synced: 2025-06-02T12:04:36.440Z (6 months ago)
- Topics: cli, git, github, gitlab, python
- Language: Python
- Homepage:
- Size: 32.2 KB
- Stars: 10
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Graw
CLI tool to download only files or directories that you need from github or gitlabwithout need to clone the git repository
## ⚡️ Quick start
First, [download](https://www.python.org/downloads/) and install **Python**. Version `3.7` or higher is required.
Installation is done by using the `pip install`
```bash
pip install graw
```
### How to Use graw ?
- `graw https://LINK-FOR-GITHUB-OR-GITLAB-FILE` — to download one file from github repository
- `graw https://LINK-FOR-GITHUB-OR-GITLAB-DIRECTORY` — to download one directory from github repository
- `graw -f https://LINK-FOR-GITHUB-OR-GITLAB` — to download and overwrite exists content
- `graw -r https://LINK-FOR-GITHUB-OR-GITLAB-DIRECTORY` — to download directory recursive [ all nested files ]
- `graw https://LINK-FOR-GITHUB-OR-GITLAB-DIRECTORY -t TYPE1 TYPE2 ... ` — to download only files match extension types like `-t py`
## ⭐️ Project assistance
If you want to say **thank you** or/and support active development of `graw`:
- Add a [GitHub Star](https://github.com/iamsajjad/graw) to the project.
- Write interesting articles about project on [Dev.to](https://dev.to/), [Medium](https://medium.com/) or personal blog.
- Join development by creating **Pull Request**
Together, we can make this project **better** every day! 😘
## ⚠️ License
`Graw` is free and open-source software licensed under the [MIT License](https://github.com/iamsajjad/graw/blob/master/LICENSE)