gitio-shorten

command module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 10, 2015 License: CC0-1.0 Imports: 4 Imported by: 0

README

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL