https://github.com/mordy-python/code-fetch
https://github.com/mordy-python/code-fetch
github pypi-package python
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/mordy-python/code-fetch
- Owner: mordy-python
- License: mit
- Created: 2021-07-19T15:49:02.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-07-19T16:39:47.000Z (almost 5 years ago)
- Last Synced: 2026-03-11T15:53:56.152Z (2 months ago)
- Topics: github, pypi-package, python
- Language: Python
- Homepage:
- Size: 7.81 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Code Fetch
[](https://img.shields.io/pypi/v/code_fetch)	[](https://img.shields.io/maintenance/yes/2021)	[](https://img.shields.io/github/languages/top/mordy-python/code-fetch)
Code fetch is a command line tool for fetching code from a single file on GitHub instead of cloning the whole repository.
## Installation
Install the package from PyPi:
`pip install code_fetch` or `pip3 install code_fetch`
Install the package from source:
`git clone https://github.com/mordy-python/code-fetch.git`
`cd code-fetch`
`python setup.py install`
## Usage
```
python -m code_fetch [OPTIONS] USER REPO FILE
Options:
--save Save the file to disk
--save-file TEXT The output file
--help Show this message and exit.
```