toin0u/concise-cli

Concise your urls from console

v0.1-alpha 2015-01-19 01:50 UTC

This package is auto-updated.

Last update: 2024-11-24 04:58:00 UTC


README

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.