Overview

Namespaces

  • None
  • Peg
    • Cli
      • Commands
    • Config
    • Custom
      • Command
        • Action
          • Generate
          • Parse
      • CommandLine
      • Config
      • Localization
      • Utilities
    • Lib
      • Definitions
        • Element
      • Generator
      • Lexers
      • Plugins
      • Signals
        • Data
          • Definitions
          • Lexers
        • Type
  • PHP

Classes

  • Command
  • ConfigTools
  • Generate
  • Init
  • Scanner
  • Test
  • Overview
  • Namespace
  • Class
  • Tree
  • Todo
 1: <?php
 2: 
 3: namespace Peg\Cli\Commands;
 4: 
 5: use Peg\Cli\Commands\Command;
 6: use Symfony\Component\Console\Input\InputArgument;
 7: use Symfony\Component\Console\Input\InputInterface;
 8: use Symfony\Component\Console\Input\InputOption;
 9: use Symfony\Component\Console\Output\OutputInterface;
10: 
11: class ConfigTools extends Command {
12:     
13:     protected function configure() {
14:         
15:         $this->setName('config-tools');
16:         $this->setDescription('Tools for configs');
17:         
18:         parent::configure();
19:         
20:     }
21: 
22:     protected function execute(InputInterface $input, OutputInterface $output) {
23:         
24:         $output->writeln("Someday, when I grow up, I'm gonna help with configs!");
25:         
26:     }
27: }
28: 
PEG Api API documentation generated by ApiGen 2.8.0