Permalink
Browse files

Changing the name to gus.

  • Loading branch information...
1 parent f665a22 commit dccf1cde19dc35c07ee54c8a3b86dfc580648f43 @ryanfitzer committed Dec 10, 2012
Showing with 16 additions and 16 deletions.
  1. +4 −4 main.js
  2. +5 −5 package.json
  3. +7 −7 readme.md
View
@@ -2,7 +2,7 @@
/**
* GitHub URL Shortener
*
- * Shorten your long-ass repo url with Github's Git.io service.
+ * Shorten your long repo urls with Github's Git.io service.
* Pastes the url to the clipboard and opens it in your browser.
*
* @link https://github.com/blog/985-git-io-github-url-shortener
@@ -18,7 +18,7 @@ program
.usage( '[github url]' )
.parse( process.argv );
-function ghurls( url ) {
+function gus( url ) {
var request
, url = url || program.args[0]
@@ -73,7 +73,7 @@ function fail( code ) {
console.log( 'There was a problem. The response status was ' + code );
}
-module.exports = ghurls;
+module.exports = gus;
// Call directly if used from shell
-if ( program.args.length ) ghurls();
+if ( program.args.length ) gus();
View
@@ -1,5 +1,5 @@
{
- "name": "ghurls",
+ "name": "gus",
"version": "1.0.0",
"description": "Shorten your Github repo url with Github's Git.io service.",
"keywords": [
@@ -15,7 +15,7 @@
"bin": "./main.js",
"repository": {
"type": "git",
- "url": "https://github.com/ryanfitzer/ghurls.git"
+ "url": "https://github.com/ryanfitzer/gus.git"
},
"dependencies": {
"commander": "1.x"
@@ -24,10 +24,10 @@
"engines": {
"node": ">= 0.8.x"
},
- "readme": "# ghurls #\n\nShorten your Github repo urls with Github's [Git.io](http://git.io) service.\n\n\n## Features ##\n\n- Pastes the url to your clipboard\n- Opens the url in your default browser\n\n\n## Installation ##\n\n $ npm install ghurls\n\n\n## Usage ##\n\n var ghurls = require( 'ghurls' );\n\n ghurls( url );\n\n\n## Command Line Usage ##\n\nInstalling the module locally ([without the `-g` flag](https://npmjs.org/doc/install.html)) requires a little more verbosity:\n\n $ node path/to/ghurls [url]\n\nWith a global installation:\n\n $ npm install -g ghurls\n\nYou can use it like any other command:\n\n $ ghurls [url]\n\n\n## Known Issues ##\n\nSo far it only works on OSX (uses the `echo` and `pbcopy` unix commands). Support for other platforms coming soon.",
- "_id": "ghurls@1.0.0",
+ "readme": "# gus #\n\nShorten your Github repo urls with Github's [Git.io](http://git.io) service.\n\n\n## Features ##\n\n- Pastes the url to your clipboard\n- Opens the url in your default browser\n\n\n## Installation ##\n\n $ npm install gus\n\n\n## Usage ##\n\n var gus = require( 'gus' );\n\n gus( url );\n\n\n## Command Line Usage ##\n\nInstalling the module locally ([without the `-g` flag](https://npmjs.org/doc/install.html)) requires a little more verbosity:\n\n $ node path/to/gus [url]\n\nWith a global installation:\n\n $ npm install -g gus\n\nYou can use it like any other command:\n\n $ gus [url]\n\n\n## Known Issues ##\n\nSo far it only works on OSX (uses the `echo` and `pbcopy` unix commands). Support for other platforms coming soon.",
+ "_id": "gus@1.0.0",
"dist": {
"shasum": "76914aad9240db493c907aedf6eec3ac1a68fb0d"
},
- "_from": "/Users/rfitze/bash_functions/ghurls"
+ "_from": "/Users/rfitze/bash_functions/gus"
}
View
@@ -1,4 +1,4 @@
-# ghurls #
+# gus #
Shorten your Github repo urls with Github's [Git.io](http://git.io) service.
@@ -11,29 +11,29 @@ Shorten your Github repo urls with Github's [Git.io](http://git.io) service.
## Installation ##
- $ npm install ghurls
+ $ npm install gus
## Usage ##
- var ghurls = require( 'ghurls' );
+ var gus = require( 'gus' );
- ghurls( url );
+ gus( url );
## Command Line Usage ##
Installing the module locally ([without the `-g` flag](https://npmjs.org/doc/install.html)) requires a little more verbosity:
- $ node path/to/ghurls [url]
+ $ node path/to/gus [url]
With a global installation:
- $ npm install -g ghurls
+ $ npm install -g gus
You can use it like any other command:
- $ ghurls [url]
+ $ gus [url]
## Known Issues ##

0 comments on commit dccf1cd

Please sign in to comment.