Skip to content
This repository has been archived by the owner on Oct 29, 2021. It is now read-only.

[READ-ONLY] Package to speed up building command line applications

License

Notifications You must be signed in to change notification settings

deprecated-packages/console-package-builder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Console Package Builder

Downloads total

Package to speed up building command line applications

Install

composer require symplify/console-package-builder --dev

Namesless Commands

Do you want to have convention in command naming? Read The Bullet Proof Symfony Command Naming

use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\HttpKernel\Kernel;
use Symplify\ConsolePackageBuilder\DependencyInjection\CompilerPass\NamelessConsoleCommandCompilerPass;

class SomeKernel extends Kernel implements CompilerPassInterface
{
    public function process(ContainerBuilder $containerBuilder)
    {
        $containerBuilder->addCompilerPass(new NamelessConsoleCommandCompilerPass());
    }
}

Report Issues

In case you are experiencing a bug or want to request a new feature head over to the Symplify monorepo issue tracker

Contribute

The sources of this package are contained in the Symplify monorepo. We welcome contributions for this package on symplify/symplify.

About

[READ-ONLY] Package to speed up building command line applications

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages