despark/tart-cli

This package is abandoned and no longer maintained. No replacement package was suggested.

Symfony/Console CLI for Jam Tart

0.1.3 2014-03-24 08:53 UTC

This package is not auto-updated.

Last update: 2020-07-03 19:37:21 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();