# Abrevio Command Line Interface
This is the command line shell script for Abrevio services.
For more information please refer to [http://abrev.io](http://abrev.io).


## Installation ##
Please follow these steps in order to install:

1. Clone this repository or download the ZIP file.
2. Copy the abrevio file to any place defined in the PATH environment variable.

## Usage ##
The Abrevio CLI is used to convert URLs in Abrevio words from the command line and to convert Abrevio words in URLs again.
The syntax to use the tool is the following:

- abrevio {-dh} words/url

The parameters in brackets are optional and are used as follows:

- d/display-only This parameter is used to show the result in the command line. If it is not specified the script will try to call the default browser to open the link. 
- h/help This parameter shows the usage information.

## Examples ##
The following examples will show how this Abrevio CLI can be used:

Generating Abrevio words for Google:
```bash
# abrevio http://www.google.com
house
```

Returning the URL in the standard output using the generated words:
```bash
# abrevio -d house
```

# Abrevio Command Line Interface
This is the command line shell script for Abrevio services.
For more information please refer to [http://abrev.io](http://abrev.io).


## Installation ##
Please follow these steps in order to install:

1. Clone this repository or download the ZIP file.
2. Copy the abrevio file to any place defined in the PATH environment variable.

## Usage ##
The Abrevio CLI is used to convert URLs in Abrevio words from the command line and to convert Abrevio words in URLs again.
The syntax to use the tool is the following:

- abrevio {-dh} words/url

The parameters in brackets are optional and are used as follows:

- d/display-only This parameter is used to show the result in the command line. If it is not specified the script will try to call the default browser to open the link. 
- h/help This parameter shows the usage information.

## Examples ##
The following examples will show how this Abrevio CLI can be used:

Generating Abrevio words for Google:
```sh
$ abrevio http://www.google.com
house
```

Returning the URL in the standard output using the generated words:
```sh
$ abrevio -d house
```

Correct syntax in shell examples
Correct syntax in shell examples