use Symfony\Component\Console\Input\InputInterface; class MyCommand extends Command { protected function execute(InputInterface $input, OutputInterface $output) { if ($input->hasParameterOption('-v')) { $output->writeln('Verbose mode activated.'); } else { $output->writeln('Verbose mode not set.'); } } }In this example, if the user executes the command with the option "-v", the message "Verbose mode activated." will be printed. Otherwise, "Verbose mode not set." will be printed. Overall, the InputInterface class provides a versatile and reliable way to handle input parameters in CLI applications using Symfony.