addOption( new InputOption('profile', null, InputOption::VALUE_NONE, 'Run profiler on command execution.') ); } $definition->addOption( new InputOption('context', null, InputOption::VALUE_NEGATABLE, 'Add context to output messages.') ); $definition->addOption(new InputOption('trace', null, InputOption::VALUE_NONE, 'Enable tracing mode.')); $definition->addOption( new InputOption( 'output', 'o', InputOption::VALUE_REQUIRED, sprintf('Output mode. Can be [%s].', implode(', ', Command::DISPLAY_OUTPUT)), Command::DISPLAY_OUTPUT[0] ) ); return $definition; } }