A command line tool to peek a remote repo locally.
Project description
repo-peek
A command line tool to peek a remote repo locally and view it in your favorite editor. The tool handles cleanup of the repo once you exit your editor.
Default editor is chosen by looking at the EDITOR
environment variable, if it is not set, vim is chosen as the default editor.
install repo-peek
pip install repo-peek
usage:
repo-peek only has only subcommand peek
, which takes a repo as the argument.
command usage:
ghub peek <repo>
example:
ghub peek rahulunair/repo-peek
todo
- enable for gitlab
more information
The tool creates 2 files and a directory, a config file ~/.githubkeep.conf
, a log file ~/.githubkeep.log
and a directory ~/.githubkeep
. Github-peek downloads the tar:gz of the repo, extracts it and saves it to ~/.githubkeep
. There is a naive caching mechanism, where the tool deletes all repos after 5 times of using the app.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file repo-peek-0.2.0.tar.gz
.
File metadata
- Download URL: repo-peek-0.2.0.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.4 CPython/3.9.1 Darwin/20.3.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5285acf5ffa7c2274d122d859014ffde020db21f189a4234d7cdc96413cf8c1d |
|
MD5 | cc3c62f1196c3184caf70406a15c2b4c |
|
BLAKE2b-256 | 4aa01f002d2a15820d5a2e8ee8d508a68227973c4224b595c9f769d4216408c1 |
File details
Details for the file repo_peek-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: repo_peek-0.2.0-py3-none-any.whl
- Upload date:
- Size: 6.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.4 CPython/3.9.1 Darwin/20.3.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d4c79b91c9d5f3c84693ee8541e24e76b7522cbfb14126ce6c125670ae8a47d3 |
|
MD5 | 21ea0899fc9510fa00b6d00db2e1a4fa |
|
BLAKE2b-256 | 4e36f1278fb5e09606e1b9c326e2f875db18a5daa395bed67782c54ddcdc29ac |