toin0u / yo-cli
Yo from your console
Requires
- php: ~5.4
- symfony/console: ~2.6
- symfony/yaml: ~2.6
- toin0u/yo: ~1.0
This package is auto-updated.
Last update: 2024-10-24 04:04:19 UTC
README
Yo from your console
Install
Yo CLI is available via Composer.
$ composer require toin0u/yo-cli
Usage
First you need to create a configuration file with your API token. You can see an example here.
- custom location:
yo.phar <command> -c path/to/file
.yo.yml
yo.yml
$HOME/.yo.yml
Commands
- Yo TOIN0U:
yo.phar user toin0u
- Yo TOIN0U with a ink:
yo.phar user toin0u http://sbin.dk/
- Yo TOIN0U with a GPS coordinate:
yo.phar user toin0u 55.6760968 12.5683371
- Yo ALL your subscribers:
yo.phar all
- Yo ALL your subscribers with a link:
yo.phar all http://sbin.dk/
- Check if TOIN0U Yo username exists or not:
yo.phar check toin0u
- Get your total subscribers:
yo.phar total
- Create an accound named TOIN0U999:
yo.phar create toin0u999
(screencast)
NB: Yo ALL is limited to one per minute !
Testing
Yo CLI is tested with PHPUnit.
$ phpunit
Contributing
Please see CONTRIBUTING for details.
Credits
Contributor Code of Conduct
As contributors and maintainers of this project, we pledge to respect all people who contribute through reporting issues, posting feature requests, updating documentation, submitting pull requests or patches, and other activities.
We are committed to making participation in this project a harassment-free experience for everyone, regardless of level of experience, gender, gender identity and expression, sexual orientation, disability, personal appearance, body size, race, age, or religion.
Examples of unacceptable behavior by participants include the use of sexual language or imagery, derogatory comments or personal attacks, trolling, public or private harassment, insults, or other unprofessional conduct.
Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct. Project maintainers who do not follow the Code of Conduct may be removed from the project team.
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by opening an issue or contacting one or more of the project maintainers.
This Code of Conduct is adapted from the Contributor Covenant, version 1.0.0, available at http://contributor-covenant.org/version/1/0/0/
License
The MIT License (MIT). Please see License File for more information.