Skip to content
This repository has been archived by the owner on Apr 1, 2019. It is now read-only.

spiegel-im-spiegel/gitio-shorten

Repository files navigation

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

  1. Fork (https://github.com/spiegel-im-spiegel/gitio-shorten/fork)
  2. Create a feature branch
  3. Commit your changes
  4. Rebase your local changes against the master branch
  5. Run test suite with the go test ./... command and confirm that it passes
  6. Run gofmt -s
  7. Create a new Pull Request

License

These codes are licensed under CC0.

CC0

About

Shortening GitHub URL Command

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages