Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 

README.md

slink

URL shortener for the command line, using Goo.gl.

Installation

(This probably isn't the best way, but here it goes)

  1. Download the latest version of slink - https://github.com/chrishannah/slink/releases.
  2. Open up your terminal app of choice.
  3. Navigate to the folder containing the "slink" file.
  4. Add the executable permission to the file: chmod +x slink.
  5. Move the file to the usr/local/bin directory so it can be launched as a command: mv slink /usr/local/bin.

Usage

Usage: slink [options] <url>

Options:

    -h, --help              Outputs usage information.
    -s, --shortern <url>    Shortens a given URL.
    -e, --expand <url>      Attempts to expand a given URL.

Example:

    slink -s "http://google.co.uk"

Demo

About

URL shortener for the command line, using Goo.gl.

Topics

Resources

Packages

No packages published

Languages

You can’t perform that action at this time.