Shortening GitHub URL Command
Description
Shortening GitHub URL Command.
Refer to “Git.io: GitHub URL Shortener”.
Usage
$ gitio-shorten --help
usage: gitio-shorten [--version] [--help] <command> [<args>]
Available commands are:
decode Decode Git.io URL
encode Shorten GitHub URL
version Print gitio-shorten version and quit
$ gitio-shorten encode -c t https://github.com/technoweenie
http://git.io/t
$ gitio-shorten decode http://git.io/t
https://github.com/technoweenie
Install
To install, use go get
:
$ go get -v github.com/spiegel-im-spiegel/gitio-shorten
github.com/spiegel-im-spiegel/gitio-shorten (download)
github.com/spiegel-im-spiegel/gitioapi (download)
github.com/spiegel-im-spiegel/gitioapi
github.com/spiegel-im-spiegel/gitio-shorten/command
github.com/spiegel-im-spiegel/gitio-shorten
Contribution
- Fork (https://github.com/spiegel-im-spiegel/gitio-shorten/fork)
- Create a feature branch
- Commit your changes
- Rebase your local changes against the master branch
- Run test suite with the
go test ./...
command and confirm that it passes
- Run
gofmt -s
- Create a new Pull Request
License
These codes are licensed under CC0.
