code fetch
1.0.0
Code Fetchは、リポジトリ全体をクローニングする代わりに、GitHub上の単一のファイルからコードを取得するためのコマンドラインツールです。
Pypiからパッケージをインストールします。
pip install code_fetchまたはpip3 install code_fetch
ソースからパッケージをインストールします:
git clone https://github.com/mordy-python/code-fetch.git
cd code-fetch
python setup.py install
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.