despark/tart-cli

Symfony/Console CLI for Jam Tart

Installs: 2 454

Dependents: 0

Stars: 1

Watchers: 8

Language: PHP

0.1.3 2014-03-24 08:53 UTC

README

Jam Tart CLI

Install

Install using Composer with:

composer require --dev despark/tart-cli
Setup

To add to your Symfony console application:

// Use needed classes and commands to load into the Console Application
use Symfony\Component\Console\Application;
use Despark\Command\Tart\GenerateCommand;
use Despark\Command\Tart\DeleteCommand;

// Create a new Console Application instance
$application = new Application();

// Attach commands to the Console Application instance
$application->add(new GenerateCommand);
$application->add(new DeleteCommand);

// Run the Console Application instance
$application->run();