Skip to content

Latest commit

 

History

History
63 lines (37 loc) · 1.99 KB

README.md

File metadata and controls

63 lines (37 loc) · 1.99 KB

Concise CLI

Latest Version Software License Build Status Code Coverage Quality Score HHVM Status Total Downloads

Concise your urls from console.

Install

Via Composer

$ composer require toin0u/concise-cli

Usage

Create a configuration file in one of the following locations:

  • $HOME/.concise.yml
  • ./concise.yml
  • ./.concise.yml
  • any other location, just make sure to pass it with the -c/--config switch: concise.phar <command> -c path/to/config.yml

Paste something similar to this in the file (schema can be found here).

Run one of the following commands:

  • concise.phar shorten http://google.hu
  • concise.phar expand http://goo.gl/hash
  • concise.phar validate

Testing

$ phpunit

Contributing

Please see CONTRIBUTING for details.

Credits

License

The MIT License (MIT). Please see License File for more information.