src/PhpToZephir/Service/CliFactory.php
public static function getInstance(OutputInterface $output)
    {
        $questionHelper = new QuestionHelper();
        $application = new Application('PHP to Zephir Command Line Interface', 'Beta 0.2.1');
        $application->getHelperSet()->set(new FormatterHelper(), 'formatter');
        $application->getHelperSet()->set($questionHelper, 'question');

        $application->add(ConvertFactory::getInstance($output));

        return $application;
    }
public static function getInstance(OutputInterface $output)
    {
        $questionHelper = new QuestionHelper();
        $application = new Application('PHP to Zephir Command Line Interface', 'Beta 0.2.1');
        $application->getHelperSet()->set(new FormatterHelper(), 'formatter');
        $application->getHelperSet()->set($questionHelper, 'question');

        $application->add(ConvertFactory::getInstance($output));

        return $application;
    }
Create CLI instance.

@return Application