Skip to content

Instantly share code, notes, and snippets.

@cakper
Created November 27, 2012 11:03
Show Gist options
  • Save cakper/4153655 to your computer and use it in GitHub Desktop.
Save cakper/4153655 to your computer and use it in GitHub Desktop.
command.php
<?php
require_once __DIR__.'/vendor/autoload.php';
use Symfony\Component\Console\Application;
use Cakper\YourBundle\Command\YourCommand;
$application = new Application();
$application->add(new YourCommand);
$application->run();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment