Skip to main content

Open github links in your editor

Project description

Repo Link

Build Status !

Open github links inside your favorite editor

Automatically runs clone, checkout, and opens the correct line for you!

Installation

Install by running

pip install repo_link

Usage:

    repo_link https://github.com/Tadaboody/repo_link/blob/master/repo_link/repo_link.py#L24
usage: repo_link [-h] [--parents PARENTS [PARENTS ...]] [--editor EDITOR]
                 [--config CONFIG]
                 link

Open github link in editor

positional arguments:
  link                  The opened link

optional arguments:
  -h, --help            show this help message and exit
  --parents PARENTS [PARENTS ...]
                        Directories where the repository will be searched. if
                        not found it will be cloned into the first one
  --editor EDITOR       The editor opened (default: EDITOR)
  --config CONFIG       A json file where command line options can be hard-
                        coded, default:~/.repo_link_config.json

A config json can be given, it will look like this

{
    "editor":"vim",
    "parents":["~/Forks","~"]
}

Project details


Release history Release notifications

This version
History Node

0.1

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
repo_link-0.1.tar.gz (3.7 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page