Command line utility to quickly shorten github links with support for custom urls.
Project description
PyGitio
PyGitio is a cli wrapper for the git.io URL shortener with support for custom URLs.
Installation
Requirements
- Python 3
$ pip install PyGitio
Usage
$ pygitio <GithubURL> <CustomText>
<GithubURL>
is the URL that will be shortened.
<CustomText>
is the custom text that will be used.
For example,
$ pygitio https://github.com/hsuay ayush
This will copy the shortened URL, https://git.io/ayush to the clipboard.
Dependencies
- Requests - PyPi | Repository
- Click - PyPi | Repository
- Pyperclip - PyPi | Repository
Development
$ virtualenv env
$ . env/bin/activate
$ pip install -e .
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
License
Mirrors
Links
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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
PyGitio-1.0-py3-none-any.whl
(3.2 kB
view hashes)