Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
42 lines (19 sloc) 679 Bytes

gus

Shorten your Github repo urls with Github's Git.io service.

Features

  • Pastes the url to your clipboard
  • Opens the url in your default browser

Installation

$ npm install gus

Usage

var gus = require( 'gus' );

gus( url );

Command Line Usage

Installing the module locally (without the -g flag) requires a little more verbosity:

$ node path/to/gus [url]

With a global installation:

$ npm install -g gus

You can use it like any other command:

$ gus [url]

Known Issues

So far it only works on OSX (uses the open and pbcopy unix commands).