You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
3 years ago | |
---|---|---|
config | 3 years ago | |
src | 3 years ago | |
tests | 3 years ago | |
.gitignore | 3 years ago | |
LICENSE | 3 years ago | |
README.org | 3 years ago | |
composer.json | 3 years ago | |
composer.lock | 3 years ago | |
dependencies.php | 3 years ago | |
ponsapi.php | 3 years ago | |
zapiski.org | 3 years ago |
README.org
Ponsapi-php
Command Line Wrapper for Pons API. This is a rewrite of a Ponsapi-cli that was written in Bash into PHP using Simfony Console Component. Refer to Ponsapi-cli for additional info.
Usage
$ ./ponsapi.php translate [-flag] <word>
Get help by adding --help
or shorthand -h
flag.
-f
option (fuzzy matching) helps if no results were found.
Specification
- Pretty prints pons api response to command line.
- Define default options in config file.
- Everything is supported with tests.
- Add caching with sqlite.
- Create a php archive out of the project.
Installation
... coming soon ...
(wget .phar file from release)
To Do
- Test Coverage
- Write Classes
- Add
scripts
andconfig
keys to composer that would run autoconfigure on installation. - Create a
.phar
file