Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

repo-peek-0.2.0.tar.gz (5.2 kB view hashes)

Uploaded Source

Built Distribution

repo_peek-0.2.0-py3-none-any.whl (6.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page