for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Vados\MigrationRunner\command;
/**
* Class Help
* @package Vados\MigrationRunner\command
*/
class Help implements ICommand
{
public function run()
$text = <<<HELP
Available methods:
- help - Show help information
- create {name} - Create new migration
- up {runCount=0} - Apply new migrations
- down {runCount=1} - Revert some migration
HELP;
echo $text . PHP_EOL;
}