tacoda / demo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Demo

Demo is a CLI tool for demonstration purposes to learn about the composer/packagist system.

Installation

composer global require tacoda/demo

Make sure the ~/.composer/vendor/bin directory is in your system's PATH.

Show me how

If it's not already there, add the following line to your Bash configuration file (usually ~/.bash_profile, ~/.bashrc, ~/.zshrc, etc.):

export PATH=~/.composer/vendor/bin:$PATH

If the file doesn't exist, create it.

Run the following command on the file you've just updated for the change to take effect:

source ~/.bash_profile

Use

All you need to do is call the play command to start the game:

demo play

Update

composer global update tacoda/demo

Delete

composer global remove tacoda/demo

Development

Development tasks use make.

Install dependencies:

make install

Run tests:

make test

Run via make:

make run

Run directly to pass CLI arguments:

./bin/demo play

About


Languages

Language:PHP 97.4%Language:Makefile 2.6%