Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add shorten option for link shortening, closes #117
This commit gives gist the new ability to shorten gist URLs using GitHub's URL shortener, git.io. It adds two options on the command line (`-s` and `--shorten`) along with a gitconfig config called `shorten`. If the shortening step fails, or if git.io is down, gist will just return the normal, unshortened version.
- Loading branch information
Showing
1 changed file
with
31 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters