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
Hashes for repo_peek-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d4c79b91c9d5f3c84693ee8541e24e76b7522cbfb14126ce6c125670ae8a47d3 |
|
MD5 | 21ea0899fc9510fa00b6d00db2e1a4fa |
|
BLAKE2b-256 | 4e36f1278fb5e09606e1b9c326e2f875db18a5daa395bed67782c54ddcdc29ac |