-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
41 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
<h1 align="center">PHP CLI Demo</h1> | ||
|
||
<p align="center">PHP command-line tool demonstration</p> | ||
|
||
<p align="center"> | ||
<img alt="Preview" src="/art/preview.png"> | ||
<p align="center"> | ||
<a href="//packagist.org/packages/mdeherder/php-cli-demo"><img alt="Latest Stable Version" src="https://poser.pugx.org/mdeherder/php-cli-demo/v"></a> | ||
<a href="//packagist.org/packages/mdeherder/php-cli-demo"><img alt="License" src="https://poser.pugx.org/mdeherder/php-cli-demo/license"></a> | ||
</p> | ||
</p> | ||
|
||
## Instal | ||
|
||
This CLI application is a small game (« Rreview your multiplication tables ») written in PHP and is installed using [Composer](https://getcomposer.org): | ||
|
||
``` | ||
composer global require mdeherder/php-cli-demo | ||
``` | ||
|
||
Make sure the `...composer/vendor/bin` directory is in your system's `PATH`. | ||
|
||
## Use | ||
|
||
All you need to do is call the `tdm` command to start the game: | ||
|
||
``` | ||
demo tdm ( Use --help or -h to see more options ) | ||
``` | ||
|
||
## Update | ||
|
||
``` | ||
composer global update mdeherder/php-cli-demo | ||
``` | ||
|
||
## Delete | ||
|
||
``` | ||
composer global remove mdeherder/php-cli-demo | ||
``` |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.