Open github links in your editor
Project description
Repo Link
!
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 | 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
repo_link-0.1.tar.gz
(3.7 kB
view details)
File details
Details for the file repo_link-0.1.tar.gz
.
File metadata
- Download URL: repo_link-0.1.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3a157b727f0ccceab727e820c84f9645691f8a19c4e47ba6072e16190f64297e |
|
MD5 | 9df21dbb3e39ab9d4184722523ca01bf |
|
BLAKE2b-256 | 0351af2c4a901770585a3b8a7aa1cbebca136f772b41f639e1734a59ac3d953d |