toin0u / concise-cli
Concise your urls from console
v0.1-alpha
2015-01-19 01:50 UTC
Requires
- php: >=5.4.0
- guzzlehttp/guzzle: >=4.0
- romaricdrigon/metayaml: ~1.0
- symfony/console: ~2.6
- symfony/yaml: ~2.6
- toin0u/concise: 0.2.*@dev
Requires (Dev)
- phpunit/phpunit: ~4.4
This package is auto-updated.
Last update: 2024-10-24 04:52:17 UTC
README
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.